//
// NewThreadPopup::onOpenPicker from 0x1400f1d50 to 0x1400f1db0 (96 bytes)
//
// 2 xrefs:
// > NewThreadPopup::init @ 0x1400ef6c7
// > ??> @ 0x14091514c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:26:36 +0000
//
void __fastcall NewThreadPopup::onOpenPicker(__int64 a1)
{
unsigned __int8 v1; // dl
int v2; // eax
unsigned __int8 v3; // r8
_QWORD *v4; // rax
if ( !*(_BYTE *)(a1 + 744) )
{
v1 = 0;
v2 = a1 + 672;
if ( *(_BYTE *)(a1 + 745) )
{
if ( !a1 )
v2 = 0;
v3 = 0;
}
else
{
v3 = 1;
if ( !a1 )
v2 = 0;
v1 = 1;
}
v4 = FriendPickerPopup::create(v2, v1, v3, 0, 0);
(*(void (__fastcall **)(_QWORD *))(*v4 + 1064LL))(v4);
}
}