//
// AccountLayer::FLAlert_Clicked from 0x140094a50 to 0x140094b5f (271 bytes)
//
// 2 xrefs:
// > ??> @ 0x140719220
// > ??> @ 0x140912c08
//
// 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 11:26:02 +0000
//
__int64 __fastcall AccountLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
__int64 v6; // rax
_QWORD **v7; // rbx
__int64 v8; // rcx
__int64 v9; // rax
_QWORD **v10; // rcx
__int64 v11; // rcx
__int64 v12; // rax
__int64 v13; // rdx
result = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) - 1;
if ( !(_DWORD)result )
{
if ( !a3 )
return result;
v7 = (_QWORD **)(a1 - 632);
AccountLayer::updatePage(a1 - 632, 0);
v12 = GJAccountManager::sharedState(v11);
if ( !(unsigned __int8)GJAccountManager::getAccountBackupURL(v12) )
{
v10 = v7 + 77;
return ((__int64 (__fastcall *)(_QWORD **, __int64, _QWORD))(*v10)[1])(v10, 0xFFFFFFFFLL, 0);
}
LABEL_11:
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v7[70] + 1040LL))(v7[70], 0);
((void (__fastcall *)(_QWORD **, _QWORD))(*v7)[124])(v7, 0);
LOBYTE(v13) = 1;
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v7[88] + 336LL))(v7[88], v13);
}
result = (unsigned int)(result - 1);
if ( !(_DWORD)result )
{
if ( !a3 )
return result;
v7 = (_QWORD **)(a1 - 632);
AccountLayer::updatePage(a1 - 632, 0);
v9 = GJAccountManager::sharedState(v8);
if ( !(unsigned __int8)GJAccountManager::getAccountSyncURL(v9) )
{
v10 = v7 + 78;
return ((__int64 (__fastcall *)(_QWORD **, __int64, _QWORD))(*v10)[1])(v10, 0xFFFFFFFFLL, 0);
}
goto LABEL_11;
}
if ( (_DWORD)result == 3 )
{
if ( a3 )
{
v6 = cocos2d::CCApplication::sharedApplication();
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 96LL))(
v6,
"https://www.boomlings.com/database/accounts/accountManagement.php");
}
}
return result;
}