// // GJBaseGameLayer::playerTouchedRing from 0x4922a0 to 0x4922f2 (82 bytes) // // 2 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x492a82 // > GJBaseGameLayer::collisionCheckObjects @ 0x492a8c // // 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 GJBaseGameLayer::playerTouchedRing(GJBaseGameLayer *a1, PlayerObject *a2, RingObject *a3) { _BOOL4 m_isRingPoweredOn; // r7 m_isRingPoweredOn = a3->m_isRingPoweredOn; if ( !a3->m_isRingPoweredOn ) { GJBaseGameLayer::registerStateObject(a1, a3); GJBaseGameLayer::gameEventTriggered(a1, OrbTouched, m_isRingPoweredOn, m_isRingPoweredOn); } PlayerObject::addToTouchedRings(a2, a3); a3->powerOnObject(a3, a1->m_gameState.m_commandIndex); if ( !PlayerObject::isFlying(a2) && !a3->m_claimTouch ) PlayerObject::ringJump(a2, a3, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source