Mac MAINMENU_SaveAccountAndPasswordToINI: void __fastcall (pAccountEditBox ECX, pIpEditBox EDX)
ECX is the account edit box (NULL-tested, then its text is fetched via 0x00046eed and copied (0x100 max) into the account string at +0x8d in the config block). EDX -> ESI is the second edit box (NULL-tested, its text fetched the same way). There are no stack-arg reads. Roles match the Windows twin 0x00432080 (pAccountEditBox ECX, pIpEditBox ESI; void). Callers: MAINMENU_Unused13 0x002c1d39, UIMENU_AndOneMorePleaseWait 0x002c1dfd.
Changes 1, applied together
Set prototype
mac 0x002cac80signatureundefined MAINMENU_SaveAccountAndPasswordToINI(void)→void MAINMENU_SaveAccountAndPasswordToINI(D2ControlStrc* pAccountEditBox, D2ControlStrc* pIpEditBox)conventionunknown→__fastcall