So, I have code in naked function.
and its can show me value from the game inside ..
Its just take the varible, the score in game.
and put it in C++ global varible ..
I wanna change this score .
and I tried to change the function itself.
But the game its crashing .. (Codecave)
__declspec(naked) void ExtractScore(void)
mov CurrentScore, edx pushad
CurrentScore = THE SCORE
cmp edx, 0x3B9ACA00 push ExtractScoreRetAddr
So, how we can edit it ?
I tried to move to edx, or add him ..
But noting .. (the game is crashing)
cmp edx, 0x3B9ACA00
its 7 Bytes .