// // PlayerObject::specialGroundHit from 0x10041b490 to 0x10041b56a (218 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 // void __fastcall PlayerObject::specialGroundHit(PlayerObject *a1) { __m128d v1; // xmm0 double v2; // xmm1_8 __m128d v3; // xmm3 if ( a1->m_isUpsideDown ) v1 = (__m128d)0x4014000000000000uLL; else v1 = (__m128d)0xC014000000000000LL; v2 = _mm_cvtepi32_pd(_mm_cvttpd_epi32(v1)).f64[0]; if ( v1.f64[0] == v2 ) { a1->m_yVelocity = v1.f64[0]; if ( a1->m_isBall ) { LABEL_6: a1->m_maybeSpriteRelated = 1; return; } } else { v1.f64[0] = (v1.f64[0] - v2) * 1000.0; v3 = _mm_or_pd(_mm_and_pd((__m128d)xmmword_100816590, v1), (__m128d)xmmword_100816960); v3.f64[0] = v3.f64[0] + v1.f64[0]; a1->m_yVelocity = _mm_round_sd((__m128d)0LL, v3, 11).f64[0] / 1000.0 + v2; if ( a1->m_isBall ) goto LABEL_6; } if ( a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing ) goto LABEL_6; *(_WORD *)&a1->m_isRotating = 0; a1->m_isBallRotating = 0; a1->m_rotationSpeed = 0.0; a1->m_maybeSpriteRelated = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source