//
// sub_C90E50 from 0xc90e50 to 0xc90f5c (268 bytes)
//
// 4 xrefs:
// > AccountBanPopup::onCommentBan @ 0xc931c4
// > AccountBanPopup::onLevelUploadBan @ 0xc93348
// > AccountBanPopup::onMessageBan @ 0xc934cc
// > AccountBanPopup::onFreeze @ 0xc95eb0
//
// 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 13:05:47 +0000
//
__int64 __fastcall sub_C90E50(__int64 a1, int a2, char *a3, __int64 a4)
{
__int64 v4; // x21
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
__int64 v7; // [xsp+38h] [xbp+38h]
void *v8; // [xsp+40h] [xbp+40h]
v6 = 0;
v7 = 0;
v8 = nullptr;
v4 = AdminActionConfirmPopup::create(a1, a2, "Confirm Ban", a3, (ButtonSprite *)"Ban", a4, (__int64)&v6, 1);
if ( (v6 & 1) != 0 )
operator delete(v8);
v6 = 0;
v7 = 0;
v8 = nullptr;
std::string::__init(
&v6,
"When the player next tries to comment, upload or message, a popup tells them they are banned, for how long, and the "
"reason typed here. With no reason, the ticked categories are shown instead.\n"
"\n"
"The player reads it word for word.",
0xE3u);
AdminActionConfirmPopup::addHelp(v4, "Ban Reason", (char *)&v6);
if ( (v6 & 1) != 0 )
operator delete(v8);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
return _stack_chk_guard;
}