//
// MemberListPopup::onKickMember from 0x74d8a0 to 0x74d994 (244 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:58:48 +0000
//
int __fastcall MemberListPopup::onKickMember(MemberListPopup *this, cocos2d::CCObject *a2)
{
int v3; // r5
int result; // r0
char *v5; // r4
cocos2d::CCString *v6; // r0
const char *CString; // r8
size_t v8; // r0
char **v9; // r4
int v10[3]; // [sp+1Ch] [bp-1Ch] BYREF
int v11[3]; // [sp+28h] [bp-10h] BYREF
v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 320))(a2);
result = MemberListPopup::opPending(this);
if ( !result && v3 )
{
v5 = (char *)this + 604;
*((_DWORD *)v5 + 10) = *(_DWORD *)(v3 + 296);
std::string::basic_string(v10, v3 + 264);
if ( (v10[0] & 1) != 0 )
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Kick %s from this group chat?",
(const char *)v10[2]);
else
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Kick %s from this group chat?",
(const char *)v10 + 1);
CString = (const char *)cocos2d::CCString::getCString(v6);
memset(v11, 0, sizeof(v11));
v8 = strlen(CString);
std::string::__init(v11, CString, v8);
v9 = (char **)FLAlertLayer::create(
(int)v5,
(cocos2d::CCLabelBMFont *)"Kick Member",
(int)v11,
(ButtonSprite *)"Back",
(ButtonSprite *)"Kick",
380.0,
0,
0,
1.0);
std::string::~string((int)v11);
std::string::~string((int)v10);
(*((void (__fastcall **)(char **, int))*v9 + 9))(v9, 4);
ButtonSprite::updateBGImage(v9[121], "GJ_button_06.png");
return (*((int (__fastcall **)(char **))*v9 + 164))(v9);
}
return result;
}