ParkourPenguin I post too much
Reputation: 143 Joined: 06 Jul 2014 Posts: 4382
|
Posted: Fri Mar 22, 2024 10:43 am Post subject: |
|
|
You're popping esi / edi without having pushed them if any of those first 3 `jcc` branches are taken.
Code: | ...
cmp [enableGodMode],1
jne codeSET1 // say this branch is taken
codeSET1:
pop edi // bad: these were never pushed
pop esi // ^
... |
It doesn't look like you fixed the "enableGodMode" label either. _________________ I don't know where I'm going, but I'll figure it out when I get there.
|
|