//
// sub_1005102C8 from 0x1005102c8 to 0x100510310 (72 bytes)
//
// 2 xrefs:
// > InvitesPopup::buildRows @ 0x10050f338
// > InvitesPopup::buildRows @ 0x10050f578
//
// 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_1005102C8(__int64 a1, __int64 a2)
{
__int64 result; // x0
void *v3; // x0
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( result )
{
result = *(unsigned int *)(result + 60);
if ( (int)result >= 1 )
{
v3 = ProfilePage::create(result, 0);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v3 + 1312LL))(v3);
}
}
return result;
}