//
// sub_1000866D4 from 0x1000866d4 to 0x10008673c (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008c6f30
// > ??> @ 0x1008c76f8
//
// 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 10:58:19 +0000
//
__int64 __fastcall sub_1000866D4(__int64 result)
{
__int64 v1; // x29
__int64 v2; // x30
__int64 v3; // x19
__int64 v4; // x0
__int16 v5; // [xsp+Ch] [xbp-24h] BYREF
char v6; // [xsp+Eh] [xbp-22h]
__int64 v7; // [xsp+20h] [xbp-10h]
__int64 v8; // [xsp+28h] [xbp-8h]
if ( *(_BYTE *)(result + 404) == 1 )
{
v7 = v1;
v8 = v2;
v3 = result;
v4 = *(_QWORD *)(result + 392);
v6 = 0;
v5 = -26881;
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 960LL))(v4, &v5);
return (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(v3 + 392) + 160LL))(*(_QWORD *)(v3 + 392), 0.8);
}
return result;
}