//
// AccountRegisterLayer::resetLabel from 0x98fb40 to 0x98fcbc (380 bytes)
//
// 9 xrefs:
// > AccountRegisterLayer::resetLabels @ 0x98fcd0
// > AccountRegisterLayer::resetLabels @ 0x98fcdc
// > AccountRegisterLayer::resetLabels @ 0x98fce8
// > AccountRegisterLayer::resetLabels @ 0x98fcf4
// > AccountRegisterLayer::resetLabels @ 0x98fd08
// > AccountRegisterLayer::textInputClosed @ 0x993ad8
// > AccountRegisterLayer::textInputClosed @ 0x993c84
// > AccountRegisterLayer::textChanged @ 0x994174
// > ??> @ 0x94f90
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:58 +0000
//
_QWORD **__fastcall AccountRegisterLayer::resetLabel(_QWORD **this, int a2)
{
_QWORD **v2; // x19
_QWORD *v3; // x2
v2 = this;
switch ( a2 )
{
case 1:
(*(void (__fastcall **)(_QWORD, const char *))(**(this + 90) + 928LL))(
*(this + 90),
"Username: (shown to other players)");
v3 = v2[90];
return (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v3 + 1072LL))(v3, &unk_116B4B8);
case 2:
(*(void (__fastcall **)(_QWORD, char *))(**(this + 91) + 928LL))(*(this + 91), "Password:");
(*(void (__fastcall **)(_QWORD *, void *))(*v2[91] + 1072LL))(v2[91], &unk_116B4B8);
this = (_QWORD **)v2[92];
if ( this )
return (_QWORD **)((__int64 (__fastcall *)(_QWORD **, char *))(*this)[116])(this, &byte_11B8890);
return this;
case 3:
(*(void (__fastcall **)(_QWORD, const char *))(**(this + 93) + 928LL))(*(this + 93), "Confirm Password:");
v3 = v2[93];
return (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v3 + 1072LL))(v3, &unk_116B4B8);
case 4:
(*(void (__fastcall **)(_QWORD, const char *))(**(this + 94) + 928LL))(*(this + 94), "Email:");
(*(void (__fastcall **)(_QWORD *, void *))(*v2[94] + 1072LL))(v2[94], &unk_116B4B8);
goto LABEL_3;
case 5:
LABEL_3:
(*(void (__fastcall **)(_QWORD *, const char *))(*v2[95] + 928LL))(v2[95], "Verify Email:");
this = (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v2[95] + 1072LL))(v2[95], &unk_116B4B8);
break;
default:
return this;
}
return this;
}