//
// sub_10050A184 from 0x10050a184 to 0x10050a1d8 (84 bytes)
//
// 1 xrefs:
// > sub_100508F28 @ 0x100509514
//
// This function is hookable on this platform (idp: arm, 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:06:58 +0000
//
__int64 __fastcall sub_10050A184(__int64 result)
{
int v1; // w8
__int64 v2; // x0
__int64 v3; // x1
__int64 v4; // x2
char *v5; // x0
if ( (*(_BYTE *)(result + 736) & 1) == 0 )
{
v1 = *(unsigned __int8 *)(result + 737);
v2 = result + 672;
if ( v1 == 1 )
{
v3 = 0;
v4 = 0;
}
else
{
v3 = 1;
v4 = 1;
}
v5 = FriendPickerPopup::create(v2, v3, v4, 0, 0);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v5 + 1312LL))(v5);
}
return result;
}