//
// sub_100582B34 from 0x100582b34 to 0x100582bb8 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x10082edd0
// > ??> @ 0x10082ee50
//
// 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_100582B34(void **a1)
{
__int64 v2; // x20
v2 = *((_QWORD *)*a1 + 67);
off_10085DEB8(a1[169]);
a1[169] = nullptr;
off_10085DEB8(a1[172]);
a1[172] = nullptr;
if ( v2 )
{
off_10085DEB8(*(void **)(v2 + 8));
*(_QWORD *)(v2 + 8) = 0;
off_10085DEB8(*((void **)*a1 + 67));
*((_QWORD *)*a1 + 67) = 0;
}
return 0;
}