//
// sub_1006F8F6C from 0x1006f8f6c to 0x1006f8f98 (44 bytes)
//
// 4 xrefs:
// > sub_100665E10 @ 0x100665ea4
// > sub_1006F9E20 @ 0x1006f9e24
// > sub_1006FACAC @ 0x1006fad1c
// > sub_1006FACAC @ 0x1006fae0c
//
// 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:44 +0000
//
__int64 __fastcall sub_1006F8F6C(__int64 a1)
{
int v1; // w0
int v2; // w8
v1 = sub_1006D0D88(*(_QWORD *)(a1 + 8));
v2 = v1 + 7;
if ( v1 + 7 < 0 )
v2 = v1 + 14;
return (unsigned int)(v2 >> 3);
}