Mac StorePreferedRealmAgain: BOOL __cdecl (D2ControlMsg* pControlMsg) control callback
This is a UI control callback (DATA ref from 0x003c979c, same slot kind as the Windows twin 0x00434700, BOOL (D2ControlMsg*)). The Mac body gets the realm list box from the window, reads the selected line, stores the realm name to the registry/INI, calls the two menu refresh functions and returns MOV EAX,1 with a plain RET. It does not read the message arg, but the control-callback type passes it, so the slot is kept. It is also called directly from MAINMENU_Unused12 0x002c23b2.
Changes 1, applied together
Set prototype
mac 0x002c23c1signatureundefined StorePreferedRealmAgain(void)→BOOL StorePreferedRealmAgain(D2ControlMsg* pControlMsg)conventionunknown→__cdecl