//
// AccountLayer::FLAlert_Clicked from 0x10009c0d0 to 0x10009c1cc (252 bytes)
//
// 2 xrefs:
// > sub_10009C1D0 @ 0x10009c1dc
// > ??> @ 0x100abbf28
//
// This function is hookable on this platform (idp: pc, 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 12:20:12 +0000
//
__int64 __fastcall AccountLayer::FLAlert_Clicked(_QWORD **a1, __int64 a2, char a3)
{
__int64 result; // rax
__int64 v5; // rax
__int64 (__fastcall *v6)(_QWORD **, __int64, _QWORD); // rax
__int64 v7; // rax
__int64 v8; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 5 )
{
if ( a3 )
{
v8 = cocos2d::CCApplication::sharedApplication(a2, a2);
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v8 + 104LL))(
v8,
"https://www.boomlings.com/database/accounts/accountManagement.php");
}
}
else if ( (_DWORD)result == 2 )
{
if ( a3 )
{
AccountLayer::updatePage((__int64)a1, 0);
v7 = GJAccountManager::sharedState(a1);
if ( !(unsigned __int8)GJAccountManager::getAccountSyncURL(v7) )
{
v6 = (__int64 (__fastcall *)(_QWORD **, __int64, _QWORD))(*a1)[176];
return v6(a1, 0xFFFFFFFFLL, 0);
}
LABEL_9:
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[70] + 1272LL))(a1[70], 0);
((void (__fastcall *)(_QWORD **, _QWORD))(*a1)[134])(a1, 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[88] + 344LL))(a1[88], 1);
}
}
else if ( (_DWORD)result == 1 && a3 )
{
AccountLayer::updatePage((__int64)a1, 0);
v5 = GJAccountManager::sharedState(a1);
if ( !(unsigned __int8)GJAccountManager::getAccountBackupURL(v5) )
{
v6 = (__int64 (__fastcall *)(_QWORD **, __int64, _QWORD))(*a1)[174];
return v6(a1, 0xFFFFFFFFLL, 0);
}
goto LABEL_9;
}
return result;
}