//
// AccountHelpLayer::FLAlert_Clicked from 0x100167968 to 0x100167a08 (160 bytes)
//
// 2 xrefs:
// > sub_100167A08 @ 0x100167a0c
// > ??> @ 0x10079cac8
//
// 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 AccountHelpLayer::FLAlert_Clicked(AccountHelpLayer *a1, FLAlertLayer *a2, bool a3)
{
_BOOL4 v3; // w20
int v5; // w0
GJAccountManager *v7; // x0
cocos2d::CCApplication *v8; // x0
v3 = a3;
v5 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2);
if ( v5 == 3 )
{
if ( v3 )
AccountHelpLayer::verifyUnlink(a1);
}
else if ( v5 == 5 )
{
if ( v3 )
{
v8 = cocos2d::CCApplication::sharedApplication();
((void (__fastcall *)(cocos2d::CCApplication *, const char *))v8->openURL)(
v8,
"https://www.boomlings.com/database/accounts/accountManagement.php");
}
}
else if ( v5 == 4 && v3 )
{
v7 = GJAccountManager::sharedState();
GJAccountManager::unlinkFromAccount(v7);
GJDropDownLayer::exitLayer(a1, nullptr);
}
}