//
// sub_1004950B0 from 0x1004950b0 to 0x1004951a1 (241 bytes)
//
// 1 xrefs:
// > ??> @ 0x100943f18
//
// 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
//
__int64 __fastcall sub_1004950B0(GJAccountRegisterDelegate *a1)
{
cocos2d::CCObject *v2; // rdi
a1->__vftable = (GJAccountRegisterDelegate_vtbl *)off_100943F10;
a1[40].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944478;
a1[41].__vftable = (GJAccountRegisterDelegate_vtbl *)&off_1009444E8;
a1[42].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944500;
a1[43].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944520;
a1[44].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944540;
a1[51].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944568;
a1[54].__vftable = (GJAccountRegisterDelegate_vtbl *)off_1009445E8;
a1[79].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944608;
a1[80].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944650;
a1[81].__vftable = (GJAccountRegisterDelegate_vtbl *)&off_100944670;
if ( GJAccountManager::sharedState()->m_accountRegisterDelegate != &a1[80] )
{
v2 = (cocos2d::CCObject *)a1[92].__vftable;
if ( !v2 )
return FLAlertLayer::dFLAlertLayer(a1);
goto LABEL_5;
}
GJAccountManager::sharedState()->m_accountRegisterDelegate = nullptr;
v2 = (cocos2d::CCObject *)a1[92].__vftable;
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
return FLAlertLayer::dFLAlertLayer(a1);
}