//
// sub_E89F68 from 0xe89f68 to 0xe89fa4 (60 bytes)
//
// 3 xrefs:
// > sub_E89FFC @ 0xe8a038
// > sub_E8B11C @ 0xe8b17c
// > sub_E8B328 @ 0xe8b3c4
//
// 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_E89F68(__int64 result, __int64 a2, _QWORD *a3)
{
if ( byte_125FE4F != 8 )
abort();
*a3 = a2;
if ( (*(_QWORD *)(result + 832) & 0x4000000000000000LL) != 0 )
*(_BYTE *)(result + 887) = 0;
*(_QWORD *)(result + 248) = a3;
return result;
}