// // GameLevelManager::requestUserAccess from 0x82b57c to 0x82b85c (736 bytes) // // 2 xrefs: // > SupportLayer::onRequestAccess @ 0x901ca4 // > @ 0x676c0 // // 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:06 +0000 // __int64 __fastcall GameLevelManager::requestUserAccess(GameLevelManager *this) { __int64 v2; // x0 __int64 v3; // x23 __int64 result; // x0 __int64 v5; // x24 cocos2d::CCObject *v6; // x23 cocos2d::CCString *v7; // x0 const char *CString; // x0 cocos2d::CCString *v9; // x0 size_t v10; // x0 const char *v11; // x1 size_t v12; // x0 char *v13; // [xsp+48h] [xbp+48h] char *v14; // [xsp+48h] [xbp+48h] __int64 v15[2]; // [xsp+58h] [xbp+58h] BYREF void *v16; // [xsp+68h] [xbp+68h] __int64 v17[2]; // [xsp+70h] [xbp+70h] BYREF void *v18; // [xsp+80h] [xbp+80h] __int64 v19[2]; // [xsp+88h] [xbp+88h] BYREF void *v20; // [xsp+98h] [xbp+98h] __int64 v21; // [xsp+A0h] [xbp+A0h] BYREF __int64 v22; // [xsp+A8h] [xbp+A8h] void *v23; // [xsp+B0h] [xbp+B0h] v22 = 0; v2 = *((_QWORD *)this + 136); v23 = nullptr; LOBYTE(v21) = 12; *(_DWORD *)((char *)&v21 + 1) = *(_DWORD *)"req_ua"; *(_WORD *)((char *)&v21 + 5) = *(_WORD *)"ua"; HIBYTE(v21) = 0; v3 = cocos2d::CCDictionary::objectForKey(v2, &v21); if ( (v21 & 1) != 0 ) { operator delete(v23); result = 0; if ( v3 ) return result; } else { result = 0; if ( v3 ) return result; } v5 = *((_QWORD *)this + 136); v6 = (cocos2d::CCObject *)cocos2d::CCNode::create(nullptr); v21 = 0; v22 = 0; v23 = nullptr; std::string::__init(&v21, "req_ua", 6u); cocos2d::CCDictionary::setObject(v5, v6); if ( (v21 & 1) != 0 ) operator delete(v23); GameLevelManager::getBasePostString(v15); 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 = (const char *)cocos2d::CCString::getCString(v7); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&secret=%s", CString); v13 = (char *)cocos2d::CCString::getCString(v9); v10 = strlen(v13); std::string::append((__int64)v15, v13, v10); v17[0] = 0; v17[1] = 0; v18 = nullptr; std::string::__init(v17, "https://www.boomlings.com/database/requestUserAccess.php", 0x38u); v11 = (char *)v15 + 1; if ( (v15[0] & 1) != 0 ) v11 = (const char *)v16; v14 = (char *)v11; v19[0] = 0; v19[1] = 0; v20 = nullptr; v12 = strlen(v11); std::string::__init(v19, v14, v12); v21 = 0; v22 = 0; v23 = nullptr; std::string::__init(&v21, "req_ua", 6u); GameLevelManager::ProcessHttpRequest(this, v17, (__int64)v19, (char *)&v21, 49); if ( (v21 & 1) != 0 ) operator delete(v23); if ( (v19[0] & 1) != 0 ) operator delete(v20); if ( (v17[0] & 1) != 0 ) operator delete(v18); if ( (v15[0] & 1) != 0 ) operator delete(v16); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source