// // EditorUI::deselectObject from 0x1401c81d0 to 0x1401c82a8 (216 bytes) // // 12 xrefs: // > EditorUI::onDelete @ 0x1401b036f // > EditorUI::onDeleteSelected @ 0x1401b0ad4 // > EditorUI::onDeleteSelected @ 0x1401b0cc8 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b657b // > EditorUI::createSmartObjectsFromTemplate @ 0x1401b71d7 // > EditorUI::deleteSmartBlocksFromObjects @ 0x1401b77d7 // > EditorUI::createSmartObjectsFromType @ 0x1401b7c97 // > EditorUI::deselectTargetPortals @ 0x1401c8461 // > EditorUI::spriteFromObjectString @ 0x1401f0b98 // > LevelEditorLayer::handleAction @ 0x1403f26d7 // > LevelEditorLayer::handleAction @ 0x1403f274b // > @ 0x14091a804 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:06 +0000 // void __fastcall EditorUI::deselectObject(__int64 a1, __int64 a2) { __int64 v4; // rcx __int64 v5; // rcx cocos2d::CCArray *v6; // rcx v4 = *(_QWORD *)(a1 + 1568); if ( v4 && *(_DWORD *)(v4 + 924) == *(_DWORD *)(a2 + 924) ) { cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)a1, 124); v5 = *(_QWORD *)(a1 + 1568); if ( v5 ) { *(_BYTE *)(v5 + 1141) = 0; GameObject::updateObjectEditorColor(v5); } *(_QWORD *)(a1 + 1568) = 0; EditorUI::toggleEditObjectButton(a1); *(_BYTE *)(a1 + 824) = 1; cocos2d::CCPoint::operator=(a1 + 1544, &unk_14090A748); *(_BYTE *)(a1 + 824) = 1; } else { *(_BYTE *)(a2 + 1141) = 0; GameObject::updateObjectEditorColor(a2); if ( cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(a1 + 944), (struct cocos2d::CCObject *)a2) ) { v6 = *(cocos2d::CCArray **)(a1 + 944); *(_BYTE *)(a1 + 824) = 1; cocos2d::CCArray::removeObject(v6, (struct cocos2d::CCObject *)a2, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source