//
// sub_100664AEC from 0x100664aec to 0x100664b20 (52 bytes)
//
// 2 xrefs:
// > sub_1006A9638 @ 0x1006aa478
// > sub_1006A9638 @ 0x1006abc5c
//
// 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:11:00 +0000
//
__int64 __fastcall sub_100664AEC(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x8
if ( !a1 )
return 0;
v1 = *(_QWORD *)(a1 + 304);
if ( !v1 )
return 0;
v2 = *(_QWORD *)(v1 + 168);
if ( v2 )
return *(_QWORD *)v2;
else
return 0;
}