//
// InvitesPopup::FLAlert_Clicked from 0x1005106b0 to 0x100510768 (184 bytes)
//
// 2 xrefs:
// > sub_100510784 @ 0x100510788
// > ??> @ 0x100999bd8
//
// This function is hookable on this platform (idp: arm, 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:07:02 +0000
//
void __fastcall InvitesPopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)
{
__int64 v5; // x20
int v6; // w21
char v7; // w0
char v8; // w20
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 6 )
{
if ( a3 && *(int *)(a1 + 808) > 0 )
{
v5 = GameLevelManager::sharedState();
v6 = *(_DWORD *)(a1 + 808);
sub_100009900(__p, "");
v7 = sub_1000C8838(v5, v6, 9, (__int64)__p);
v8 = v7;
if ( v10 < 0 )
{
operator delete(__p[0]);
if ( (v8 & 1) != 0 )
goto LABEL_6;
}
else if ( (v7 & 1) != 0 )
{
LABEL_6:
*(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 776;
return;
}
}
*(_DWORD *)(a1 + 808) = 0;
}
}