//
// ReportPopup::FLAlert_Clicked from 0x1400c1e10 to 0x1400c1fb8 (424 bytes)
//
// 2 xrefs:
// > ??> @ 0x140723cc8
// > ??> @ 0x140913b74
//
// 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:19 +0000
//
// Hidden C++ exception states: #wind=3
void __fastcall ReportPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 v4; // rsi
int v5; // ecx
__int64 v6; // rcx
__int64 *v7; // rdi
__int64 v8; // rbx
__int64 v9; // rdx
__int64 v10; // r8
__int64 v11; // rax
_QWORD v12[3]; // [rsp+30h] [rbp-68h] BYREF
char v13[16]; // [rsp+48h] [rbp-50h] BYREF
__int64 v14; // [rsp+58h] [rbp-40h]
__int64 v15; // [rsp+60h] [rbp-38h]
__int128 v16; // [rsp+68h] [rbp-30h] BYREF
__int64 v17; // [rsp+78h] [rbp-20h]
__int64 v18; // [rsp+80h] [rbp-18h]
void *v19; // [rsp+B8h] [rbp+20h]
if ( a3 && (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 )
{
v4 = a1 - 1000;
ReportPopup::selectedReasons((_QWORD *)(a1 - 1000), (__int64)v12);
if ( v12[0] != v12[1] )
{
v5 = qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v19 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v19);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v5 = qword_14090BFB0;
}
GameLevelManager::reportContent(
v5,
*(_DWORD *)(a1 + 8),
*(_DWORD *)(a1 + 12),
*(_DWORD *)(a1 + 16),
(__int64)v12,
*(_QWORD *)(a1 + 88));
v7 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v6) + 272);
v16 = 0;
v17 = 0;
v18 = 15;
LOBYTE(v16) = 0;
v14 = 15;
v15 = 15;
strcpy(v13, "Report received");
v8 = *v7;
v11 = TextAlertPopup::create(v13, v9, v10, 150, &v16);
(*(void (__fastcall **)(__int64 *, __int64, __int64))(v8 + 456))(v7, v11, 1000);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1104LL))(v4, 0);
}
sub_140069730((__int64)v12);
}
}