//
// AccountRegisterLayer::resetLabel from 0x585fd8 to 0x5860ac (212 bytes)
//
// 8 xrefs:
// > AccountRegisterLayer::resetLabels @ 0x5860de
// > AccountRegisterLayer::resetLabels @ 0x5860e6
// > AccountRegisterLayer::resetLabels @ 0x5860ee
// > AccountRegisterLayer::resetLabels @ 0x5860f6
// > AccountRegisterLayer::resetLabels @ 0x586102
// > AccountRegisterLayer::textInputClosed @ 0x5887a0
// > AccountRegisterLayer::textInputClosed @ 0x588806
// > AccountRegisterLayer::textChanged @ 0x588aa2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:52:58 +0000
//
_DWORD **__fastcall AccountRegisterLayer::resetLabel(_DWORD **this, int a2)
{
_DWORD **v2; // r4
int (*v3)(void); // r3
v2 = this;
switch ( a2 )
{
case 1:
(*(void (__fastcall **)(_DWORD, const char *))(**(this + 137) + 464))(
*(this + 137),
"Username: (shown to other players)");
v3 = *(int (**)(void))(*v2[137] + 536);
goto LABEL_8;
case 2:
(*(void (__fastcall **)(_DWORD, const char *))(**(this + 138) + 464))(*(this + 138), "Password:");
(*(void (__fastcall **)(_DWORD *, __int16 *))(*v2[138] + 536))(v2[138], &word_BED8F3);
this = (_DWORD **)v2[139];
if ( !this )
return this;
v3 = (int (*)(void))(*this)[116];
goto LABEL_8;
case 3:
(*(void (__fastcall **)(_DWORD, const char *))(**(this + 140) + 464))(*(this + 140), "Confirm Password:");
v3 = *(int (**)(void))(*v2[140] + 536);
goto LABEL_8;
case 4:
(*(void (__fastcall **)(_DWORD, const char *))(**(this + 141) + 464))(*(this + 141), "Email:");
(*(void (__fastcall **)(_DWORD *, __int16 *))(*v2[141] + 536))(v2[141], &word_BED8F3);
goto LABEL_7;
case 5:
LABEL_7:
(*(void (__fastcall **)(_DWORD *, const char *))(*v2[142] + 464))(v2[142], "Verify Email:");
v3 = *(int (**)(void))(*v2[142] + 536);
LABEL_8:
this = (_DWORD **)v3();
break;
default:
return this;
}
return this;
}