// // GameLevelManager::getGJUserInfo from 0x4b729c to 0x4b73d8 (316 bytes) // // 4 xrefs: // > ParentalPrivacyPopup::init @ 0x530168 // > ProfilePage::onUpdate @ 0x5f6704 // > ProfilePage::updateUserScoreFinished @ 0x5f6794 // > ProfilePage::init @ 0x5faf96 // // 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:10 +0000 // int __fastcall GameLevelManager::getGJUserInfo(GameLevelManager *this, const char *a2) { const char *v2; // r11 const char *UserInfoKey; // r10 int result; // r0 int v7; // r2 int v8; // r3 int v9; // r4 cocos2d::CCString *v10; // r0 int CString; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 size_t v14; // r0 size_t v15; // r0 char *v16[3]; // [sp+14h] [bp-38h] BYREF int v17[3]; // [sp+20h] [bp-2Ch] BYREF int v18[3]; // [sp+2Ch] [bp-20h] BYREF int v19[3]; // [sp+38h] [bp-14h] BYREF UserInfoKey = (const char *)GameLevelManager::getUserInfoKey(this, a2); result = GameLevelManager::isDLActive(this, UserInfoKey); if ( !result ) { GameLevelManager::addDLToActive(this, UserInfoKey, v7, v8); GameLevelManager::getBasePostString((GameLevelManager *)v16); v9 = GameLevelManager::notificationMask(this); v10 = (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(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&targetAccountID=%i¬ifMask=%i&secret=%s", a2, v9, CString); v13 = (char *)cocos2d::CCString::getCString(v12); std::string::append(v16, v13); memset(v17, 0, sizeof(v17)); std::string::__init(v17, "https://www.boomlings.com/database/getGJUserInfo20.php", 0x36u); v18[0] = 0; v18[1] = 0; if ( ((int)v16[0] & 1) == 0 ) v2 = (char *)v16 + 1; v18[2] = 0; if ( ((int)v16[0] & 1) != 0 ) v2 = v16[2]; v14 = strlen(v2); std::string::__init(v18, v2, v14); memset(v19, 0, sizeof(v19)); v15 = strlen(UserInfoKey); std::string::__init(v19, UserInfoKey, v15); GameLevelManager::ProcessHttpRequest(this, v17, (int)v18, (int)v19, 33); std::string::~string((int)v19); std::string::~string((int)v18); std::string::~string((int)v17); return std::string::~string((int)v16); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source