//
// sub_100942860 from 0x100942860 to 0x100942895 (53 bytes)
//
// 2 xrefs:
// > MemberListPopup::buildRows @ 0x100941d96
// > MemberListPopup::buildRows @ 0x1009420af
//
// 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 12:38:32 +0000
//
__int64 __fastcall sub_100942860(__int64 a1, __int64 a2)
{
__int64 result; // rax
signed int v3; // edi
void *v4; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( result )
{
v3 = *(_DWORD *)(result + 376);
if ( v3 > 0 )
{
v4 = ProfilePage::create(v3, 0);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);
}
}
return result;
}