// // GameLevelManager::followUserOnline from 0x827678 to 0x82791c (676 bytes) // // 3 xrefs: // > FriendsProfilePage::FLAlert_Clicked @ 0xa516e4 // > ProfilePage::onFollow @ 0xa55570 // > @ 0xb7700 // // 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::followUserOnline(GameLevelManager *this, const char *a2, unsigned __int8 a3) { int v3; // w23 unsigned int v5; // w24 cocos2d::CCString *v6; // x0 char *CString; // x21 _BOOL4 isDLActive; // w1 __int64 result; // x0 cocos2d::CCString *v10; // x0 __int64 v11; // x0 cocos2d::CCString *v12; // x0 size_t v13; // x0 const char *v14; // x1 size_t v15; // x0 const char *v16; // x1 size_t v17; // x0 size_t v18; // x0 int v19; // w4 char *v20; // [xsp+58h] [xbp+58h] char *v21; // [xsp+58h] [xbp+58h] char *v22; // [xsp+58h] [xbp+58h] __int64 v23[2]; // [xsp+68h] [xbp+68h] BYREF void *v24; // [xsp+78h] [xbp+78h] __int64 v25[2]; // [xsp+80h] [xbp+80h] BYREF void *v26; // [xsp+90h] [xbp+90h] __int64 v27[2]; // [xsp+98h] [xbp+98h] BYREF void *v28; // [xsp+A8h] [xbp+A8h] __int64 v29[2]; // [xsp+B0h] [xbp+B0h] BYREF void *v30; // [xsp+C0h] [xbp+C0h] v3 = a3; v5 = (unsigned int)a2; v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"follow_%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); isDLActive = GameLevelManager::isDLActive(this, CString); result = 0; if ( isDLActive ) return result; GameLevelManager::addDLToActive(this, CString); GameLevelManager::getBasePostString(v23); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); v11 = cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&targetAccountID=%i&secret=%s", (const char *)v5, v11); v20 = (char *)cocos2d::CCString::getCString(v12); v13 = strlen(v20); std::string::append((__int64)v23, v20, v13); if ( v3 ) v14 = "https://www.boomlings.com/database/followGJUser.php"; else v14 = "https://www.boomlings.com/database/unfollowGJUser.php"; v21 = (char *)v14; v25[0] = 0; v25[1] = 0; v26 = nullptr; v15 = strlen(v14); std::string::__init(v25, v21, v15); v16 = (char *)v23 + 1; if ( (v23[0] & 1) != 0 ) v16 = (const char *)v24; v22 = (char *)v16; v27[0] = 0; v27[1] = 0; v28 = nullptr; v17 = strlen(v16); std::string::__init(v27, v22, v17); v29[0] = 0; v29[1] = 0; v30 = nullptr; v18 = strlen(CString); std::string::__init(v29, CString, v18); if ( v3 ) v19 = 112; else v19 = 113; GameLevelManager::ProcessHttpRequest(this, v25, (__int64)v27, (char *)v29, v19); if ( (v29[0] & 1) == 0 ) { if ( (v27[0] & 1) == 0 ) goto LABEL_11; LABEL_17: operator delete(v28); if ( (v25[0] & 1) == 0 ) goto LABEL_12; LABEL_18: operator delete(v26); goto LABEL_12; } operator delete(v30); if ( (v27[0] & 1) != 0 ) goto LABEL_17; LABEL_11: if ( (v25[0] & 1) != 0 ) goto LABEL_18; LABEL_12: if ( (v23[0] & 1) != 0 ) operator delete(v24); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source