//
// InvitesPopup::FLAlert_Clicked from 0x10094ec40 to 0x10094ecce (142 bytes)
//
// 2 xrefs:
// > sub_10094ECF0 @ 0x10094ecfc
// > ??> @ 0x100bc6f58
//
// 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:38:37 +0000
//
void __fastcall InvitesPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 v4; // rax
int v5; // esi
char updated; // r14
std::string v7; // [rsp+8h] [rbp-28h] BYREF
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 6 )
{
if ( !a3 || *(int *)(a1 + 808) <= 0 )
goto LABEL_8;
v4 = GameLevelManager::sharedState();
v5 = *(_DWORD *)(a1 + 808);
*(_WORD *)&v7.__r_.__value_.__l.0 = 0;
updated = GameLevelManager::updateThread(v4, v5, 9, &v7);
if ( (*(_BYTE *)&v7.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v7.__r_.__value_.__l.__data_);
if ( updated )
*(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 776;
else
LABEL_8:
*(_DWORD *)(a1 + 808) = 0;
}
}