//
// GameLevelManager::reportContent from 0x140261100 to 0x14026141e (798 bytes)
//
// 2 xrefs:
// > ReportPopup::FLAlert_Clicked @ 0x1400c1ec4
// > ??> @ 0x14091c7e4
//
// 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:28:48 +0000
//
// Hidden C++ exception states: #wind=6
void __fastcall GameLevelManager::reportContent(
cocos2d::CCActionManager **a1,
int a2,
unsigned int a3,
int a4,
_QWORD *a5,
__int64 a6)
{
__int64 v9; // rcx
__int64 v10; // rax
__int64 v11; // rcx
const char *v12; // rsi
__int64 v13; // rax
int v14; // edi
const char *v15; // rbx
cocos2d::CCString *v16; // rax
const char *CString; // rax
cocos2d::CCString *v18; // rax
const char *v19; // rax
size_t v20; // rbx
size_t v21; // r8
cocos2d::CCString *v22; // rax
char *v23; // rax
size_t v24; // r8
cocos2d::CCString *v25; // rax
const char *v26; // rax
size_t v27; // r8
void **v28; // rdx
void *v29; // rcx
int Reserved; // [rsp+20h] [rbp-E0h]
int v31; // [rsp+28h] [rbp-D8h]
__int128 v33; // [rsp+50h] [rbp-B0h] BYREF
__int64 v34; // [rsp+60h] [rbp-A0h]
__int64 v35; // [rsp+68h] [rbp-98h]
__int128 v36; // [rsp+70h] [rbp-90h] BYREF
__int64 v37; // [rsp+80h] [rbp-80h]
__int64 v38; // [rsp+88h] [rbp-78h]
__int128 v39; // [rsp+90h] [rbp-70h] BYREF
__int64 v40; // [rsp+A0h] [rbp-60h]
__int64 v41; // [rsp+A8h] [rbp-58h]
__int128 *v42; // [rsp+B0h] [rbp-50h]
void *Block[2]; // [rsp+C0h] [rbp-40h] BYREF
__int128 v44; // [rsp+D0h] [rbp-30h]
_QWORD v45[4]; // [rsp+E0h] [rbp-20h] BYREF
_QWORD Src[4]; // [rsp+100h] [rbp+0h] BYREF
if ( *a5 != a5[1] )
{
sub_1402411E0(Src, a5);
v10 = GJAccountManager::sharedState(v9);
sub_14003F4F0((__int64)v45, v10 + 376);
v12 = (const char *)v45;
if ( v45[3] > 0xFu )
v12 = (const char *)v45[0];
v13 = GJAccountManager::sharedState(v11);
v14 = *(_DWORD *)(v13 + 360) - *(_DWORD *)(v13 + 364);
v15 = (const char *)Src;
if ( Src[3] > 0xFu )
v15 = (const char *)Src[0];
v31 = 98;
Reserved = 103;
v16 = cocos2d::CCString::createWithFormat(
"%c%s%s%c%c%s",
87,
"mfd",
"2893",
Reserved,
v31,
(const char *)&word_14070D040);
CString = cocos2d::CCString::getCString(v16);
v18 = cocos2d::CCString::createWithFormat(
"type=%i&targetID=%i&special=%i&reasons=%s&accountID=%i&gjp2=%s&secret=%s",
a2,
a3,
a4,
v15,
v14,
v12,
CString);
v19 = cocos2d::CCString::getCString(v18);
*(_OWORD *)Block = 0;
v44 = 0;
v20 = -1;
v21 = -1;
do
++v21;
while ( v19[v21] );
sub_14003D230(Block, v19, v21);
sub_14003D310((__int64)v45);
if ( a6 > 0 )
{
v22 = cocos2d::CCString::createWithFormat("&messageID=%lli", a6);
v23 = (char *)cocos2d::CCString::getCString(v22);
v24 = -1;
do
++v24;
while ( v23[v24] );
sub_140044D80(Block, v23, v24);
}
v42 = &v39;
v25 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, a3);
v26 = cocos2d::CCString::getCString(v25);
v36 = 0;
v37 = 0;
v38 = 0;
v27 = -1;
do
++v27;
while ( v26[v27] );
sub_14003D230(&v36, v26, v27);
v28 = Block;
if ( *((_QWORD *)&v44 + 1) > 0xFu )
v28 = (void **)Block[0];
v39 = 0;
v40 = 0;
v41 = 0;
do
++v20;
while ( *((_BYTE *)v28 + v20) );
sub_14003D230(&v39, v28, v20);
v33 = 0;
*(_QWORD *)&v33 = sub_14003D460(0x40u);
v34 = 54;
v35 = 63;
strcpy((char *)v33, "https://www.boomlings.com/database/reportGJContent.php");
GameLevelManager::ProcessHttpRequest(a1, (__int64)&v33, (const char *)&v39, (const char *)&v36, 0x14u);
if ( *((_QWORD *)&v44 + 1) > 0xFu )
{
v29 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v44 + 1) + 1LL) >= 0x1000 )
{
v29 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v29 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v29);
}
sub_14003D310((__int64)Src);
}
}