// // GameLevelManager::adminGetReportedContent from 0x4b81c8 to 0x4b837a (434 bytes) // // 1 xrefs: // > AccountReviewPopup::requestPage @ 0x732220 // // 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:11 +0000 // int __fastcall GameLevelManager::adminGetReportedContent( GameLevelManager *this, const char *a2, int a3, int a4, int a5) { cocos2d::CCString *v10; // r0 const char *CString; // r0 int v12; // r8 const char *v13; // r7 size_t v14; // r0 int v15; // r8 cocos2d::CCNode *v16; // r0 cocos2d::CCObject *v17; // r0 size_t v18; // r0 cocos2d::CCString *v19; // r0 int v20; // r0 cocos2d::CCString *v21; // r0 char *v22; // r0 const char *v23; // r1 size_t v24; // r0 size_t v25; // r0 cocos2d::CCObject *v26; // [sp+10h] [bp-44h] cocos2d::CCObject *v27; // [sp+10h] [bp-44h] int 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; if ( a3 < 0 ) return 0; v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminReported_%i", a2); CString = (const char *)cocos2d::CCString::getCString(v10); v32 = 0; v33 = 0; v34 = 0; v12 = *((_DWORD *)this + 187); v13 = CString; v14 = strlen(CString); std::string::__init(&v32, v13, v14); v15 = cocos2d::CCDictionary::objectForKey(v12, &v32); v16 = (cocos2d::CCNode *)std::string::~string((int)&v32); if ( v15 ) return 0; v28 = *((_DWORD *)this + 187); v17 = (cocos2d::CCObject *)cocos2d::CCNode::create(v16); v32 = 0; v33 = 0; v34 = 0; v26 = v17; v18 = strlen(v13); std::string::__init(&v32, v13, v18); cocos2d::CCDictionary::setObject(v28, v26); std::string::~string((int)&v32); GameLevelManager::getBasePostString((GameLevelManager *)v29); v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v20 = cocos2d::CCString::getCString(v19); v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&targetAccountID=%i&page=%i&sort=%i&ctype=%i&secret=%s", a2, a3, a4, a5, v20); v22 = (char *)cocos2d::CCString::getCString(v21); std::string::append(v29, v22); memset(v30, 0, sizeof(v30)); std::string::__init(v30, "https://www.boomlings.com/database/adminGetReportedContent.php", 0x3Eu); v31[0] = 0; v31[1] = 0; if ( ((int)v29[0] & 1) == 0 ) v23 = (char *)v29 + 1; v31[2] = 0; if ( ((int)v29[0] & 1) != 0 ) v23 = v29[2]; v27 = (cocos2d::CCObject *)v23; v24 = strlen(v23); std::string::__init(v31, v27, v24); v32 = 0; v33 = 0; v34 = 0; v25 = strlen(v13); std::string::__init(&v32, v13, v25); GameLevelManager::ProcessHttpRequest(this, v30, (int)v31, (int)&v32, 85); 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