// // GameLevelManager::followUserOnline from 0x140250db0 to 0x140250fa2 (498 bytes) // // 3 xrefs: // > FriendsProfilePage::FLAlert_Clicked @ 0x140215f87 // > ProfilePage::onFollow @ 0x140557c18 // > @ 0x14091c484 // // This function is hookable on this platform (idp: pc, 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 11:28:42 +0000 // // Hidden C++ exception states: #wind=3 char __fastcall GameLevelManager::followUserOnline(cocos2d::CCActionManager **a1, int a2, unsigned __int8 a3) { int v3; // esi cocos2d::CCString *v6; // rax char *CString; // rdi __int64 v9; // rcx cocos2d::CCString *v10; // rax const char *v11; // rax cocos2d::CCString *v12; // rax char *v13; // rax size_t v14; // rbx size_t v15; // r8 size_t v16; // r8 _QWORD *v17; // rdx size_t v18; // r8 const char *v19; // rdx int v20; // [rsp+20h] [rbp-89h] int v21; // [rsp+28h] [rbp-81h] __int128 v22; // [rsp+40h] [rbp-69h] BYREF __int64 v23; // [rsp+50h] [rbp-59h] __int64 v24; // [rsp+58h] [rbp-51h] __int128 v25; // [rsp+60h] [rbp-49h] BYREF __int64 v26; // [rsp+70h] [rbp-39h] __int64 v27; // [rsp+78h] [rbp-31h] __int128 v28; // [rsp+80h] [rbp-29h] BYREF __int64 v29; // [rsp+90h] [rbp-19h] __int64 v30; // [rsp+98h] [rbp-11h] __int128 *v31; // [rsp+A0h] [rbp-9h] __int128 *v32; // [rsp+A8h] [rbp-1h] _QWORD Src[4]; // [rsp+B8h] [rbp+Fh] BYREF v3 = a3; v6 = cocos2d::CCString::createWithFormat("follow_%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); if ( GameLevelManager::isDLActive((__int64)a1, CString) ) return 0; GameLevelManager::addDLToActive((__int64)a1, CString); GameLevelManager::getBasePostString(v9, Src); v21 = 98; v20 = 103; v10 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", v20, v21, (const char *)&word_14070D040); v11 = cocos2d::CCString::getCString(v10); v12 = cocos2d::CCString::createWithFormat("&targetAccountID=%i&secret=%s", a2, v11); v13 = (char *)cocos2d::CCString::getCString(v12); v14 = -1; v15 = -1; do ++v15; while ( v13[v15] ); sub_140044D80(Src, v13, v15); v31 = &v22; v32 = &v25; v22 = 0; v23 = 0; v24 = 0; v16 = -1; do ++v16; while ( CString[v16] ); sub_14003D230(&v22, CString, v16); v17 = Src; if ( Src[3] > 0xFu ) v17 = (_QWORD *)Src[0]; v25 = 0; v26 = 0; v27 = 0; v18 = -1; do ++v18; while ( *((_BYTE *)v17 + v18) ); sub_14003D230(&v25, v17, v18); v19 = "https://www.boomlings.com/database/unfollowGJUser.php"; if ( v3 ) v19 = "https://www.boomlings.com/database/followGJUser.php"; v28 = 0; v29 = 0; v30 = 0; do ++v14; while ( v19[v14] ); sub_14003D230(&v28, v19, v14); GameLevelManager::ProcessHttpRequest(a1, (__int64)&v28, (const char *)&v25, (const char *)&v22, (v3 ^ 1) + 112); sub_14003D310((__int64)Src); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source