//
// sub_1002724B8 from 0x1002724b8 to 0x100272564 (172 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x100271e20
//
// 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:01:47 +0000
//
__int64 __fastcall sub_1002724B8(__int64 a1)
{
int v2; // w8
__int64 v3; // x9
const char *v4; // x10
const char *v5; // x11
const char *v6; // x1
__int64 v7; // x8
v2 = *(unsigned __int8 *)(a1 + 944);
*(_BYTE *)(a1 + 944) = v2 ^ 1;
v3 = *(_QWORD *)(a1 + 936);
if ( v3 )
{
if ( *(_BYTE *)(a1 + 968) )
v4 = "Old";
else
v4 = "New";
v5 = "A-Z";
if ( *(_BYTE *)(a1 + 968) )
v5 = "Z-A";
if ( v2 )
v6 = v5;
else
v6 = v4;
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v3 + 624) + 928LL))(*(_QWORD *)(v3 + 624), v6);
}
sub_1002731B0(a1);
v7 = *(char *)(a1 + 903);
if ( v7 < 0 )
v7 = *(_QWORD *)(a1 + 888);
if ( v7 )
sub_100273230(a1, a1 + 880);
sub_1002726C0(a1);
return sub_100526440(*(_QWORD *)(a1 + 688), 0.0);
}