//
// GameLevelManager::adminGetAbuseInfo from 0x140245560 to 0x1402458a5 (837 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::requestPage @ 0x1400b3293
// > ??> @ 0x14091c2b0
//
// 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:38 +0000
//
// Hidden C++ exception states: #wind=4
char __fastcall GameLevelManager::adminGetAbuseInfo(__int64 a1, int a2, int a3, int a4)
{
cocos2d::CCString *v8; // rax
const char *CString; // rax
const char *v10; // rsi
size_t v11; // rdi
size_t v12; // r8
__int64 v13; // rbx
void *v14; // r8
size_t v15; // r8
__int64 v16; // rbx
__int64 v17; // rax
__int64 v18; // rcx
void *v19; // rcx
cocos2d::CCString *v20; // rax
const char *v21; // rax
cocos2d::CCString *v22; // rax
char *v23; // rax
size_t v24; // r8
size_t v25; // r8
_QWORD *v26; // rdx
__int128 v28; // [rsp+40h] [rbp-89h] BYREF
__int64 v29; // [rsp+50h] [rbp-79h]
__int64 v30; // [rsp+58h] [rbp-71h]
__int128 v31; // [rsp+60h] [rbp-69h] BYREF
__int64 v32; // [rsp+70h] [rbp-59h]
__int64 v33; // [rsp+78h] [rbp-51h]
__int128 *v34; // [rsp+80h] [rbp-49h]
__int128 *v35; // [rsp+88h] [rbp-41h]
void *Block[2]; // [rsp+98h] [rbp-31h] BYREF
__int128 v37; // [rsp+A8h] [rbp-21h]
_QWORD Src[4]; // [rsp+B8h] [rbp-11h] BYREF
if ( a2 <= 0 || a3 < 0 )
return 0;
v8 = cocos2d::CCString::createWithFormat("adminAbuse_%i", a2);
CString = cocos2d::CCString::getCString(v8);
v10 = CString;
*(_OWORD *)Block = 0;
v37 = 0;
v11 = -1;
v12 = -1;
do
++v12;
while ( CString[v12] );
sub_14003D230(Block, CString, v12);
v13 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1200), Block);
if ( *((_QWORD *)&v37 + 1) > 0xFu )
{
v14 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v37 + 1) + 1LL) >= 0x1000 )
{
v14 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v14 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v14);
}
if ( v13 )
return 0;
*(_OWORD *)Block = 0;
v37 = 0;
v15 = -1;
do
++v15;
while ( v10[v15] );
sub_14003D230(Block, v10, v15);
v16 = *(_QWORD *)(a1 + 1200);
v17 = cocos2d::CCNode::create();
cocos2d::CCDictionary::setObject(v16, v17, Block);
if ( *((_QWORD *)&v37 + 1) > 0xFu )
{
v19 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v37 + 1) + 1LL) >= 0x1000 )
{
v19 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v19 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v19);
}
GameLevelManager::getBasePostString(v18, Src);
v20 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_14070D040);
v21 = cocos2d::CCString::getCString(v20);
v22 = cocos2d::CCString::createWithFormat("&targetAccountID=%i&page=%i&history=%i&secret=%s", a2, a3, a4, v21);
v23 = (char *)cocos2d::CCString::getCString(v22);
v24 = -1;
do
++v24;
while ( v23[v24] );
sub_140044D80(Src, v23, v24);
v34 = &v28;
v35 = &v31;
v28 = 0;
v29 = 0;
v30 = 0;
v25 = -1;
do
++v25;
while ( v10[v25] );
sub_14003D230(&v28, v10, v25);
v26 = Src;
if ( Src[3] > 0xFu )
v26 = (_QWORD *)Src[0];
v31 = 0;
v32 = 0;
v33 = 0;
do
++v11;
while ( *((_BYTE *)v26 + v11) );
sub_14003D230(&v31, v26, v11);
*(_OWORD *)Block = 0;
v37 = 0u;
Block[0] = sub_14003D460(0x40u);
*(_QWORD *)&v37 = 56;
*((_QWORD *)&v37 + 1) = 63;
strcpy((char *)Block[0], "https://www.boomlings.com/database/adminGetAbuseInfo.php");
GameLevelManager::ProcessHttpRequest(
(cocos2d::CCActionManager **)a1,
(__int64)Block,
(const char *)&v31,
(const char *)&v28,
0x58u);
sub_14003D310((__int64)Src);
return 1;
}