//
// FriendsProfilePage::updateSortLabel from 0x100736f20 to 0x100736f7c (92 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
//
__int64 __fastcall FriendsProfilePage::updateSortLabel(__int64 a1)
{
__int64 result; // rax
const char *v2; // rdx
const char *v3; // rsi
result = *(_QWORD *)(a1 + 936);
if ( result )
{
v2 = "New";
if ( *(_BYTE *)(a1 + 968) )
v2 = "Old";
v3 = "A-Z";
if ( *(_BYTE *)(a1 + 968) )
v3 = "Z-A";
if ( *(_BYTE *)(a1 + 944) )
v3 = v2;
return (*(__int64 (__fastcall **)(_QWORD, const char *, const char *))(**(_QWORD **)(result + 624) + 928LL))(
*(_QWORD *)(result + 624),
v3,
v2);
}
return result;
}