//
// sub_1000C45A8 from 0x1000c45a8 to 0x1000c469c (244 bytes)
//
// 1 xrefs:
// > sub_10053EED8 @ 0x10053f340
//
// 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_1000C45A8(__int64 a1, int a2, int a3, int a4, __int64 a5, _QWORD *a6)
{
__int64 v12; // x19
__int64 v13; // x0
char *CString; // x25
const char *v15; // x8
__int64 v16; // x0
char *v17; // x0
void *__p[2]; // [xsp+18h] [xbp-58h] BYREF
char v20; // [xsp+2Fh] [xbp-41h]
if ( a4 <= 0 && !a3 )
return 0;
v13 = sub_1003065B0("adminMsgBan_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v13);
v15 = "temp";
if ( a3 )
v15 = "perm";
v16 = sub_1003065B0("&mode=%s&durationMinutes=%i", v15, a4);
v17 = (char *)cocos2d::CCString::getCString(v16);
sub_100009900(__p, v17);
v12 = sub_1000C2948(
a1,
CString,
"https://www.boomlings.com/database/adminMessageBan.php",
99,
a2,
(__int64)__p,
a5,
a6);
if ( v20 < 0 )
operator delete(__p[0]);
return v12;
}