//
// sub_1006D33DC from 0x1006d33dc to 0x1006d3430 (84 bytes)
//
// 11 xrefs:
// > sub_1006DF9F0 @ 0x1006dfcd4
// > sub_1006DF9F0 @ 0x1006dfcec
// > sub_1006DF9F0 @ 0x1006dfee8
// > sub_1006DF9F0 @ 0x1006dff14
// > sub_1006DF9F0 @ 0x1006dff84
// > sub_1006E0064 @ 0x1006e01ec
// > sub_1006E0064 @ 0x1006e042c
// > sub_1006E0064 @ 0x1006e0478
// > sub_1006E0064 @ 0x1006e04b0
// > sub_1006E05F0 @ 0x1006e07c4
// > sub_1006EA6A4 @ 0x1006ea838
//
// 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:12:27 +0000
//
__int64 __fastcall sub_1006D33DC(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
if ( !(unsigned int)sub_1006CED10(a1, a2, a3) )
return 0;
if ( *(_DWORD *)(a1 + 16) )
return sub_1006CE958(a1, a1, a4);
return 1;
}