//
// FriendPickerPopup::onDone from 0x746444 to 0x746494 (80 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:42 +0000
//
int __fastcall FriendPickerPopup::onDone(FriendPickerPopup *this, cocos2d::CCObject *a2)
{
int v3; // r0
int v5; // r5
if ( !*((_BYTE *)this + 624) )
return (*(int (__fastcall **)(FriendPickerPopup *, _DWORD))(*(_DWORD *)this + 680))(this, 0);
v3 = *((_DWORD *)this + 151);
if ( !v3 || !(*(int (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)v3 + 8))(v3, a2) )
return (*(int (__fastcall **)(FriendPickerPopup *, _DWORD))(*(_DWORD *)this + 680))(this, 0);
cocos2d::CCObject::retain(this);
cocos2d::CCObject::autorelease(this);
v5 = *((_DWORD *)this + 151);
*((_DWORD *)this + 151) = 0;
PagedListPopup::onClose(this, nullptr);
return (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 32))(v5);
}