//
// sub_AFE0C from 0xafe0c to 0xafe50 (68 bytes)
//
// 1 xrefs:
// > sub_B0E5C @ 0xb0e60
//
// 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:14:36 +0000
//
__int64 __fastcall sub_AFE0C(__int64 a1)
{
unsigned __int64 v1; // x1
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 544);
if ( !v1 )
return 0;
result = sub_7136C(*(_QWORD *)(a1 + 168) + 1824LL, v1, 1);
if ( !(_DWORD)result )
*(_QWORD *)(a1 + 544) = 0;
return result;
}