//
// AccountRegisterLayer::registerAccountFailed from 0x14008dfe0 to 0x14008e017 (55 bytes)
//
// 2 xrefs:
// > ??> @ 0x140717a00
// > ??> @ 0x14091298c
//
// 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:25:59 +0000
//
__int64 __fastcall AccountRegisterLayer::registerAccountFailed(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rdx
v1 = a1 - 664;
AccountRegisterLayer::updateLabel(a1 - 664);
LOBYTE(v2) = 1;
AccountRegisterLayer::toggleUI(v1, v2);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 768) + 336LL))(*(_QWORD *)(v1 + 768), 0);
}