Recover the Mac skill-icon hit-test coordinates and Boolean result
Ghidra vmac 111 · 3cfe190
Mac 000ec5d0 declares undefined(void)/unknown but consumes full ECX/EDX coordinates and explicitly returns full EAX 0/1. Recover existing int32_t nX/nY and 4-byte BOOL using the supported Mac __fastcc model. Both inputs are saved before real calls; every return and all 8 sites in 6 complete caller functions are verified. Six sites pass exact signed32 formal slots; two use native bounded coordinate-array readers. Actual writer roots are X formal plus integer steps, and screen-height plus row arithmetic. Preserve selected names and existing slots; no caller, array, trailing-layout, global or helper metadata changes. 14 complete regions (4426 code bytes) match separate assembly; 12 raw pointer/import-cell bytes add 4438 verified bytes. No computed dispatch, unclassified local tail, pending-metadata premise, pointer/alias guess, arity inferred from RET or return-only fallback. Static Mac proof only; no execution, Windows pairing/ABI import, local MachO file hash or build gain.
Changes 1, applied together
Set prototype
mac 0x000ec5d0signatureundefined SPELLSEL_IsMouseOverSkillIcon(void)→BOOL SPELLSEL_IsMouseOverSkillIcon(int32_t nX, int32_t nY)conventionunknown→__fastcc