//
// MemberListPopup::onRevokeInvite from 0x74d7a0 to 0x74d888 (232 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::onRevokeInvite(MemberListPopup *this, cocos2d::CCObject *a2)
{
int v3; // r4
int result; // r0
char *v5; // r5
cocos2d::CCString *v6; // r0
const char *CString; // r8
size_t v8; // r0
int *v9; // r5
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 + 12) = *(_DWORD *)(v3 + 296);
std::string::basic_string(v10, v3 + 264);
if ( (v10[0] & 1) != 0 )
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Take back the invite for %s?",
(const char *)v10[2]);
else
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Take back the invite for %s?",
(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 = FLAlertLayer::create(
(int)v5,
(cocos2d::CCLabelBMFont *)"Cancel Invite",
(int)v11,
(ButtonSprite *)"Back",
(ButtonSprite *)"Take Back",
380.0,
0,
0,
1.0);
std::string::~string((int)v11);
std::string::~string((int)v10);
(*(void (__fastcall **)(int *, int))(*v9 + 36))(v9, 7);
return (*(int (__fastcall **)(int *))(*v9 + 656))(v9);
}
return result;
}