//
// PlayerObject::levelFlipping from 0x1404f97c0 to 0x1404f983d (125 bytes)
//
// 7 xrefs:
// > PlayerObject::update @ 0x1404e7a5d
// > PlayerObject::resetStreak @ 0x1404e9849
// > PlayerObject::updateJump @ 0x1404eaaa1
// > PlayerObject::hitGround @ 0x1404fa4bc
// > PlayerObject::activateStreak @ 0x1404fe4a9
// > PlayerObject::placeStreakPoint @ 0x1404fec44
// > ??> @ 0x14092a2a8
//
// 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 11:33:21 +0000
//
// Hidden C++ exception states: #wind=1
bool __fastcall PlayerObject::levelFlipping(__int64 a1)
{
__int64 v1; // rax
float v2; // xmm1_4
void *v4; // [rsp+30h] [rbp+8h]
if ( !*(_BYTE *)(a1 + 2028) )
return 0;
v1 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v4 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v1 = qword_14090BFD0;
}
v2 = *(float *)(*(_QWORD *)(v1 + 560) + 1052LL);
return v2 != 0.0 && v2 != 1.0;
}