//
// sub_1006E5750 from 0x1006e5750 to 0x1006e57ec (156 bytes)
//
// 1 xrefs:
// > sub_100644CC4 @ 0x100645420
//
// 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:35 +0000
//
_BYTE *__fastcall sub_1006E5750(int a1)
{
_BYTE *v2; // x0
_BYTE *v3; // x19
__int64 v4; // x0
v2 = sub_1006AE878(56, (__int64)"ec_key.c", 75);
v3 = v2;
if ( !v2 )
{
sub_100706FB0(16, 182, 65, "ec_key.c", 77);
return nullptr;
}
*((_DWORD *)v2 + 11) = 0;
*((_DWORD *)v2 + 8) = 0;
*((_QWORD *)v2 + 3) = 0;
*(_DWORD *)v2 = 1;
*((_QWORD *)v2 + 1) = 0;
*((_QWORD *)v2 + 2) = 0;
*((_DWORD *)v2 + 9) = 4;
*((_DWORD *)v2 + 10) = 1;
*((_QWORD *)v2 + 6) = 0;
v4 = sub_1006E3150(a1);
*((_QWORD *)v3 + 1) = v4;
if ( !v4 )
{
sub_1006E57EC(v3);
return nullptr;
}
return v3;
}