// // GameLevelManager::getMapPacks from 0x82eba4 to 0x82edf8 (596 bytes) // // 2 xrefs: // > LevelBrowserLayer::loadPage @ 0x7f9354 // > @ 0x76e70 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:55:08 +0000 // __int64 __fastcall GameLevelManager::getMapPacks(GameLevelManager *this, GJSearchObject *a2) { char *Key; // x21 unsigned int v6; // w22 cocos2d::CCString *v7; // x0 __int64 CString; // x0 cocos2d::CCString *v9; // x0 size_t v10; // x0 const char *v11; // x1 size_t v12; // x0 size_t v13; // x0 char *v14; // [xsp+48h] [xbp+48h] char *v15; // [xsp+48h] [xbp+48h] __int64 v16[2]; // [xsp+58h] [xbp+58h] BYREF void *v17; // [xsp+68h] [xbp+68h] __int64 v18[2]; // [xsp+70h] [xbp+70h] BYREF void *v19; // [xsp+80h] [xbp+80h] __int64 v20[2]; // [xsp+88h] [xbp+88h] BYREF void *v21; // [xsp+98h] [xbp+98h] __int64 v22[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v23; // [xsp+B0h] [xbp+B0h] Key = (char *)GJSearchObject::getKey(a2); if ( !GameLevelManager::isDLActive(this, Key) ) { GameLevelManager::addDLToActive(this, Key); GameLevelManager::getBasePostString(v16); v6 = *((_DWORD *)a2 + 98); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); CString = cocos2d::CCString::getCString(v7); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&page=%i&secret=%s", (const char *)v6, CString); v14 = (char *)cocos2d::CCString::getCString(v9); v10 = strlen(v14); std::string::append((__int64)v16, v14, v10); v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, "https://www.boomlings.com/database/getGJMapPacks21.php", 0x36u); v11 = (char *)v16 + 1; if ( (v16[0] & 1) != 0 ) v11 = (const char *)v17; v15 = (char *)v11; v20[0] = 0; v20[1] = 0; v21 = nullptr; v12 = strlen(v11); std::string::__init(v20, v15, v12); v22[0] = 0; v22[1] = 0; v23 = nullptr; v13 = strlen(Key); std::string::__init(v22, Key, v13); GameLevelManager::ProcessHttpRequest(this, v18, (__int64)v20, (char *)v22, 3); if ( (v22[0] & 1) != 0 ) operator delete(v23); if ( (v20[0] & 1) != 0 ) operator delete(v21); if ( (v18[0] & 1) != 0 ) operator delete(v19); if ( (v16[0] & 1) != 0 ) operator delete(v17); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source