//
// sub_1004AAEA0 from 0x1004aaea0 to 0x1004aaed3 (51 bytes)
//
// 1 xrefs:
// > ??> @ 0x100947b78
//
// 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_1004AAEA0(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rdi
result = a1;
v3 = *(_QWORD *)(a1 + 8);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64, float, double))(*(_QWORD *)v3 + 128LL))(
v3,
*(float *)(a2 + 32),
COERCE_DOUBLE(*(unsigned int *)(result + 156) ^ 0x8000000080000000LL));
return result;
}