// // GameLevelManager::getUserMessages from 0x4b73f4 to 0x4b753a (326 bytes) // // 1 xrefs: // > MessagesProfilePage::loadPage @ 0x5f040a // // 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::getUserMessages(GameLevelManager *this, const char *a2, const char *a3, int a4) { const char *v4; // r11 const char *MessagesKey; // r10 int result; // r0 int v11; // r2 int v12; // r3 cocos2d::CCString *v13; // r0 int CString; // r0 cocos2d::CCString *v15; // r0 char *v16; // r0 size_t v17; // r0 size_t v18; // r0 char *v19[3]; // [sp+14h] [bp-38h] BYREF int v20[3]; // [sp+20h] [bp-2Ch] BYREF int v21[3]; // [sp+2Ch] [bp-20h] BYREF int v22[3]; // [sp+38h] [bp-14h] BYREF MessagesKey = (const char *)GameLevelManager::getMessagesKey(this, a2, (int)a3); result = GameLevelManager::isDLActive(this, MessagesKey); if ( !result ) { GameLevelManager::addDLToActive(this, MessagesKey, v11, v12); GameLevelManager::getBasePostString((GameLevelManager *)v19); v13 = (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(v13); v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&page=%i&total=%i&secret=%s", a3, a4, CString); v16 = (char *)cocos2d::CCString::getCString(v15); std::string::append(v19, v16); if ( a2 ) std::string::append(v19, "&getSent=1"); memset(v20, 0, sizeof(v20)); std::string::__init(v20, "https://www.boomlings.com/database/getGJMessages20.php", 0x36u); v21[0] = 0; v21[1] = 0; if ( ((int)v19[0] & 1) == 0 ) v4 = (char *)v19 + 1; v21[2] = 0; if ( ((int)v19[0] & 1) != 0 ) v4 = v19[2]; v17 = strlen(v4); std::string::__init(v21, v4, v17); memset(v22, 0, sizeof(v22)); v18 = strlen(MessagesKey); std::string::__init(v22, MessagesKey, v18); GameLevelManager::ProcessHttpRequest(this, v20, (int)v21, (int)v22, 43); std::string::~string((int)v22); std::string::~string((int)v21); std::string::~string((int)v20); return std::string::~string((int)v19); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source