// // SetupObjectOptionsPopup::onExtendedCollision from 0x508b22 to 0x508b76 (84 bytes) // // 0 xrefs: // // 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 SetupObjectOptionsPopup::onExtendedCollision(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_levelEditorLayer; // r6 GameObject *m_gameObject; // r1 bool v5; // r2 unsigned int i; // r4 GameObject *v7; // r0 m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer; if ( m_levelEditorLayer ) { m_gameObject = a1->m_gameObject; v5 = !a1->m_extendedCollision; a1->m_extendedCollision = v5; if ( m_gameObject ) { GJBaseGameLayer::updateExtendedCollision(m_levelEditorLayer, m_gameObject, v5); } else { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i ) { v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); GJBaseGameLayer::updateExtendedCollision(m_levelEditorLayer, v7, a1->m_extendedCollision); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source