// // GameLevelManager::sendAdminAction from 0x4be41c to 0x4be608 (492 bytes) // // 16 xrefs: // > GameLevelManager::adminDeleteUserComments @ 0x4be68e // > GameLevelManager::adminCommentBan @ 0x4be74a // > GameLevelManager::adminUploadBan @ 0x4be80e // > GameLevelManager::adminMessageBan @ 0x4be8d2 // > GameLevelManager::adminFreezeAccount @ 0x4be996 // > GameLevelManager::adminTrendingBan @ 0x4bea2a // > GameLevelManager::adminNameLock @ 0x4beab6 // > GameLevelManager::adminCommentUnban @ 0x4beb48 // > GameLevelManager::adminUploadUnban @ 0x4bebe8 // > GameLevelManager::adminCloseCase @ 0x4beca2 // > GameLevelManager::adminMessageUnban @ 0x4bed44 // > GameLevelManager::adminUnfreezeAccount @ 0x4bede4 // > GameLevelManager::adminTrendingUnban @ 0x4bee84 // > GameLevelManager::adminNameUnlock @ 0x4bef24 // > GameLevelManager::adminQueueMute @ 0x4befc4 // > GameLevelManager::adminQueueUnmute @ 0x4bf064 // // 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:20 +0000 // int __fastcall GameLevelManager::sendAdminAction( GameManager *a1, char *a2, const char *a3, int a4, char *a5, unsigned __int8 *a6, unsigned __int8 *a7, _DWORD *a8) { const char *v11; // r11 int v13; // r5 size_t v14; // r0 int v15; // r5 cocos2d::CCNode *v16; // r0 cocos2d::CCObject *v17; // r0 cocos2d::CCObject *v18; // r10 size_t v19; // r0 cocos2d::CCString *v20; // r0 char *CString; // r0 int v22; // r2 const void *v23; // r1 size_t v24; // r2 cocos2d::CCString *v25; // r0 const char *v26; // r0 cocos2d::CCString *v27; // r0 char *v28; // r0 size_t v29; // r0 size_t v30; // r0 size_t v31; // r0 int v33; // [sp+1Ch] [bp-40h] char *v34[3]; // [sp+24h] [bp-38h] BYREF int v35[3]; // [sp+30h] [bp-2Ch] BYREF int v36[3]; // [sp+3Ch] [bp-20h] BYREF int v37; // [sp+48h] [bp-14h] BYREF int v38; // [sp+4Ch] [bp-10h] int v39; // [sp+50h] [bp-Ch] v11 = (const char *)a7; if ( (int)a5 <= 0 ) return 0; v13 = *((_DWORD *)a1 + 187); v37 = 0; v38 = 0; v39 = 0; v14 = strlen(a2); std::string::__init(&v37, a2, v14); v15 = cocos2d::CCDictionary::objectForKey(v13, &v37); v16 = (cocos2d::CCNode *)std::string::~string((int)&v37); if ( v15 ) return 0; v33 = *((_DWORD *)a1 + 187); v17 = (cocos2d::CCObject *)cocos2d::CCNode::create(v16); v37 = 0; v38 = 0; v39 = 0; v18 = v17; v19 = strlen(a2); std::string::__init(&v37, a2, v19); cocos2d::CCDictionary::setObject(v33, v18); std::string::~string((int)&v37); GameLevelManager::getBasePostString((GameLevelManager *)v34); v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&targetAccountID=%i", a5); CString = (char *)cocos2d::CCString::getCString(v20); std::string::append(v34, CString); v22 = *a6; if ( (v22 & 1) != 0 ) { v23 = *((const void **)a6 + 2); v24 = *((_DWORD *)a6 + 1); } else { v23 = a6 + 1; v24 = v22 >> 1; } std::string::append(v34, v23, v24); v25 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v26 = (const char *)cocos2d::CCString::getCString(v25); v27 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&secret=%s", v26); v28 = (char *)cocos2d::CCString::getCString(v27); std::string::append(v34, v28); GameLevelManager::appendModReason((int)a1, v34, a7, a8); memset(v35, 0, sizeof(v35)); v29 = strlen(a3); std::string::__init(v35, a3, v29); v36[0] = 0; v36[1] = 0; if ( ((int)v34[0] & 1) == 0 ) v11 = (char *)v34 + 1; v36[2] = 0; if ( ((int)v34[0] & 1) != 0 ) v11 = v34[2]; v30 = strlen(v11); std::string::__init(v36, v11, v30); v37 = 0; v38 = 0; v39 = 0; v31 = strlen(a2); std::string::__init(&v37, a2, v31); GameLevelManager::ProcessHttpRequest(a1, v35, (int)v36, (int)&v37, a4); std::string::~string((int)&v37); std::string::~string((int)v36); std::string::~string((int)v35); std::string::~string((int)v34); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source