// // PlayerObject::updateCollideTop from 0x62338c to 0x6233ec (96 bytes) // // 8 xrefs: // > PlayerObject::updateCollide @ 0x624444 // > PlayerObject::collidedWithObjectInternal @ 0x62feb4 // > PlayerObject::collidedWithObjectInternal @ 0x62ff44 // > PlayerObject::collidedWithObjectInternal @ 0x62ff6c // > PlayerObject::collidedWithObjectInternal @ 0x6303b4 // > PlayerObject::collidedWithObjectInternal @ 0x6303c8 // > PlayerObject::collidedWithObjectInternal @ 0x63045c // > @ 0x8bcc8 // // 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 PlayerObject::updateCollideTop(PlayerObject *a1, float a2, GameObject *a3) { int m_uniqueID; // w2 double m_collidedTopMinY; // d1 double v5; // d0 if ( a3 ) m_uniqueID = a3->m_uniqueID; else m_uniqueID = 0; m_collidedTopMinY = a1->m_collidedTopMinY; if ( m_collidedTopMinY == 0.0 ) { a1->m_collidedTopMinY = a2; if ( !m_uniqueID ) return; LABEL_10: PlayerObject::storeCollision(a1, (PlayerCollisionDirection)0, m_uniqueID); return; } v5 = a2; if ( a1->m_isUpsideDown ) { if ( m_collidedTopMinY < v5 ) m_collidedTopMinY = v5; } else if ( m_collidedTopMinY > v5 ) { m_collidedTopMinY = v5; } a1->m_collidedTopMinY = m_collidedTopMinY; if ( m_uniqueID ) goto LABEL_10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source