//
// sub_100720360 from 0x100720360 to 0x1007203d3 (115 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x1000f456f
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100720360(__int64 a1, __m128 a2)
{
__int64 result; // rax
int v3; // r14d
int v4; // r12d
unsigned int v5; // r14d
unsigned int i; // r15d
result = *(_QWORD *)(a1 + 56);
v3 = *(_DWORD *)result;
if ( *(_DWORD *)result >= 2u )
{
result = (unsigned int)v3;
a2.f32[0] = (float)v3 * 0.5;
v4 = (int)_mm_round_ss(a2, a2, 9).f32[0];
if ( v4 > 0 )
{
v5 = v3 - 1;
for ( i = 0; i != v4; ++i )
result = sub_100667B80(*(_QWORD *)(a1 + 56), i, v5--);
}
}
return result;
}