//
// AccountRegisterLayer::resetLabel from 0x10048e9f0 to 0x10048eb13 (291 bytes)
//
// 1 xrefs:
// > AccountRegisterLayer::textInputClosed @ 0x100490121
//
// This function is hookable on this platform (idp: pc, 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:30:45 +0000
//
__int64 __fastcall AccountRegisterLayer::resetLabel(__int64 a1, int a2)
{
__int64 v2; // rdi
__int64 result; // rax
__int64 v4; // rdi
switch ( a2 )
{
case 1:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 720) + 928LL))(
*(_QWORD *)(a1 + 720),
"Username: (shown to other players)");
v2 = *(_QWORD *)(a1 + 720);
goto LABEL_6;
case 2:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 728) + 928LL))(
*(_QWORD *)(a1 + 728),
"Password:");
result = (*(__int64 (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 728) + 1072LL))(
*(_QWORD *)(a1 + 728),
&unk_100A0B963);
v4 = *(_QWORD *)(a1 + 736);
if ( v4 )
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 928LL))(v4, "");
return result;
case 3:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 744) + 928LL))(
*(_QWORD *)(a1 + 744),
"Confirm Password:");
v2 = *(_QWORD *)(a1 + 744);
goto LABEL_6;
case 4:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 752) + 928LL))(*(_QWORD *)(a1 + 752), "Email:");
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 752) + 1072LL))(*(_QWORD *)(a1 + 752), &unk_100A0B963);
goto LABEL_4;
case 5:
LABEL_4:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 760) + 928LL))(
*(_QWORD *)(a1 + 760),
"Verify Email:");
v2 = *(_QWORD *)(a1 + 760);
LABEL_6:
result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 1072LL))(v2, &unk_100A0B963);
break;
default:
return result;
}
return result;
}