//
// PlayerObject::levelFlipFinished from 0x439450 to 0x4394a2 (82 bytes)
//
// 3 xrefs:
// > PlayerObject::resetObject @ 0x440494
// > GJBaseGameLayer::flipFinished @ 0x598060
// > GJBaseGameLayer::flipFinished @ 0x59806e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:20 +0000
//
GameManager *__fastcall PlayerObject::levelFlipFinished(PlayerObject *this)
{
GameManager *result; // r0
int v3; // r1
int v4; // r2
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 437) + 488))(
*((_DWORD *)this + 437),
*((_DWORD *)this + 396));
result = (GameManager *)PlayerObject::isFlying(this);
if ( result )
{
PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this);
result = PlayerObject::activateStreak((cocos2d::CCNode **)this);
if ( *((_BYTE *)this + 1956) )
return PlayerObject::placeStreakPoint(this, v3, v4, *((unsigned __int8 *)this + 1956));
}
else if ( *((_BYTE *)this + 1809) )
{
PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this);
return PlayerObject::activateStreak((cocos2d::CCNode **)this);
}
return result;
}