//
// GJBaseGameLayer::switchToRollMode from 0x1001e65c8 to 0x1001e662c (100 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::setupLevelStart @ 0x1001e6250
// > GJBaseGameLayer::setupLevelStart @ 0x1001e6270
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001e8600
// > PlayerObject::loadFromCheckpoint @ 0x10022e380
//
// 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
//
void __fastcall GJBaseGameLayer::switchToRollMode(GJBaseGameLayer *a1, PlayerObject *a2, GameObject *a3, bool a4)
{
GameObject *v7; // x0
bool m_hasNoEffects; // w8
PlayerObject::switchedToMode(a2, BallPortal);
v7 = GJBaseGameLayer::processCameraObject(a1, a3, a2);
if ( v7 )
m_hasNoEffects = v7->m_hasNoEffects;
else
m_hasNoEffects = 0;
PlayerObject::toggleRollMode(a2, 1, m_hasNoEffects);
}