REDIVIVUS

Proposals / #1056

MAINMENU_DisableControlIfDataNonZero2 returns BOOL, not void

checked · by Nugwa628 · submitted 2026-11-02

Twin of 00430120: 00430177 CALL 0x004f9740 / 0043017c MOV EAX,1 / 00430181 POP EBP / 00430182 RET 4, and 00430187 CALL 0x004f9740 / 0043018c MOV EAX,1 / 00430191 POP EBP / 00430192 RET 4. A menu-form callback reached through the pointer at 0070be88, so the constant TRUE is the handler's result. Return type only. Recompiled with VC8, 00430160 then matches byte for byte.

Changes 1, applied together

  1. Set prototype win 0x00430160

    signaturevoid MAINMENU_DisableControlIfDataNonZero2(int32_t nParam)→BOOL MAINMENU_DisableControlIfDataNonZero2(int32_t nParam)
    convention__stdcall