// // sub_100575DD0 from 0x100575dd0 to 0x100576092 (706 bytes) // // 3 xrefs: // > GJNotificationCell::FLAlert_Clicked @ 0x100241c87 // > sub_100241C90 @ 0x100241cc1 // > FriendsProfilePage::FLAlert_Clicked @ 0x1007379e8 // // 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 12:32:16 +0000 // bool __fastcall sub_100575DD0(__int64 a1, __int64 a2, char a3) { int v3; // r15d __int64 v4; // rax const char *CString; // r14 bool isDLActive; // al __int64 v7; // rax __int64 v8; // rax const std::string::value_type *v9; // rax const char *data; // r12 size_t v11; // rax size_t v12; // r13 char *v13; // rbx size_t v14; // r15 size_t v15; // rax size_t v16; // r12 char *v17; // rbx int v18; // r13d size_t v19; // r15 char v21; // [rsp+0h] [rbp-A0h] char v22; // [rsp+0h] [rbp-A0h] std::string v23; // [rsp+10h] [rbp-90h] BYREF std::string v24; // [rsp+28h] [rbp-78h] BYREF _QWORD __dst[2]; // [rsp+40h] [rbp-60h] BYREF void *v26; // [rsp+50h] [rbp-50h] __int128 v27; // [rsp+58h] [rbp-48h] BYREF void *__p; // [rsp+68h] [rbp-38h] int v29; // [rsp+70h] [rbp-30h] bool v30; // [rsp+77h] [rbp-29h] LOBYTE(v3) = a3; v4 = sub_10088E820("mute_%i", v21); CString = (const char *)cocos2d::CCString::getCString(v4); isDLActive = GameLevelManager::isDLActive(a1, CString); if ( !isDLActive ) { v30 = 0; GameLevelManager::addDLToActive(a1, CString); GameLevelManager::getBasePostString(&v24); v7 = sub_10088E820("%c%s%s%c%c%s", (char)"7"); cocos2d::CCString::getCString(v7); v3 = (unsigned __int8)v3; v8 = sub_10088E820("&targetAccountID=%i&mute=%i&secret=%s", v22); v9 = (const std::string::value_type *)cocos2d::CCString::getCString(v8); std::string::append(&v24, v9); v23.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v23.__r_.__value_.__r.__words[0] = 57; v23.__r_.__value_.__l.__size_ = 49; strcpy(v23.__r_.__value_.__l.__data_, "https://www.boomlings.com/database/muteGJUser.php"); if ( (*(_BYTE *)&v24.__r_.__value_.__s.0 & 1) != 0 ) data = v24.__r_.__value_.__l.__data_; else data = v24.__r_.__value_.__s.__data_; v11 = strlen(data); if ( v11 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v12 = v11; if ( v11 >= 0x17 ) { v29 = (unsigned __int8)v3; v14 = 26; if ( (v11 | 7) != 0x17 ) v14 = (v11 | 7) + 1; v13 = (char *)operator new(v14); v26 = v13; __dst[0] = v14 | 1; __dst[1] = v12; v3 = v29; } else { LOBYTE(__dst[0]) = 2 * v11; v13 = (char *)__dst + 1; if ( !v11 ) { LABEL_13: v13[v12] = 0; v15 = strlen(CString); if ( v15 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v16 = v15; if ( v15 >= 0x17 ) { v18 = v3; v19 = 26; if ( (v15 | 7) != 0x17 ) v19 = (v15 | 7) + 1; v17 = (char *)operator new(v19); __p = v17; *(_QWORD *)&v27 = v19 | 1; *((_QWORD *)&v27 + 1) = v16; v3 = v18; } else { LOBYTE(v27) = 2 * v15; v17 = (char *)&v27 + 1; if ( !v15 ) { LABEL_21: v17[v16] = 0; GameLevelManager::ProcessHttpRequest(a1, &v23, (__int64)__dst, &v27, v3 ^ 0x75); if ( (v27 & 1) != 0 ) { operator delete(__p); if ( (__dst[0] & 1) == 0 ) { LABEL_23: if ( (*(_BYTE *)&v23.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_24; goto LABEL_30; } } else if ( (__dst[0] & 1) == 0 ) { goto LABEL_23; } operator delete(v26); if ( (*(_BYTE *)&v23.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_24: if ( (*(_BYTE *)&v24.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_26: isDLActive = v30; return !isDLActive; } LABEL_25: operator delete(v24.__r_.__value_.__l.__data_); goto LABEL_26; } LABEL_30: operator delete(v23.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v24.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_26; goto LABEL_25; } } memmove(v17, CString, v16); goto LABEL_21; } } memmove(v13, data, v12); goto LABEL_13; } return !isDLActive; }
GD Web Decomp Icon

GD Web Decomp

Raw Source