//
// sub_100510310 from 0x100510310 to 0x10051035c (76 bytes)
//
// 1 xrefs:
// > InvitesPopup::buildRows @ 0x10050f3f4
//
// 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:07:02 +0000
//
__int64 __fastcall sub_100510310(__int64 a1, __int64 a2)
{
__int64 result; // x0
void *v3; // x0
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( result )
{
if ( *(int *)(result + 56) >= 1 )
{
v3 = MemberListPopup::create(result, 0, 1);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v3 + 1312LL))(v3);
}
}
return result;
}