//
// sub_1005ED81C from 0x1005ed81c to 0x1005ed888 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x100862180
//
// 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_1005ED81C(__int64 a1, __int64 a2)
{
_QWORD *v3; // x20
int v4; // w0
v3 = *(_QWORD **)(a1 + 120);
v4 = sub_1005EB290(a1);
sub_10059D3D4(v3, v4, a2);
sub_10058DB4C(v3 + 129);
memcpy((char *)v3 + 1124, v3 + 129, 0x5Cu);
memcpy(v3 + 152, v3 + 129, 0x5Cu);
v3[164] = -1;
return 1;
}