//
// AccountLoginLayer::resetLabel from 0x5865d4 to 0x586628 (84 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::resetLabels @ 0x58663e
// > AccountLoginLayer::resetLabels @ 0x58664a
// > AccountLoginLayer::textInputClosed @ 0x58685a
//
// 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
//
int __fastcall AccountLoginLayer::resetLabel(int this, int a2)
{
int v2; // r4
int (*v3)(void); // r3
v2 = this;
if ( a2 == 1 )
{
(*(void (__fastcall **)(_DWORD, const char *))(**(_DWORD **)(this + 536) + 464))(
*(_DWORD *)(this + 536),
"Username:");
v3 = *(int (**)(void))(**(_DWORD **)(v2 + 536) + 536);
return v3();
}
if ( a2 == 2 )
{
(*(void (__fastcall **)(_DWORD, const char *))(**(_DWORD **)(this + 540) + 464))(
*(_DWORD *)(this + 540),
"Password:");
v3 = *(int (**)(void))(**(_DWORD **)(v2 + 540) + 536);
return v3();
}
return this;
}