//
// sub_BAAA8 from 0xbaaa8 to 0xbaac0 (24 bytes)
//
// 2 xrefs:
// > sub_B9B1C @ 0xb9b5c
// > sub_B9F00 @ 0xb9fdc
//
// 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 __usercall sub_BAAA8@(__int64 result@, __int64 a2@)
{
_QWORD *v2; // x9
__int64 v3; // x10
__int64 v4; // x19
*v2 = a2;
*(_QWORD *)(*(_QWORD *)(v4 + 888) + 8LL) = v2;
*(_QWORD *)(v4 + 896) = v3;
*(_QWORD *)(v4 + 888) = v3;
return sub_51F94(result);
}