// // GameLevelManager::restoreItems from 0x8196ac to 0x819904 (600 bytes) // // 1 xrefs: // > @ 0x51bb0 // // 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:54:57 +0000 // __int64 __fastcall GameLevelManager::restoreItems(GameLevelManager *this) { GameManager *v3; // x0 __int64 v4; // x2 char v5; // w0 __int64 v6; // x0 __int64 v7; // x1 const char *v8; // x21 cocos2d::CCString *v9; // x0 __int64 CString; // x0 cocos2d::CCString *v11; // x0 char *v12; // x21 size_t v13; // x0 __int64 v14; // [xsp+48h] [xbp+48h] BYREF __int64 v15; // [xsp+50h] [xbp+50h] void *v16; // [xsp+58h] [xbp+58h] __int64 v17[2]; // [xsp+60h] [xbp+60h] BYREF void *v18; // [xsp+70h] [xbp+70h] __int64 v19[2]; // [xsp+78h] [xbp+78h] BYREF void *v20; // [xsp+88h] [xbp+88h] __int64 v21[2]; // [xsp+90h] [xbp+90h] BYREF void *v22; // [xsp+A0h] [xbp+A0h] if ( !GameLevelManager::isDLActive(this, "restoreKey") ) { v3 = (GameManager *)GameLevelManager::addDLToActive(this, "restoreKey"); v4 = GameManager::sharedState(v3) + 608; v5 = *(_BYTE *)v4; v14 = 0; v15 = 0; v16 = nullptr; if ( (v5 & 1) != 0 ) { std::string::__init(&v14, *(void **)(v4 + 16), *(_QWORD *)(v4 + 8)); } else { v6 = *(_QWORD *)v4; v7 = *(_QWORD *)(v4 + 8); v16 = *(void **)(v4 + 16); v14 = v6; v15 = v7; } v8 = (char *)&v14 + 1; if ( (v14 & 1) != 0 ) v8 = (const char *)v16; v9 = (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(v9); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"udid=%s&secret=%s", v8, CString); v12 = (char *)cocos2d::CCString::getCString(v11); v17[0] = 0; v17[1] = 0; v18 = nullptr; std::string::__init(v17, "https://www.boomlings.com/database/restoreGJItems.php", 0x35u); v19[0] = 0; v19[1] = 0; v20 = nullptr; v13 = strlen(v12); std::string::__init(v19, v12, v13); v21[0] = 0; v21[1] = 0; v22 = nullptr; std::string::__init(v21, "restoreKey", 0xAu); GameLevelManager::ProcessHttpRequest(this, v17, (__int64)v19, (char *)v21, 17); if ( (v21[0] & 1) != 0 ) operator delete(v22); if ( (v19[0] & 1) != 0 ) operator delete(v20); if ( (v17[0] & 1) != 0 ) operator delete(v18); if ( (v14 & 1) != 0 ) operator delete(v16); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source