REDIVIVUS

Proposals / #864

Type the Mac hireling-icon message input and full Boolean result

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

Ghidra vmac 111 · 3cfe190

The Mac helper has an int pMsg formal and one-byte undefined result, while native ECX is the actual existing mouse-message pointer and every return defines fullEAX0/1. All3 callers forward their current D2UIMouseMsgStrc* formal unchanged in ECX and immediately TEST fullEAX; their native bHandled+24/dwResult+28 writes independently establish nominal record role. Use existing D2UIMouseMsgStrc* and4-byte BOOL, preserving pMsg, selected function name, soleECX4 slot, current __fastcc, arity and locals. Complete616Mac bytes across target/allcallers match separate assembly, each argument/return/branch checked. Normal MOVZX EAX,AL then XOR1 and explicit full-zero early return justify BOOL rather than1-byte bool. No ABI recovery, guessed second input, union/POINT alias, layout/global/caller changes, pending metadata premise, rename, Windows/runtime/build gain or withdrawn-claim refile.

Changes 1, applied together

  1. Set prototype mac 0x000a9df8

    signatureundefined HIREABLES_IsMouseOverMercIcon(int pMsg)→BOOL HIREABLES_IsMouseOverMercIcon(D2UIMouseMsgStrc * pMsg)
    convention__fastcc