//
// sub_100990C20 from 0x100990c20 to 0x100990ce0 (192 bytes)
//
// 4 xrefs:
// > sub_10098F360 @ 0x10098f434
// > sub_10098F650 @ 0x10098f724
// > sub_10098F940 @ 0x10098fa14
// > sub_10098FC30 @ 0x10098fe10
//
// This function is hookable on this platform (idp: pc, 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 12:39:08 +0000
//
__int64 __fastcall sub_100990C20(int a1, int a2)
{
__int64 v2; // rbx
std::string v4; // [rsp+18h] [rbp-28h] BYREF
*(_WORD *)&v4.__r_.__value_.__l.0 = 0;
v2 = sub_1009A4AD0(a1, a2, (int)"Confirm Ban", &v4, 1);
if ( (*(_BYTE *)&v4.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v4.__r_.__value_.__l.__data_);
v4.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0xE8u);
v4.__r_.__value_.__r.__words[0] = 233;
v4.__r_.__value_.__l.__size_ = 227;
strcpy(
v4.__r_.__value_.__l.__data_,
"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.");
sub_1009A59E0(v2, "Ban Reason", &v4);
if ( (*(_BYTE *)&v4.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v4.__r_.__value_.__l.__data_);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
}