//
// PlayerObject::pushPlayer from 0x10041aff0 to 0x10041b05c (108 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall PlayerObject::pushPlayer(PlayerObject *a1, float a2)
{
double v2; // xmm1_8
__m128d v3; // xmm0
__m128d v4; // xmm3
*(double *)&a2 = a2 + a1->m_yVelocity;
v2 = _mm_cvtepi32_pd(_mm_cvttpd_epi32(*(__m128d *)&a2)).f64[0];
if ( *(double *)&a2 == v2 )
{
a1->m_yVelocity = *(double *)&a2;
}
else
{
v3.f64[0] = (*(double *)&a2 - v2) * 1000.0;
v4 = _mm_or_pd(_mm_and_pd((__m128d)xmmword_100816590, v3), (__m128d)xmmword_100816960);
v4.f64[0] = v4.f64[0] + v3.f64[0];
a1->m_yVelocity = _mm_round_sd((__m128d)0LL, v4, 11).f64[0] / 1000.0 + v2;
}
}