Open PrIzRaKDev opened 6 months ago
Changes:
CTexture_DrawInRect
posX
posY
MemoryNop
MemoryJump
CTEXTURE_DRAW_BG_RECT
pop ebp
OnDrawMenuBackground
Did you even compiled and ran it?
Changes:
CTexture_DrawInRect
call was manually inserted into the code, which could cause stack alignment issues.posX
andposY
variables were declared without initialization.MemoryNop
andMemoryJump
functions.CTEXTURE_DRAW_BG_RECT
function call address is valid before inserting a hook.pop ebp
added toOnDrawMenuBackground
function to properly restore the stack after callingCTexture_DrawInRect
.