// // GameLevelManager::adminClearReportedContent from 0x4b839c to 0x4b8552 (438 bytes) // // 1 xrefs: // > AccountReviewPopup::clearSelectedReports @ 0x7367cc // // 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::adminClearReportedContent(GameManager *a1, const char *a2, unsigned __int8 *a3) { int v7; // r4 cocos2d::CCString *v9; // r0 const char *CString; // r0 int v11; // r6 const char *v12; // r10 size_t v13; // r0 int v14; // r6 cocos2d::CCNode *v15; // r0 cocos2d::CCObject *v16; // r0 cocos2d::CCObject *v17; // r11 size_t v18; // r0 unsigned __int8 *v19; // r5 cocos2d::CCString *v20; // r0 int v21; // r0 cocos2d::CCString *v22; // r0 char *v23; // r0 const char *v24; // r1 size_t v25; // r0 size_t v26; // r0 int v27; // [sp+14h] [bp-40h] const char *v28; // [sp+14h] [bp-40h] char *v29[3]; // [sp+1Ch] [bp-38h] BYREF int v30[3]; // [sp+28h] [bp-2Ch] BYREF int v31[3]; // [sp+34h] [bp-20h] BYREF int v32; // [sp+40h] [bp-14h] BYREF int v33; // [sp+44h] [bp-10h] int v34; // [sp+48h] [bp-Ch] if ( (int)a2 <= 0 ) return 0; v7 = *a3; if ( !((v7 & 1) != 0 ? *((_DWORD *)a3 + 1) : v7 >> 1) ) return 0; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminClearRep_%i", a2); CString = (const char *)cocos2d::CCString::getCString(v9); v32 = 0; v33 = 0; v34 = 0; v11 = *((_DWORD *)a1 + 187); v12 = CString; v13 = strlen(CString); std::string::__init(&v32, v12, v13); v14 = cocos2d::CCDictionary::objectForKey(v11, &v32); v15 = (cocos2d::CCNode *)std::string::~string((int)&v32); if ( v14 ) return 0; v27 = *((_DWORD *)a1 + 187); v16 = (cocos2d::CCObject *)cocos2d::CCNode::create(v15); v32 = 0; v33 = 0; v34 = 0; v17 = v16; v18 = strlen(v12); std::string::__init(&v32, v12, v18); cocos2d::CCDictionary::setObject(v27, v17); std::string::~string((int)&v32); GameLevelManager::getBasePostString((GameLevelManager *)v29); if ( (*a3 & 1) != 0 ) v19 = *((unsigned __int8 **)a3 + 2); else v19 = a3 + 1; v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v21 = cocos2d::CCString::getCString(v20); v22 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&targetAccountID=%i&items=%s&secret=%s", a2, v19, v21); v23 = (char *)cocos2d::CCString::getCString(v22); std::string::append(v29, v23); memset(v30, 0, sizeof(v30)); std::string::__init(v30, "https://www.boomlings.com/database/adminClearReportedContent.php", 0x40u); v31[0] = 0; v31[1] = 0; if ( ((int)v29[0] & 1) == 0 ) v24 = (char *)v29 + 1; v31[2] = 0; if ( ((int)v29[0] & 1) != 0 ) v24 = v29[2]; v28 = v24; v25 = strlen(v24); std::string::__init(v31, v28, v25); v32 = 0; v33 = 0; v34 = 0; v26 = strlen(v12); std::string::__init(&v32, v12, v26); GameLevelManager::ProcessHttpRequest(a1, v30, (int)v31, (int)&v32, 86); std::string::~string((int)&v32); std::string::~string((int)v31); std::string::~string((int)v30); std::string::~string((int)v29); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source