//
// sub_1000C713C from 0x1000c713c to 0x1000c72bc (384 bytes)
//
// 1 xrefs:
// > sub_10053B684 @ 0x10053b734
//
// 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_1000C713C(__int64 a1, int a2, int a3)
{
__int64 v6; // x0
char *CString; // x21
_BOOL4 v8; // w19
__int64 v9; // x0
__int64 v10; // x0
int v11; // w24
__int64 v12; // x0
const char *v13; // x0
__int64 v14; // x0
const std::string::value_type *v15; // x0
std::string *v16; // x1
void *__p[2]; // [xsp+30h] [xbp-90h] BYREF
char v19; // [xsp+47h] [xbp-79h]
void *v20[2]; // [xsp+48h] [xbp-78h] BYREF
char v21; // [xsp+5Fh] [xbp-61h]
std::string v22; // [xsp+60h] [xbp-60h] BYREF
std::string v23; // [xsp+78h] [xbp-48h] BYREF
v6 = sub_1003065B0("notifications_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v6);
v8 = sub_1000ADBAC(a1, CString);
if ( !v8 )
{
sub_1000ADC1C(a1, CString);
GameLevelManager::getBasePostString(v9, &v23);
v11 = sub_1000BE964(v10);
v12 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7");
v13 = (const char *)cocos2d::CCString::getCString(v12);
v14 = sub_1003065B0("&page=%i&total=%i&mask=%i&secret=%s", a2, a3, v11, v13);
v15 = (const std::string::value_type *)cocos2d::CCString::getCString(v14);
std::string::append(&v23, v15);
sub_100009900(&v22, "https://www.boomlings.com/database/getGJNotifications.php");
if ( (v23.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v16 = &v23;
else
v16 = (std::string *)v23.__r_.__value_.__r.__words[0];
sub_100009900(v20, (char *)v16);
sub_100009900(__p, CString);
GameLevelManager::ProcessHttpRequest(a1, &v22, (char *)v20, (const std::string::value_type *)__p, 109);
if ( v19 < 0 )
operator delete(__p[0]);
if ( v21 < 0 )
operator delete(v20[0]);
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 !v8;
}