//
// sub_1004AA874 from 0x1004aa874 to 0x1004aa8b8 (68 bytes)
//
// 1 xrefs:
// > sub_1004661D0 @ 0x1004665bc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004AA874(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
int8x8_t v4; // [xsp+8h] [xbp-18h] BYREF
result = sub_1004AA0BC(a1, &v4, 4u, 1, (unsigned int *)&v4 + 1);
if ( a2 )
*a2 = v4.i32[0];
return result;
}