//
// sub_1000CEFF0 from 0x1000ceff0 to 0x1000cf073 (131 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b9278
//
// 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 sub_1000CEFF0(__int64 a1, __int64 a2, char a3)
{
AccountHelpLayer *v4; // rbx
int v5; // eax
GJAccountManager *v6; // rax
cocos2d::CCApplication *v7; // rax
v4 = (AccountHelpLayer *)(a1 - 616);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
switch ( v5 )
{
case 3:
if ( a3 )
AccountHelpLayer::verifyUnlink(v4);
break;
case 5:
if ( a3 )
{
v7 = cocos2d::CCApplication::sharedApplication();
((void (__fastcall *)(cocos2d::CCApplication *, const char *))v7->openURL)(
v7,
"https://www.boomlings.com/database/accounts/accountManagement.php");
}
break;
case 4:
if ( a3 )
{
v6 = GJAccountManager::sharedState();
GJAccountManager::unlinkFromAccount(v6);
GJDropDownLayer::exitLayer(v4, nullptr);
}
break;
}
}