//
// ReportPopup::FLAlert_Clicked from 0x79f9b8 to 0x79faac (244 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ReportPopup::FLAlert_Clicked @ 0x79fac0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:52 +0000
//
char **__fastcall ReportPopup::FLAlert_Clicked(char **this, FLAlertLayer *a2, int a3)
{
char **v3; // r5
GameLevelManager *v4; // r0
GameManager *v5; // r0
cocos2d::CCDirector *v6; // r0
int v7; // r9
void (__fastcall *v8)(int, cocos2d::CCNode *, int); // r10
cocos2d::CCNode *v9; // r0
char *v10[3]; // [sp+10h] [bp-28h] BYREF
int v11[3]; // [sp+1Ch] [bp-1Ch] BYREF
int v12[3]; // [sp+28h] [bp-10h] BYREF
v3 = this;
if ( a3 )
{
this = (char **)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( this == (char **)((char *)&dword_0 + 1) )
{
v4 = ReportPopup::selectedReasons((ReportPopup *)v10, v3);
if ( v10[0] != v10[1] )
{
v5 = (GameManager *)GameLevelManager::sharedState(v4);
v6 = (cocos2d::CCDirector *)GameLevelManager::reportContent(
v5,
v3[180],
v3[181],
(int)v3[182],
(int *)v10,
*((_QWORD *)v3 + 95));
v7 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v6) + 220);
v8 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v7 + 232);
memset(v11, 0, sizeof(v11));
std::string::__init(v11, "Report received", 0xFu);
memset(v12, 0, sizeof(v12));
std::string::__init(v12, &unk_B6B226, 0);
v9 = TextAlertPopup::create((int)v11, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v12);
v8(v7, v9, 1000);
std::string::~string((int)v12);
std::string::~string((int)v11);
(*((void (__fastcall **)(char **, _DWORD))*v3 + 171))(v3, 0);
}
return std::__vector_base::~__vector_base(v10);
}
}
return this;
}