// // sub_10056FA30 from 0x10056fa30 to 0x10056fe72 (1090 bytes) // // 1 xrefs: // > AccountReviewPopup::requestPage @ 0x10099bb88 // // 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:14 +0000 // char __fastcall sub_10056FA30(__int64 a1, int a2, int a3, int a4, int a5) { __int64 v7; // r13 __int64 v8; // rax char *CString; // rbx size_t v10; // rax std::string::size_type v11; // r12 char *data; // r14 size_t v13; // r13 __int64 v14; // r14 __int64 v16; // r12 char *v17; // r14 size_t v18; // rax std::string::size_type v19; // r15 char *v20; // r14 size_t v21; // r12 __int64 v22; // rax __int64 v23; // rax const std::string::value_type *v24; // rax const char *v25; // rbx size_t v26; // rax size_t v27; // r15 char *v28; // r12 size_t v29; // r14 size_t v30; // rax size_t v31; // rbx char *v32; // r15 size_t v33; // r14 char v34; // [rsp+0h] [rbp-B0h] char v35; // [rsp+0h] [rbp-B0h] __int64 v36; // [rsp+8h] [rbp-A8h] std::string v37; // [rsp+10h] [rbp-A0h] BYREF _QWORD v38[2]; // [rsp+28h] [rbp-88h] BYREF void *v39; // [rsp+38h] [rbp-78h] __int128 v40; // [rsp+40h] [rbp-70h] BYREF void *v41; // [rsp+50h] [rbp-60h] int v42; // [rsp+58h] [rbp-58h] int v43; // [rsp+5Ch] [rbp-54h] int v44; // [rsp+60h] [rbp-50h] int v45; // [rsp+64h] [rbp-4Ch] char *__s; // [rsp+68h] [rbp-48h] std::string __dst[2]; // [rsp+70h] [rbp-40h] BYREF if ( a2 <= 0 || a3 < 0 ) return 0; v7 = a1; v42 = a3; v43 = a2; v8 = sub_10088E820("adminReported_%i", v34); CString = (char *)cocos2d::CCString::getCString(v8); __s = *(char **)(a1 + 1088); v10 = strlen(CString); if ( v10 >= 0xFFFFFFFFFFFFFFF8LL ) LABEL_53: sub_100003630(); v11 = v10; v44 = a5; v45 = a4; if ( v10 >= 0x17 ) { v13 = 26; if ( (v10 | 7) != 0x17 ) v13 = (v10 | 7) + 1; data = (char *)operator new(v13); __dst[0].__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst[0].__r_.__value_.__r.__words[0] = v13 + 1; v7 = a1; __dst[0].__r_.__value_.__l.__size_ = v11; goto LABEL_9; } __dst[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v10); data = __dst[0].__r_.__value_.__s.__data_; if ( v10 ) LABEL_9: memmove(data, CString, v11); data[v11] = 0; v14 = cocos2d::CCDictionary::objectForKey((__int64)__s, (char *)__dst); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst[0].__r_.__value_.__l.__data_); if ( v14 ) return 0; v16 = *(_QWORD *)(v7 + 1088); v17 = (char *)cocos2d::CCNode::create(); v18 = strlen(CString); if ( v18 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_53; v19 = v18; __s = v17; if ( v18 >= 0x17 ) { v36 = v16; v21 = 26; if ( (v18 | 7) != 0x17 ) v21 = (v18 | 7) + 1; v20 = (char *)operator new(v21); __dst[0].__r_.__value_.__r.__words[2] = (std::string::size_type)v20; __dst[0].__r_.__value_.__r.__words[0] = v21 + 1; v16 = v36; __dst[0].__r_.__value_.__l.__size_ = v19; goto LABEL_21; } __dst[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v18); v20 = __dst[0].__r_.__value_.__s.__data_; if ( v18 ) LABEL_21: memmove(v20, CString, v19); v20[v19] = 0; cocos2d::CCDictionary::setObject(v16, (__int64)__s, (char *)__dst); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst[0].__r_.__value_.__l.__data_); GameLevelManager::getBasePostString(__dst); v22 = sub_10088E820("%c%s%s%c%c%s", (char)"7"); cocos2d::CCString::getCString(v22); v23 = sub_10088E820("&targetAccountID=%i&page=%i&sort=%i&ctype=%i&secret=%s", v35); v24 = (const std::string::value_type *)cocos2d::CCString::getCString(v23); std::string::append(__dst, v24); __s = CString; v37.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x40u); v37.__r_.__value_.__r.__words[0] = 65; v37.__r_.__value_.__l.__size_ = 62; strcpy(v37.__r_.__value_.__l.__data_, "https://www.boomlings.com/database/adminGetReportedContent.php"); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) v25 = __dst[0].__r_.__value_.__l.__data_; else v25 = __dst[0].__r_.__value_.__s.__data_; v26 = strlen(v25); if ( v26 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v27 = v26; if ( v26 >= 0x17 ) { v29 = 26; if ( (v26 | 7) != 0x17 ) v29 = (v26 | 7) + 1; v28 = (char *)operator new(v29); v39 = v28; v38[0] = v29 | 1; v38[1] = v27; goto LABEL_34; } LOBYTE(v38[0]) = 2 * v26; v28 = (char *)v38 + 1; if ( v26 ) LABEL_34: memmove(v28, v25, v27); v28[v27] = 0; v30 = strlen(__s); if ( v30 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v31 = v30; if ( v30 >= 0x17 ) { v33 = 26; if ( (v30 | 7) != 0x17 ) v33 = (v30 | 7) + 1; v32 = (char *)operator new(v33); v41 = v32; *(_QWORD *)&v40 = v33 | 1; *((_QWORD *)&v40 + 1) = v31; goto LABEL_42; } LOBYTE(v40) = 2 * v30; v32 = (char *)&v40 + 1; if ( v30 ) LABEL_42: memmove(v32, __s, v31); v32[v31] = 0; GameLevelManager::ProcessHttpRequest(v7, &v37, (__int64)v38, &v40, 0x55u); if ( (v40 & 1) != 0 ) { operator delete(v41); if ( (v38[0] & 1) == 0 ) { LABEL_45: if ( (*(_BYTE *)&v37.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_46; LABEL_51: operator delete(v37.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) == 0 ) return 1; goto LABEL_47; } } else if ( (v38[0] & 1) == 0 ) { goto LABEL_45; } operator delete(v39); if ( (*(_BYTE *)&v37.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_51; LABEL_46: if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) LABEL_47: operator delete(__dst[0].__r_.__value_.__l.__data_); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source