//
// GameLevelManager::adminGetAbuseInfo from 0x4b8720 to 0x4b88ce (430 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::requestPage @ 0x7321f2
//
// 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:50:12 +0000
//
int __fastcall GameLevelManager::adminGetAbuseInfo(GameLevelManager *this, const char *a2, int a3, int a4)
{
cocos2d::CCString *v9; // r0
const char *CString; // r0
int v11; // r8
const char *v12; // r7
size_t v13; // r0
int v14; // r8
cocos2d::CCNode *v15; // r0
cocos2d::CCObject *v16; // r0
size_t v17; // r0
cocos2d::CCString *v18; // r0
int v19; // r0
cocos2d::CCString *v20; // r0
char *v21; // r0
const char *v22; // r1
size_t v23; // r0
size_t v24; // r0
cocos2d::CCObject *v25; // [sp+10h] [bp-44h]
cocos2d::CCObject *v26; // [sp+10h] [bp-44h]
int v27; // [sp+14h] [bp-40h]
char *v28[3]; // [sp+1Ch] [bp-38h] BYREF
int v29[3]; // [sp+28h] [bp-2Ch] BYREF
int v30[3]; // [sp+34h] [bp-20h] BYREF
int v31; // [sp+40h] [bp-14h] BYREF
int v32; // [sp+44h] [bp-10h]
int v33; // [sp+48h] [bp-Ch]
if ( (int)a2 <= 0 )
return 0;
if ( a3 < 0 )
return 0;
v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminAbuse_%i", a2);
CString = (const char *)cocos2d::CCString::getCString(v9);
v31 = 0;
v32 = 0;
v33 = 0;
v11 = *((_DWORD *)this + 187);
v12 = CString;
v13 = strlen(CString);
std::string::__init(&v31, v12, v13);
v14 = cocos2d::CCDictionary::objectForKey(v11, &v31);
v15 = (cocos2d::CCNode *)std::string::~string((int)&v31);
if ( v14 )
return 0;
v27 = *((_DWORD *)this + 187);
v16 = (cocos2d::CCObject *)cocos2d::CCNode::create(v15);
v31 = 0;
v32 = 0;
v33 = 0;
v25 = v16;
v17 = strlen(v12);
std::string::__init(&v31, v12, v17);
cocos2d::CCDictionary::setObject(v27, v25);
std::string::~string((int)&v31);
GameLevelManager::getBasePostString((GameLevelManager *)v28);
v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfd",
"2893",
103,
98,
&a1i2r3e45s789g[9]);
v19 = cocos2d::CCString::getCString(v18);
v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&targetAccountID=%i&page=%i&history=%i&secret=%s",
a2,
a3,
a4,
v19);
v21 = (char *)cocos2d::CCString::getCString(v20);
std::string::append(v28, v21);
memset(v29, 0, sizeof(v29));
std::string::__init(v29, "https://www.boomlings.com/database/adminGetAbuseInfo.php", 0x38u);
v30[0] = 0;
v30[1] = 0;
if ( ((int)v28[0] & 1) == 0 )
v22 = (char *)v28 + 1;
v30[2] = 0;
if ( ((int)v28[0] & 1) != 0 )
v22 = v28[2];
v26 = (cocos2d::CCObject *)v22;
v23 = strlen(v22);
std::string::__init(v30, v26, v23);
v31 = 0;
v32 = 0;
v33 = 0;
v24 = strlen(v12);
std::string::__init(&v31, v12, v24);
GameLevelManager::ProcessHttpRequest(this, v29, (int)v30, (int)&v31, 88);
std::string::~string((int)&v31);
std::string::~string((int)v30);
std::string::~string((int)v29);
std::string::~string((int)v28);
return 1;
}