//
// sub_1006D3540 from 0x1006d3540 to 0x1006d35a0 (96 bytes)
//
// 9 xrefs:
// > sub_1006D5488 @ 0x1006d5694
// > sub_1006D5488 @ 0x1006d59a8
// > sub_1006D5488 @ 0x1006d5a28
// > sub_1006D5488 @ 0x1006d5ac0
// > sub_1006D5488 @ 0x1006d5b48
// > sub_1006DEF54 @ 0x1006df06c
// > sub_1006DEF54 @ 0x1006df0b4
// > sub_1006DF6C0 @ 0x1006df7fc
// > sub_1006EA6A4 @ 0x1006ea770
//
// 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_1006D3540(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
if ( (unsigned int)sub_1006D7464(a1, a2, a4) )
return sub_1006CEE1C(0, a1, a1, a3, a4);
else
return 0;
}