// // sub_1000C9054 from 0x1000c9054 to 0x1000c929c (584 bytes) // // 3 xrefs: // > sub_10024BB7C @ 0x10024bc04 // > sub_1002722F8 @ 0x100272380 // > sub_1005037D4 @ 0x100503878 // // 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 // __int64 __fastcall sub_1000C9054(__int64 a1, __int64 a2) { __int64 v2; // x8 __int64 v5; // x21 __int64 v6; // x0 __int64 v7; // x21 __int64 v9; // x21 __int64 v10; // x22 __int64 v11; // x0 __int64 v12; // x0 const char *CString; // x0 __int64 v14; // x0 const std::string::value_type *v15; // x0 const std::string::value_type *v16; // x1 std::string::size_type v17; // x2 std::string *v18; // x1 void *v19[2]; // [xsp+38h] [xbp-C8h] BYREF char v20; // [xsp+4Fh] [xbp-B1h] void *v21[2]; // [xsp+50h] [xbp-B0h] BYREF char v22; // [xsp+67h] [xbp-99h] std::string v23; // [xsp+68h] [xbp-98h] BYREF void *__p[2]; // [xsp+80h] [xbp-80h] BYREF __int64 v25; // [xsp+90h] [xbp-70h] void *v26[2]; // [xsp+A0h] [xbp-60h] BYREF unsigned __int8 v27; // [xsp+B7h] [xbp-49h] std::string v28; // [xsp+B8h] [xbp-48h] BYREF v2 = *(unsigned __int8 *)(a2 + 23); if ( (v2 & 0x80u) != 0LL ) v2 = *(_QWORD *)(a2 + 8); if ( !v2 ) return 0; v5 = *(_QWORD *)(a1 + 1088); sub_100009900(&v28, "userSearch"); v6 = cocos2d::CCDictionary::objectForKey(v5, &v28); v7 = v6; if ( SHIBYTE(v28.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(v28.__r_.__value_.__l.__data_); if ( v7 ) return 0; } else if ( v6 ) { return 0; } v9 = *(_QWORD *)(a1 + 1088); v10 = cocos2d::CCNode::create(v6); sub_100009900(&v28, "userSearch"); v11 = cocos2d::CCDictionary::setObject(v9, v10, &v28); if ( SHIBYTE(v28.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v28.__r_.__value_.__l.__data_); GameLevelManager::getBasePostString(v11, &v28); v12 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); CString = (const char *)cocos2d::CCString::getCString(v12); v14 = sub_1003065B0("&secret=%s&str=", CString); v15 = (const std::string::value_type *)cocos2d::CCString::getCString(v14); std::string::append(&v28, v15); if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v25 = *(_QWORD *)(a2 + 16); } LevelTools::base64EncodeString(v26, __p); if ( (v27 & 0x80u) == 0 ) v16 = (const std::string::value_type *)v26; else v16 = (const std::string::value_type *)v26[0]; if ( (v27 & 0x80u) == 0 ) v17 = v27; else v17 = (std::string::size_type)v26[1]; std::string::append(&v28, v16, v17); if ( (char)v27 < 0 ) operator delete(v26[0]); if ( SHIBYTE(v25) < 0 ) operator delete(__p[0]); sub_100009900(&v23, "https://www.boomlings.com/database/getGJUserSearch.php"); if ( (v28.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v18 = &v28; else v18 = (std::string *)v28.__r_.__value_.__r.__words[0]; sub_100009900(v21, (char *)v18); sub_100009900(v19, "userSearch"); GameLevelManager::ProcessHttpRequest(a1, &v23, (char *)v21, (const std::string::value_type *)v19, 96); if ( v20 < 0 ) operator delete(v19[0]); if ( v22 < 0 ) operator delete(v21[0]); if ( SHIBYTE(v23.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v23.__r_.__value_.__l.__data_); if ( SHIBYTE(v28.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v28.__r_.__value_.__l.__data_); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source