//
// sub_82E94 from 0x82e94 to 0x82f18 (132 bytes)
//
// 2 xrefs:
// > sub_63864 @ 0x63900
// > sub_63AAC @ 0x63b30
//
// 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
//
void *__fastcall sub_82E94(__int64 a1)
{
void *result; // x0
__int64 i; // x8
*(_QWORD *)a1 = a1;
*(_QWORD *)(a1 + 8) = a1;
*(_QWORD *)(a1 + 16) = 0;
sub_E42C0(a1 + 48);
sub_E42C0(a1 + 384);
*(_QWORD *)(a1 + 32) = -1;
*(_QWORD *)(a1 + 40) = 0;
*(_BYTE *)(a1 + 720) = 0;
*(_QWORD *)(a1 + 24) = 0;
memset((void *)(a1 + 724), 0, 0x200u);
result = memset((void *)(a1 + 1240), 0, 0x98u);
for ( i = 0; i != 512; i += 16 )
*(_BYTE *)(a1 + 724 + i) = -1;
return result;
}