//
// sub_83AE8 from 0x83ae8 to 0x83b3c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10d5a0
//
// 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:08 +0000
//
__int64 __fastcall sub_83AE8(__int64 a1)
{
__int64 v1; // x8
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 408);
if ( !v1 )
return 28;
result = *(_QWORD *)(v1 + 73968);
if ( result )
{
result = sub_64000(result, 0xAu);
if ( result )
result = ((__int64 (__fastcall *)(__int64, _QWORD))loc_84D10)(result, *(_QWORD *)(a1 + 504));
}
*(_QWORD *)(a1 + 504) = 0;
return result;
}