//
// PlayerObject::levelFlipFinished from 0x754564 to 0x7545f0 (140 bytes)
//
// 4 xrefs:
// > PlayerObject::resetObject @ 0x75e058
// > GJBaseGameLayer::flipFinished @ 0x9ab6d8
// > GJBaseGameLayer::flipFinished @ 0x9ab6e8
// > ??> @ 0x7bb08
//
// This function is hookable on this platform (idp: arm, 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:52:56 +0000
//
__int64 __fastcall PlayerObject::levelFlipFinished(PlayerObject *this)
{
__int64 result; // x0
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 271) + 976LL))(
*((_QWORD *)this + 271),
*((float *)this + 488));
if ( (unsigned __int8)PlayerObject::isFlying(this) )
{
PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this);
PlayerObject::activateStreak((cocos2d::CCNode **)this);
result = *((unsigned __int8 *)this + 2420);
if ( *((_BYTE *)this + 2420) )
return PlayerObject::placeStreakPoint(this);
}
else
{
result = *((unsigned __int8 *)this + 2273);
if ( *((_BYTE *)this + 2273) )
{
PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this);
return PlayerObject::activateStreak((cocos2d::CCNode **)this);
}
}
return result;
}