3416 lines
103 KiB
Plaintext
3416 lines
103 KiB
Plaintext
// ******************************************************************
|
|
// *
|
|
// * .,-::::: .,:: .::::::::. .,:: .:
|
|
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
|
|
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
|
|
// * $$$ Y$$$P $$""""Y$$ Y$$$P
|
|
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
|
|
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
|
|
// *
|
|
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4627.cpp
|
|
// *
|
|
// * This file is part of the Cxbx project.
|
|
// *
|
|
// * Cxbx and Cxbe are free software; you can redistribute them
|
|
// * and/or modify them under the terms of the GNU General Public
|
|
// * License as published by the Free Software Foundation; either
|
|
// * version 2 of the license, or (at your option) any later version.
|
|
// *
|
|
// * This program is distributed in the hope that it will be useful,
|
|
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// * GNU General Public License for more details.
|
|
// *
|
|
// * You should have recieved a copy of the GNU General Public License
|
|
// * along with this program; see the file COPYING.
|
|
// * If not, write to the Free Software Foundation, Inc.,
|
|
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
|
|
// *
|
|
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
|
|
// *
|
|
// * All rights reserved
|
|
// *
|
|
// ******************************************************************
|
|
|
|
// ******************************************************************
|
|
// * DirectSoundDoWork
|
|
// ******************************************************************
|
|
SOOVPA<7> DirectSoundDoWork_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
7, // Count == 7
|
|
|
|
-1, // Xref Not Saved
|
|
0, // Xref Not Used
|
|
|
|
{
|
|
{ 0x06, 0x0F },
|
|
{ 0x0E, 0x85 },
|
|
{ 0x10, 0x74 },
|
|
{ 0x18, 0x85 },
|
|
{ 0x1C, 0x0B },
|
|
{ 0x22, 0xFF },
|
|
{ 0x28, 0xC3 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::CreateSoundBuffer
|
|
// ******************************************************************
|
|
SOOVPA<14> CDirectSound_CreateSoundBuffer_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
14, // Count == 14
|
|
|
|
XREF_DSCREATESOUNDBUFFER, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_CreateSoundBuffer+0x23 : mov eax, 0x80004005
|
|
{ 0x23, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x24, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x25, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x27, 0x80 }, // (Offset,Value)-Pair #4
|
|
|
|
// CDirectSound_CreateSoundBuffer+0x2A : push 0x24
|
|
{ 0x2A, 0x6A }, // (Offset,Value)-Pair #5
|
|
{ 0x2B, 0x24 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSound_CreateSoundBuffer+0x4A : add esi, 0x7FF8FFF2
|
|
{ 0x4A, 0x81 }, // (Offset,Value)-Pair #7
|
|
{ 0x4B, 0xE6 }, // (Offset,Value)-Pair #8
|
|
{ 0x4C, 0xF2 }, // (Offset,Value)-Pair #9
|
|
{ 0x4D, 0xFF }, // (Offset,Value)-Pair #10
|
|
{ 0x4E, 0xF8 }, // (Offset,Value)-Pair #11
|
|
{ 0x4F, 0x7F }, // (Offset,Value)-Pair #12
|
|
|
|
// CDirectSound_CreateSoundBuffer+0x99 : retn 0x10
|
|
{ 0x99, 0xC2 }, // (Offset,Value)-Pair #13
|
|
{ 0x9A, 0x10 }, // (Offset,Value)-Pair #14
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetMixBinHeadroom
|
|
// ******************************************************************
|
|
SOOVPA<15> CDirectSound_SetMixBinHeadroom_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
15, // Count == 15
|
|
|
|
XREF_DSSETMIXBINHEADROOMA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetMixBinHeadroom+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #4
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSound_SetMixBinHeadroom+0x34 : mov bl, [esp+0x14]
|
|
{ 0x34, 0x8A }, // (Offset,Value)-Pair #6
|
|
{ 0x35, 0x5C }, // (Offset,Value)-Pair #7
|
|
{ 0x36, 0x24 }, // (Offset,Value)-Pair #8
|
|
{ 0x37, 0x14 }, // (Offset,Value)-Pair #9
|
|
|
|
// CDirectSound_SetMixBinHeadroom+0x39 : mov [edx+ecx+0x14], bl
|
|
{ 0x39, 0x88 }, // (Offset,Value)-Pair #10
|
|
{ 0x3A, 0x5C }, // (Offset,Value)-Pair #11
|
|
{ 0x3B, 0x0A }, // (Offset,Value)-Pair #12
|
|
{ 0x3C, 0x14 }, // (Offset,Value)-Pair #13
|
|
|
|
// CDirectSound_SetMixBinHeadroom+0x5C : retn 0x0C
|
|
{ 0x5C, 0xC2 }, // (Offset,Value)-Pair #14
|
|
{ 0x5D, 0x0C }, // (Offset,Value)-Pair #15
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSound8_SetMixBinHeadroom
|
|
// ******************************************************************
|
|
SOOVPA<12> IDirectSound8_SetMixBinHeadroom_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSound8_SetMixBinHeadroom+0x19 : call [CDirectSound::SetMixBinHeadroom]
|
|
{ 0x19, XREF_DSSETMIXBINHEADROOMA }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSound8_SetMixBinHeadroom+0x04 : push [esp+0x0C]
|
|
{ 0x04, 0xFF }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x0C }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSound8_SetMixBinHeadroom+0x0E : add eax, 0xFFFFFFF8
|
|
{ 0x0E, 0x83 }, // (Offset,Value)-Pair #6
|
|
{ 0x0F, 0xC0 }, // (Offset,Value)-Pair #7
|
|
{ 0x10, 0xF8 }, // (Offset,Value)-Pair #8
|
|
|
|
// IDirectSound8_SetMixBinHeadroom+0x13 : sbb ecx, ecx
|
|
{ 0x13, 0x1B }, // (Offset,Value)-Pair #9
|
|
{ 0x14, 0xC9 }, // (Offset,Value)-Pair #10
|
|
|
|
// IDirectSound8_SetMixBinHeadroom+0x15 : and ecx, eax
|
|
{ 0x15, 0x23 }, // (Offset,Value)-Pair #11
|
|
{ 0x16, 0xC8 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_SetHeadroomA
|
|
// ******************************************************************
|
|
SOOVPA<12> IDirectSoundBuffer8_SetHeadroomA_1_0_4928 =
|
|
{
|
|
0,// Large == 0
|
|
7,// Count == 7
|
|
|
|
XREF_DSBUFFERSETHEADROOMA,// XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
{ 0x03, 0x04 },
|
|
{ 0x08, 0x48 },
|
|
{ 0x0D, 0x24 },
|
|
{ 0x12, 0x48 },
|
|
{ 0x17, 0x8B },
|
|
{ 0x1F, 0x5E },
|
|
{ 0x21, 0x08 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_SetHeadroom
|
|
// ******************************************************************
|
|
SOOVPA<8> IDirectSoundBuffer8_SetHeadroom_1_0_4928 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_SetHeadroom+0x32 : call [IDirectSoundBuffer8_SetHeadroomA]
|
|
{ 0x32, XREF_DSBUFFERSETHEADROOMA },
|
|
|
|
{ 0x0C, 0x00 },
|
|
{ 0x12, 0x85 },
|
|
{ 0x1C, 0x15 },
|
|
{ 0x26, 0xEB },
|
|
{ 0x30, 0x10 },
|
|
{ 0x3A, 0x74 },
|
|
{ 0x47, 0x8B },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetVelocity
|
|
// ******************************************************************
|
|
SOOVPA<15> CDirectSound_SetVelocity_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
15, // Count == 15
|
|
|
|
XREF_DSSETVELOCITYA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetVelocity+0x24 : mov eax, 0x80004005
|
|
{ 0x24, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x25, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x26, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x27, 0x00 }, // (Offset,Value)-Pair #4
|
|
{ 0x28, 0x80 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSound_SetVelocity+0x37 : mov [edx+0x44], edi
|
|
{ 0x37, 0x89 }, // (Offset,Value)-Pair #6
|
|
{ 0x38, 0x7A }, // (Offset,Value)-Pair #7
|
|
{ 0x39, 0x44 }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSound_SetVelocity+0x4C : or byte ptr [eax+0x0x00A4], 0x80
|
|
{ 0x4C, 0x80 }, // (Offset,Value)-Pair #9
|
|
{ 0x4D, 0x88 }, // (Offset,Value)-Pair #10
|
|
{ 0x4E, 0xA4 }, // (Offset,Value)-Pair #11
|
|
{ 0x4F, 0x00 }, // (Offset,Value)-Pair #12
|
|
{ 0x52, 0x80 }, // (Offset,Value)-Pair #13
|
|
|
|
// CDirectSound_SetVelocity+0x73 : retn 0x14
|
|
{ 0x73, 0xC2 }, // (Offset,Value)-Pair #14
|
|
{ 0x74, 0x14 }, // (Offset,Value)-Pair #15
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetAllParametersA
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSound_SetAllParametersA_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSSETALLPARAMETERSA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
{ 0x16, 0x68 }, // (Offset,Value)-Pair #1
|
|
{ 0x17, 0xE8 }, // (Offset,Value)-Pair #2
|
|
{ 0x18, 0xF7 }, // (Offset,Value)-Pair #3
|
|
{ 0x19, 0x2D }, // (Offset,Value)-Pair #4
|
|
|
|
{ 0x2F, 0xD9 }, // (Offset,Value)-Pair #5
|
|
{ 0x30, 0x41 }, // (Offset,Value)-Pair #6
|
|
{ 0x31, 0x04 }, // (Offset,Value)-Pair #7
|
|
|
|
{ 0x87, 0x8B }, // (Offset,Value)-Pair #8
|
|
{ 0x88, 0x50 }, // (Offset,Value)-Pair #9
|
|
{ 0x89, 0x08 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoiceSettings::SetMixBinVolumes
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundVoiceSettings_SetMixBinVolumes_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSSETMIXBINVOLUMESC, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoiceSettings_SetMixBinVolumes+0x09 : jbe +0x16
|
|
{ 0x09, 0x76 }, // (Offset,Value)-Pair #1
|
|
{ 0x0A, 0x16 }, // (Offset,Value)-Pair #2
|
|
|
|
// CDirectSoundVoiceSettings_SetMixBinVolumes+0x18 : mov [ecx+edi*4+0x30], eax
|
|
{ 0x18, 0x89 }, // (Offset,Value)-Pair #3
|
|
{ 0x19, 0x44 }, // (Offset,Value)-Pair #4
|
|
{ 0x1A, 0xB9 }, // (Offset,Value)-Pair #5
|
|
{ 0x1B, 0x30 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundVoiceSettings_SetMixBinVolumes+0x1E : jb +0xEC
|
|
{ 0x1E, 0x72 }, // (Offset,Value)-Pair #7
|
|
{ 0x1F, 0xEC }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSoundVoiceSettings_SetMixBinVolumes+0x22 : retn 0x04
|
|
{ 0x22, 0xC2 }, // (Offset,Value)-Pair #9
|
|
{ 0x23, 0x04 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetMixBinVolumes
|
|
// ******************************************************************
|
|
SOOVPA<17> CDirectSoundVoice_SetMixBinVolumes_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
17, // Count == 17
|
|
|
|
XREF_DSSETMIXBINVOLUMESB, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x0D : call [CDirectSoundVoiceSettings::SetMixBinVolumes]
|
|
{ 0x0D, XREF_DSSETMIXBINVOLUMESC }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x01 : mov esi, [esp+8]
|
|
{ 0x01, 0x8B }, // (Offset,Value)-Pair #2
|
|
{ 0x02, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x03, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x04, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x05 : push [esp+0x0C]
|
|
{ 0x05, 0xFF }, // (Offset,Value)-Pair #6
|
|
{ 0x06, 0x74 }, // (Offset,Value)-Pair #7
|
|
{ 0x07, 0x24 }, // (Offset,Value)-Pair #8
|
|
{ 0x08, 0x0C }, // (Offset,Value)-Pair #9
|
|
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x09 : mov ecx, [esi+0x10]
|
|
{ 0x09, 0x8B }, // (Offset,Value)-Pair #10
|
|
{ 0x0A, 0x4E }, // (Offset,Value)-Pair #11
|
|
{ 0x0B, 0x10 }, // (Offset,Value)-Pair #12
|
|
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x11 : mov ecx, [esi+0x0C]
|
|
{ 0x11, 0x8B }, // (Offset,Value)-Pair #13
|
|
{ 0x12, 0x4E }, // (Offset,Value)-Pair #14
|
|
{ 0x13, 0x0C }, // (Offset,Value)-Pair #15
|
|
|
|
// CDirectSoundVoice_SetMixBinVolumes+0x1A : retn 0x08
|
|
{ 0x1A, 0xC2 }, // (Offset,Value)-Pair #16
|
|
{ 0x1B, 0x08 }, // (Offset,Value)-Pair #17
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetMixBinVolumes
|
|
// ******************************************************************
|
|
SOOVPA<17> CDirectSoundBuffer_SetMixBinVolumes_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
17, // Count == 17
|
|
|
|
XREF_DSSETMIXBINVOLUMESA, // XRef Is Saved
|
|
1, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetMixBinVolumes+0x32 : call [CDirectSoundVoice::SetMixBinVolumes]
|
|
{ 0x32, XREF_DSSETMIXBINVOLUMESB }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundBuffer_SetMixBinVolumes+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #2
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #3
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #4
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #5
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundBuffer_SetMixBinVolumes+0x29 : push [esp+0x10]; push [esp+0x10]
|
|
{ 0x29, 0xFF }, // (Offset,Value)-Pair #7
|
|
{ 0x2A, 0x74 }, // (Offset,Value)-Pair #8
|
|
{ 0x2B, 0x24 }, // (Offset,Value)-Pair #9
|
|
{ 0x2C, 0x10 }, // (Offset,Value)-Pair #10
|
|
{ 0x2D, 0xFF }, // (Offset,Value)-Pair #11
|
|
{ 0x2E, 0x74 }, // (Offset,Value)-Pair #12
|
|
{ 0x2F, 0x24 }, // (Offset,Value)-Pair #13
|
|
{ 0x30, 0x10 }, // (Offset,Value)-Pair #14
|
|
|
|
// CDirectSoundBuffer_SetMixBinVolumes+0x49 : pop edi
|
|
{ 0x49, 0x5F }, // (Offset,Value)-Pair #15
|
|
|
|
// CDirectSoundBuffer_SetMixBinVolumes+0x4B : retn 0x08
|
|
{ 0x4B, 0xC2 }, // (Offset,Value)-Pair #16
|
|
{ 0x4C, 0x08 }, // (Offset,Value)-Pair #17
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_SetMixBinVolumes
|
|
// ******************************************************************
|
|
SOOVPA<12> IDirectSoundBuffer8_SetMixBinVolumes_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_SetMixBinVolumes+0x15 : call [CDirectSoundBuffer::SetMixBinVolumes]
|
|
{ 0x15, XREF_DSSETMIXBINVOLUMESA }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSoundBuffer8_SetMixBinVolumes+0x04 : push [esp+0x08]
|
|
{ 0x04, 0xFF }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSoundBuffer8_SetMixBinVolumes+0x0A : add eax, 0xFFFFFFE4
|
|
{ 0x0A, 0x83 }, // (Offset,Value)-Pair #6
|
|
{ 0x0B, 0xC0 }, // (Offset,Value)-Pair #7
|
|
{ 0x0C, 0xE4 }, // (Offset,Value)-Pair #8
|
|
|
|
// IDirectSoundBuffer8_SetMixBinVolumes+0x0F : sbb ecx, ecx
|
|
{ 0x0F, 0x1B }, // (Offset,Value)-Pair #9
|
|
{ 0x10, 0xC9 }, // (Offset,Value)-Pair #10
|
|
|
|
// IDirectSoundBuffer8_SetMixBinVolumes+0x11 : and ecx, eax
|
|
{ 0x11, 0x23 }, // (Offset,Value)-Pair #11
|
|
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetPositionA
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSound_SetPositionA_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSSETPOSITIONA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetPositionA+0x2B : mov ecx, [ebp+0x08]
|
|
{ 0x2B, 0x8B }, // (Offset,Value)-Pair #1
|
|
{ 0x2C, 0x4D }, // (Offset,Value)-Pair #2
|
|
{ 0x2D, 0x08 }, // (Offset,Value)-Pair #3
|
|
|
|
// CDirectSound_SetPositionA+0x3F : mov [edx+0x3C], edi
|
|
{ 0x3F, 0x89 }, // (Offset,Value)-Pair #4
|
|
{ 0x40, 0x7A }, // (Offset,Value)-Pair #5
|
|
{ 0x41, 0x3C }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSound_SetPositionA+0x4C : or word ptr [eax+0xA4], 0x01FF
|
|
{ 0x4C, 0x66 }, // (Offset,Value)-Pair #7
|
|
{ 0x4D, 0x81 }, // (Offset,Value)-Pair #8
|
|
{ 0x4E, 0x88 }, // (Offset,Value)-Pair #9
|
|
{ 0x4F, 0xA4 }, // (Offset,Value)-Pair #10
|
|
{ 0x53, 0xFF }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * DirectSoundCreateBuffer
|
|
// ******************************************************************
|
|
SOOVPA<12> DirectSoundCreateBuffer_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// DirectSoundCreateBuffer+0x2F : call [CDirectSound::CreateSoundBuffer]
|
|
{ 0x2F, XREF_DSCREATESOUNDBUFFER }, // (Offset,Value)-Pair #1
|
|
|
|
// DirectSoundCreateBuffer+0x04 : and [ebp-0x04], 0
|
|
{ 0x04, 0x83 }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x65 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0xFC }, // (Offset,Value)-Pair #4
|
|
|
|
// DirectSoundCreateBuffer+0x08 : push ebx; push esi; push edi
|
|
{ 0x08, 0x53 }, // (Offset,Value)-Pair #5
|
|
{ 0x09, 0x56 }, // (Offset,Value)-Pair #6
|
|
{ 0x0A, 0x57 }, // (Offset,Value)-Pair #7
|
|
|
|
// DirectSoundCreateBuffer+0x3C : call dword ptr [eax+8]
|
|
{ 0x3C, 0xFF }, // (Offset,Value)-Pair #8
|
|
{ 0x3D, 0x50 }, // (Offset,Value)-Pair #9
|
|
{ 0x3E, 0x08 }, // (Offset,Value)-Pair #10
|
|
|
|
// DirectSoundCreateBuffer+0x54 : retn 0x08
|
|
{ 0x54, 0xC2 }, // (Offset,Value)-Pair #11
|
|
{ 0x55, 0x08 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSound8_CreateSoundBuffer
|
|
// ******************************************************************
|
|
SOOVPA<12> IDirectSound8_CreateSoundBuffer_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSound8_CreateSoundBuffer+0x1D : call [CDirectSound::CreateSoundBuffer]
|
|
{ 0x1D, XREF_DSCREATESOUNDBUFFER }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSound8_CreateSoundBuffer+0x04 : mov eax, [esp+8]
|
|
{ 0x04, 0x8B }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x44 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSound8_CreateSoundBuffer+0x12 : add eax, 0xFFFFFFF8
|
|
{ 0x12, 0x83 }, // (Offset,Value)-Pair #6
|
|
{ 0x13, 0xC0 }, // (Offset,Value)-Pair #7
|
|
{ 0x14, 0xF8 }, // (Offset,Value)-Pair #8
|
|
|
|
// IDirectSound8_CreateSoundBuffer+0x17 : sbb ecx, ecx
|
|
{ 0x17, 0x1B }, // (Offset,Value)-Pair #9
|
|
{ 0x18, 0xC9 }, // (Offset,Value)-Pair #10
|
|
|
|
// IDirectSound8_CreateSoundBuffer+0x21 : retn 0x10
|
|
{ 0x21, 0xC2 }, // (Offset,Value)-Pair #11
|
|
{ 0x22, 0x10 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetFrequency
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSoundVoice_SetFrequency_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERSETFREQUENCYB, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetFrequency+0x0D : mov eax, [esi+0x10]
|
|
{ 0x0D, 0x8B }, // (Offset,Value)-Pair #1
|
|
{ 0x0E, 0x46 }, // (Offset,Value)-Pair #2
|
|
{ 0x0F, 0x10 }, // (Offset,Value)-Pair #3
|
|
|
|
// CDirectSoundVoice_SetFrequency+0x10 : mov eax, [eax+0x10]
|
|
{ 0x10, 0x8B }, // (Offset,Value)-Pair #4
|
|
{ 0x11, 0x40 }, // (Offset,Value)-Pair #5
|
|
{ 0x12, 0x10 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundVoice_SetFrequency+0x14 : call [abs]; push eax; push esi
|
|
{ 0x14, 0xE8 }, // (Offset,Value)-Pair #7
|
|
{ 0x19, 0x50 }, // (Offset,Value)-Pair #8
|
|
{ 0x1A, 0x56 }, // (Offset,Value)-Pair #9
|
|
|
|
// CDirectSoundVoice_SetFrequency+0x22 : retn 0x08
|
|
{ 0x21, 0xC2 }, // (Offset,Value)-Pair #10
|
|
{ 0x22, 0x08 }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetFrequency
|
|
// ******************************************************************
|
|
SOOVPA<17> CDirectSoundBuffer_SetFrequency_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
17, // Count == 17
|
|
|
|
XREF_DSBUFFERSETFREQUENCYA, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetFrequency+0x32 : call [CDirectSoundVoice::SetFrequency]
|
|
{ 0x32, XREF_DSBUFFERSETFREQUENCYB }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundBuffer_SetFrequency+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #2
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #3
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #4
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #5
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundBuffer_SetFrequency+0x29 : push [esp+0x10]; push [esp+0x10]
|
|
{ 0x29, 0xFF }, // (Offset,Value)-Pair #7
|
|
{ 0x2A, 0x74 }, // (Offset,Value)-Pair #8
|
|
{ 0x2B, 0x24 }, // (Offset,Value)-Pair #9
|
|
{ 0x2C, 0x10 }, // (Offset,Value)-Pair #10
|
|
{ 0x2D, 0xFF }, // (Offset,Value)-Pair #11
|
|
{ 0x2E, 0x74 }, // (Offset,Value)-Pair #12
|
|
{ 0x2F, 0x24 }, // (Offset,Value)-Pair #13
|
|
{ 0x30, 0x10 }, // (Offset,Value)-Pair #14
|
|
|
|
// CDirectSoundBuffer_SetFrequency+0x49 : pop edi
|
|
{ 0x49, 0x5F }, // (Offset,Value)-Pair #15
|
|
|
|
// CDirectSoundBuffer_SetFrequency+0x4B : retn 0x08
|
|
{ 0x4B, 0xC2 }, // (Offset,Value)-Pair #16
|
|
{ 0x4C, 0x08 }, // (Offset,Value)-Pair #17
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_SetFrequency
|
|
// ******************************************************************
|
|
SOOVPA<12> IDirectSoundBuffer8_SetFrequency_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_SetFrequency+0x15 : call [CDirectSound::SetFrequency]
|
|
{ 0x15, XREF_DSBUFFERSETFREQUENCYA }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSoundBuffer8_SetFrequency+0x04 : push [esp+0x08]
|
|
{ 0x04, 0xFF }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSoundBuffer8_SetFrequency0x0A : add eax, 0xFFFFFFE4
|
|
{ 0x0A, 0x83 }, // (Offset,Value)-Pair #6
|
|
{ 0x0B, 0xC0 }, // (Offset,Value)-Pair #7
|
|
{ 0x0C, 0xE4 }, // (Offset,Value)-Pair #8
|
|
|
|
// IDirectSoundBuffer8_SetFrequency+0x0F : sbb ecx, ecx
|
|
{ 0x0F, 0x1B }, // (Offset,Value)-Pair #9
|
|
{ 0x10, 0xC9 }, // (Offset,Value)-Pair #10
|
|
|
|
// IDirectSoundBuffer8_SetFrequency+0x11 : and ecx, eax
|
|
{ 0x11, 0x23 }, // (Offset,Value)-Pair #11
|
|
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxVoiceClient_SetVolume
|
|
// ******************************************************************
|
|
SOOVPA<13> CMcpxVoiceClient_SetVolume_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
13, // Count == 13
|
|
|
|
XREF_DSSTREAMSETVOLUME, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxVoiceClient_SetVolume+0x2A : lea eax, [ecx+ecx*2]
|
|
{ 0x2A, 0x8D }, // (Offset,Value)-Pair #1
|
|
{ 0x2B, 0x04 }, // (Offset,Value)-Pair #2
|
|
{ 0x2C, 0x49 }, // (Offset,Value)-Pair #3
|
|
|
|
// CMcpxVoiceClient_SetVolume+0x45 : movzx edx, word ptr [ecx]
|
|
{ 0x45, 0x0F }, // (Offset,Value)-Pair #4
|
|
{ 0x46, 0xB7 }, // (Offset,Value)-Pair #5
|
|
{ 0x47, 0x11 }, // (Offset,Value)-Pair #6
|
|
|
|
// CMcpxVoiceClient_SetVolume+0x6C : mov edx, [ebp+eax*4-0x14]
|
|
{ 0x6C, 0x8B }, // (Offset,Value)-Pair #7
|
|
{ 0x6D, 0x54 }, // (Offset,Value)-Pair #8
|
|
{ 0x6E, 0x85 }, // (Offset,Value)-Pair #9
|
|
{ 0x6F, 0xEC }, // (Offset,Value)-Pair #10
|
|
|
|
// CMcpxVoiceClient_SetVolume+0x84 : inc eax; inc ecx, inc ecx
|
|
{ 0x84, 0x40 }, // (Offset,Value)-Pair #11
|
|
{ 0x85, 0x41 }, // (Offset,Value)-Pair #12
|
|
{ 0x86, 0x41 }, // (Offset,Value)-Pair #13
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundStream_SetVolume
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSoundStream_SetVolume_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundStream_SetVolume+0x15 : call [CMcpxVoiceClient::SetVolume]
|
|
{ 0x15, XREF_DSSTREAMSETVOLUME }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundStream_SetVolume+0x00 : mov ecx, [esp+0x04]
|
|
{ 0x00, 0x8B }, // (Offset,Value)-Pair #2
|
|
{ 0x01, 0x4C }, // (Offset,Value)-Pair #3
|
|
{ 0x02, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x03, 0x04 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSoundStream_SetVolume+0x0B : sub edx, [eax+0x20]
|
|
{ 0x0B, 0x2B }, // (Offset,Value)-Pair #6
|
|
{ 0x0C, 0x50 }, // (Offset,Value)-Pair #7
|
|
{ 0x0D, 0x20 }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSoundStream_SetVolume+0x11 : mov ecx, [ecx+0x0C]
|
|
{ 0x11, 0x8B }, // (Offset,Value)-Pair #9
|
|
{ 0x12, 0x49 }, // (Offset,Value)-Pair #10
|
|
{ 0x13, 0x0C }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_LockA
|
|
// ******************************************************************
|
|
SOOVPA<13> IDirectSoundBuffer8_LockA_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
13,// Count == 10
|
|
|
|
XREF_DSBUFFERLOCKA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_LockA+0x37 : test [ebp+0x24], 1
|
|
{ 0x37, 0xF6 }, // (Offset,Value)-Pair #1
|
|
{ 0x38, 0x45 }, // (Offset,Value)-Pair #2
|
|
{ 0x39, 0x24 }, // (Offset,Value)-Pair #3
|
|
{ 0x3A, 0x01 }, // (Offset,Value)-Pair #4
|
|
|
|
// IDirectSoundBuffer8_LockA+0x5C : mov eax, [eax+0xBC]
|
|
{ 0x5C, 0x8B }, // (Offset,Value)-Pair #5
|
|
{ 0x5D, 0x80 }, // (Offset,Value)-Pair #6
|
|
{ 0x5E, 0xBC }, // (Offset,Value)-Pair #7
|
|
{ 0x5F, 0x00 }, // (Offset,Value)-Pair #8
|
|
|
|
// IDirectSoundBuffer8_LockA+0xA4 : jnb +0x11; mov esi, [esi+0x1C]
|
|
{ 0xA2, 0x73 }, // (Offset,Value)-Pair #9
|
|
{ 0xA3, 0x11 }, // (Offset,Value)-Pair #10
|
|
{ 0xA4, 0x8B }, // (Offset,Value)-Pair #11
|
|
{ 0xA5, 0x76 }, // (Offset,Value)-Pair #12
|
|
{ 0xA6, 0x1C }, // (Offset,Value)-Pair #13
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<11> CMcpxBuffer_GetStatus_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERGETSTATUSA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxBuffer_GetStatus+0x0A : mov esi, ecx
|
|
{ 0x0A, 0x8B }, // (Offset,Value)-Pair #1
|
|
{ 0x0B, 0xF1 }, // (Offset,Value)-Pair #2
|
|
|
|
// CMcpxBuffer_GetStatus+0x20 : jz +0x18
|
|
{ 0x20, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x21, 0x18 }, // (Offset,Value)-Pair #4
|
|
|
|
// CMcpxBuffer_GetStatus+0x22 : test word ptr [esi+0x12], 0x8002
|
|
{ 0x22, 0x66 }, // (Offset,Value)-Pair #5
|
|
{ 0x23, 0xF7 }, // (Offset,Value)-Pair #6
|
|
{ 0x24, 0x46 }, // (Offset,Value)-Pair #7
|
|
{ 0x25, 0x12 }, // (Offset,Value)-Pair #8
|
|
|
|
// CMcpxBuffer_GetStatus+0x2C : test word ptr [esi+0x12], 0x200
|
|
{ 0x2C, 0x66 }, // (Offset,Value)-Pair #9
|
|
{ 0x2D, 0xF7 }, // (Offset,Value)-Pair #10
|
|
{ 0x2E, 0x46 }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_GetStatusB
|
|
// ******************************************************************
|
|
SOOVPA<12> CMcpxBuffer_GetStatusB_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
XREF_DSBUFFERGETSTATUSA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
{ 0x16, 0x6A }, // (Offset,Value)-Pair #1
|
|
{ 0x17, 0x00 }, // (Offset,Value)-Pair #2
|
|
{ 0x18, 0x5A }, // (Offset,Value)-Pair #3
|
|
|
|
{ 0x1C, 0x42 }, // (Offset,Value)-Pair #4
|
|
{ 0x1D, 0xF6 }, // (Offset,Value)-Pair #5
|
|
{ 0x1E, 0xC4 }, // (Offset,Value)-Pair #6
|
|
{ 0x1F, 0x02 }, // (Offset,Value)-Pair #7
|
|
|
|
{ 0x29, 0xB9 }, // (Offset,Value)-Pair #8
|
|
{ 0x2A, 0x01 }, // (Offset,Value)-Pair #9
|
|
{ 0x2B, 0x80 }, // (Offset,Value)-Pair #10
|
|
|
|
{ 0x3F, 0xC2 }, // (Offset,Value)-Pair #11
|
|
{ 0x40, 0x04 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundBuffer_GetStatus_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSBUFFERGETSTATUSB, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_GetStatus+0x35 : call [CMcpxBuffer::GetStatus]
|
|
{ 0x35, XREF_DSBUFFERGETSTATUSA }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundBuffer_GetStatus+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #2
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #3
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #4
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #5
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundBuffer_GetStatus+0x3D : jz +0x0B
|
|
{ 0x3D, 0x74 }, // (Offset,Value)-Pair #7
|
|
{ 0x3E, 0x0B }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSoundBuffer_GetStatus+0x4E : retn 0x08
|
|
{ 0x4E, 0xC2 }, // (Offset,Value)-Pair #9
|
|
{ 0x4F, 0x08 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<9> IDirectSoundBuffer8_GetStatus_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_GetStatus+0x15 : call [CDirectSoundBuffer::GetStatus]
|
|
{ 0x15, XREF_DSBUFFERGETSTATUSB }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSoundBuffer8_GetStatus+0x04 : push [esp+0x08]
|
|
{ 0x04, 0xFF }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSoundBuffer8_GetStatus+0x0F : sbb ecx, ecx
|
|
{ 0x0F, 0x1B }, // (Offset,Value)-Pair #6
|
|
{ 0x10, 0xC9 }, // (Offset,Value)-Pair #7
|
|
|
|
// IDirectSoundBuffer8_GetStatus+0x11 : and ecx, eax
|
|
{ 0x11, 0x23 }, // (Offset,Value)-Pair #8
|
|
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #9
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound_GetSpeakerConfig
|
|
// ******************************************************************
|
|
SOOVPA<7> CDirectSound_GetSpeakerConfig_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
7, // Count == 7
|
|
|
|
-1, // Xref Not Saved
|
|
0, // Xref Not Used
|
|
|
|
{
|
|
{ 0x0B, 0x00 },
|
|
{ 0x14, 0x0B },
|
|
{ 0x20, 0xB8 },
|
|
{ 0x2A, 0x04 },
|
|
{ 0x35, 0x81 },
|
|
{ 0x40, 0x0B },
|
|
{ 0x4C, 0x33 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_Play
|
|
// ******************************************************************
|
|
SOOVPA<10> CMcpxBuffer_Play_1_0_4721 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSOUNDPLAY, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxBuffer_Play+0x2E : test byte ptr [eax+9], 20h
|
|
{ 0x2E, 0xF6 }, // (Offset,Value)-Pair #5
|
|
{ 0x2F, 0x40 }, // (Offset,Value)-Pair #6
|
|
{ 0x30, 0x09 }, // (Offset,Value)-Pair #7
|
|
{ 0x31, 0x20 }, // (Offset,Value)-Pair #8
|
|
|
|
// CMcpxBuffer_Play+0x44 : test byte ptr [esi+12h], 2h
|
|
{ 0x44, 0xF6 }, // (Offset,Value)-Pair #1
|
|
{ 0x45, 0x46 }, // (Offset,Value)-Pair #2
|
|
{ 0x46, 0x12 }, // (Offset,Value)-Pair #3
|
|
{ 0x47, 0x02 }, // (Offset,Value)-Pair #4
|
|
|
|
// CMcpxBuffer_Play+0x52 : xor eax, eax
|
|
{ 0x52, 0x33 }, // (Offset,Value)-Pair #9
|
|
{ 0x53, 0xC0 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_Play
|
|
// ******************************************************************
|
|
SOOVPA<10> CMcpxBuffer_Play_1_0_4928 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSOUNDPLAY, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxBuffer_Play+0x32 : test byte ptr [esi+12h], 42h
|
|
{ 0x32, 0xF6 }, // (Offset,Value)-Pair #1
|
|
{ 0x33, 0x46 }, // (Offset,Value)-Pair #2
|
|
{ 0x34, 0x12 }, // (Offset,Value)-Pair #3
|
|
{ 0x35, 0x42 }, // (Offset,Value)-Pair #4
|
|
|
|
// CMcpxBuffer_Play+0x4D : test byte ptr [eax+9], 20h
|
|
{ 0x4D, 0xF6 }, // (Offset,Value)-Pair #5
|
|
{ 0x4E, 0x40 }, // (Offset,Value)-Pair #6
|
|
{ 0x4F, 0x09 }, // (Offset,Value)-Pair #7
|
|
{ 0x50, 0x20 }, // (Offset,Value)-Pair #8
|
|
|
|
// CMcpxBuffer_Play+0x71 : xor eax, eax
|
|
{ 0x71, 0x33 }, // (Offset,Value)-Pair #9
|
|
{ 0x72, 0xC0 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetDistanceFactorA
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSound_SetDistanceFactorA_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_SETDISTANCEFACTORA,// XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetDistanceFactorA+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #4
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSound_SetDistanceFactorA+0x39 : or byte ptr[eax+0xA4], 0xE0
|
|
{ 0x39, 0x80 }, // (Offset,Value)-Pair #6
|
|
{ 0x3A, 0x88 }, // (Offset,Value)-Pair #7
|
|
{ 0x3B, 0xA4 }, // (Offset,Value)-Pair #8
|
|
{ 0x3F, 0xE0 }, // (Offset,Value)-Pair #9
|
|
|
|
// CDirectSound_SetDistanceFactorA+0x4F : jz +0x0B
|
|
{ 0x4F, 0x74 }, // (Offset,Value)-Pair #10
|
|
{ 0x50, 0x0B }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetRolloffFactor
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSound_SetRolloffFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_SETROLLOFFFACTORA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetRolloffFactor+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #4
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSound_SetRolloffFactor+0x39 : or dword ptr[eax+0xA4], 0x04
|
|
{ 0x39, 0x83 }, // (Offset,Value)-Pair #6
|
|
{ 0x3A, 0x88 }, // (Offset,Value)-Pair #7
|
|
{ 0x3B, 0xA4 }, // (Offset,Value)-Pair #8
|
|
{ 0x3F, 0x04 }, // (Offset,Value)-Pair #9
|
|
|
|
// CDirectSound_SetRolloffFactor+0x4F : jz +0x0B
|
|
{ 0x4F, 0x74 }, // (Offset,Value)-Pair #10
|
|
{ 0x50, 0x0B }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSound8_SetRolloffFactor
|
|
// ******************************************************************
|
|
SOOVPA<11> IDirectSound8_SetRolloffFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSound8_SetRolloffFactor+0x1D : call [CDirectSound::SetRolloffFactor]
|
|
{ 0x1D, XREF_SETROLLOFFFACTORA }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSound8_SetRolloffFactor+0x04 : fld [esp+0x0C]
|
|
{ 0x04, 0xD9 }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x44 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x0C }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSound8_SetRolloffFactor+0x0C : push ecx
|
|
{ 0x0C, 0x51 }, // (Offset,Value)-Pair #6
|
|
|
|
// IDirectSound8_SetRolloffFactor+0x12 : add eax, 0xFFFFFFF8
|
|
{ 0x12, 0x83 }, // (Offset,Value)-Pair #7
|
|
{ 0x13, 0xC0 }, // (Offset,Value)-Pair #8
|
|
{ 0x14, 0xF8 }, // (Offset,Value)-Pair #9
|
|
|
|
// IDirectSound8_SetRolloffFactor+0x21 : retn 0x0C
|
|
{ 0x21, 0xC2 }, // (Offset,Value)-Pair #10
|
|
{ 0x22, 0x0C }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetDopplerFactor
|
|
// ******************************************************************
|
|
SOOVPA<14> CDirectSound_SetDopplerFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
14, // Count == 14
|
|
|
|
XREF_SETDOPPLERFACTOR, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSound_SetDopplerFactor+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #1
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #2
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #3
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #4
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #5
|
|
|
|
// CDirectSound_SetDopplerFactor+0x33 : mov [eax+0x70], edx
|
|
{ 0x33, 0x89 }, // (Offset,Value)-Pair #6
|
|
{ 0x34, 0x50 }, // (Offset,Value)-Pair #7
|
|
{ 0x35, 0x70 }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSound_SetDopplerFactor+0x39 : or byte ptr[eax+0xA4], 0x80
|
|
{ 0x39, 0x80 }, // (Offset,Value)-Pair #9
|
|
{ 0x3A, 0x88 }, // (Offset,Value)-Pair #10
|
|
{ 0x3B, 0xA4 }, // (Offset,Value)-Pair #11
|
|
{ 0x3F, 0x80 }, // (Offset,Value)-Pair #12
|
|
|
|
// CDirectSound_SetDopplerFactor+0x4F : jz +0x0B
|
|
{ 0x4F, 0x74 }, // (Offset,Value)-Pair #13
|
|
{ 0x50, 0x0B }, // (Offset,Value)-Pair #14
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSound8_SetDopplerFactor
|
|
// ******************************************************************
|
|
SOOVPA<11> IDirectSound8_SetDopplerFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSound8_SetDopplerFactor+0x1D : call [CDirectSound::SetDopplerFactor]
|
|
{ 0x1D, XREF_SETDOPPLERFACTOR}, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSound8_SetDopplerFactor+0x04 : fld [esp+0x0C]
|
|
{ 0x04, 0xD9 }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x44 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x0C }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSound8_SetDopplerFactor+0x0C : push ecx
|
|
{ 0x0C, 0x51 }, // (Offset,Value)-Pair #6
|
|
|
|
// IDirectSound8_SetDopplerFactor+0x12 : add eax, 0xFFFFFFF8
|
|
{ 0x12, 0x83 }, // (Offset,Value)-Pair #7
|
|
{ 0x13, 0xC0 }, // (Offset,Value)-Pair #8
|
|
{ 0x14, 0xF8 }, // (Offset,Value)-Pair #9
|
|
|
|
// IDirectSound8_SetDopplerFactor+0x21 : retn 0x0C
|
|
{ 0x21, 0xC2 }, // (Offset,Value)-Pair #10
|
|
{ 0x22, 0x0C }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetRolloffFactor
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetRolloffFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSVOICESETROLLOFFFACTOR, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetRolloffFactor+0x0D : mov edx, [esp+arg_4]
|
|
{ 0x0D, 0x8B },
|
|
{ 0x0E, 0x54 },
|
|
{ 0x0F, 0x24 },
|
|
{ 0x10, 0x08 },
|
|
|
|
// CDirectSoundVoice_SetRolloffFactor+0x11 : mov [eax+44h], edx
|
|
{ 0x11, 0x89 },
|
|
{ 0x12, 0x50 },
|
|
{ 0x13, 0x44 },
|
|
|
|
// CDirectSoundVoice_SetRolloffFactor+0x30 : retn 0Ch
|
|
{ 0x31, 0x0C },
|
|
{ 0x32, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetRolloffFactor
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundBuffer_SetRolloffFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSBUFFERSETROLLOFFFACTOR, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetRolloffFactor+0x39 : call [CDirectSoundVoice::SetRolloffFactor]
|
|
{ 0x3A, XREF_DSVOICESETROLLOFFFACTOR },
|
|
|
|
// CDirectSoundBuffer_SetRolloffFactor+0x21 : mov eax, 80004005h
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
|
|
// CDirectSoundBuffer_SetRolloffFactor+0x32 : fstp [esp+0Ch+var_C]
|
|
{ 0x32, 0xD9 },
|
|
{ 0x33, 0x1C },
|
|
{ 0x34, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetRolloffFactor+0x53 : retn 0Ch
|
|
{ 0x54, 0x0C },
|
|
{ 0x55, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetRolloffFactor
|
|
// ******************************************************************
|
|
SOOVPA<10> IDirectSoundBuffer_SetRolloffFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetRolloffFactor+0x1C : call [CDirectSoundBuffer::SetRolloffFactor]
|
|
{ 0x1D, XREF_DSBUFFERSETROLLOFFFACTOR },
|
|
|
|
// IDirectSoundBuffer_SetRolloffFactor+0x04 : fld [esp+4+arg_4]
|
|
{ 0x04, 0xD9 },
|
|
{ 0x05, 0x44 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x07, 0x0C },
|
|
|
|
// IDirectSoundBuffer_SetRolloffFactor+0x12 : add eax, 0FFFFFFE4
|
|
{ 0x12, 0x83 },
|
|
{ 0x13, 0xC0 },
|
|
{ 0x14, 0xE4 },
|
|
|
|
// IDirectSoundBuffer_SetRolloffFactor+0x21 : retn 0Ch
|
|
{ 0x22, 0x0C },
|
|
{ 0x23, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetDistanceFactor
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetDistanceFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSVOICESETDISTANCEFACTOR, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetDistanceFactor+0x0D : mov edx, [esp+arg_4]
|
|
{ 0x0D, 0x8B },
|
|
{ 0x0E, 0x54 },
|
|
{ 0x0F, 0x24 },
|
|
{ 0x10, 0x08 },
|
|
|
|
// CDirectSoundVoice_SetDistanceFactor+0x11 : mov [eax+40h], edx
|
|
{ 0x11, 0x89 },
|
|
{ 0x12, 0x50 },
|
|
{ 0x13, 0x40 },
|
|
|
|
// CDirectSoundVoice_SetDistanceFactor+0x30 : retn 0Ch
|
|
{ 0x31, 0x0C },
|
|
{ 0x32, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetDistanceFactor
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundBuffer_SetDistanceFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSBUFFERSETDISTANCEFACTOR, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetDistanceFactor+0x39 : call [CDirectSoundVoice::SetDistanceFactor]
|
|
{ 0x3A, XREF_DSVOICESETDISTANCEFACTOR },
|
|
|
|
// CDirectSoundBuffer_SetDistanceFactor+0x21 : mov eax, 80004005h
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
|
|
// CDirectSoundBuffer_SetDistanceFactor+0x32 : fstp [esp+0Ch+var_C]
|
|
{ 0x32, 0xD9 },
|
|
{ 0x33, 0x1C },
|
|
{ 0x34, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetDistanceFactor+0x53 : retn 0Ch
|
|
{ 0x54, 0x0C },
|
|
{ 0x55, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetDistanceFactor
|
|
// ******************************************************************
|
|
SOOVPA<10> IDirectSoundBuffer_SetDistanceFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetDistanceFactor+0x1C : call [CDirectSoundBuffer::SetDistanceFactor]
|
|
{ 0x1D, XREF_DSBUFFERSETDISTANCEFACTOR },
|
|
|
|
// IDirectSoundBuffer_SetDistanceFactor+0x04 : fld [esp+4+arg_4]
|
|
{ 0x04, 0xD9 },
|
|
{ 0x05, 0x44 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x07, 0x0C },
|
|
|
|
// IDirectSoundBuffer_SetDistanceFactor+0x12 : add eax, 0FFFFFFE4
|
|
{ 0x12, 0x83 },
|
|
{ 0x13, 0xC0 },
|
|
{ 0x14, 0xE4 },
|
|
|
|
// IDirectSoundBuffer_SetSetDistanceFactor+0x21 : retn 0Ch
|
|
{ 0x22, 0x0C },
|
|
{ 0x23, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetConeAngles
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetConeAngles_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSVOICESETCONEANGLES, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetConeAngles+0x0D : mov edx, [esp+arg_4]
|
|
{ 0x0D, 0x8B },
|
|
{ 0x0E, 0x54 },
|
|
{ 0x0F, 0x24 },
|
|
{ 0x10, 0x08 },
|
|
|
|
// CDirectSoundVoice_SetConeAngles+0x11 : mov [ecx+1Ch], edx
|
|
{ 0x11, 0x89 },
|
|
{ 0x12, 0x51 },
|
|
{ 0x13, 0x1C },
|
|
|
|
// CDirectSoundVoice_SetConeAngles+0x40 : retn 10h
|
|
{ 0x41, 0x10 },
|
|
{ 0x42, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetConeAngles
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSoundBuffer_SetConeAngles_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERSETCONEANGLES, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetConeAngles+0x39 : call [CDirectSoundVoice::SetConeAngles]
|
|
{ 0x3A, XREF_DSVOICESETCONEANGLES },
|
|
|
|
// CDirectSoundBuffer_SetConeAngles+0x21 : mov eax, 80004005h
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
|
|
// CDirectSoundBuffer_SetConeAngles+0x31 : push [esp+0Ch+arg_4]
|
|
{ 0x31, 0xFF },
|
|
{ 0x32, 0x74 },
|
|
{ 0x33, 0x24 },
|
|
{ 0x34, 0x18 },
|
|
|
|
// CDirectSoundBuffer_SetConeAngles+0x53 : retn 10h
|
|
{ 0x54, 0x10 },
|
|
{ 0x55, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetConeAngles
|
|
// ******************************************************************
|
|
SOOVPA<10> IDirectSoundBuffer_SetConeAngles_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetConeAngles+0x1C : call [CDirectSoundBuffer::SetConeAngles]
|
|
{ 0x1D, XREF_DSBUFFERSETCONEANGLES },
|
|
|
|
// IDirectSoundBuffer_SetConeAngles+0x04 : mov eax, [esp+4+arg_0]
|
|
{ 0x04, 0x8B },
|
|
{ 0x05, 0x44 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x07, 0x08 },
|
|
|
|
// IDirectSoundBuffer_SetConeAngles+0x12 : add eax, 0FFFFFFE4
|
|
{ 0x12, 0x83 },
|
|
{ 0x13, 0xC0 },
|
|
{ 0x14, 0xE4 },
|
|
|
|
// IDirectSoundBuffer_SetConeAngles+0x21 : retn 10h
|
|
{ 0x22, 0x10 },
|
|
{ 0x23, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetConeOrientation
|
|
// ******************************************************************
|
|
SOOVPA<8> CDirectSoundVoice_SetConeOrientation_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
XREF_DSVOICESETCONEORIENTATION, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetConeOrientation+0x0F : mov edx, [ebp+arg_4]
|
|
{ 0x0F, 0x8B },
|
|
{ 0x10, 0x55 },
|
|
{ 0x11, 0x0C },
|
|
|
|
// CDirectSoundVoice_SetConeOrientation+0x12 : mov [ecx+24h], edx
|
|
{ 0x12, 0x89 },
|
|
{ 0x13, 0x51 },
|
|
{ 0x14, 0x24 },
|
|
|
|
// CDirectSoundVoice_SetConeOrientation+0x4F : retn 14h
|
|
{ 0x50, 0x14 },
|
|
{ 0x51, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetConeOrientation
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundBuffer_SetConeOrientation_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSBUFFERSETCONEORIENTATION, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetConeOrientation+0x49 : call [CDirectSoundVoice::SetConeOrientation]
|
|
{ 0x4A, XREF_DSVOICESETCONEORIENTATION },
|
|
|
|
// CDirectSoundBuffer_SetConeOrientation+0x2B : fld [ebp+arg_C]
|
|
{ 0x2B, 0xD9 },
|
|
{ 0x2C, 0x45 },
|
|
{ 0x2D, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetConeOrientation+0x43 : fstp [esp+18h+var_18]
|
|
{ 0x43, 0xD9 },
|
|
{ 0x44, 0x1C },
|
|
{ 0x45, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetConeOrientation+0x64 : retn 14h
|
|
{ 0x65, 0x14 },
|
|
{ 0x66, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetConeOrientation
|
|
// ******************************************************************
|
|
SOOVPA<9> IDirectSoundBuffer_SetConeOrientation_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetConeOrientation+0x2C : call [CDirectSoundBuffer::SetConeOrientation]
|
|
{ 0x2D, XREF_DSBUFFERSETCONEORIENTATION },
|
|
|
|
// IDirectSoundBuffer_SetConeOrientation+0x06 : fld [ebp+arg_C]
|
|
{ 0x06, 0xD9 },
|
|
{ 0x07, 0x45 },
|
|
{ 0x08, 0x14 },
|
|
|
|
// IDirectSoundBuffer_SetConeOrientation+0x28 : fstp [esp+10h+var_10]
|
|
{ 0x28, 0xD9 },
|
|
{ 0x29, 0x1C },
|
|
{ 0x2A, 0x24 },
|
|
|
|
// IDirectSoundBuffer_SetConeOrientation+0x32 : retn 14h
|
|
{ 0x33, 0x14 },
|
|
{ 0x34, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetConeOutsideVolume
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetConeOutsideVolume_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSVOICESETCONEOUTSIDEVOLUME, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetConeOutsideVolume+0x0D : mov edx, [esp+arg_4]
|
|
{ 0x0D, 0x8B },
|
|
{ 0x0E, 0x54 },
|
|
{ 0x0F, 0x24 },
|
|
{ 0x10, 0x08 },
|
|
|
|
// CDirectSoundVoice_SetConeOutsideVolume+0x11 : mov [eax+30h], edx
|
|
{ 0x11, 0x89 },
|
|
{ 0x12, 0x50 },
|
|
{ 0x13, 0x30 },
|
|
|
|
// CDirectSoundVoice_SetConeOutsideVolume+0x30 : retn 0Ch
|
|
{ 0x31, 0x0C },
|
|
{ 0x32, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetConeOutsideVolume
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSoundBuffer_SetConeOutsideVolume_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERSETCONEOUTSIDEVOLUME, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetConeOutsideVolume+0x35 : call [CDirectSoundVoice::SetConeOutsideVolume]
|
|
{ 0x36, XREF_DSVOICESETCONEOUTSIDEVOLUME },
|
|
|
|
// CDirectSoundBuffer_SetConeOutsideVolume+0x21 : mov eax, 80004005h
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
|
|
// CDirectSoundBuffer_SetConeOutsideVolume+0x31 : push [esp+0Ch+arg_0]
|
|
{ 0x31, 0xFF },
|
|
{ 0x32, 0x74 },
|
|
{ 0x33, 0x24 },
|
|
{ 0x34, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetConeOutsideVolume+0x4F : retn 0Ch
|
|
{ 0x50, 0x0C },
|
|
{ 0x51, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetConeOutsideVolume
|
|
// ******************************************************************
|
|
SOOVPA<9> IDirectSoundBuffer_SetConeOutsideVolume_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetConeOutsideVolume+0x18 : call [CDirectSoundBuffer::SetConeOutsideVolume]
|
|
{ 0x19, XREF_DSBUFFERSETCONEOUTSIDEVOLUME },
|
|
|
|
// IDirectSoundBuffer_SetConeOutsideVolume+0x0A : push [esp+4+arg_4]
|
|
{ 0x0A, 0xFF },
|
|
{ 0x0B, 0x74 },
|
|
{ 0x0C, 0x24 },
|
|
{ 0x0D, 0x0C },
|
|
|
|
// IDirectSoundBuffer_SetConeOutsideVolume+0x15 : and ecx, eax
|
|
{ 0x15, 0x23 },
|
|
{ 0x16, 0xC8 },
|
|
|
|
// IDirectSoundBuffer_SetConeOutsideVolume+0x1D : retn 0Ch
|
|
{ 0x1E, 0x0C },
|
|
{ 0x1F, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetPosition
|
|
// ******************************************************************
|
|
SOOVPA<8> CDirectSoundVoice_SetPosition_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
XREF_DSVOICESETPOSITION, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetPosition+0x0F : mov edx, [ebp+arg_4]
|
|
{ 0x0F, 0x8B },
|
|
{ 0x10, 0x55 },
|
|
{ 0x11, 0x0C },
|
|
|
|
// CDirectSoundVoice_SetPosition+0x12 : mov [ecx+04h], edx
|
|
{ 0x12, 0x89 },
|
|
{ 0x13, 0x51 },
|
|
{ 0x14, 0x04 },
|
|
|
|
// CDirectSoundVoice_SetPosition+0x51 : retn 14h
|
|
{ 0x52, 0x14 },
|
|
{ 0x53, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetPosition
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundBuffer_SetPosition_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSBUFFERSETPOSITION, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetPosition+0x49 : call [CDirectSoundVoice::SetPosition]
|
|
{ 0x4A, XREF_DSVOICESETPOSITION },
|
|
|
|
// CDirectSoundBuffer_SetPosition+0x2B : fld [ebp+arg_C]
|
|
{ 0x2B, 0xD9 },
|
|
{ 0x2C, 0x45 },
|
|
{ 0x2D, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetPosition+0x43 : fstp [esp+18h+var_18]
|
|
{ 0x43, 0xD9 },
|
|
{ 0x44, 0x1C },
|
|
{ 0x45, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetPosition+0x64 : retn 14h
|
|
{ 0x65, 0x14 },
|
|
{ 0x66, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetVelocity
|
|
// ******************************************************************
|
|
SOOVPA<8> CDirectSoundVoice_SetVelocity_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
XREF_DSVOICESETVELOCITY, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetVelocity+0x0F : mov edx, [ebp+arg_4]
|
|
{ 0x0F, 0x8B },
|
|
{ 0x10, 0x55 },
|
|
{ 0x11, 0x0C },
|
|
|
|
// CDirectSoundVoice_SetVelocity+0x12 : mov [ecx+10h], edx
|
|
{ 0x12, 0x89 },
|
|
{ 0x13, 0x51 },
|
|
{ 0x14, 0x10 },
|
|
|
|
// CDirectSoundVoice_SetVelocity+0x4F : retn 14h
|
|
{ 0x50, 0x14 },
|
|
{ 0x51, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetVelocity
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundBuffer_SetVelocity_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSBUFFERSETVELOCITY, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetVelocity+0x49 : call [CDirectSoundVoice::SetVelocity]
|
|
{ 0x4A, XREF_DSVOICESETVELOCITY },
|
|
|
|
// CDirectSoundBuffer_SetVelocity+0x2B : fld [ebp+arg_C]
|
|
{ 0x2B, 0xD9 },
|
|
{ 0x2C, 0x45 },
|
|
{ 0x2D, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetVelocity+0x43 : fstp [esp+18h+var_18]
|
|
{ 0x43, 0xD9 },
|
|
{ 0x44, 0x1C },
|
|
{ 0x45, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetVelocity+0x64 : retn 14h
|
|
{ 0x65, 0x14 },
|
|
{ 0x66, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetDopplerFactor
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetDopplerFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DSVOICESETDOPPLERFACTOR, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetDopplerFactor+0x0D : mov edx, [esp+arg_4]
|
|
{ 0x0D, 0x8B },
|
|
{ 0x0E, 0x54 },
|
|
{ 0x0F, 0x24 },
|
|
{ 0x10, 0x08 },
|
|
|
|
// CDirectSoundVoice_SetDopplerFactor+0x12 : mov [eax+48h], edx
|
|
{ 0x11, 0x89 },
|
|
{ 0x12, 0x50 },
|
|
{ 0x13, 0x48 },
|
|
|
|
// CDirectSoundVoice_SetDopplerFactor+0x31 : retn 0Ch
|
|
{ 0x31, 0x0C },
|
|
{ 0x32, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetDopplerFactor
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundBuffer_SetDopplerFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSBUFFERSETDOPPLERFACTOR, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetDopplerFactor+0x39 : call [CDirectSoundVoice::SetDopplerFactor]
|
|
{ 0x3A, XREF_DSVOICESETDOPPLERFACTOR },
|
|
|
|
// CDirectSoundBuffer_SetDopplerFactor+0x2D : push [esp+4+arg_8]
|
|
{ 0x2D, 0xFF },
|
|
{ 0x2E, 0x74 },
|
|
{ 0x2F, 0x24 },
|
|
{ 0x30, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetDopplerFactor+0x32 : fstp [esp+0Ch+var_C]
|
|
{ 0x32, 0xD9 },
|
|
{ 0x33, 0x1C },
|
|
{ 0x34, 0x24 },
|
|
|
|
// CDirectSoundBuffer_SetDopplerFactor+0x53 : retn 0Ch
|
|
{ 0x54, 0x0C },
|
|
{ 0x55, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetDopplerFactor
|
|
// ******************************************************************
|
|
SOOVPA<9> IDirectSoundBuffer_SetDopplerFactor_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetDopplerFactor+0x1C : call [CDirectSoundBuffer::SetDopplerFactor]
|
|
{ 0x1D, XREF_DSBUFFERSETDOPPLERFACTOR },
|
|
|
|
// IDirectSoundBuffer_SetDopplerFactor+0x08 : mov eax, [esp+4+arg_0]
|
|
{ 0x08, 0x8B },
|
|
{ 0x09, 0x44 },
|
|
{ 0x0A, 0x24 },
|
|
{ 0x0B, 0x08 },
|
|
|
|
// IDirectSoundBuffer_SetDopplerFactor+0x19 : and ecx, eax
|
|
{ 0x19, 0x23 },
|
|
{ 0x1A, 0xC8 },
|
|
|
|
// IDirectSoundBuffer_SetDopplerFactor+0x21 : retn 0Ch
|
|
{ 0x22, 0x0C },
|
|
{ 0x23, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetI3DL2Source
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundVoice_SetI3DL2Source_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSVOICESETI3DL2SOURCE, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CDirectSoundVoice_SetI3DL2Source+0x12 : mov esi, [ecx]
|
|
{ 0x12, 0x8B },
|
|
{ 0x13, 0x31 },
|
|
|
|
// CDirectSoundVoice_SetI3DL2Source+0x14 : mov [edx+4Ch], esi
|
|
{ 0x14, 0x89 },
|
|
{ 0x15, 0x72 },
|
|
{ 0x16, 0x4C },
|
|
|
|
// CDirectSoundVoice_SetI3DL2Source+0x44 : fld dword ptr [ecx+10h]
|
|
{ 0x44, 0xD9 },
|
|
{ 0x45, 0x41 },
|
|
{ 0x46, 0x10 },
|
|
|
|
// CDirectSoundVoice_SetI3DL2Source+0xAC : retn 0Ch
|
|
{ 0xAD, 0x0C },
|
|
{ 0xAE, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer::SetI3DL2Source
|
|
// ******************************************************************
|
|
SOOVPA<11> CDirectSoundBuffer_SetI3DL2Source_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERSETI3DL2SOURCE, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_SetI3DL2Source+0x35 : call [CDirectSoundVoice::SetI3DL2Source]
|
|
{ 0x36, XREF_DSVOICESETI3DL2SOURCE },
|
|
|
|
// CDirectSoundBuffer_SetI3DL2Source+0x21 : mov eax, 80004005h
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
|
|
// CDirectSoundBuffer_SetI3DL2Source+0x31 : push [esp+0Ch+arg_0]
|
|
{ 0x31, 0xFF },
|
|
{ 0x32, 0x74 },
|
|
{ 0x33, 0x24 },
|
|
{ 0x34, 0x14 },
|
|
|
|
// CDirectSoundBuffer_SetI3DL2Source+0x4F : retn 0Ch
|
|
{ 0x50, 0x0C },
|
|
{ 0x51, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetI3DL2Source
|
|
// ******************************************************************
|
|
SOOVPA<10> IDirectSoundBuffer_SetI3DL2Source_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_SetI3DL2Source+0x18 : call [CDirectSoundBuffer::SetI3DL2Source]
|
|
{ 0x19, XREF_DSBUFFERSETI3DL2SOURCE },
|
|
|
|
// IDirectSoundBuffer_SetI3DL2Source+0x04 : push [esp+arg_8]
|
|
{ 0x04, 0xFF },
|
|
{ 0x05, 0x74 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x07, 0x0C },
|
|
|
|
// IDirectSoundBuffer_SetI3DL2Source+0x0E : add eax, 0FFFFFFE4h
|
|
{ 0x0E, 0x83 },
|
|
{ 0x0F, 0xC0 },
|
|
{ 0x10, 0xE4 },
|
|
|
|
// IDirectSoundBuffer_SetI3DL2Source+0x1D : retn 0Ch
|
|
{ 0x1E, 0x0C },
|
|
{ 0x1F, 0x00 }
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_Stop
|
|
// ******************************************************************
|
|
SOOVPA<11> IDirectSoundBuffer_Stop_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
-1, // XRef Not Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// IDirectSoundBuffer_Stop+0x00 : mov eax, [esp+arg_0]
|
|
{ 0x00, 0x8B },
|
|
{ 0x01, 0x44 },
|
|
{ 0x02, 0x24 },
|
|
{ 0x03, 0x04 },
|
|
|
|
// IDirectSoundBuffer_Stop+0x04 : mov ecx, eax
|
|
{ 0x04, 0x8B },
|
|
{ 0x05, 0xC8 },
|
|
|
|
// IDirectSoundBuffer_Stop+0x06 : add eax, 0FFFFFFE4h
|
|
{ 0x06, 0x83 },
|
|
{ 0x07, 0xC0 },
|
|
{ 0x08, 0xE4 },
|
|
|
|
// IDirectSoundBuffer_Stop+0x15 : retn 4
|
|
{ 0x16, 0x04 },
|
|
{ 0x17, 0x00 }
|
|
}
|
|
};
|
|
// +s
|
|
|
|
// ******************************************************************
|
|
// * DirectSound::CDirectSoundVoice::SetFormat
|
|
// ******************************************************************
|
|
SOOVPA<8> X_DirectSound_CDirectSoundVoice_SetFormat_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
XREF_DirectSound_CDirectSoundVoice_SetFormat, // Xref Is Saved
|
|
0, // Xref Not Used
|
|
|
|
{
|
|
{ 0x07, 0x4E },
|
|
{ 0x10, 0xE8 },
|
|
{ 0x19, 0xD8 },
|
|
{ 0x22, 0xFF },
|
|
{ 0x2B, 0x0C },
|
|
{ 0x34, 0xFF },
|
|
{ 0x3F, 0x8B },
|
|
{ 0x46, 0x00 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * DirectSound::CDirectSoundBuffer::SetFormat
|
|
// ******************************************************************
|
|
SOOVPA<8> X_DirectSound_CDirectSoundBuffer_SetFormat_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
XREF_DirectSound_CDirectSoundBuffer_SetFormat, // Xref Is Saved
|
|
1, // Xref Is Used
|
|
|
|
{
|
|
{ 0x32, XREF_DirectSound_CDirectSoundVoice_SetFormat },
|
|
|
|
{ 0x0C, 0x00 },
|
|
{ 0x12, 0x85 },
|
|
{ 0x1C, 0x15 },
|
|
{ 0x26, 0xEB },
|
|
{ 0x30, 0x10 },
|
|
{ 0x3A, 0x74 },
|
|
{ 0x47, 0x8B },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer_SetFormat
|
|
// ******************************************************************
|
|
SOOVPA<8> X_IDirectSoundBuffer_SetFormat_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
8, // Count == 8
|
|
|
|
-1, // Xref Not Saved
|
|
1, // Xref Is Used
|
|
|
|
{
|
|
{ 0x15, XREF_DirectSound_CDirectSoundBuffer_SetFormat },
|
|
|
|
{ 0x02, 0x24 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x0A, 0x83 },
|
|
{ 0x0E, 0xD9 },
|
|
{ 0x12, 0xC8 },
|
|
{ 0x19, 0xC2 },
|
|
{ 0x1A, 0x08 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxStream_Pause
|
|
// ******************************************************************
|
|
SOOVPA<11> CMcpxStream_Pause_1_0_4928 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSSTREAMPAUSE, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxStream_Pause+0x17 : and ax, 0xFFDF
|
|
{ 0x17, 0x66 }, // (Offset,Value)-Pair #1
|
|
{ 0x18, 0x25 }, // (Offset,Value)-Pair #2
|
|
{ 0x19, 0xDF }, // (Offset,Value)-Pair #3
|
|
|
|
// CMcpxStream_Pause+0x32 : jmp +0x56
|
|
{ 0x32, 0xEB }, // (Offset,Value)-Pair #4
|
|
{ 0x33, 0x56 }, // (Offset,Value)-Pair #5
|
|
|
|
// CMcpxStream_Pause+0x39 : movzx eax, word ptr [esi+0x12]
|
|
{ 0x39, 0x0F }, // (Offset,Value)-Pair #6
|
|
{ 0x3A, 0xB7 }, // (Offset,Value)-Pair #7
|
|
{ 0x3B, 0x46 }, // (Offset,Value)-Pair #8
|
|
{ 0x3C, 0x12 }, // (Offset,Value)-Pair #9
|
|
|
|
// CMcpxStream_Pause+0x8B : retn 0x04
|
|
{ 0x8B, 0xC2 }, // (Offset,Value)-Pair #10
|
|
{ 0x8C, 0x04 }, // (Offset,Value)-Pair #11
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundStream_SetMixBinVolumes (untested)
|
|
// ******************************************************************
|
|
SOOVPA<12> CDirectSoundStream_SetMixBinVolumes_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 0
|
|
|
|
-1, // XRef is not saved
|
|
0, // XRef is not used
|
|
|
|
{
|
|
{ 0x36, XREF_DSSETMIXBINVOLUMESB },
|
|
|
|
{ 0x0D, 0x0F },
|
|
{ 0x0E, 0xB6 },
|
|
{ 0x0F, 0xF0 },
|
|
{ 0x21, 0x8B },
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
{ 0x4F, 0xC2 },
|
|
{ 0x50, 0x08 },
|
|
{ 0x51, 0x00 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * DirectSound::CDirectSound::EnableHeadphones (incorrect?)
|
|
// ******************************************************************
|
|
SOOVPA<15> X_DirectSound_CDirectSound_EnableHeadphones_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
15, // Count == 14
|
|
|
|
XREF_DirectSound_CDirectSound_EnableHeadphones, // Xref Is Saved
|
|
0, // Xref Not Used
|
|
|
|
{
|
|
// CDirectSound_EnableHeadphones+0x12 : movzx eax, al
|
|
{ 0x12, 0x0F }, // (Offset,Value)-Pair #1
|
|
{ 0x13, 0xB6 }, // (Offset,Value)-Pair #2
|
|
{ 0x14, 0xC0 }, // (Offset,Value)-Pair #3
|
|
|
|
// CDirectSound_EnableHeadphones+0x29 : mov eax, 0x80004005
|
|
{ 0x29, 0xB8 }, // (Offset,Value)-Pair #4
|
|
{ 0x2A, 0x05 }, // (Offset,Value)-Pair #5
|
|
{ 0x2B, 0x40 }, // (Offset,Value)-Pair #6
|
|
{ 0x2C, 0x00 }, // (Offset,Value)-Pair #7
|
|
{ 0x2D, 0x80 }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSound_EnableHeadphones+0x59 : and eax, 0x7FFFFFFF
|
|
{ 0x59, 0x25 }, // (Offset,Value)-Pair #9
|
|
{ 0x5A, 0xFF }, // (Offset,Value)-Pair #10
|
|
{ 0x5B, 0xFF }, // (Offset,Value)-Pair #11
|
|
{ 0x5C, 0xFF }, // (Offset,Value)-Pair #12
|
|
{ 0x5D, 0x7F }, // (Offset,Value)-Pair #13
|
|
|
|
// CDirectSound_EnableHeadphones+0x97 : leave
|
|
//{ 0x97, 0xC9 }, // (Offset,Value)-Pair #14
|
|
{ 0x98, 0xC2 },
|
|
{ 0x99, 0x08 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * EmuIDirectSound_EnableHeadphones
|
|
// ******************************************************************
|
|
SOOVPA<9> EmuIDirectSound_EnableHeadphones_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSound_EnableHeadphones+0x14 : call [CDirectSound::EnableHeadphones]
|
|
{ 0x15, XREF_DirectSound_CDirectSound_EnableHeadphones },
|
|
|
|
// IDirectSound_EnableHeadphones+0x04 : push dword ptr [esp+8]
|
|
{ 0x04, 0xFF },
|
|
{ 0x05, 0x74 },
|
|
{ 0x06, 0x24 },
|
|
{ 0x07, 0x08 },
|
|
|
|
// IDirectSound_EnableHeadphones+0x13 : push ecx
|
|
{ 0x13, 0x51 },
|
|
|
|
// IDirectSound_EnableHeadphones+0x19 : retn 8
|
|
{ 0x19, 0xC2 },
|
|
{ 0x1A, 0x08 },
|
|
{ 0x1B, 0x00 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundVoice::SetHeadrom
|
|
// ******************************************************************
|
|
SOOVPA<9> CDirectSoundVoice_SetHeadroom_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
XREF_DirectSound_CDirectSoundVoice_SetHeadroom, // XRef is saved
|
|
-1, // XRef is not used
|
|
|
|
{
|
|
{ 0x1B, XREF_DSSTREAMSETVOLUME },
|
|
|
|
{ 0x0A, 0x56 },
|
|
{ 0x0F, 0x2B },
|
|
{ 0x10, 0xCE },
|
|
{ 0x17, 0x8B },
|
|
{ 0x18, 0x4A },
|
|
{ 0x19, 0x0C },
|
|
{ 0x20, 0xC2 },
|
|
{ 0x21, 0x08 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundStream::SetHeadroom
|
|
// ******************************************************************
|
|
SOOVPA<12> CDirectSoundStream_SetHeadroom_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
-1, // XRef is not saved
|
|
1, // XRef is used
|
|
|
|
{
|
|
{ 0x36, XREF_DirectSound_CDirectSoundVoice_SetHeadroom },
|
|
|
|
{ 0x21, 0x8B },
|
|
{ 0x22, 0x05 },
|
|
{ 0x23, 0x40 },
|
|
{ 0x24, 0x00 },
|
|
{ 0x25, 0x80 },
|
|
{ 0x2C, 0x57 },
|
|
{ 0x31, 0x83 },
|
|
{ 0x32, 0xC0 },
|
|
{ 0x33, 0x04 },
|
|
{ 0x4F, 0xC2 },
|
|
{ 0x50, 0x08 },
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSound::SetAllParametersA
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSound_SetAllParametersA_1_0_4831 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DSSETALLPARAMETERSA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
{ 0x16, 0x68 }, // (Offset,Value)-Pair #1
|
|
{ 0x17, 0x08 }, // (Offset,Value)-Pair #2
|
|
{ 0x18, 0x6E }, // (Offset,Value)-Pair #3
|
|
{ 0x19, 0x18 }, // (Offset,Value)-Pair #4
|
|
|
|
{ 0x2F, 0xD9 }, // (Offset,Value)-Pair #5
|
|
{ 0x30, 0x41 }, // (Offset,Value)-Pair #6
|
|
{ 0x31, 0x04 }, // (Offset,Value)-Pair #7
|
|
|
|
{ 0x87, 0x8B }, // (Offset,Value)-Pair #8
|
|
{ 0x88, 0x50 }, // (Offset,Value)-Pair #9
|
|
{ 0x89, 0x08 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_AddRef
|
|
// ******************************************************************
|
|
SOOVPA<10> IDirectSoundBuffer8_AddRef_1_0_4627 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
-1, // XRef Not Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_AddRef+0x04 : lea ecx, [eax-0x1C]
|
|
{ 0x04, 0x8D }, // (Offset,Value)-Pair #1
|
|
{ 0x05, 0x48 }, // (Offset,Value)-Pair #2
|
|
{ 0x06, 0xE4 }, // (Offset,Value)-Pair #3
|
|
|
|
// IDirectSoundBuffer8_AddRef+0x07 : neg eax; sbb eax, eax
|
|
{ 0x07, 0xF7 }, // (Offset,Value)-Pair #4
|
|
{ 0x08, 0xD8 }, // (Offset,Value)-Pair #5
|
|
{ 0x09, 0x1B }, // (Offset,Value)-Pair #6
|
|
{ 0x0A, 0xC0 }, // (Offset,Value)-Pair #7
|
|
|
|
// IDirectSoundBuffer8_AddRef+0x10 : call dword ptr [ecx+0x04]
|
|
{ 0x10, 0xFF }, // (Offset,Value)-Pair #8
|
|
{ 0x11, 0x51 }, // (Offset,Value)-Pair #9
|
|
{ 0x12, 0x04 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<11> CMcpxBuffer_GetStatus_1_0_4721 =
|
|
{
|
|
0, // Large == 0
|
|
11, // Count == 11
|
|
|
|
XREF_DSBUFFERGETSTATUSA, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxBuffer_GetStatus+0x04 : mov ecx, eax
|
|
{ 0x04, 0x8B }, // (Offset,Value)-Pair #1
|
|
{ 0x05, 0xC8 }, // (Offset,Value)-Pair #2
|
|
|
|
// CMcpxBuffer_GetStatus+0x0C : jnz +0x1B
|
|
{ 0x0C, 0x75 }, // (Offset,Value)-Pair #3
|
|
{ 0x0D, 0x1B }, // (Offset,Value)-Pair #4
|
|
|
|
// CMcpxBuffer_GetStatus+0x12 : test al, 0x4
|
|
{ 0x12, 0xA8 }, // (Offset,Value)-Pair #5
|
|
{ 0x13, 0x04 }, // (Offset,Value)-Pair #6
|
|
|
|
// CMcpxBuffer_GetStatus+0x27 : mov ecx, 0x8001
|
|
{ 0x27, 0xB9 }, // (Offset,Value)-Pair #7
|
|
{ 0x28, 0x01 }, // (Offset,Value)-Pair #8
|
|
{ 0x29, 0x80 }, // (Offset,Value)-Pair #9
|
|
{ 0x2A, 0x00 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CMcpxBuffer_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<12> CMcpxBuffer_Pause_1_0_4721 =
|
|
{
|
|
0, // Large == 0
|
|
12, // Count == 12
|
|
|
|
XREF_DirectSound_CMcpxBuffer_Pause, // XRef Is Saved
|
|
0, // XRef Not Used
|
|
|
|
{
|
|
// CMcpxBuffer_Pause+0x0A : mov esi, ecx
|
|
{ 0x0A, 0x8B }, // (Offset,Value)-Pair #1
|
|
{ 0x0B, 0xF1 }, // (Offset,Value)-Pair #2
|
|
|
|
// CMcpxBuffer_Pause+0x1B : jnz +0x19
|
|
{ 0x1B, 0x75 }, // (Offset,Value)-Pair #3
|
|
{ 0x1C, 0x19 }, // (Offset,Value)-Pair #4
|
|
|
|
// CMcpxBuffer_Pause+0x1D : cmp dword ptr [ebp+8], 1
|
|
{ 0x1D, 0x83 }, // (Offset,Value)-Pair #5
|
|
{ 0x1E, 0x7D }, // (Offset,Value)-Pair #6
|
|
{ 0x1F, 0x08 }, // (Offset,Value)-Pair #7
|
|
{ 0x20, 0x01 }, // (Offset,Value)-Pair #8
|
|
|
|
// CMcpxBuffer_Pause+0x3E : xor eax, eax
|
|
{ 0x3E, 0x33 }, // (Offset,Value)-Pair #9
|
|
{ 0x3F, 0xC0 }, // (Offset,Value)-Pair #10
|
|
|
|
// CMcpxBuffer_Pause+0x42 : retn 4
|
|
{ 0x42, 0xC2 }, // (Offset,Value)-Pair #11
|
|
{ 0x43, 0x04 }, // (Offset,Value)-Pair #12
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * CDirectSoundBuffer_Pause
|
|
// ******************************************************************
|
|
SOOVPA<10> CDirectSoundBuffer_Pause_1_0_4721 =
|
|
{
|
|
0, // Large == 0
|
|
10, // Count == 10
|
|
|
|
XREF_DirectSound_CDirectSoundBuffer_Pause, // XRef Is Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// CDirectSoundBuffer_Pause+0x35 : call [CMcpxBuffer::Pause]
|
|
{ 0x36, XREF_DirectSound_CMcpxBuffer_Pause }, // (Offset,Value)-Pair #1
|
|
|
|
// CDirectSoundBuffer_Pause+0x21 : mov eax, 0x80004005
|
|
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #2
|
|
{ 0x22, 0x05 }, // (Offset,Value)-Pair #3
|
|
{ 0x23, 0x40 }, // (Offset,Value)-Pair #4
|
|
{ 0x24, 0x00 }, // (Offset,Value)-Pair #5
|
|
{ 0x25, 0x80 }, // (Offset,Value)-Pair #6
|
|
|
|
// CDirectSoundBuffer_Pause+0x3D : jz +0x0B
|
|
{ 0x3D, 0x74 }, // (Offset,Value)-Pair #7
|
|
{ 0x3E, 0x0B }, // (Offset,Value)-Pair #8
|
|
|
|
// CDirectSoundBuffer_Pause+0x4E : retn 0x08
|
|
{ 0x4E, 0xC2 }, // (Offset,Value)-Pair #9
|
|
{ 0x4F, 0x08 }, // (Offset,Value)-Pair #10
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * IDirectSoundBuffer8_GetStatus
|
|
// ******************************************************************
|
|
SOOVPA<9> IDirectSoundBuffer8_Pause_1_0_4721 =
|
|
{
|
|
0, // Large == 0
|
|
9, // Count == 9
|
|
|
|
-1, // XRef Not Saved
|
|
1, // XRef Is Used
|
|
|
|
{
|
|
// IDirectSoundBuffer8_Pause+0x15 : call [CDirectSoundBuffer::Pause]
|
|
{ 0x16, XREF_DirectSound_CDirectSoundBuffer_Pause }, // (Offset,Value)-Pair #1
|
|
|
|
// IDirectSoundBuffer8_Pause+0x04 : push [esp+0x08]
|
|
{ 0x04, 0xFF }, // (Offset,Value)-Pair #2
|
|
{ 0x05, 0x74 }, // (Offset,Value)-Pair #3
|
|
{ 0x06, 0x24 }, // (Offset,Value)-Pair #4
|
|
{ 0x07, 0x08 }, // (Offset,Value)-Pair #5
|
|
|
|
// IDirectSoundBuffer8_Pause+0x0F : sbb ecx, ecx
|
|
{ 0x0F, 0x1B }, // (Offset,Value)-Pair #6
|
|
{ 0x10, 0xC9 }, // (Offset,Value)-Pair #7
|
|
|
|
// IDirectSoundBuffer8_Pause+0x11 : and ecx, eax
|
|
{ 0x11, 0x23 }, // (Offset,Value)-Pair #8
|
|
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #9
|
|
}
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * Direct_1_0_4627
|
|
// ******************************************************************
|
|
OOVPATable DSound_1_0_4627[] =
|
|
{
|
|
// DirectSoundCreate (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&DirectSoundCreate_1_0_4361,
|
|
|
|
XTL::EmuDirectSoundCreate,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuDirectSoundCreate"
|
|
#endif
|
|
},
|
|
// DirectSoundDoWork
|
|
{
|
|
(OOVPA*)&DirectSoundDoWork_1_0_4627,
|
|
|
|
XTL::EmuDirectSoundDoWork,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuDirectSoundDoWork"
|
|
#endif
|
|
},
|
|
// CDirectSound_CreateSoundBuffer
|
|
{
|
|
(OOVPA*)&CDirectSound_CreateSoundBuffer_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound::CreateSoundBuffer (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetPlayRegion (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetPlayRegion_1_0_4361,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetPlayRegion,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetPlayRegion"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetLoopRegion (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetLoopRegion_1_0_4361,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetLoopRegion,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetLoopRegion"
|
|
#endif
|
|
},
|
|
// CDirectSound_SetI3DL2Listener (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetI3DL2Listener_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound::SetI3DL2Listener (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSound8_SetI3DL2Listener (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetI3DL2Listener_1_0_4432,
|
|
|
|
XTL::EmuIDirectSound8_SetI3DL2Listener,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetI3DL2Listener"
|
|
#endif
|
|
},
|
|
// CDirectSound_SetMixBinHeadroom
|
|
{
|
|
(OOVPA*)&CDirectSound_SetMixBinHeadroom_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound::SetMixBinHeadroom (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSound8_SetMixBinHeadroom
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetMixBinHeadroom_1_0_4627,
|
|
|
|
XTL::EmuIDirectSound8_SetMixBinHeadroom,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetMixBinHeadroom"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetHeadroomA (XREF)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetHeadroomA_1_0_4928, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetHeadroomA (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetHeadroom
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetHeadroom_1_0_4928,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetHeadroom,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetHeadroom"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetVelocity (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetVelocity_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetVelocityA (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetVelocity (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetVelocity_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_SetVelocity,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetVelocity"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetAllParametersA (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetAllParametersA_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetAllParametersA (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSound_SetAllParametersA (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetAllParametersA_1_0_4831, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetAllParametersA_4831 (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetAllParameters (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetAllParameters_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_SetAllParameters,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetAllParameters"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoiceSettings_SetMixBins (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoiceSettings_SetMixBins_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoiceSettings::SetMixBins (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice_SetMixBins (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetMixBins_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetMixBins (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer_SetMixBins (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetMixBins_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetMixBins (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8_SetMixBins (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetMixBins_1_0_4432,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetMixBins,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetMixBins"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoiceSettings_SetMixBinVolumes
|
|
{
|
|
(OOVPA*)&CDirectSoundVoiceSettings_SetMixBinVolumes_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoiceSettings::SetMixBinVolumes (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice_SetMixBinVolumes
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetMixBinVolumes_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetMixBinVolumes (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer_SetMixBinVolumes
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetMixBinVolumes_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetMixBinVolumes (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8_SetMixBinVolumes
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetMixBinVolumes_1_0_4627,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetMixBinVolumes,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetMixBinVolumes"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetPositionA (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetPositionA_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetPositionA (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetPosition (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetPosition_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_SetPosition,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetPosition"
|
|
#endif
|
|
},
|
|
// DirectSoundCreateBuffer
|
|
{
|
|
(OOVPA*)&DirectSoundCreateBuffer_1_0_4627,
|
|
|
|
XTL::EmuDirectSoundCreateBuffer,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuDirectSoundCreateBuffer"
|
|
#endif
|
|
},
|
|
// IDirectSound8::CreateSoundBuffer
|
|
{
|
|
(OOVPA*)&IDirectSound8_CreateSoundBuffer_1_0_4627,
|
|
|
|
XTL::EmuIDirectSound8_CreateSoundBuffer,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_CreateSoundBuffer"
|
|
#endif
|
|
},
|
|
// IDirectSound8::AddRef (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_AddRef_1_0_4361,
|
|
|
|
XTL::EmuIDirectSound8_AddRef,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_AddRef"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetFrequency (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetFrequency_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice_SetFrequency (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetFrequency
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetFrequency_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuCDirectSoundBuffer_SetFrequency (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetFrequency
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetFrequency_1_0_4627,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetFrequency,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_SetFrequency"
|
|
#endif
|
|
},
|
|
// CMcpxVoiceClient_SetVolume
|
|
{
|
|
(OOVPA*)&CMcpxVoiceClient_SetVolume_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxVoiceClient::SetVolume (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundStream_SetVolume
|
|
{
|
|
(OOVPA*)&CDirectSoundStream_SetVolume_1_0_4627,
|
|
|
|
XTL::EmuCDirectSoundStream_SetVolume,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuCDirectSoundStream_SetVolume"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::LockA (XREF)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_LockA_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_LockA (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::Lock (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_Lock_1_0_3936,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_Lock,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_Lock"
|
|
#endif
|
|
},
|
|
// CDirectSound_CreateSoundStream (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSound_CreateSoundStream_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound::CreateSoundStream (XREF)"
|
|
#endif
|
|
},
|
|
// DirectSoundCreateStream (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&DirectSoundCreateStream_1_0_4361,
|
|
|
|
XTL::EmuDirectSoundCreateStream,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuDirectSoundCreateStream"
|
|
#endif
|
|
},
|
|
// CMcpxStream::Pause (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CMcpxStream_Pause_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxStream_Pause (XREF)"
|
|
#endif
|
|
},
|
|
// CMcpxStream::Pause
|
|
{
|
|
(OOVPA*)&CMcpxStream_Pause_1_0_4928, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxStream_Pause_4928 (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundStream::Pause (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundStream_Pause_1_0_4361,
|
|
|
|
XTL::EmuCDirectSoundStream_Pause,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundStream_Pause"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::SetBufferData (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_SetBufferData_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_SetBufferData (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetBufferData (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetBufferData_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer_SetBufferData (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetBufferData (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetBufferData_1_0_4361,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetBufferData,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetBufferData"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::GetStatus
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_GetStatus_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_GetStatus (XREF)"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::GetStatus
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_GetStatus_1_0_4721, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer::GetStatus_4721 (XREF)"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::GetStatusB
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_GetStatusB_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_GetStatusB (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::GetStatus
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_GetStatus_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer_GetStatus (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::GetStatus
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_GetStatus_1_0_4627,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_GetStatus,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_GetStatus"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::SetCurrentPosition (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_SetCurrentPosition_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_SetCurrentPosition (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetCurrentPosition (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetCurrentPosition_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer_SetCurrentPosition (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::SetCurrentPosition (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetCurrentPosition_1_0_4361,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_SetCurrentPosition,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetCurrentPosition"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::GetCurrentPosition (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_GetCurrentPosition_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_GetCurrentPosition (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::GetCurrentPosition (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_GetCurrentPosition_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer_GetCurrentPosition (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::GetCurrentPosition (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_GetCurrentPosition_1_0_3936,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_GetCurrentPosition,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_GetCurrentPosition"
|
|
#endif
|
|
},
|
|
// CDirectSound::GetSpeakerConfig
|
|
{
|
|
(OOVPA*)&CDirectSound_GetSpeakerConfig_1_0_4627,
|
|
|
|
XTL::EmuCDirectSound_GetSpeakerConfig,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_GetSpeakerConfig"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::Play (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_Play_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_Play (XREF)"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::Play
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_Play_1_0_4721, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_Play_4721 (XREF)"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::Play
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_Play_1_0_4928, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer_Play (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::Play (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_Play_1_0_4361, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer_Play (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::Play (* unchanged since 4361 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_Play_1_0_4361,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_Play,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_Play"
|
|
#endif
|
|
},
|
|
// IDirectSound8::Release (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_Release_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_Release,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_Release"
|
|
#endif
|
|
},
|
|
// IDirectSound8::DownloadEffectsImage (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_DownloadEffectsImage_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_DownloadEffectsImage,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_DownloadEffectsImage"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetOrientation (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetOrientation_1_0_3936,
|
|
|
|
XTL::EmuIDirectSound8_SetOrientation,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetOrientation"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetDistanceFactorA (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetDistanceFactorA_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetDistanceFactorA (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetDistanceFactor (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetDistanceFactor_1_0_4432,
|
|
|
|
XTL::EmuIDirectSound8_SetDistanceFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetDistanceFactor"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetRolloffFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetRolloffFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetRolloffFactor (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetRolloffFactor
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetRolloffFactor_1_0_4627,
|
|
|
|
XTL::EmuIDirectSound8_SetRolloffFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetRolloffFactor"
|
|
#endif
|
|
},
|
|
// CDirectSound::SetDopplerFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSound_SetDopplerFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound_SetDopplerFactor (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSound8::SetDopplerFactor
|
|
{
|
|
(OOVPA*)&IDirectSound8_SetDopplerFactor_1_0_4627,
|
|
|
|
XTL::EmuIDirectSound8_SetDopplerFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSound8_SetDopplerFactor"
|
|
#endif
|
|
},
|
|
// CDirectSound::CommitDeferredSettings (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSound_CommitDeferredSettings_1_0_4432,
|
|
|
|
XTL::EmuCDirectSound_CommitDeferredSettings,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuCDirectSound_CommitDeferredSettings"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetMaxDistance (XREF) (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetMaxDistance_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetMaxDistance (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetMaxDistance (XREF) (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetMaxDistance_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetMaxDistance (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetMaxDistance (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetMaxDistance_1_0_4432,
|
|
XTL::EmuIDirectSoundBuffer8_SetMaxDistance,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetMaxDistance"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetMinDistance (XREF) (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetMinDistance_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetMinDistance (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetMinDistance (XREF) (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetMinDistance_1_0_4432, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetMinDistance (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetMinDistance (* unchanged since 4432 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetMinDistance_1_0_4432,
|
|
XTL::EmuIDirectSoundBuffer8_SetMinDistance,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetMinDistance"
|
|
#endif
|
|
},
|
|
// s+
|
|
// CDirectSoundVoice::SetRolloffFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetRolloffFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetRolloffFactor (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetRolloffFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetRolloffFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetRolloffFactor (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetRolloffFactor
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetRolloffFactor_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetRolloffFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetRolloffFactor"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetDistanceFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetDistanceFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetDistanceFactor (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetDistanceFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetDistanceFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetDistanceFactor (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetDistanceFactor
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetDistanceFactor_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetDistanceFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetDistanceFactor"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetConeAngles (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetConeAngles_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetConeAngles (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetConeAngles (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetConeAngles_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetConeAngles (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetConeAngles
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetConeAngles_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetConeAngles,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetConeAngles"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetConeOrientation (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetConeOrientation_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetConeOrientation (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetConeOrientation (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetConeOrientation_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetConeOrientation (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetConeOrientation
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetConeOrientation_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetConeOrientation,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetConeOrientation"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetConeOutsideVolume (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetConeOutsideVolume_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetConeOutsideVolume (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetConeOutsideVolume (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetConeOutsideVolume_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetConeOutsideVolume (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetConeOutsideVolume
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetConeOutsideVolume_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetConeOutsideVolume,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetConeOutsideVolume"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetPosition (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetPosition_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetPosition (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetPosition (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetPosition_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetPosition (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8_SetPosition (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetPosition_1_0_3936,
|
|
XTL::EmuIDirectSoundBuffer8_SetPosition,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetPosition"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetVelocity (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetVelocity_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetVelocity (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetVelocity (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetVelocity_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetVelocity (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8_SetVelocity (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_SetVelocity_1_0_3936,
|
|
XTL::EmuIDirectSoundBuffer8_SetVelocity,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetVelocity"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetDopplerFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetDopplerFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetDopplerFactor (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetDopplerFactor (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetDopplerFactor_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetDopplerFactor (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetDopplerFactor
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetDopplerFactor_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetDopplerFactor,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetDopplerFactor"
|
|
#endif
|
|
},
|
|
// CDirectSoundVoice::SetI3DL2Source (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetI3DL2Source_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetI3DL2Source (XRef)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::SetI3DL2Source (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundBuffer_SetI3DL2Source_1_0_4627, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundBuffer::SetI3DL2Source (XRef)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetI3DL2Source
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_SetI3DL2Source_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetI3DL2Source,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_SetI3DL2Source"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_Stop (Possibly weak, but quite OK for 4627 DSOUND)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer_Stop_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_Stop,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer8_Stop"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer8::Release (* unchanged since 3936 *)
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_Release_1_0_3936,
|
|
|
|
XTL::EmuIDirectSoundBuffer8_Release,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"EmuIDirectSoundBuffer8_Release"
|
|
#endif
|
|
},
|
|
// +s
|
|
// DirectSound::CDirectSoundVoice::SetFormat (XREF)
|
|
{
|
|
(OOVPA*)&X_DirectSound_CDirectSoundVoice_SetFormat_1_0_4627,
|
|
0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"DirectSound::CDirectSoundVoice::SetFormat (XREF)"
|
|
#endif
|
|
},
|
|
// DirectSound::CDirectSoundBuffer::SetFormat (XREF)
|
|
{
|
|
(OOVPA*)&X_DirectSound_CDirectSoundBuffer_SetFormat_1_0_4627,
|
|
0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"DirectSound::CDirectSoundBuffer::SetFormat (XREF)"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_SetFormat
|
|
{
|
|
(OOVPA*)&X_IDirectSoundBuffer_SetFormat_1_0_4627,
|
|
XTL::EmuIDirectSoundBuffer8_SetFormat,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer_SetFormat"
|
|
#endif
|
|
|
|
},
|
|
// CDirectSoundStream_SetMixBinVolumes
|
|
{
|
|
(OOVPA*)&CDirectSoundStream_SetMixBinVolumes_1_0_4627,
|
|
0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundStream::SetMixBinVolumes (XREF)"
|
|
#endif
|
|
},
|
|
// DirectSound::CDirectSound::EnableHeadphones (XREF)
|
|
{
|
|
(OOVPA*)&X_DirectSound_CDirectSound_EnableHeadphones_1_0_4627,
|
|
0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSound::EnableHeadphones (XREF)"
|
|
#endif
|
|
},
|
|
// EmuIDirectSound_EnableHeadphones
|
|
{
|
|
(OOVPA*)&EmuIDirectSound_EnableHeadphones_1_0_4627,
|
|
XTL::EmuIDirectSound_EnableHeadphones,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSound_EnableHeadphones"
|
|
#endif
|
|
},
|
|
// DirectSound::CDirectSoundVoice::SetHeadroom (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundVoice_SetHeadroom_1_0_4627,
|
|
0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CDirectSoundVoice::SetHeadroom (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSound_EnableHeadphones (XREF)
|
|
{
|
|
(OOVPA*)&CDirectSoundStream_SetHeadroom_1_0_4627,
|
|
XTL::EmuIDirectSoundStream_SetHeadroom,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundStream_SetHeadroom ***"
|
|
#endif
|
|
},
|
|
// IDirectSoundBuffer_AddRef
|
|
// TODO: Same as 3936?
|
|
{
|
|
(OOVPA*)&IDirectSoundBuffer8_AddRef_1_0_4627,
|
|
|
|
XTL::EmuIDirectSoundBuffer_AddRef,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"IDirectSoundBuffer_AddRef"
|
|
#endif
|
|
},
|
|
// CMcpxBuffer::Pause
|
|
{
|
|
(OOVPA*)&CMcpxBuffer_Pause_1_0_4721, 0,
|
|
|
|
#ifdef _DEBUG_TRACE
|
|
"CMcpxBuffer::Pause_4721 (XREF)"
|
|
#endif
|
|
},
|
|
// CDirectSoundBuffer::Pause
|
|
// {
|
|
// (OOVPA*)&CDirectSoundBuffer_Pause_1_0_4721, 0,
|
|
|
|
// #ifdef _DEBUG_TRACE
|
|
// "CDirectSoundBuffer::Pause_4721 (XREF)"
|
|
// #endif
|
|
// },
|
|
//// IDirectSoundBuffer8_Pause
|
|
// {
|
|
// (OOVPA*)&IDirectSoundBuffer8_Pause_1_0_4721,
|
|
//
|
|
// XTL::EmuIDirectSoundBuffer_Pause,
|
|
|
|
// #ifdef _DEBUG_TRACE
|
|
// "IDirectSoundBuffer8_Pause_4721 (XREF)"
|
|
// #endif
|
|
// },
|
|
};
|
|
|
|
// ******************************************************************
|
|
// * DSound_1_0_4627_SIZE
|
|
// ******************************************************************
|
|
uint32 DSound_1_0_4627_SIZE = sizeof(DSound_1_0_4627);
|