// // sub_1000C7AE4 from 0x1000c7ae4 to 0x1000c7cdc (504 bytes) // // 1 xrefs: // > sub_1000C7EEC @ 0x1000c7f60 // // 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:50 +0000 // bool __fastcall sub_1000C7AE4(__int64 a1) { _BOOL4 v2; // w19 __int64 v3; // x0 __int64 v4; // x21 __int64 i; // x22 std::string::size_type size; // x8 __int64 v7; // x0 const std::string::value_type *CString; // x0 std::string *v9; // x21 __int64 v10; // x0 const char *v11; // x0 __int64 v12; // x0 const std::string::value_type *v13; // x0 std::string *v14; // x1 void *__p[2]; // [xsp+38h] [xbp-A8h] BYREF char v17; // [xsp+4Fh] [xbp-91h] void *v18[2]; // [xsp+50h] [xbp-90h] BYREF char v19; // [xsp+67h] [xbp-79h] std::string v20; // [xsp+68h] [xbp-78h] BYREF std::string v21; // [xsp+80h] [xbp-60h] BYREF std::string v22; // [xsp+98h] [xbp-48h] BYREF v2 = sub_1000ADBAC(a1, "following"); if ( !v2 ) { sub_1000ADC1C(a1, "following"); memset(&v22, 0, sizeof(v22)); v3 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 776)); v4 = v3; if ( v3 ) { for ( i = 0; ; i = (unsigned int)(i + 1) ) { v3 = sub_1002E757C(v4); if ( (unsigned int)i >= (unsigned int)v3 ) break; size = HIBYTE(v22.__r_.__value_.__r.__words[2]); if ( (v22.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) size = v22.__r_.__value_.__l.__size_; if ( size ) std::string::append(&v22, ","); v7 = sub_1002E75A0(v4, i); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v7); std::string::append(&v22, CString); } } GameLevelManager::getBasePostString(v3, &v21); if ( (v22.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v9 = &v22; else v9 = (std::string *)v22.__r_.__value_.__r.__words[0]; v10 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v11 = (const char *)cocos2d::CCString::getCString(v10); v12 = sub_1003065B0("&follows=%s&ack=1&secret=%s", (const char *)v9, v11); v13 = (const std::string::value_type *)cocos2d::CCString::getCString(v12); std::string::append(&v21, v13); sub_100009900(&v20, "https://www.boomlings.com/database/syncGJFollowing.php"); if ( (v21.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v14 = &v21; else v14 = (std::string *)v21.__r_.__value_.__r.__words[0]; sub_100009900(v18, (char *)v14); sub_100009900(__p, "following"); GameLevelManager::ProcessHttpRequest(a1, &v20, (char *)v18, (const std::string::value_type *)__p, 115); if ( v17 < 0 ) operator delete(__p[0]); if ( v19 < 0 ) operator delete(v18[0]); if ( SHIBYTE(v20.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v20.__r_.__value_.__l.__data_); if ( SHIBYTE(v21.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v21.__r_.__value_.__l.__data_); if ( SHIBYTE(v22.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v22.__r_.__value_.__l.__data_); } return !v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source