// // GameLevelManager::requestUserAccess from 0x4baa3c to 0x4babac (368 bytes) // // 1 xrefs: // > SupportLayer::onRequestAccess @ 0x53995a // // 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:15 +0000 // int __fastcall GameLevelManager::requestUserAccess(GameLevelManager *this) { const char *v1; // r11 int v2; // r5 int v4; // r5 cocos2d::CCNode *v5; // r0 int v6; // r8 cocos2d::CCObject *v7; // r0 cocos2d::CCObject *v8; // r7 cocos2d::CCString *v9; // r0 const char *CString; // r0 cocos2d::CCString *v11; // r0 char *v12; // r0 size_t v13; // r0 char *v15[3]; // [sp+14h] [bp-38h] BYREF int v16[3]; // [sp+20h] [bp-2Ch] BYREF int v17[3]; // [sp+2Ch] [bp-20h] BYREF int v18; // [sp+38h] [bp-14h] BYREF int v19; // [sp+3Ch] [bp-10h] int v20; // [sp+40h] [bp-Ch] v2 = *((_DWORD *)this + 187); v18 = 0; v19 = 0; v20 = 0; std::string::__init(&v18, "req_ua", 6u); v4 = cocos2d::CCDictionary::objectForKey(v2, &v18); v5 = (cocos2d::CCNode *)std::string::~string((int)&v18); if ( v4 ) return 0; v6 = *((_DWORD *)this + 187); v7 = (cocos2d::CCObject *)cocos2d::CCNode::create(v5); v18 = 0; v19 = 0; v20 = 0; v8 = v7; std::string::__init(&v18, "req_ua", 6u); cocos2d::CCDictionary::setObject(v6, v8); std::string::~string((int)&v18); GameLevelManager::getBasePostString((GameLevelManager *)v15); v9 = (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 = (const char *)cocos2d::CCString::getCString(v9); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&secret=%s", CString); v12 = (char *)cocos2d::CCString::getCString(v11); std::string::append(v15, v12); memset(v16, 0, sizeof(v16)); std::string::__init(v16, "https://www.boomlings.com/database/requestUserAccess.php", 0x38u); v17[0] = 0; v17[1] = 0; if ( ((int)v15[0] & 1) == 0 ) v1 = (char *)v15 + 1; v17[2] = 0; if ( ((int)v15[0] & 1) != 0 ) v1 = v15[2]; v13 = strlen(v1); std::string::__init(v17, v1, v13); v18 = 0; v19 = 0; v20 = 0; std::string::__init(&v18, "req_ua", 6u); GameLevelManager::ProcessHttpRequest(this, v16, (int)v17, (int)&v18, 49); std::string::~string((int)&v18); std::string::~string((int)v17); std::string::~string((int)v16); std::string::~string((int)v15); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source