//
// sub_1005E5D78 from 0x1005e5d78 to 0x1005e5dc4 (76 bytes)
//
// 7 xrefs:
// > ??> @ 0x10083bec0
// > ??> @ 0x10083bf18
// > ??> @ 0x10083bf70
// > ??> @ 0x10083bfc8
// > ??> @ 0x10083c020
// > ??> @ 0x10083c078
// > ??> @ 0x10083c0d0
//
// 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_1005E5D78(__int64 a1, unsigned __int8 *a2)
{
__int64 v3; // x20
v3 = *(_QWORD *)(a1 + 120);
*(_QWORD *)(v3 + 384) = 0;
sub_10059640C(a2, (int *)v3);
sub_10059640C(a2 + 8, (int *)(v3 + 128));
sub_10059640C(a2 + 16, (int *)(v3 + 256));
return 1;
}