// // sub_1000CD2E8 from 0x1000cd2e8 to 0x1000cd4f4 (524 bytes) // // 2 xrefs: // > DailyLevelPage::init @ 0x10024f5cc // > sub_1002502A4 @ 0x100250308 // // 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:52 +0000 // bool __fastcall sub_1000CD2E8(__int64 a1, int a2) { const char *v4; // x8 const std::string::value_type *v5; // x1 std::string *v6; // x1 _BOOL4 v7; // w19 std::string *v8; // x1 __int64 v9; // x0 __int64 v10; // x0 const char *CString; // x22 std::string *p_p; // x8 __int64 v13; // x0 const std::string::value_type *v14; // x0 std::string *v15; // x1 std::string __dst; // [xsp+30h] [xbp-C0h] BYREF void *v18[2]; // [xsp+48h] [xbp-A8h] BYREF char v19; // [xsp+5Fh] [xbp-91h] std::string v20; // [xsp+60h] [xbp-90h] BYREF std::string __p; // [xsp+78h] [xbp-78h] BYREF std::string v22; // [xsp+90h] [xbp-60h] BYREF std::string v23; // [xsp+A8h] [xbp-48h] BYREF memset(&v23, 0, sizeof(v23)); v4 = "daily_state"; if ( a2 == 2 ) v4 = "event_state"; if ( a2 == 1 ) v5 = "weekly_state"; else v5 = v4; std::string::assign(&v23, v5); if ( (v23.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v6 = &v23; else v6 = (std::string *)v23.__r_.__value_.__r.__words[0]; v7 = sub_1000ADBAC(a1, (char *)v6); if ( !v7 ) { if ( (v23.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v8 = &v23; else v8 = (std::string *)v23.__r_.__value_.__r.__words[0]; sub_1000ADC1C(a1, (char *)v8); GameLevelManager::getBasePostString(v9, &v22); v10 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); CString = (const char *)cocos2d::CCString::getCString(v10); sub_1000B99D0((__int64)CString, &__p); if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) p_p = &__p; else p_p = (std::string *)__p.__r_.__value_.__r.__words[0]; v13 = sub_1003065B0("&secret=%s&type=%i&chk=%s", CString, a2, (const char *)p_p); v14 = (const std::string::value_type *)cocos2d::CCString::getCString(v13); std::string::append(&v22, v14); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); sub_100009900(&v20, "https://www.boomlings.com/database/getGJDailyLevel.php"); if ( (v22.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v15 = &v22; else v15 = (std::string *)v22.__r_.__value_.__r.__words[0]; sub_100009900(v18, (char *)v15); if ( SHIBYTE(v23.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__dst, v23.__r_.__value_.__l.__data_, v23.__r_.__value_.__l.__size_); else __dst = v23; GameLevelManager::ProcessHttpRequest(a1, &v20, (char *)v18, (const std::string::value_type *)&__dst, 54); if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__dst.__r_.__value_.__l.__data_); 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(v22.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v22.__r_.__value_.__l.__data_); } if ( SHIBYTE(v23.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v23.__r_.__value_.__l.__data_); return !v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source