// // sub_1000C7F84 from 0x1000c7f84 to 0x1000c8128 (420 bytes) // // 1 xrefs: // > sub_10013A95C @ 0x10013a994 // // 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_1000C7F84(__int64 a1, int a2) { __int64 v4; // x0 char *CString; // x21 _BOOL4 v6; // w19 __int64 v7; // x0 __int64 v8; // x0 const char *v9; // x23 std::string *v10; // x8 __int64 v11; // x0 const std::string::value_type *v12; // x0 std::string *v13; // x1 void *__p[2]; // [xsp+38h] [xbp-A8h] BYREF char v16; // [xsp+4Fh] [xbp-91h] void *v17[2]; // [xsp+50h] [xbp-90h] BYREF char v18; // [xsp+67h] [xbp-79h] std::string v19; // [xsp+68h] [xbp-78h] BYREF std::string v20; // [xsp+80h] [xbp-60h] BYREF std::string v21; // [xsp+98h] [xbp-48h] BYREF v4 = sub_1003065B0("notifReward_%i", a2); CString = (char *)cocos2d::CCString::getCString(v4); v6 = sub_1000ADBAC(a1, CString); if ( !v6 ) { sub_1000ADC1C(a1, CString); GameLevelManager::getBasePostString(v7, &v21); v8 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v9 = (const char *)cocos2d::CCString::getCString(v8); sub_1000B99D0((__int64)v9, &v20); if ( (v20.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v10 = &v20; else v10 = (std::string *)v20.__r_.__value_.__r.__words[0]; v11 = sub_1003065B0("¬ificationID=%i&secret=%s&chk=%s", a2, v9, (const char *)v10); v12 = (const std::string::value_type *)cocos2d::CCString::getCString(v11); std::string::append(&v21, v12); if ( SHIBYTE(v20.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v20.__r_.__value_.__l.__data_); sub_100009900(&v19, "https://www.boomlings.com/database/claimGJNotificationReward.php"); if ( (v21.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v13 = &v21; else v13 = (std::string *)v21.__r_.__value_.__r.__words[0]; sub_100009900(v17, (char *)v13); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest(a1, &v19, (char *)v17, (const std::string::value_type *)__p, 110); if ( v16 < 0 ) operator delete(__p[0]); if ( v18 < 0 ) operator delete(v17[0]); if ( SHIBYTE(v19.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v19.__r_.__value_.__l.__data_); if ( SHIBYTE(v21.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v21.__r_.__value_.__l.__data_); } return !v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source