; ; EditorUI::getSelectedObjects from 0x1401c9630 to 0x1401c96dd (173 bytes) ; ; 15 xrefs: ; > EditorCommandsPopup::onCommand @ 0x14017db85 ; > EditorCommandsPopup::onCommand @ 0x14017dbac ; > EditorCommandsPopup::onCommand @ 0x14017dbd3 ; > EditorCommandsPopup::onCommand @ 0x14017dbfa ; > EditorCommandsPopup::onCommand @ 0x14017dcc7 ; > EditorUI::createUndoSelectObject @ 0x1401b3a6a ; > EditorUI::editHSV @ 0x1401be456 ; > EditorUI::handleEditorAction @ 0x1401c33d6 ; > EditorUI::handleEditorAction @ 0x1401c33fb ; > EditorUI::handleEditorAction @ 0x1401c3420 ; > EditorUI::handleEditorAction @ 0x1401c3445 ; > EditorUI::handleEditorAction @ 0x1401c3513 ; > EditorUI::handleEditorAction @ 0x1401c35bc ; > LevelEditorLayer::handleAction @ 0x1403f2de8 ; > @ 0x14091a8a0 ; ; 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 ; push rdi ; +0x0, 0x1401c9630 sub rsp, 20h ; +0x2, 0x1401c9632 mov rdi, rcx ; +0x6, 0x1401c9636 mov rcx, [rcx+620h] ; +0x9, 0x1401c9639 test rcx, rcx ; +0x10, 0x1401c9640 jz short loc_1401C965D ; +0x13, 0x1401c9643 cmp dword ptr [rcx+40Ch], 2EDh ; +0x15, 0x1401c9645 jz short loc_1401C965D ; +0x1f, 0x1401c964f add rsp, 20h ; +0x21, 0x1401c9651 pop rdi ; +0x25, 0x1401c9655 jmp cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x26, 0x1401c9656 mov [rsp+28h+arg_0], rbx ; +0x2d, 0x1401c965d mov [rsp+28h+arg_8], rsi ; +0x32, 0x1401c9662 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x37, 0x1401c9667 mov rcx, [rdi+3B0h] ; +0x3d, 0x1401c966d xor ebx, ebx ; +0x44, 0x1401c9674 mov rsi, rax ; +0x46, 0x1401c9676 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x49, 0x1401c9679 test eax, eax ; +0x4f, 0x1401c967f jz short loc_1401C96CA ; +0x51, 0x1401c9681 nop dword ptr [rax+00h] ; +0x53, 0x1401c9683 nop word ptr [rax+rax+00000000h] ; +0x57, 0x1401c9687 mov rcx, [rdi+3B0h] ; +0x60, 0x1401c9690 mov edx, ebx ; +0x67, 0x1401c9697 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x1401c9699 cmp dword ptr [rax+40Ch], 2EDh ; +0x6f, 0x1401c969f jz short loc_1401C96B7 ; +0x79, 0x1401c96a9 mov rdx, rax ; +0x7b, 0x1401c96ab mov rcx, rsi ; +0x7e, 0x1401c96ae call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x81, 0x1401c96b1 mov rcx, [rdi+3B0h] ; +0x87, 0x1401c96b7 inc ebx ; +0x8e, 0x1401c96be call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x90, 0x1401c96c0 cmp ebx, eax ; +0x96, 0x1401c96c6 jb short loc_1401C9690 ; +0x98, 0x1401c96c8 mov rbx, [rsp+28h+arg_0] ; +0x9a, 0x1401c96ca mov rax, rsi ; +0x9f, 0x1401c96cf mov rsi, [rsp+28h+arg_8] ; +0xa2, 0x1401c96d2 add rsp, 20h ; +0xa7, 0x1401c96d7 pop rdi ; +0xab, 0x1401c96db retn ; +0xac, 0x1401c96dc