// // GameLevelManager::getNotifications from 0x82716c to 0x8273f4 (648 bytes) // // 2 xrefs: // > NotificationsPage::loadPage @ 0xc5ef58 // > @ 0xe8f00 // // 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:04 +0000 // __int64 __fastcall GameLevelManager::getNotifications(GameLevelManager *this, const char *a2, unsigned int a3) { unsigned int v5; // w24 cocos2d::CCString *v6; // x0 char *CString; // x21 _BOOL4 isDLActive; // w1 __int64 result; // x0 unsigned int v10; // w25 cocos2d::CCString *v11; // x0 __int64 v12; // x0 cocos2d::CCString *v13; // x0 size_t v14; // x0 const char *v15; // x1 size_t v16; // x0 size_t v17; // x0 char *v18; // [xsp+58h] [xbp+58h] char *v19; // [xsp+58h] [xbp+58h] __int64 v20[2]; // [xsp+68h] [xbp+68h] BYREF void *v21; // [xsp+78h] [xbp+78h] __int64 v22[2]; // [xsp+80h] [xbp+80h] BYREF void *v23; // [xsp+90h] [xbp+90h] __int64 v24[2]; // [xsp+98h] [xbp+98h] BYREF void *v25; // [xsp+A8h] [xbp+A8h] __int64 v26[2]; // [xsp+B0h] [xbp+B0h] BYREF void *v27; // [xsp+C0h] [xbp+C0h] v5 = (unsigned int)a2; v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"notifications_%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); isDLActive = GameLevelManager::isDLActive(this, CString); result = 0; if ( !isDLActive ) { GameLevelManager::addDLToActive(this, CString); GameLevelManager::getBasePostString(v20); v10 = GameLevelManager::notificationMask(this); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); v12 = cocos2d::CCString::getCString(v11); v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&page=%i&total=%i&mask=%i&secret=%s", (const char *)v5, a3, v10, v12); v18 = (char *)cocos2d::CCString::getCString(v13); v14 = strlen(v18); std::string::append((__int64)v20, v18, v14); v22[0] = 0; v22[1] = 0; v23 = nullptr; std::string::__init(v22, "https://www.boomlings.com/database/getGJNotifications.php", 0x39u); v15 = (char *)v20 + 1; if ( (v20[0] & 1) != 0 ) v15 = (const char *)v21; v19 = (char *)v15; v24[0] = 0; v24[1] = 0; v25 = nullptr; v16 = strlen(v15); std::string::__init(v24, v19, v16); v26[0] = 0; v26[1] = 0; v27 = nullptr; v17 = strlen(CString); std::string::__init(v26, CString, v17); GameLevelManager::ProcessHttpRequest(this, v22, (__int64)v24, (char *)v26, 109); if ( (v26[0] & 1) != 0 ) operator delete(v27); if ( (v24[0] & 1) != 0 ) operator delete(v25); if ( (v22[0] & 1) != 0 ) operator delete(v23); if ( (v20[0] & 1) != 0 ) operator delete(v21); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source