REDIVIVUS

Proposals / #1022

Recover the Mac help-scroll hit-test coordinates and Boolean result

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

Ghidra vmac 111 · 3cfe190

Mac 000a8b3d declares undefined(void)/unknown despite reading ECX/EDX coordinates and explicitly producing full EAX 0/1. Recover int32_t nX/nY and 4-byte BOOL using Mac __fastcc. Both inputs are saved before real calls; all 30 target instructions and both complete caller/source routes are verified. Callers set X=screen scalar-75 and Y=screen scalar-160, then immediately test full EAX. Preserve selected names; no caller/global/helper/sharedtype edits. Seven fresh bodies (543 code bytes) match separate assembly; eight pointer bytes give 551 verified bytes. Applied Mac 0019034f metadata and qualified round45 model support representation only; its 101 bytes are not counted fresh. No WindowsCC/RET-only inference or return-only fallback. Opaque call fallthrough is conditional if it returns; no runtime implementation/termination/continuation or result-value invariance claim. Static Mac only; no execution, localMachO file hash or build gain.

Changes 1, applied together

  1. Set prototype mac 0x000a8b3d

    signatureundefined HELP_IsMouseOverScrollButton(void)→BOOL HELP_IsMouseOverScrollButton(int32_t nX, int32_t nY)
    conventionunknown→__fastcc