REDIVIVUS

Proposals / #1026

Recover the Mac party rectangle predicate result and default parameter meanings

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

Mac 0x000d4d2c explicitly returns full EAX 0 or 1, while its return type is undefined. Recover the existing four-byte BOOL and name the five default formals nUnused, nBottomY, nLeftX, nWidth and nHeight. Preserve all five int slots, their order and __regparm3, including the unused EAX formal. All 12 calls in three recorded caller bodies supply the four geometry inputs and test full EAX. Independent verification compared 8,235 code bytes, 88 data bytes and 3 alignment bytes. The four computed jumps use native bounds, PIC provenance and 19 physical table rows. Opaque calls have conditional fallthrough only if they return; unresolved imports remain explicit analysis boundaries. No chosen names, caller/helper metadata, ABI, arity, layout or shared types change. Static Mac evidence only; no execution, original Mach-O hash, Windows pairing or build-gain claim.

Changes 1, applied together

  1. Set prototype mac 0x000d4d2c

    signatureundefined PARTY_IsMouseInRect(int param_1, int param_2, int param_3, int param_4, int param_5)→BOOL PARTY_IsMouseInRect(int nUnused, int nBottomY, int nLeftX, int nWidth, int nHeight)
    convention__regparm3