//
// sub_762E34 from 0x762e34 to 0x762ed2 (158 bytes)
//
// 4 xrefs:
// > AccountBanPopup::onCommentBan @ 0x7643dc
// > AccountBanPopup::onLevelUploadBan @ 0x7644a8
// > AccountBanPopup::onMessageBan @ 0x764574
// > AccountBanPopup::onFreeze @ 0x765072
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:05 +0000
//
int __fastcall sub_762E34(int a1, int a2, int a3, char **a4)
{
int v8; // r6
int v10; // [sp+10h] [bp-14h] BYREF
int v11; // [sp+14h] [bp-10h]
int v12; // [sp+18h] [bp-Ch]
v10 = 0;
v11 = 0;
v12 = 0;
std::string::__init(&v10, &unk_B6B226, 0);
v8 = AdminActionConfirmPopup::create(a1, a2, "Confirm Ban", a3, (ButtonSprite *)"Ban", a4, (unsigned __int8 *)&v10, 1);
std::string::~string((int)&v10);
v10 = 0;
v11 = 0;
v12 = 0;
std::string::__init(
&v10,
"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(v8, "Ban Reason", (int)&v10);
std::string::~string((int)&v10);
return (*(int (__fastcall **)(int))(*(_DWORD *)v8 + 656))(v8);
}