//
// sub_10066E664 from 0x10066e664 to 0x10066e708 (164 bytes)
//
// 1 xrefs:
// > sub_100647C48 @ 0x1006483f4
//
// 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:11:06 +0000
//
__int64 __fastcall sub_10066E664(_QWORD *a1)
{
__int64 v2; // x19
__int64 v3; // x0
_BYTE v5[48]; // [xsp+8h] [xbp-58h] BYREF
v2 = 0xFFFFFFFFLL;
if ( (int)sub_100706330(v5, 48) >= 1 )
{
a1[95] = sub_1006D1318(v5, 48, a1[95]);
sub_1006B0510((int)v5, 0x30u);
v3 = sub_10073F5FC(a1[95], a1[90], a1[91]);
a1[94] = v3;
if ( v3 )
return 1;
else
return 0xFFFFFFFFLL;
}
return v2;
}