// // GameLevelManager::downloadUserMessage from 0x822d20 to 0x822f8c (620 bytes) // // 2 xrefs: // > GJMessagePopup::init @ 0xa33f20 // > @ 0x6d480 // // 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:02 +0000 // __int64 __fastcall GameLevelManager::downloadUserMessage(GameLevelManager *this, const char *a2, unsigned __int8 a3) { int v4; // w23 unsigned int v5; // w24 char *MessageKey; // x21 cocos2d::CCString *v8; // x0 __int64 CString; // x0 cocos2d::CCString *v10; // x0 size_t v11; // x0 const char *v12; // x1 size_t v13; // x0 size_t v14; // x0 char *v15; // [xsp+48h] [xbp+48h] char *v16; // [xsp+48h] [xbp+48h] __int64 v17[2]; // [xsp+58h] [xbp+58h] BYREF void *v18; // [xsp+68h] [xbp+68h] __int64 v19[2]; // [xsp+70h] [xbp+70h] BYREF void *v20; // [xsp+80h] [xbp+80h] __int64 v21[2]; // [xsp+88h] [xbp+88h] BYREF void *v22; // [xsp+98h] [xbp+98h] __int64 v23[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v24; // [xsp+B0h] [xbp+B0h] v4 = a3; v5 = (unsigned int)a2; MessageKey = (char *)GameLevelManager::getMessageKey(this, a2); if ( !GameLevelManager::isDLActive(this, MessageKey) ) { GameLevelManager::addDLToActive(this, MessageKey); GameLevelManager::getBasePostString(v17); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); CString = cocos2d::CCString::getCString(v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&messageID=%i&secret=%s", (const char *)v5, CString); v15 = (char *)cocos2d::CCString::getCString(v10); v11 = strlen(v15); std::string::append((__int64)v17, v15, v11); if ( v4 ) std::string::append((__int64)v17, "&isSender=1", 0xBu); v19[0] = 0; v19[1] = 0; v20 = nullptr; std::string::__init(v19, "https://www.boomlings.com/database/downloadGJMessage20.php", 0x3Au); v12 = (char *)v17 + 1; if ( (v17[0] & 1) != 0 ) v12 = (const char *)v18; v16 = (char *)v12; v21[0] = 0; v21[1] = 0; v22 = nullptr; v13 = strlen(v12); std::string::__init(v21, v16, v13); v23[0] = 0; v23[1] = 0; v24 = nullptr; v14 = strlen(MessageKey); std::string::__init(v23, MessageKey, v14); GameLevelManager::ProcessHttpRequest(this, v19, (__int64)v21, (char *)v23, 44); if ( (v23[0] & 1) != 0 ) operator delete(v24); if ( (v21[0] & 1) != 0 ) operator delete(v22); if ( (v19[0] & 1) != 0 ) operator delete(v20); if ( (v17[0] & 1) != 0 ) operator delete(v18); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source