//
// sub_1406238A0 from 0x1406238a0 to 0x140623911 (113 bytes)
//
// 7 xrefs:
// > ShaderLayer::preGlitchShader @ 0x140626786
// > ShaderLayer::preGlitchShader @ 0x1406267cf
// > ShaderLayer::preGlitchShader @ 0x140626854
// > ShaderLayer::preGlitchShader @ 0x1406268e5
// > ShaderLayer::preGlitchShader @ 0x140626938
// > ShaderLayer::preGlitchShader @ 0x140626978
// > ??> @ 0x14093053c
//
// This function is hookable on this platform (idp: pc, 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 11:35:23 +0000
//
__m128 __fastcall sub_1406238A0(float *a1)
{
float *v2; // rax
__m128d v3; // xmm1
__m128 v4; // xmm6
char v6; // [rsp+40h] [rbp+8h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, 12.9898, 4.1413999);
v3 = 0;
v3.m128d_f64[0] = sinf((float)(v2[1] * a1[1]) + (float)(*a1 * *v2)) * 43758.5453;
v4 = _mm_cvtpd_ps(v3);
v4.m128_f32[0] = v4.m128_f32[0] - floorf(v4.m128_f32[0]);
return v4;
}