Moderator: MacroQuest Developers
Code: Select all
.text:00462E17 EQPlayer__SetSounds
.text:00462E17
.text:00462E17 var_4 = dword ptr -4
.text:00462E17
.text:00462E17 push ecx
.text:00462E18 push ebx
.text:00462E19 push ebp
.text:00462E1A push esi
.text:00462E1B mov esi, ecx
.text:00462E1D mov eax, [esi+188h]
.text:00462E23 xor ebx, ebx
.text:00462E25 cmp eax, 51h
.text:00462E28 push edi
.text:00462E29 mov [esp+14h+var_4], eax
.text:00462E2D mov edx, 82h

Code: Select all
.text:00462E17 EQPlayer__SetSounds
.text:00462E17
.text:00462E17 var_4 = dword ptr -4
.text:00462E17
.text:00462E17 push ecx ; save off
.text:00462E18 push ebx ; registers
.text:00462E19 push ebp
.text:00462E1A push esi
.text:00462E1B mov esi, ecx ; esi <- this
.text:00462E1D mov eax, [esi+188h] ; eax <- this->field
.text:00462E23 xor ebx, ebx ; ebx <- 0
.text:00462E25 cmp eax, 51h ; if (eax==0x51)
.text:00462E28 push edi
.text:00462E29 mov [esp+14h+var_4], eax ;*Param0=eax
.text:00462E2D mov edx, 82h ; edx <- 0x82