//
// NewThreadPopup::onOpenPicker from 0x74a55a to 0x74a592 (56 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 NewThreadPopup::onOpenPicker(int this, cocos2d::CCObject *a2)
{
int v2; // r1
int v3; // r3
FriendPickerPopup *v4; // r0
PagedListPopup *v5; // r0
char v6; // [sp+4h] [bp-8h]
v6 = (char)a2;
v2 = *(unsigned __int8 *)(this + 556);
if ( !*(_BYTE *)(this + 556) )
{
v3 = *(unsigned __int8 *)(this + 557);
v4 = (FriendPickerPopup *)(this + 524);
if ( v3 )
v5 = FriendPickerPopup::create(v4, (FriendPickerDelegate *)v2, v2, v2, v2, v6);
else
v5 = FriendPickerPopup::create(v4, (FriendPickerDelegate *)((char *)&dword_0 + 1), (int)&dword_0 + 1, 0, 0, v6);
return (*(int (__fastcall **)(PagedListPopup *))(*(_DWORD *)v5 + 656))(v5);
}
return this;
}