//
// sub_1005E8578 from 0x1005e8578 to 0x1005e85c8 (80 bytes)
//
// 6 xrefs:
// > ??> @ 0x10083d4c0
// > ??> @ 0x10083d518
// > ??> @ 0x10083d570
// > ??> @ 0x10083d5c8
// > ??> @ 0x10083d620
// > ??> @ 0x10083d678
//
// 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_1005E8578(__int64 a1, unsigned __int64 a2)
{
_BYTE *v4; // x21
int v5; // w0
v4 = (_BYTE *)(*(_QWORD *)(a1 + 120) + 4LL);
v5 = sub_1005EB290(a1);
sub_10059BCFC(v4, v5, a2, **(_DWORD **)(a1 + 120));
return 1;
}