// // GameLevelManager::getUsers from 0x4bba6c to 0x4bbbd4 (360 bytes) // // 1 xrefs: // > LevelBrowserLayer::loadPage @ 0x4a6b10 // // 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:17 +0000 // int __fastcall GameLevelManager::getUsers(GameLevelManager *this, const char **a2) { const char *Key; // r10 int result; // r0 int v6; // r2 int v7; // r3 const char *v8; // r11 const char *v9; // r4 const char *v10; // r8 cocos2d::CCString *v11; // r0 int CString; // r0 cocos2d::CCString *v13; // r0 char *v14; // r0 size_t v15; // r0 size_t v16; // r0 char *v17[3]; // [sp+10h] [bp-44h] BYREF int v18[3]; // [sp+1Ch] [bp-38h] BYREF int v19[3]; // [sp+28h] [bp-2Ch] BYREF int v20[3]; // [sp+34h] [bp-20h] BYREF int v21[3]; // [sp+40h] [bp-14h] BYREF Key = (const char *)GJSearchObject::getKey((GJSearchObject *)a2); result = GameLevelManager::isDLActive(this, Key); if ( !result ) { GameLevelManager::addDLToActive(this, Key, v6, v7); GameLevelManager::getBasePostString((GameLevelManager *)v17); std::string::basic_string(v18, (int)(a2 + 67)); v8 = a2[78]; v9 = a2[76]; if ( (v18[0] & 1) != 0 ) v10 = (const char *)v18[2]; else v10 = (char *)v18 + 1; v11 = (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(v11); v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&str=%s&total=%i&page=%i&secret=%s", v10, v8, v9, CString); v14 = (char *)cocos2d::CCString::getCString(v13); std::string::append(v17, v14); std::string::~string((int)v18); memset(v19, 0, sizeof(v19)); std::string::__init(v19, "https://www.boomlings.com/database/getGJUsers20.php", 0x33u); v20[0] = 0; v20[1] = 0; if ( ((int)v17[0] & 1) == 0 ) v8 = (char *)v17 + 1; v20[2] = 0; if ( ((int)v17[0] & 1) != 0 ) v8 = v17[2]; v15 = strlen(v8); std::string::__init(v20, v8, v15); memset(v21, 0, sizeof(v21)); v16 = strlen(Key); std::string::__init(v21, Key, v16); GameLevelManager::ProcessHttpRequest(this, v19, (int)v20, (int)v21, 47); std::string::~string((int)v21); std::string::~string((int)v20); std::string::~string((int)v19); return std::string::~string((int)v17); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source