; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1401c81d0 push rdi ; +0x5, 0x1401c81d5 sub rsp, 20h ; +0x6, 0x1401c81d6 mov rbx, rcx ; +0xa, 0x1401c81da mov rdi, rdx ; +0xd, 0x1401c81dd mov rcx, [rcx+620h] ; +0x10, 0x1401c81e0 test rcx, rcx ; +0x17, 0x1401c81e7 jz short loc_1401C8260 ; +0x1a, 0x1401c81ea mov eax, [rdx+39Ch] ; +0x1c, 0x1401c81ec cmp [rcx+39Ch], eax ; +0x22, 0x1401c81f2 jnz short loc_1401C8260 ; +0x28, 0x1401c81f8 mov edx, 7Ch ; '|' ; +0x2a, 0x1401c81fa mov rcx, rbx ; +0x2f, 0x1401c81ff call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x32, 0x1401c8202 mov rcx, [rbx+620h] ; +0x38, 0x1401c8208 test rcx, rcx ; +0x3f, 0x1401c820f jz short loc_1401C8220 ; +0x42, 0x1401c8212 mov byte ptr [rcx+475h], 0 ; +0x44, 0x1401c8214 call GameObject__updateObjectEditorColor ; +0x4b, 0x1401c821b mov rcx, rbx ; +0x50, 0x1401c8220 mov qword ptr [rbx+620h], 0 ; +0x53, 0x1401c8223 call EditorUI__toggleEditObjectButton ; +0x5e, 0x1401c822e lea rcx, [rbx+608h] ; +0x63, 0x1401c8233 mov byte ptr [rbx+338h], 1 ; +0x6a, 0x1401c823a lea rdx, unk_14090A748 ; +0x71, 0x1401c8241 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x78, 0x1401c8248 mov byte ptr [rbx+338h], 1 ; +0x7e, 0x1401c824e mov rbx, [rsp+28h+arg_0] ; +0x85, 0x1401c8255 add rsp, 20h ; +0x8a, 0x1401c825a pop rdi ; +0x8e, 0x1401c825e retn ; +0x8f, 0x1401c825f mov rcx, rdi ; +0x90, 0x1401c8260 mov byte ptr [rdx+475h], 0 ; +0x93, 0x1401c8263 call GameObject__updateObjectEditorColor ; +0x9a, 0x1401c826a mov rcx, [rbx+3B0h] ; +0x9f, 0x1401c826f mov rdx, rdi ; +0xa6, 0x1401c8276 call cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0xa9, 0x1401c8279 test al, al ; +0xaf, 0x1401c827f jz short loc_1401C829D ; +0xb1, 0x1401c8281 mov rcx, [rbx+3B0h] ; +0xb3, 0x1401c8283 mov r8b, 1 ; +0xba, 0x1401c828a mov rdx, rdi ; +0xbd, 0x1401c828d mov byte ptr [rbx+338h], 1 ; +0xc0, 0x1401c8290 call cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0xc7, 0x1401c8297 mov rbx, [rsp+28h+arg_0] ; +0xcd, 0x1401c829d add rsp, 20h ; +0xd2, 0x1401c82a2 pop rdi ; +0xd6, 0x1401c82a6 retn ; +0xd7, 0x1401c82a7