//
// sub_1005DC0C0 from 0x1005dc0c0 to 0x1005dc11c (92 bytes)
//
// 3 xrefs:
// > sub_1005DF048 @ 0x1005df0a4
// > sub_1005DF7BC @ 0x1005df818
// > ??> @ 0x1009abb10
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:37 +0000
//
__int64 __fastcall sub_1005DC0C0(__int64 a1)
{
void (__fastcall *v2)(__int64); // x8
v2 = *(void (__fastcall **)(__int64))(a1 + 864);
if ( v2 )
v2(a1 + 8);
*(_BYTE *)(a1 + 786) = 0;
sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), (int *)a1);
return 0;
}