// // sub_1000C97B0 from 0x1000c97b0 to 0x1000c99f0 (576 bytes) // // 1 xrefs: // > sub_10024C388 @ 0x10024c550 // // 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 10:58:51 +0000 // void __fastcall sub_1000C97B0(__int64 a1, __int64 a2, __int64 a3, int a4, __int64 a5, int a6) { int v9; // w24 char v10; // w23 char *v12; // x20 __int64 v13; // x0 __int64 v14; // x0 const char *CString; // x0 __int64 v16; // x0 const std::string::value_type *v17; // x0 const std::string::value_type *v18; // x1 __int64 v19; // x8 const std::string::value_type *v20; // x1 std::string::size_type v21; // x2 std::string *v22; // x1 void *v23[2]; // [xsp+38h] [xbp-D8h] BYREF char v24; // [xsp+4Fh] [xbp-C1h] void *v25[2]; // [xsp+50h] [xbp-C0h] BYREF char v26; // [xsp+67h] [xbp-A9h] std::string v27; // [xsp+68h] [xbp-A8h] BYREF void *__p[2]; // [xsp+80h] [xbp-90h] BYREF __int64 v29; // [xsp+90h] [xbp-80h] void *v30[2]; // [xsp+A0h] [xbp-70h] BYREF unsigned __int8 v31; // [xsp+B7h] [xbp-59h] std::string v32; // [xsp+B8h] [xbp-58h] BYREF v9 = a3; v10 = a2; v12 = (char *)sub_1000C10B0(a1, a2, a3, a5); if ( !sub_1000ADBAC(a1, v12) ) { sub_1000ADC1C(a1, v12); GameLevelManager::getBasePostString(v13, &v32); v14 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); CString = (const char *)cocos2d::CCString::getCString(v14); v16 = sub_1003065B0("&page=%i&total=%i&secret=%s", v9, a4, CString); v17 = (const std::string::value_type *)cocos2d::CCString::getCString(v16); std::string::append(&v32, v17); if ( (a6 & 1) != 0 || (v10 & 1) != 0 ) { if ( a6 ) v18 = "&getSent=2"; else v18 = "&getSent=1"; std::string::append(&v32, v18); } v19 = *(unsigned __int8 *)(a5 + 23); if ( (v19 & 0x80u) != 0LL ) v19 = *(_QWORD *)(a5 + 8); if ( v19 ) { std::string::append(&v32, "&search="); if ( *(char *)(a5 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a5, *(_QWORD *)(a5 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a5; v29 = *(_QWORD *)(a5 + 16); } LevelTools::base64EncodeString(v30, __p); if ( (v31 & 0x80u) == 0 ) v20 = (const std::string::value_type *)v30; else v20 = (const std::string::value_type *)v30[0]; if ( (v31 & 0x80u) == 0 ) v21 = v31; else v21 = (std::string::size_type)v30[1]; std::string::append(&v32, v20, v21); if ( (char)v31 < 0 ) operator delete(v30[0]); if ( SHIBYTE(v29) < 0 ) operator delete(__p[0]); } sub_100009900(&v27, "https://www.boomlings.com/database/getGJFriendRequests20.php"); if ( (v32.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v22 = &v32; else v22 = (std::string *)v32.__r_.__value_.__r.__words[0]; sub_100009900(v25, (char *)v22); sub_100009900(v23, v12); GameLevelManager::ProcessHttpRequest(a1, &v27, (char *)v25, (const std::string::value_type *)v23, 34); if ( v24 < 0 ) operator delete(v23[0]); if ( v26 < 0 ) operator delete(v25[0]); if ( SHIBYTE(v27.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v27.__r_.__value_.__l.__data_); if ( SHIBYTE(v32.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v32.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source