//
// sub_1005810A8 from 0x1005810a8 to 0x1005810f8 (80 bytes)
//
// 1 xrefs:
// > sub_10058108C @ 0x10058109c
//
// 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_1005810A8(_QWORD *a1)
{
_QWORD *v2; // x0
if ( a1 )
{
v2 = (_QWORD *)a1[2];
if ( v2 )
{
sub_10056BC4C(v2, 0);
a1[2] = 0;
}
off_10085DEB8(a1);
}
}