REDIVIVUS

Proposals / #847

Type Mac mouse-offset getter results

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

Ghidra vmac 110 · 9528519

Both Mac mouse-offset getters have undefined return metadata. Each complete17-byte body explicitly loads its state DWORD into full EAX; sole AUTOMAP caller consumes that exact value through signed CDQ/IDIV. Return existing int32_t, preserving selected names, current zero formals and unknown convention verbatim. No ABI recovery. Complete original getter/caller/sole writer/other-reader raw memory6321bytes independently matches separate assembly. All5 known refs per global are checked: fullDWORD integer position minus signed half-viewport stores, optional int shake additions, and coordinate readers (two already int32). Every getter return and signed consumer route, all10 accesses/PIC addresses and caller switch targets verified. Globals remain undefined4 and unchanged; no source-helper/graphics/global/name/layout edits, Windows pairing, incidental EAX or held-function reopening. Static Mac database proof only; no runtime/build claim.

Changes 2, applied together

  1. Set prototype mac 0x0007ada4

    signatureundefined CLIENT_GetMouseXOffset(void)→int32_t CLIENT_GetMouseXOffset(void)
    conventionunknown
  2. Set prototype mac 0x0007adb5

    signatureundefined CLIENT_GetMouseYOffset(void)→int32_t CLIENT_GetMouseYOffset(void)
    conventionunknown