//
// MemberListPopup::onAddMember from 0x74a514 to 0x74a55a (70 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:45 +0000
//
int __fastcall MemberListPopup::onAddMember(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
int result; // r0
cocos2d::CCObject *v4; // r0
PagedListPopup *v5; // r0
char v6; // [sp+4h] [bp-4h]
v6 = (char)a2;
result = MemberListPopup::opPending((MemberListPopup *)this);
if ( !result )
{
if ( !*(this + 159) )
{
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(nullptr);
*(this + 159) = v4;
cocos2d::CCObject::retain(v4);
}
cocos2d::CCArray::removeAllObjects(*(this + 159));
v5 = FriendPickerPopup::create(
(FriendPickerPopup *)(this + 150),
(FriendPickerDelegate *)((char *)&dword_0 + 1),
(int)&dword_0 + 1,
0,
(bool)&dword_0 + 1,
v6);
return (*(int (__fastcall **)(PagedListPopup *))(*(_DWORD *)v5 + 656))(v5);
}
return result;
}