//
// PlayerObject::levelFlipping from 0x14039b4f0 to 0x14039b56a (122 bytes)
//
// 8 xrefs:
// > PlayerObject::update @ 0x1403896b8
// > PlayerObject::update @ 0x1403897a9
// > PlayerObject::resetStreak @ 0x14038b5e9
// > PlayerObject::updateJump @ 0x14038c7f9
// > PlayerObject::hitGround @ 0x14039c189
// > PlayerObject::activateStreak @ 0x1403a0099
// > PlayerObject::placeStreakPoint @ 0x1403a06ad
// > ??> @ 0x1406d65cc
//
// 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
//
// Hidden C++ exception states: #wind=1
bool PlayerObject::levelFlipping(PlayerObject *a1)
{
__int64 v1; // rax
float v2; // xmm1_4
void *v4; // [rsp+30h] [rbp+8h]
if ( !a1->m_playEffects )
return 0;
v1 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v4 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v1 = qword_1406C2ED8;
}
v2 = *(float *)(*(_QWORD *)(v1 + 520) + 1052LL);
return v2 != 0.0 && v2 != 1.0;
}