//
// GameLevelManager::adminGetReportQueue from 0x4b8574 to 0x4b86f8 (388 bytes)
//
// 1 xrefs:
// > ReportQueuePopup::requestPage @ 0x73aece
//
// 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::adminGetReportQueue(GameLevelManager *this, const char *a2, int a3, int a4)
{
const char *v5; // r11
int v9; // r5
int v10; // r5
cocos2d::CCNode *v11; // r0
cocos2d::CCObject *v12; // r0
cocos2d::CCObject *v13; // r7
cocos2d::CCString *v14; // r0
int CString; // r0
cocos2d::CCString *v16; // r0
char *v17; // r0
size_t v18; // r0
int v19; // [sp+14h] [bp-40h]
char *v20[3]; // [sp+1Ch] [bp-38h] BYREF
int v21[3]; // [sp+28h] [bp-2Ch] BYREF
int v22[3]; // [sp+34h] [bp-20h] BYREF
int v23; // [sp+40h] [bp-14h] BYREF
int v24; // [sp+44h] [bp-10h]
int v25; // [sp+48h] [bp-Ch]
v5 = a2;
if ( (int)a2 < 0 )
return 0;
v9 = *((_DWORD *)this + 187);
v23 = 0;
v24 = 0;
v25 = 0;
std::string::__init(&v23, "adminReportQueue", 0x10u);
v10 = cocos2d::CCDictionary::objectForKey(v9, &v23);
v11 = (cocos2d::CCNode *)std::string::~string((int)&v23);
if ( v10 )
return 0;
v19 = *((_DWORD *)this + 187);
v12 = (cocos2d::CCObject *)cocos2d::CCNode::create(v11);
v23 = 0;
v24 = 0;
v25 = 0;
v13 = v12;
std::string::__init(&v23, "adminReportQueue", 0x10u);
cocos2d::CCDictionary::setObject(v19, v13);
std::string::~string((int)&v23);
GameLevelManager::getBasePostString((GameLevelManager *)v20);
v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfd",
"2893",
103,
98,
&a1i2r3e45s789g[9]);
CString = cocos2d::CCString::getCString(v14);
v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&page=%i&sort=%i&mode=%i&flags=1&secret=%s",
v5,
a3,
a4,
CString);
v17 = (char *)cocos2d::CCString::getCString(v16);
std::string::append(v20, v17);
memset(v21, 0, sizeof(v21));
std::string::__init(v21, "https://www.boomlings.com/database/adminGetReportQueue.php", 0x3Au);
v22[0] = 0;
v22[1] = 0;
if ( ((int)v20[0] & 1) == 0 )
v5 = (char *)v20 + 1;
v22[2] = 0;
if ( ((int)v20[0] & 1) != 0 )
v5 = v20[2];
v18 = strlen(v5);
std::string::__init(v22, v5, v18);
v23 = 0;
v24 = 0;
v25 = 0;
std::string::__init(&v23, "adminReportQueue", 0x10u);
GameLevelManager::ProcessHttpRequest(this, v21, (int)v22, (int)&v23, 87);
std::string::~string((int)&v23);
std::string::~string((int)v22);
std::string::~string((int)v21);
std::string::~string((int)v20);
return 1;
}