//
// sub_1000C3434 from 0x1000c3434 to 0x1000c3624 (496 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::requestPage @ 0x1005450bc
//
// 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:48 +0000
//
__int64 __fastcall sub_1000C3434(__int64 a1, int a2, int a3, int a4, int a5)
{
__int64 result; // x0
__int64 v11; // x0
char *CString; // x20
__int64 v13; // x25
__int64 v14; // x0
__int64 v15; // x25
__int64 v16; // x25
__int64 v17; // x26
__int64 v18; // x0
__int64 v19; // x0
const char *v20; // x0
__int64 v21; // x0
const std::string::value_type *v22; // x0
std::string *v23; // x1
void *__p[2]; // [xsp+30h] [xbp-A0h] BYREF
char v25; // [xsp+47h] [xbp-89h]
void *v26[2]; // [xsp+48h] [xbp-88h] BYREF
char v27; // [xsp+5Fh] [xbp-71h]
std::string v28; // [xsp+60h] [xbp-70h] BYREF
std::string v29; // [xsp+78h] [xbp-58h] BYREF
result = 0;
if ( a2 >= 1 && (a3 & 0x80000000) == 0 )
{
v11 = sub_1003065B0("adminReported_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v11);
v13 = *(_QWORD *)(a1 + 1088);
sub_100009900(&v29, CString);
v14 = cocos2d::CCDictionary::objectForKey(v13, &v29);
v15 = v14;
if ( SHIBYTE(v29.__r_.__value_.__r.__words[2]) < 0 )
{
operator delete(v29.__r_.__value_.__l.__data_);
if ( v15 )
return 0;
}
else if ( v14 )
{
return 0;
}
v16 = *(_QWORD *)(a1 + 1088);
v17 = cocos2d::CCNode::create(v14);
sub_100009900(&v29, CString);
v18 = cocos2d::CCDictionary::setObject(v16, v17, &v29);
if ( SHIBYTE(v29.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v29.__r_.__value_.__l.__data_);
GameLevelManager::getBasePostString(v18, &v29);
v19 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7");
v20 = (const char *)cocos2d::CCString::getCString(v19);
v21 = sub_1003065B0("&targetAccountID=%i&page=%i&sort=%i&ctype=%i&secret=%s", a2, a3, a4, a5, v20);
v22 = (const std::string::value_type *)cocos2d::CCString::getCString(v21);
std::string::append(&v29, v22);
sub_100009900(&v28, "https://www.boomlings.com/database/adminGetReportedContent.php");
if ( (v29.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v23 = &v29;
else
v23 = (std::string *)v29.__r_.__value_.__r.__words[0];
sub_100009900(v26, (char *)v23);
sub_100009900(__p, CString);
GameLevelManager::ProcessHttpRequest(a1, &v28, (char *)v26, (const std::string::value_type *)__p, 85);
if ( v25 < 0 )
operator delete(__p[0]);
if ( v27 < 0 )
operator delete(v26[0]);
if ( SHIBYTE(v28.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v28.__r_.__value_.__l.__data_);
if ( SHIBYTE(v29.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v29.__r_.__value_.__l.__data_);
return 1;
}
return result;
}