//
// sub_1006DE7B0 from 0x1006de7b0 to 0x1006de828 (120 bytes)
//
// 12 xrefs:
// > sub_1006DF9F0 @ 0x1006dfa74
// > sub_1006DF9F0 @ 0x1006dfdf4
// > sub_1006E1AD8 @ 0x1006e22e8
// > sub_1006E1AD8 @ 0x1006e23b4
// > sub_1006E2AB8 @ 0x1006e2da0
// > sub_1006E2AB8 @ 0x1006e2e28
// > sub_1006E2AB8 @ 0x1006e2e40
// > sub_1006E2AB8 @ 0x1006e2e58
// > sub_1006E2AB8 @ 0x1006e2e70
// > sub_1006E2AB8 @ 0x1006e2e88
// > sub_1006E2AB8 @ 0x1006e2ea0
// > sub_1006E2AB8 @ 0x1006e2eb8
//
// 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_1006DE7B0(__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 + 176);
if ( !v4 )
{
v5 = 66;
v6 = 936;
goto LABEL_6;
}
if ( v3 != *a2 || v3 != *a3 )
{
v5 = 101;
v6 = 940;
LABEL_6:
sub_100706FB0(16, 115, v5, "ec_lib.c", v6);
return 0;
}
return v4();
}