//
// AccountBanPopup::onMessageUnban from 0x763684 to 0x763754 (208 bytes)
//
// 0 xrefs:
//
// 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:06 +0000
//
int __fastcall AccountBanPopup::onMessageUnban(AccountBanPopup *this, cocos2d::CCObject *a2)
{
char *v2; // r5
cocos2d::CCString *v3; // r0
const char *CString; // r7
size_t v5; // r0
int v6; // r0
int v8[3]; // [sp+10h] [bp-2Ch] BYREF
char *v9[3]; // [sp+1Ch] [bp-20h] BYREF
int v10[3]; // [sp+28h] [bp-14h] BYREF
v2 = (char *)this + 724;
if ( (*((_BYTE *)this + 732) & 1) != 0 )
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Lift all message bans (permanent and temporary) for %s?",
*((const char **)this + 185));
else
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Lift all message bans (permanent and temporary) for %s?",
(const char *)this + 733);
memset(v8, 0, sizeof(v8));
CString = (const char *)cocos2d::CCString::getCString(v3);
v5 = strlen(CString);
std::string::__init(v8, CString, v5);
memset(v9, 0, sizeof(v9));
memset(v10, 0, sizeof(v10));
std::string::__init(v10, &unk_B6B226, 0);
v6 = AdminActionConfirmPopup::create(
(int)v2,
6,
"Confirm Unban",
(int)v8,
(ButtonSprite *)"Unban",
v9,
(unsigned __int8 *)v10,
1);
(*(void (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6);
std::string::~string((int)v10);
std::__vector_base::~__vector_base(v9);
return std::string::~string((int)v8);
}