//
// sub_100662DFC from 0x100662dfc to 0x100662ea0 (164 bytes)
//
// 2 xrefs:
// > sub_10065FCF4 @ 0x10065fe5c
// > sub_100660A0C @ 0x1006610b0
//
// 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:10:59 +0000
//
__int64 __fastcall sub_100662DFC(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v4 = sub_10073EEA0(*(_QWORD *)(*(_QWORD *)(a1 + 136) + 616LL));
while ( 1 )
{
v2 = sub_10073EEA8(&v4);
if ( !v2 )
break;
sub_100662EA0(
a1,
(unsigned __int16)(2 * *(_WORD *)(*(_QWORD *)(v2 + 8) + 16LL) - *(_WORD *)(*(_QWORD *)(v2 + 8) + 40LL)));
}
return 1;
}