// // sub_140482B40 from 0x140482b40 to 0x140482bb1 (113 bytes) // // 7 xrefs: // > ShaderLayer::preGlitchShader @ 0x1404856d5 // > ShaderLayer::preGlitchShader @ 0x140485709 // > ShaderLayer::preGlitchShader @ 0x140485795 // > ShaderLayer::preGlitchShader @ 0x140485826 // > ShaderLayer::preGlitchShader @ 0x140485876 // > ShaderLayer::preGlitchShader @ 0x1404858b6 // > @ 0x1406dbb70 // // 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 // __m128 __fastcall sub_140482B40(float *a1) { float v1; // xmm0_4 float *v3; // rax __m128d v4; // xmm1 __m128 v5; // xmm6 cocos2d::CCPoint::CCPoint(v1, 12.9898); v4 = 0; v4.m128d_f64[0] = sinf((float)(v3[1] * a1[1]) + (float)(*v3 * *a1)) * 43758.5453; v5 = _mm_cvtpd_ps(v4); v5.m128_f32[0] = v5.m128_f32[0] - floorf(v5.m128_f32[0]); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source