//
// sub_1005DC9D0 from 0x1005dc9d0 to 0x1005dca2c (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x100861150
//
// 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_1005DC9D0(__int64 a1)
{
__int64 v2; // x20
void *v3; // x0
void *v4; // x0
if ( !a1 )
return 0;
v2 = *(_QWORD *)(a1 + 48);
v3 = *(void **)(v2 + 8);
if ( v3 )
sub_100588C44(v3);
v4 = *(void **)(v2 + 24);
if ( v4 )
sub_100588C44(v4);
sub_100588C44(*(void **)(a1 + 48));
*(_QWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 32) = 0;
return 1;
}