//
// sub_1006F4D80 from 0x1006f4d80 to 0x1006f4dec (108 bytes)
//
// 1 xrefs:
// > sub_1006F6224 @ 0x1006f6228
//
// 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:42 +0000
//
__int64 __fastcall sub_1006F4D80(__int64 a1)
{
int v1; // w0
int v2; // w8
int v3; // w0
char v5; // [xsp+4h] [xbp-1Ch] BYREF
_DWORD v6[2]; // [xsp+8h] [xbp-18h] BYREF
char *v7; // [xsp+10h] [xbp-10h]
v1 = sub_1006D0D88(*(_QWORD *)(a1 + 32));
v2 = v1 + 7;
if ( v1 + 7 < 0 )
v2 = v1 + 14;
v6[0] = v2 >> 3;
v7 = &v5;
v6[1] = 2;
v5 = -1;
v3 = sub_10071F004(v6, 0);
return sub_1007217B8(1, (unsigned int)(2 * v3), 16);
}