// // PlayerObject::addToYVelocity from 0x1003ea0c0 to 0x1003ea128 (104 bytes) // // 0 xrefs: // // 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 12:29:49 +0000 // void __fastcall PlayerObject::addToYVelocity(__int64 a1, __m128d a2) { double v2; // xmm1_8 __m128d v3; // xmm3 a2.f64[0] = a2.f64[0] + *(double *)(a1 + 2392); v2 = _mm_cvtepi32_pd(_mm_cvttpd_epi32(a2)).f64[0]; if ( a2.f64[0] == v2 ) { *(double *)(a1 + 2392) = a2.f64[0]; } else { a2.f64[0] = (a2.f64[0] - v2) * 1000.0; v3 = _mm_or_pd(_mm_and_pd((__m128d)xmmword_100A04960, a2), (__m128d)xmmword_100A04D50); v3.f64[0] = v3.f64[0] + a2.f64[0]; *(double *)(a1 + 2392) = _mm_round_sd((__m128d)0LL, v3, 11).f64[0] / 1000.0 + v2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source