//
// sub_F49F8 from 0xf49f8 to 0xf4a38 (64 bytes)
//
// 4 xrefs:
// > sub_F53D0 @ 0xf54b8
// > sub_F53D0 @ 0xf5514
// > sub_F78D8 @ 0xf7ad0
// > sub_F7B7C @ 0xf7c6c
//
// 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 12:15:06 +0000
//
__int64 __fastcall sub_F49F8(__int64 a1)
{
int v2; // w0
if ( *(int *)(a1 + 8) < 1 )
return 0xFFFFFFFFLL;
v2 = sub_F4A38();
if ( v2 < 0 )
return 0xFFFFFFFFLL;
else
return *(unsigned int *)(*(_QWORD *)(a1 + 40) + 4LL * v2);
}