//
// sub_1005E51AC from 0x1005e51ac to 0x1005e51e4 (56 bytes)
//
// 4 xrefs:
// > ??> @ 0x10083baa0
// > ??> @ 0x10083baf8
// > ??> @ 0x10083bb50
// > ??> @ 0x10083bba8
//
// 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_1005E51AC(__int64 a1, unsigned __int8 *a2)
{
_QWORD *v3; // x20
int v4; // w0
v3 = *(_QWORD **)(a1 + 120);
v4 = sub_1005EB290(a1);
sub_10059E66C(v3, v4, a2);
return 1;
}