//
// sub_1006DE72C from 0x1006de72c to 0x1006de7b0 (132 bytes)
//
// 3 xrefs:
// > sub_1006E1AD8 @ 0x1006e2318
// > sub_1006E1AD8 @ 0x1006e2450
// > sub_1006E2AB8 @ 0x1006e2de4
//
// 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:32 +0000
//
__int64 __fastcall sub_1006DE72C(__int64 *a1, _QWORD *a2, _QWORD *a3, _QWORD *a4)
{
__int64 v4; // x8
__int64 (*v5)(void); // x5
__int64 v6; // x2
__int64 v7; // x4
v4 = *a1;
v5 = *(__int64 (**)(void))(*a1 + 168);
if ( !v5 )
{
v6 = 66;
v7 = 921;
goto LABEL_7;
}
if ( v4 != *a2 || v4 != *a3 || v4 != *a4 )
{
v6 = 101;
v7 = 926;
LABEL_7:
sub_100706FB0(16, 112, v6, "ec_lib.c", v7);
return 0;
}
return v5();
}