//
// FriendsProfilePage::sortUsers from 0x100736ea0 to 0x100736f15 (117 bytes)
//
// 0 xrefs:
//
// 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:36:25 +0000
//
void __fastcall FriendsProfilePage::sortUsers(__int64 a1)
{
__int64 v2; // rdi
void **v3; // rax
size_t v4; // rsi
int (__cdecl *v5)(const void *, const void *); // rcx
v2 = *(_QWORD *)(a1 + 856);
if ( v2 && (unsigned int)sub_1007FEF90(v2) >= 2 )
{
v3 = *(void ***)(*(_QWORD *)(a1 + 856) + 56LL);
v4 = *(unsigned int *)v3;
v5 = (int (__cdecl *)(const void *, const void *))sub_100734500;
if ( *(_BYTE *)(a1 + 944) )
v5 = (int (__cdecl *)(const void *, const void *))sub_100734680;
qsort(v3[2], v4, 8u, v5);
if ( *(_BYTE *)(a1 + 968) == 1 )
sub_1007FF280(*(_QWORD *)(a1 + 856), v4);
}
}