//
// sub_1006DE828 from 0x1006de828 to 0x1006de894 (108 bytes)
//
// 2 xrefs:
// > sub_1006E1AD8 @ 0x1006e2404
// > sub_1006E1AD8 @ 0x1006e24a0
//
// 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_1006DE828(__int64 a1, _QWORD *a2)
{
__int64 (*v2)(void); // x3
__int64 v3; // x2
__int64 v4; // x4
v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 184LL);
if ( !v2 )
{
v3 = 66;
v4 = 949;
goto LABEL_5;
}
if ( *(_QWORD *)a1 != *a2 )
{
v3 = 101;
v4 = 953;
LABEL_5:
sub_100706FB0(16, 210, v3, "ec_lib.c", v4);
return 0;
}
return v2();
}