//
// AccountBanPopup::onQueueMute from 0xc92d60 to 0xc92f7c (540 bytes)
//
// 3 xrefs:
// > ??> @ 0x65ad0
// > AccountBanPopup::init @ 0xc9542c
// > ??> @ 0x1542748
//
// 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:48 +0000
//
__int64 __fastcall AccountBanPopup::onQueueMute(AccountBanPopup *this, cocos2d::CCObject *a2)
{
const char *v2; // x1
char *v3; // x19
cocos2d::CCString *v4; // x0
size_t v5; // x0
__int64 v6; // x19
char *CString; // [xsp+38h] [xbp+38h]
__int64 v9[2]; // [xsp+48h] [xbp+48h] BYREF
void *v10; // [xsp+58h] [xbp+58h]
void *v11; // [xsp+60h] [xbp+60h] BYREF
char *v12; // [xsp+68h] [xbp+68h]
__int64 v13; // [xsp+70h] [xbp+70h]
__int64 v14[2]; // [xsp+78h] [xbp+78h] BYREF
void *v15; // [xsp+88h] [xbp+88h]
__int64 v16[2]; // [xsp+90h] [xbp+90h] BYREF
void *v17; // [xsp+A0h] [xbp+A0h]
v2 = (char *)this + 1057;
if ( (*((_BYTE *)this + 1056) & 1) != 0 )
v2 = *((const char **)this + 134);
v3 = (char *)this + 1040;
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Mute %s in the moderation queue?\n"
"Reports still count, the account just gets no queue row.",
v2);
v9[0] = 0;
CString = (char *)cocos2d::CCString::getCString(v4);
v9[1] = 0;
v10 = nullptr;
v5 = strlen(CString);
std::string::__init(v9, CString, v5);
v11 = nullptr;
v12 = nullptr;
v13 = 0;
v14[0] = 0;
v14[1] = 0;
v15 = nullptr;
std::string::__init(v14, &byte_11B8890, 0);
v6 = AdminActionConfirmPopup::create(
(__int64)v3,
13,
"Confirm Mute",
(char *)v9,
(ButtonSprite *)"Mute",
(__int64)&v11,
(__int64)v14,
1);
if ( (v14[0] & 1) != 0 )
operator delete(v15);
if ( v11 )
{
if ( v11 != v12 )
v12 += 4 * ~((unsigned __int64)(v12 - 4 - (_BYTE *)v11) >> 2);
operator delete(v11);
}
v16[0] = 0;
v16[1] = 0;
v17 = nullptr;
std::string::__init(
v16,
"The player is not told and nothing is blocked. Reports and filter hits still count, the account just stops showing u"
"p in the moderation queue for every moderator. The Account Review still opens from the profile page.\n"
"\n"
"No duration: the mute stays until a moderator unmutes the account.",
0x11Cu);
AdminActionConfirmPopup::addHelp(v6, "Queue Mute", (char *)v16);
if ( (v16[0] & 1) != 0 )
operator delete(v17);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
if ( (v9[0] & 1) != 0 )
operator delete(v10);
return _stack_chk_guard;
}