REDIVIVUS

Proposals / #1020

Recover the Boolean result of the Mac mini-panel area predicate

applied · by Commit-Will · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3cfe190

Mac 000dbb8a returns undefined4 despite explicit full EAX 0/1 at its sole RET. All 32 target instructions and both complete callers are verified. Change only the return to existing 4-byte BOOL; preserve nParam1/nParam2, int32_t types, Stack4/Stack8, __cdecl and all other names/slots. Both callers supply low/high16 scalar extracts and immediately test full EAX. The predicate has no real external call; its fixed-PIC sources and every result are independent of opaque callbacks. Six regions (975 code bytes) match separate untruncated assembly, plus 8 pointer bytes = 983 verified bytes. Unrelated callback/library CALLs are conditional analysis boundaries, with no implementation, runtime continuation/termination or message-immutability claim. No callback/field/layout/sharedfuncdef changes, pending-type premise, ABI inference or reduced held refile. Static Mac only; no execution, Windows ABI/pairing, localMachO file hash or build gain.

Changes 1, applied together

  1. Set prototype mac 0x000dbb8a

    signatureundefined4 MINIPANEL_IsMouseInArea(int32_t nParam1, int32_t nParam2)→BOOL MINIPANEL_IsMouseInArea(int32_t nParam1, int32_t nParam2)
    convention__cdecl