// // GameLevelManager::getLevelLists from 0x4c08ec to 0x4c0a88 (412 bytes) // // 4 xrefs: // > LevelBrowserLayer::loadPage @ 0x4a6b48 // > LevelListLayer::onRefreshLevelList @ 0x6d9ac6 // > LevelBadgePopup::init @ 0x7524c6 // > LevelPickerPopup::doPageRequest @ 0x75ac84 // // 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:23 +0000 // int __fastcall GameLevelManager::getLevelLists(GameLevelManager *this, const char **a2) { const char *v2; // r9 const char *Key; // r7 int result; // r0 int v7; // r2 int v8; // r3 const char *v9; // r10 cocos2d::CCString *v10; // r0 int CString; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 char *v14; // r1 size_t v15; // r0 size_t v16; // r0 const char *v17; // [sp+14h] [bp-58h] char *v18[3]; // [sp+1Ch] [bp-50h] BYREF int v19[3]; // [sp+28h] [bp-44h] BYREF char v20; // [sp+34h] [bp-38h] BYREF char v21; // [sp+35h] [bp-37h] BYREF char *v22; // [sp+3Ch] [bp-30h] int v23[3]; // [sp+40h] [bp-2Ch] BYREF int v24[3]; // [sp+4Ch] [bp-20h] BYREF int v25[3]; // [sp+58h] [bp-14h] BYREF Key = (const char *)GJSearchObject::getKey((GJSearchObject *)a2); result = GameLevelManager::isDLActive(this, Key); if ( !result ) { GameLevelManager::addDLToActive(this, Key, v7, v8); GameLevelManager::getBasePostString((GameLevelManager *)v18); std::string::basic_string(v19, (int)(a2 + 67)); v9 = a2[76]; if ( (v19[0] & 1) == 0 ) v2 = (char *)v19 + 1; v17 = a2[66]; if ( (v19[0] & 1) != 0 ) v2 = (const char *)v19[2]; v10 = (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(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&str=%s&type=%i&page=%i&secret=%s", v2, v17, v9, CString); v13 = (char *)cocos2d::CCString::getCString(v12); std::string::append(v18, v13); std::string::~string((int)v19); GameLevelManager::writeSpecialFilters((GameLevelManager *)&v20, this, (int)a2); if ( (v20 & 1) != 0 ) v14 = v22; else v14 = &v21; std::string::append(v18, v14); std::string::~string((int)&v20); memset(v23, 0, sizeof(v23)); std::string::__init(v23, "https://www.boomlings.com/database/getGJLevelLists.php", 0x36u); v24[0] = 0; v24[1] = 0; if ( ((int)v18[0] & 1) == 0 ) v9 = (char *)v18 + 1; v24[2] = 0; if ( ((int)v18[0] & 1) != 0 ) v9 = v18[2]; v15 = strlen(v9); std::string::__init(v24, v9, v15); memset(v25, 0, sizeof(v25)); v16 = strlen(Key); std::string::__init(v25, Key, v16); GameLevelManager::ProcessHttpRequest(this, v23, (int)v24, (int)v25, 66); std::string::~string((int)v25); std::string::~string((int)v24); std::string::~string((int)v23); return std::string::~string((int)v18); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source