//
// sub_1006DE96C from 0x1006de96c to 0x1006de9d8 (108 bytes)
//
// 1 xrefs:
// > sub_1006E6ACC @ 0x1006e6b0c
//
// 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_1006DE96C(__int64 a1, _QWORD *a2)
{
__int64 (*v2)(void); // x3
__int64 v3; // x2
__int64 v4; // x4
v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 216LL);
if ( !v2 )
{
v3 = 66;
v4 = 1011;
goto LABEL_5;
}
if ( *(_QWORD *)a1 != *a2 )
{
v3 = 101;
v4 = 1015;
LABEL_5:
sub_100706FB0(16, 120, v3, "ec_lib.c", v4);
return 0;
}
return v2();
}