// // EditorUI::onUpdateDeleteFilter from 0x100031d60 to 0x100031de1 (129 bytes) // // 4 xrefs: // > EditorUI::setupDeleteMenu @ 0x10000cfa4 // > EditorUI::setupDeleteMenu @ 0x10000d0c9 // > EditorUI::setupDeleteMenu @ 0x10000d1c5 // > EditorUI::setupDeleteMenu @ 0x10000d33d // // 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 EditorUI::onUpdateDeleteFilter(EditorUI *a1, cocos2d::CCObject *a2) { unsigned int v3; // eax unsigned int v4; // r14d const char *v5; // rsi GameManager *v6; // rdi int m_objectID; // edx GameObject *m_selectedObject; // r14 GameManager *v9; // rax v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); if ( v3 >= 3 ) { if ( v3 != 3 ) goto LABEL_4; m_selectedObject = a1->m_selectedObject; v5 = "0005"; v6 = GameManager::sharedState(); if ( m_selectedObject ) { GameManager::setIntGameVariable(v6, "0005", 3); v9 = GameManager::sharedState(); m_objectID = m_selectedObject->m_objectID; v5 = "0006"; v6 = v9; } else { m_objectID = 0; } } else { v4 = v3; v5 = "0005"; v6 = GameManager::sharedState(); m_objectID = v4; } GameManager::setIntGameVariable(v6, v5, m_objectID); LABEL_4: EditorUI::updateDeleteButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source