[Help] Assembly Float Value

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
Evoked100
Expert Cheater
Expert Cheater
Posts: 68
Joined: Mon Jul 27, 2020 4:16 pm
Reputation: 33

[Help] Assembly Float Value

Post by Evoked100 »

i have one problem for "fmul dword ptr"

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] }
how to i pick this 0.10 and change for 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)
thanks for help!!!

Image


or option 2

Image

User avatar
Betcha
Table Makers
Table Makers
Posts: 115
Joined: Sun Nov 26, 2017 5:39 pm
Reputation: 115

Re: [Help] Assembly Float Value

Post by Betcha »

fmul dword ptr [trove.exe+C15074]
Image

Code: Select all

[enable]
trove.exe+C15074:
  dd (float)0.4
  
[disable]
trove.exe+C15074:
  dd (float)0.1

Evoked100
Expert Cheater
Expert Cheater
Posts: 68
Joined: Mon Jul 27, 2020 4:16 pm
Reputation: 33

Re: [Help] Assembly Float Value

Post by Evoked100 »

thanks my friend !!!

worked.
I spent the whole day looking for a way to make it work and it was so simple.
thanks very much

Post Reply

Who is online

Users browsing this forum: No registered users