Type the Mac menu-connect flag getter as a full Boolean
Ghidra vmac 111 · 3cfe190
The complete Mac getter zero-extends the actual menu-connect byte into full EAX. Its three known explicit writers independently resolve their own PIC bases to that exact byte and store only1/0/0; the initial BSS state is zero. All four actual callers immediately TEST full EAX. Resolve undefined4 to existing four-byte BOOL, preserving chosen name, zero formals, cdecl and all other metadata. The original Windows getter already returns BOOL from the corresponding state circuit, with the same three literal writes and wait-button identifiers. No global type/width/name, callback, helper, shared interface or behavior change.
Changes 1, applied together
Set prototype
mac 0x002c40f5signatureundefined4 MAINMENU_GetGlobalValue2(void)→BOOL MAINMENU_GetGlobalValue2(void)convention__cdecl