//
// AccountRegisterLayer::registerAccountFinished from 0x100082184 to 0x100082270 (236 bytes)
//
// 2 xrefs:
// > sub_1000822A0 @ 0x1000822a4
// > ??> @ 0x10077d0a0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall AccountRegisterLayer::registerAccountFinished(AccountRegisterLayer *a1)
{
void **v2; // x8
cocos2d::CCString *v3; // x0
char *CString; // x20
__int64 v5; // x20
void *v6[2]; // [xsp+10h] [xbp-40h] BYREF
char v7; // [xsp+27h] [xbp-29h]
void *__p[2]; // [xsp+28h] [xbp-28h] BYREF
char v9; // [xsp+3Fh] [xbp-11h]
CCTextInputNode::getString(__p, a1->m_emailField);
if ( v9 >= 0 )
v2 = __p;
else
v2 = (void **)__p[0];
v3 = (cocos2d::CCString *)sub_100268F4C(
"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 ( v9 < 0 )
operator delete(__p[0]);
sub_100009900(v6, CString);
v5 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Created", v6, "OK", 0, 320.0);
if ( v7 < 0 )
operator delete(v6[0]);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1288LL))(v5);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0);
}