for search fmul dword used : D8 0D 74 50 XX XX D9 5D << XX is variable open/close game
Code: Select all
trove.AK::SoundEngine::GetGlobalPluginContext+18D5 - D8 0D 7450B001 - fmul dword ptr [trove.exe+C15074] { [0.10] }
trove.AK::SoundEngine::GetGlobalPluginContext+18DB - D9 5D FC - fstp dword ptr [ebp-04]
trove.AK::SoundEngine::GetGlobalPluginContext+18DE - 74 14 - je trove.AK::SoundEngine::GetGlobalPluginContext+18F4
trove.AK::SoundEngine::GetGlobalPluginContext+18E0 - F3 0F10 86 DC000000 - movss xmm0,[esi+000000DC]
trove.AK::SoundEngine::GetGlobalPluginContext+18E8 - F3 0F59 45 FC - mulss xmm0,[ebp-04]
trove.AK::SoundEngine::GetGlobalPluginContext+18ED - F3 0F11 45 FC - movss [ebp-04],xmm0
trove.AK::SoundEngine::GetGlobalPluginContext+18F2 - EB 05 - jmp trove.AK::SoundEngine::GetGlobalPluginContext+18F9
trove.AK::SoundEngine::GetGlobalPluginContext+18F4 - F3 0F10 45 FC - movss xmm0,[ebp-04]
trove.AK::SoundEngine::GetGlobalPluginContext+18F9 - 80 BE CB000000 00 - cmp byte ptr [esi+000000CB],00 { 0 }
trove.AK::SoundEngine::GetGlobalPluginContext+1900 - 74 0D - je trove.AK::SoundEngine::GetGlobalPluginContext+190F
trove.AK::SoundEngine::GetGlobalPluginContext+1902 - F3 0F59 05 50BCAD01 - mulss xmm0,[trove.exe+BEBC50] { [0.40] }
trove.AK::SoundEngine::GetGlobalPluginContext+18D5 - D8 0D 7450B001 - fmul dword ptr [trove.exe+C15074] { [0.10] }
i have created this code for get original float for restore normal 0.10
Code: Select all
define(penaddy,"trove.exe"+3FF595)
[ENABLE]
alloc(original,06)
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(myfloatvar)
registersymbol(original)
/////////////////////////////
original:
readmem(penaddy,06)
///////////////////////////
newmem:
originalcode:
fmul dword ptr [myfloatvar]
exit:
jmp returnhere
myfloatvar:
dd (float)99
penaddy:
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
penaddy:
readmem(original,06)
//Alt: db D8 0D 74 50 B0 01
dealloc(original)
unregistersymbol(original)
or option 2