//
// sub_10024C268 from 0x10024c268 to 0x10024c304 (156 bytes)
//
// 10 xrefs:
// > FRequestProfilePage::init @ 0x10024b574
// > sub_10024BD40 @ 0x10024bdd4
// > sub_10024BE00 @ 0x10024bfd8
// > sub_10024C304 @ 0x10024c304
// > sub_10024C388 @ 0x10024c3f8
// > FRequestProfilePage::getUserListFinished @ 0x10024c790
// > FRequestProfilePage::getUserListFailed @ 0x10024c9b0
// > FRequestProfilePage::loadFRequestsFinished @ 0x10024d1f4
// > FRequestProfilePage::loadFRequestsFailed @ 0x10024d2b8
// > sub_10024D5D4 @ 0x10024d640
//
// 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:29 +0000
//
__int64 __fastcall sub_10024C268(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 result; // x0
char v5; // w8
if ( (*(_BYTE *)(a1 + 880) & 1) != 0 || (*(_BYTE *)(a1 + 705) & 1) != 0 )
v2 = 0;
else
v2 = sub_10024C5B4(a1);
v3 = *(_QWORD *)(a1 + 888);
if ( v3 )
{
sub_10037E530(v3, (*(_BYTE *)(a1 + 705) & 1) == 0);
sub_10037E57C(*(_QWORD *)(a1 + 888), v2);
}
result = *(_QWORD *)(a1 + 896);
if ( result )
{
if ( (int)v2 < 1 )
v5 = 0;
else
v5 = *(_BYTE *)(a1 + 704) ^ 1;
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, v5 & 1);
}
return result;
}