// // SetupObjectOptionsPopup::onExtendedCollision from 0x100040ef4 to 0x100040f90 (156 bytes) // // 1 xrefs: // > SetupObjectOptionsPopup::init @ 0x10003ff6c // // 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 SetupObjectOptionsPopup::onExtendedCollision(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_levelEditorLayer; // x19 bool v4; // w8 GameObject *m_gameObject; // x1 __int64 v6; // x21 GameObject *v7; // x0 m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer; if ( m_levelEditorLayer ) { v4 = !a1->m_extendedCollision; a1->m_extendedCollision = v4; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { GJBaseGameLayer::updateExtendedCollision(m_levelEditorLayer, m_gameObject, v4); } else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) ) { v6 = 0; do { v7 = (GameObject *)sub_10024A388(a1->m_gameObjects, v6); GJBaseGameLayer::updateExtendedCollision(m_levelEditorLayer, v7, a1->m_extendedCollision); v6 = (unsigned int)(v6 + 1); } while ( (unsigned int)v6 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source