// // sub_1000C3770 from 0x1000c3770 to 0x1000c396c (508 bytes) // // 1 xrefs: // > sub_10054A744 @ 0x10054a880 // // 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:48 +0000 // __int64 __fastcall sub_1000C3770(__int64 a1, int a2, const char *a3) { const char *v3; // x22 __int64 v4; // x8 __int64 v7; // x0 char *CString; // x20 __int64 v9; // x23 __int64 v10; // x0 __int64 v11; // x23 __int64 v13; // x23 __int64 v14; // x24 __int64 v15; // x0 __int64 v16; // x0 const char *v17; // x0 __int64 v18; // x0 const std::string::value_type *v19; // x0 std::string *v20; // x1 void *__p[2]; // [xsp+30h] [xbp-90h] BYREF char v22; // [xsp+47h] [xbp-79h] void *v23[2]; // [xsp+48h] [xbp-78h] BYREF char v24; // [xsp+5Fh] [xbp-61h] std::string v25; // [xsp+60h] [xbp-60h] BYREF std::string v26; // [xsp+78h] [xbp-48h] BYREF if ( a2 < 1 ) return 0; v3 = a3; v4 = *((unsigned __int8 *)a3 + 23); if ( (v4 & 0x80u) != 0LL ) v4 = *((_QWORD *)a3 + 1); if ( !v4 ) return 0; v7 = sub_1003065B0("adminClearRep_%i", a2); CString = (char *)cocos2d::CCString::getCString(v7); v9 = *(_QWORD *)(a1 + 1088); sub_100009900(&v26, CString); v10 = cocos2d::CCDictionary::objectForKey(v9, &v26); v11 = v10; if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(v26.__r_.__value_.__l.__data_); if ( v11 ) return 0; } else if ( v10 ) { return 0; } v13 = *(_QWORD *)(a1 + 1088); v14 = cocos2d::CCNode::create(v10); sub_100009900(&v26, CString); v15 = cocos2d::CCDictionary::setObject(v13, v14, &v26); if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v26.__r_.__value_.__l.__data_); GameLevelManager::getBasePostString(v15, &v26); if ( v3[23] < 0 ) v3 = *(const char **)v3; v16 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v17 = (const char *)cocos2d::CCString::getCString(v16); v18 = sub_1003065B0("&targetAccountID=%i&items=%s&secret=%s", a2, v3, v17); v19 = (const std::string::value_type *)cocos2d::CCString::getCString(v18); std::string::append(&v26, v19); sub_100009900(&v25, "https://www.boomlings.com/database/adminClearReportedContent.php"); if ( (v26.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v20 = &v26; else v20 = (std::string *)v26.__r_.__value_.__r.__words[0]; sub_100009900(v23, (char *)v20); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest(a1, &v25, (char *)v23, (const std::string::value_type *)__p, 86); if ( v22 < 0 ) operator delete(__p[0]); if ( v24 < 0 ) operator delete(v23[0]); if ( SHIBYTE(v25.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v25.__r_.__value_.__l.__data_); if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v26.__r_.__value_.__l.__data_); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source