//
// AccountLoginLayer::resetLabel from 0x140091b40 to 0x140091bb6 (118 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::textInputClosed @ 0x1400921aa
// > ??> @ 0x140912a94
// > ??> @ 0x140912aa0
//
// 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 11:26:01 +0000
//
__int64 __fastcall AccountLoginLayer::resetLabel(__int64 a1, int a2)
{
int v3; // edx
__int64 v4; // rcx
__int64 result; // rax
v3 = a2 - 1;
if ( v3 )
{
if ( v3 != 1 )
return result;
(**(void (__fastcall ***)(__int64, __int64 *))(*(_QWORD *)(a1 + 704) + 360LL))(
*(_QWORD *)(a1 + 704) + 360LL,
&qword_140716968);
v4 = *(_QWORD *)(a1 + 704);
}
else
{
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 696) + 360LL))(
*(_QWORD *)(a1 + 696) + 360LL,
"Username:");
v4 = *(_QWORD *)(a1 + 696);
}
return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v4 + 368))(v4 + 368, &word_140702D04);
}