//
// sub_100495A08 from 0x100495a08 to 0x100495b80 (376 bytes)
//
// 1 xrefs:
// > sub_1004996A0 @ 0x100499840
//
// 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_100495A08(__int64 a1, int a2)
{
int v2; // w17
dword_1008A1348 = a2 >> 1;
dword_1008A134C = 1;
qword_10089F348 = 1065353216;
*(float32x2_t *)((char *)&qword_10089F348 + 4 * (a2 >> 2)) = vld1_dup_f32((const float *)(*(_QWORD *)(a1 + 81976)
+ 0x4000LL));
if ( a2 < 12 )
return sub_100495B80();
v2 = vcvts_n_s32_f32((float)(1.0 / (float)((float)(a2 >> 2) * 8.0)) * (float)2, 0xFu);
if ( v2 < 0 )
v2 = -v2;
return ((__int64 (*)(void))((char *)&loc_100495AF8 + 4 * byte_10064A570[(unsigned __int16)(v2 & 0x7FFF) >> 13]))();
}