//
// sub_100493AB0 from 0x100493ab0 to 0x100493b28 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100851df8
//
// 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_100493AB0(__int64 *a1)
{
__int64 v1; // x19
__int64 v7; // x8
__int64 v8; // x20
__int64 result; // x0
v1 = *a1;
__asm { FMOV V0.2S, #1.0 }
*(_QWORD *)(v1 + 536) = _D0;
*(_DWORD *)(v1 + 544) = *(_DWORD *)(*(_QWORD *)(v1 + 168) + 1744LL);
v7 = *(_QWORD *)(v1 + 232);
if ( *(int *)(v7 + 96) < 1 )
return 0;
v8 = 0;
while ( 1 )
{
result = sub_1004A79E0(v1, v8, *(float *)(*(_QWORD *)(*(_QWORD *)(v7 + 104) + 8 * v8) + 56LL));
if ( (_DWORD)result )
break;
++v8;
v7 = *(_QWORD *)(v1 + 232);
if ( v8 >= *(int *)(v7 + 96) )
return 0;
}
return result;
}