//
// sub_705FA0 from 0x705fa0 to 0x705ff8 (88 bytes)
//
// 0 xrefs:
//
// 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
//
const __int16 *__fastcall sub_705FA0(const __int16 *result, unsigned __int32 *a2)
{
uint8x8_t v2; // d16
uint8x8_t v3; // d18
unsigned __int64 v4; // d16
unsigned __int64 v5; // d18
int16x8_t v6; // 0:d20.8,8:d21.8
v2.n64_u32[0] = a2[16];
v3.n64_u32[0] = *a2;
v2.n64_u32[1] = a2[24];
v3.n64_u32[1] = a2[8];
v6 = (int16x8_t)vld1q_dup_s16(result);
v4 = vqmovun_s16(vrsraq_n_s16(vmovl_u8(v2), v6, 3u)).n64_u64[0];
v5 = vqmovun_s16(vrsraq_n_s16(vmovl_u8(v3), v6, 3u)).n64_u64[0];
*a2 = v5;
a2[8] = HIDWORD(v5);
a2[16] = v4;
a2[24] = HIDWORD(v4);
return result;
}