//
// sub_10066164C from 0x10066164c to 0x1006616b8 (108 bytes)
//
// 3 xrefs:
// > sub_100661C44 @ 0x100661f1c
// > sub_1006632D4 @ 0x100663440
// > sub_1006634B8 @ 0x1006635d4
//
// 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:10:58 +0000
//
__int64 __fastcall sub_10066164C(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
if ( (int)a4 > 0x4000 )
sub_1006AE64C((char)"d1_pkt.c");
*(_DWORD *)(a1 + 40) = 1;
return sub_1006616B8(a1, a2, a3, a4, 0);
}