//
// AccountLoginLayer::resetLabel from 0x99047c to 0x990504 (136 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::resetLabels @ 0x990518
// > AccountLoginLayer::resetLabels @ 0x99052c
// > AccountLoginLayer::textInputClosed @ 0x99057c
// > ??> @ 0x8b210
//
// 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
//
__int64 __fastcall AccountLoginLayer::resetLabel(__int64 this, int a2)
{
__int64 v2; // x19
__int64 v3; // x2
v2 = this;
if ( a2 == 1 )
{
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(this + 696) + 928LL))(
*(_QWORD *)(this + 696),
"Username:");
v3 = *(_QWORD *)(v2 + 696);
}
else
{
if ( a2 != 2 )
return this;
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(this + 704) + 928LL))(*(_QWORD *)(this + 704), "Password:");
v3 = *(_QWORD *)(v2 + 704);
}
return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v3 + 1072LL))(v3, &unk_116B4B8);
}