// // GameLevelManager::syncFollowing from 0x8327dc to 0x832b00 (804 bytes) // // 2 xrefs: // > GameLevelManager::syncFollowListIfNeeded @ 0x832ba0 // > @ 0x94df8 // // 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:09 +0000 // __int64 __fastcall GameLevelManager::syncFollowing(cocos2d::CCDictionary **this) { _BOOL4 isDLActive; // w1 __int64 result; // x0 cocos2d::CCDictionary *v4; // x0 cocos2d::CCArray *v5; // x21 unsigned int v6; // w19 const char *v7; // x20 cocos2d::CCString *v8; // x0 __int64 v9; // x0 cocos2d::CCString *v10; // x0 size_t v11; // x0 const char *v12; // x1 size_t v13; // x0 __int64 v14; // x0 cocos2d::CCString *v15; // x0 size_t v16; // x0 char *v17; // [xsp+58h] [xbp+58h] char *v18; // [xsp+58h] [xbp+58h] char *CString; // [xsp+58h] [xbp+58h] __int64 v20; // [xsp+60h] [xbp+60h] BYREF __int64 v21; // [xsp+68h] [xbp+68h] void *v22; // [xsp+70h] [xbp+70h] __int64 v23[2]; // [xsp+78h] [xbp+78h] BYREF void *v24; // [xsp+88h] [xbp+88h] __int64 v25[2]; // [xsp+90h] [xbp+90h] BYREF void *v26; // [xsp+A0h] [xbp+A0h] __int64 v27[2]; // [xsp+A8h] [xbp+A8h] BYREF void *v28; // [xsp+B8h] [xbp+B8h] __int64 v29[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v30; // [xsp+D0h] [xbp+D0h] isDLActive = GameLevelManager::isDLActive((GameLevelManager *)this, "following"); result = 0; if ( !isDLActive ) { GameLevelManager::addDLToActive((GameLevelManager *)this, "following"); v20 = 0; v4 = *(this + 97); v21 = 0; v22 = nullptr; v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v4); v6 = 0; if ( v5 ) { while ( v6 < (unsigned int)cocos2d::CCArray::count(v5) ) { if ( (v20 & 1) != 0 ) v14 = v21; else v14 = (unsigned __int8)v20 >> 1; if ( v14 ) std::string::append((__int64)&v20, &byte_1169BE0); v15 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v5, v6); CString = (char *)cocos2d::CCString::getCString(v15); v16 = strlen(CString); std::string::append((__int64)&v20, CString, v16); ++v6; } } GameLevelManager::getBasePostString(v23); v7 = (char *)&v20 + 1; if ( (v20 & 1) != 0 ) v7 = (const char *)v22; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); v9 = cocos2d::CCString::getCString(v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&follows=%s&ack=1&secret=%s", v7, v9); v17 = (char *)cocos2d::CCString::getCString(v10); v11 = strlen(v17); std::string::append((__int64)v23, v17, v11); v25[0] = 0; v25[1] = 0; v26 = nullptr; std::string::__init(v25, "https://www.boomlings.com/database/syncGJFollowing.php", 0x36u); v12 = (char *)v23 + 1; if ( (v23[0] & 1) != 0 ) v12 = (const char *)v24; v18 = (char *)v12; v27[0] = 0; v27[1] = 0; v28 = nullptr; v13 = strlen(v12); std::string::__init(v27, v18, v13); v29[0] = 0; v29[1] = 0; v30 = nullptr; std::string::__init(v29, "following", 9u); GameLevelManager::ProcessHttpRequest((cocos2d::CCObject *)this, v25, (__int64)v27, (char *)v29, 115); if ( (v29[0] & 1) != 0 ) operator delete(v30); if ( (v27[0] & 1) != 0 ) operator delete(v28); if ( (v25[0] & 1) != 0 ) operator delete(v26); if ( (v23[0] & 1) != 0 ) operator delete(v24); if ( (v20 & 1) != 0 ) operator delete(v22); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source