//
// sub_10053E558 from 0x10053e558 to 0x10053e668 (272 bytes)
//
// 1 xrefs:
// > sub_10053D150 @ 0x10053d5b4
//
// 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 11:07:41 +0000
//
void __fastcall sub_10053E558(__int64 a1)
{
const char *v2; // x8
void *v3; // x0
char *CString; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-58h] BYREF
char v7; // [xsp+1Fh] [xbp-41h]
void *v8[2]; // [xsp+20h] [xbp-40h] BYREF
char v9; // [xsp+37h] [xbp-29h]
void *v10[2]; // [xsp+38h] [xbp-28h] BYREF
char v11; // [xsp+4Fh] [xbp-11h]
v2 = (const char *)(a1 + 1056);
if ( *(char *)(a1 + 1079) < 0 )
v2 = *(const char **)v2;
v3 = sub_1003065B0(
"Ban %s from Trending?\nTheir levels leave the tab now and stay out until allowed again.",
v2);
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
sub_100009900(v10, CString);
sub_10051FEF4((__int64 *)v8);
sub_100009900(__p, "");
v5 = sub_10054BB10(a1 + 1040, 9, "Confirm Ban", v10, "Ban", v8, __p, 1);
if ( v7 < 0 )
operator delete(__p[0]);
if ( v8[0] )
{
v8[1] = v8[0];
operator delete(v8[0]);
}
sub_100009900(
v8,
"The player is not told. The reason and categories only go to the moderator log.\n"
"\n"
"No duration: the ban stays until a moderator allows the account again or RobTop rates one of their levels.");
sub_10054C7E0(v5, "Trending Ban", v8);
if ( v9 < 0 )
operator delete(v8[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
if ( v11 < 0 )
operator delete(v10[0]);
}