//
// sub_1006DE2B8 from 0x1006de2b8 to 0x1006de330 (120 bytes)
//
// 3 xrefs:
// > sub_1006E1AD8 @ 0x1006e1c54
// > sub_1006E7E84 @ 0x1006e7ecc
// > sub_10074F7E8 @ 0x10074f854
//
// 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_1006DE2B8(__int64 *a1, _QWORD *a2, _QWORD *a3)
{
__int64 v3; // x8
__int64 (*v4)(void); // x4
__int64 v5; // x2
__int64 v6; // x4
v3 = *a1;
v4 = *(__int64 (**)(void))(*a1 + 208);
if ( !v4 )
{
v5 = 66;
v6 = 998;
goto LABEL_6;
}
if ( v3 != *a2 || v3 != *a3 )
{
v5 = 101;
v6 = 1002;
LABEL_6:
sub_100706FB0(16, 113, v5, "ec_lib.c", v6);
return 0xFFFFFFFFLL;
}
return v4();
}