// // GameLevelManager::adminThreadAction from 0x4b8aa4 to 0x4b8cb8 (532 bytes) // // 3 xrefs: // > AccountReviewPopup::deleteEntry @ 0x732dea // > ThreadViewPopup::requestDeleteMessage @ 0x749c18 // > ThreadOptionsPopup::FLAlert_Clicked @ 0x74bea0 // // 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::adminThreadAction( GameManager *a1, const char *a2, unsigned __int8 *a3, int a4, int a5, int a6) { int v10; // r4 int v11; // r4 int v12; // r2 cocos2d::CCString *v13; // r0 const char *CString; // r0 int v15; // r10 const char *v16; // r7 size_t v17; // r0 int v18; // r10 cocos2d::CCNode *v19; // r0 cocos2d::CCObject *v20; // r0 cocos2d::CCObject *v21; // r11 size_t v22; // r0 unsigned __int8 *v23; // r5 cocos2d::CCString *v24; // r0 int v25; // r0 cocos2d::CCString *v26; // r0 char *v27; // r0 const char *v28; // r1 size_t v29; // r0 size_t v30; // r0 int v31; // [sp+14h] [bp-40h] const char *v32; // [sp+14h] [bp-40h] char *v33[3]; // [sp+1Ch] [bp-38h] BYREF int v34[3]; // [sp+28h] [bp-2Ch] BYREF int v35[3]; // [sp+34h] [bp-20h] BYREF int v36; // [sp+40h] [bp-14h] BYREF int v37; // [sp+44h] [bp-10h] int v38; // [sp+48h] [bp-Ch] if ( (int)a2 <= 0 ) return 0; v10 = *a3; if ( (v10 & 1) != 0 ) { if ( *((_DWORD *)a3 + 1) != 4 ) { LABEL_5: v11 = *((_DWORD *)a3 + 1); goto LABEL_10; } } else if ( v10 >> 1 != 4 ) { goto LABEL_9; } if ( !std::string::compare(a3, 0, 0xFFFFFFFF, "lock", 4u) ) { v12 = 101; goto LABEL_16; } v10 = *a3; if ( (v10 & 1) != 0 ) goto LABEL_5; LABEL_9: v11 = v10 >> 1; LABEL_10: if ( v11 == 6 ) { if ( !std::string::compare(a3, 0, 0xFFFFFFFF, "unlock", 6u) ) v12 = 102; else v12 = 103; } else { v12 = 103; } LABEL_16: v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminThread_%i_%i", a2, v12); CString = (const char *)cocos2d::CCString::getCString(v13); v36 = 0; v37 = 0; v38 = 0; v15 = *((_DWORD *)a1 + 187); v16 = CString; v17 = strlen(CString); std::string::__init(&v36, v16, v17); v18 = cocos2d::CCDictionary::objectForKey(v15, &v36); v19 = (cocos2d::CCNode *)std::string::~string((int)&v36); if ( v18 ) return 0; v31 = *((_DWORD *)a1 + 187); v20 = (cocos2d::CCObject *)cocos2d::CCNode::create(v19); v36 = 0; v37 = 0; v38 = 0; v21 = v20; v22 = strlen(v16); std::string::__init(&v36, v16, v22); cocos2d::CCDictionary::setObject(v31, v21); std::string::~string((int)&v36); GameLevelManager::getBasePostString((GameLevelManager *)v33); if ( (*a3 & 1) != 0 ) v23 = *((unsigned __int8 **)a3 + 2); else v23 = a3 + 1; v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v25 = cocos2d::CCString::getCString(v24); v26 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&threadID=%i&action=%s&messageID=%lli&secret=%s", a2, v23, a6, a5, a6, v25); v27 = (char *)cocos2d::CCString::getCString(v26); std::string::append(v33, v27); memset(v34, 0, sizeof(v34)); std::string::__init(v34, "https://www.boomlings.com/database/adminThreadAction.php", 0x38u); v35[0] = 0; v35[1] = 0; if ( ((int)v33[0] & 1) == 0 ) v28 = (char *)v33 + 1; v35[2] = 0; if ( ((int)v33[0] & 1) != 0 ) v28 = v33[2]; v32 = v28; v29 = strlen(v28); std::string::__init(v35, v32, v29); v36 = 0; v37 = 0; v38 = 0; v30 = strlen(v16); std::string::__init(&v36, v16, v30); GameLevelManager::ProcessHttpRequest(a1, v34, (int)v35, (int)&v36, 100); std::string::~string((int)&v36); std::string::~string((int)v35); std::string::~string((int)v34); std::string::~string((int)v33); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source