// // GameLevelManager::muteUser from 0x4b8fe4 to 0x4b9138 (340 bytes) // // 2 xrefs: // > GJNotificationCell::FLAlert_Clicked @ 0x42485a // > FriendsProfilePage::FLAlert_Clicked @ 0x5f48d2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:13 +0000 // int __fastcall GameLevelManager::muteUser(GameLevelManager *this, const char *a2, int a3) { cocos2d::CCString *v6; // r0 const char *CString; // r10 int v8; // r2 int v9; // r3 cocos2d::CCString *v10; // r0 int v11; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 const char *v14; // r1 size_t v15; // r0 size_t v16; // r0 int v17; // r3 const char *v19; // [sp+14h] [bp-40h] char *v20[3]; // [sp+1Ch] [bp-38h] BYREF int v21[3]; // [sp+28h] [bp-2Ch] BYREF int v22[3]; // [sp+34h] [bp-20h] BYREF int v23[3]; // [sp+40h] [bp-14h] BYREF v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"mute_%i", a2); CString = (const char *)cocos2d::CCString::getCString(v6); if ( GameLevelManager::isDLActive(this, CString) ) return 0; GameLevelManager::addDLToActive(this, CString, v8, v9); GameLevelManager::getBasePostString((GameLevelManager *)v20); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v11 = cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&targetAccountID=%i&mute=%i&secret=%s", a2, a3, v11); v13 = (char *)cocos2d::CCString::getCString(v12); std::string::append(v20, v13); memset(v21, 0, sizeof(v21)); std::string::__init(v21, "https://www.boomlings.com/database/muteGJUser.php", 0x31u); v22[0] = 0; v22[1] = 0; if ( ((int)v20[0] & 1) == 0 ) v14 = (char *)v20 + 1; v22[2] = 0; if ( ((int)v20[0] & 1) != 0 ) v14 = v20[2]; v19 = v14; v15 = strlen(v14); std::string::__init(v22, v19, v15); memset(v23, 0, sizeof(v23)); v16 = strlen(CString); std::string::__init(v23, CString, v16); if ( a3 ) v17 = 116; else v17 = 117; GameLevelManager::ProcessHttpRequest(this, v21, (int)v22, (int)v23, v17); std::string::~string((int)v23); std::string::~string((int)v22); std::string::~string((int)v21); std::string::~string((int)v20); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source