//
// AccountRegisterLayer::registerAccountFinished from 0x10008aa34 to 0x10008ab20 (236 bytes)
//
// 2 xrefs:
// > sub_10008AB50 @ 0x10008ab54
// > ??> @ 0x1008c9898
//
// 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 10:58:20 +0000
//
__int64 __fastcall AccountRegisterLayer::registerAccountFinished(__int64 a1)
{
void **v2; // x8
__int64 v3; // x0
char *CString; // x20
__int64 v5; // x20
void *v7[2]; // [xsp+10h] [xbp-40h] BYREF
char v8; // [xsp+27h] [xbp-29h]
void *__p[2]; // [xsp+28h] [xbp-28h] BYREF
char v10; // [xsp+3Fh] [xbp-11h]
CCTextInputNode::getString(__p);
if ( v10 >= 0 )
v2 = __p;
else
v2 = (void **)__p[0];
v3 = sub_1003065B0(
"Thank you for registering.\n"
"A confirmation email has been sent to your inbox %s.\n"
"Please activate your account.",
(const char *)v2);
CString = (char *)cocos2d::CCString::getCString(v3);
if ( v10 < 0 )
operator delete(__p[0]);
sub_100009900(v7, CString);
v5 = FLAlertLayer::create_1(a1 + 672, "Created", v7, "OK", 0, 320.0);
if ( v8 < 0 )
operator delete(v7[0]);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 768) + 344LL))(*(_QWORD *)(a1 + 768), 0);
}