// // GameLevelManager::restoreItems from 0x4b5114 to 0x4b523c (296 bytes) // // 0 xrefs: // // 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:07 +0000 // int __fastcall GameLevelManager::restoreItems(GameLevelManager *this) { int result; // r0 int v3; // r2 int v4; // r3 GameManager *v5; // r0 int v6; // r0 const char *v7; // r4 cocos2d::CCString *v8; // r0 int CString; // r0 cocos2d::CCString *v10; // r0 const char *v11; // r5 size_t v12; // r0 int v13[3]; // [sp+14h] [bp-38h] BYREF int v14[3]; // [sp+20h] [bp-2Ch] BYREF int v15[3]; // [sp+2Ch] [bp-20h] BYREF int v16[3]; // [sp+38h] [bp-14h] BYREF result = GameLevelManager::isDLActive(this, "restoreKey"); if ( !result ) { v5 = (GameManager *)GameLevelManager::addDLToActive(this, "restoreKey", v3, v4); v6 = GameManager::sharedState(v5); std::string::basic_string(v13, v6 + 436); if ( (v13[0] & 1) != 0 ) v7 = (const char *)v13[2]; else v7 = (char *)v13 + 1; v8 = (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(v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"udid=%s&secret=%s", v7, CString); v11 = (const char *)cocos2d::CCString::getCString(v10); memset(v14, 0, sizeof(v14)); std::string::__init(v14, "https://www.boomlings.com/database/restoreGJItems.php", 0x35u); memset(v15, 0, sizeof(v15)); v12 = strlen(v11); std::string::__init(v15, v11, v12); memset(v16, 0, sizeof(v16)); std::string::__init(v16, "restoreKey", 0xAu); GameLevelManager::ProcessHttpRequest(this, v14, (int)v15, (int)v16, 17); std::string::~string((int)v16); std::string::~string((int)v15); std::string::~string((int)v14); return std::string::~string((int)v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source