//
// sub_100503988 from 0x100503988 to 0x1005039d8 (80 bytes)
//
// 1 xrefs:
// > FriendPickerPopup::init @ 0x1005035c8
//
// 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:55 +0000
//
__int64 __fastcall sub_100503988(__int64 a1)
{
int v2; // w8
__int64 v3; // x0
__int64 v4; // x1
v2 = *(unsigned __int8 *)(a1 + 856);
*(_BYTE *)(a1 + 856) = v2 ^ 1;
v3 = *(_QWORD *)(a1 + 880);
if ( v3 )
{
if ( v2 )
v4 = 140;
else
v4 = 255;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 912LL))(v3, v4);
}
return sub_100503A98(a1);
}