; ; EditorUI::selectObject from 0x1005b8760 to 0x1005b882f (207 bytes) ; ; 9 xrefs: ; > EditorUI::clickOnPosition @ 0x10000c828 ; > EditorUI::onCreateObject @ 0x100011239 ; > EditorUI::onCreateObject @ 0x100011353 ; > EditorUI::createGradientFromSelection @ 0x1000177d7 ; > EditorUI::pasteObjects @ 0x1005b79da ; > EditorUI::selectObjects @ 0x1005b8dd5 ; > EditorUI::findObject @ 0x1005b9ac2 ; > sub_1005B9BD0 @ 0x1005b9c0e ; > EditorUI::ccTouchEnded @ 0x10060b0c8 ; ; 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 12:32:42 +0000 ; push rbp ; +0x0, 0x1005b8760 mov rbp, rsp ; +0x1, 0x1005b8761 push r14 ; +0x4, 0x1005b8764 push rbx ; +0x6, 0x1005b8766 mov r14, rsi ; +0x7, 0x1005b8767 mov rbx, rdi ; +0xa, 0x1005b876a test edx, edx ; +0xd, 0x1005b876d jnz short loc_1005B8781 ; +0xf, 0x1005b876f mov rsi, r14 ; +0x11, 0x1005b8771 call EditorUI__canSelectObject ; +0x14, 0x1005b8774 test al, al ; +0x19, 0x1005b8779 jz loc_1005B882A ; +0x1b, 0x1005b877b cmp byte ptr [rbx+363h], 1 ; +0x21, 0x1005b8781 jnz short loc_1005B87DD ; +0x28, 0x1005b8788 cmp byte ptr [rbx+364h], 0 ; +0x2a, 0x1005b878a jnz short loc_1005B87DD ; +0x31, 0x1005b8791 mov esi, [r14+368h] ; +0x33, 0x1005b8793 test esi, esi ; +0x3a, 0x1005b879a jle short loc_1005B87DD ; +0x3c, 0x1005b879c mov rdi, [rbx+5A0h] ; +0x3e, 0x1005b879e call GJBaseGameLayer__getStickyGroup ; +0x45, 0x1005b87a5 test rax, rax ; +0x4a, 0x1005b87aa jz short loc_1005B87DD ; +0x4d, 0x1005b87ad mov rdi, rax ; +0x4f, 0x1005b87af call sub_1007FEF90 ; +0x52, 0x1005b87b2 cmp eax, 2 ; +0x57, 0x1005b87b7 jb short loc_1005B87DD ; +0x5a, 0x1005b87ba mov rdi, rbx ; +0x5c, 0x1005b87bc call EditorUI__deselectAll ; +0x5f, 0x1005b87bf mov rdi, r14 ; +0x64, 0x1005b87c4 call sub_1007FE9A0 ; +0x67, 0x1005b87c7 mov rdi, rbx ; +0x6c, 0x1005b87cc mov rsi, rax ; +0x6f, 0x1005b87cf xor edx, edx ; +0x72, 0x1005b87d2 pop rbx ; +0x74, 0x1005b87d4 pop r14 ; +0x75, 0x1005b87d5 pop rbp ; +0x77, 0x1005b87d7 jmp EditorUI__selectObjects ; +0x78, 0x1005b87d8 mov byte ptr [rbx+362h], 1 ; +0x7d, 0x1005b87dd mov rdi, rbx ; +0x84, 0x1005b87e4 call EditorUI__deselectAll ; +0x87, 0x1005b87e7 mov [rbx+5D8h], r14 ; +0x8c, 0x1005b87ec mov rax, [r14] ; +0x93, 0x1005b87f3 mov rdi, r14 ; +0x96, 0x1005b87f6 mov esi, 0FF00h ; +0x99, 0x1005b87f9 call qword ptr [rax+5F8h] ; +0x9e, 0x1005b87fe mov rax, [rbx+5D8h] ; +0xa4, 0x1005b8804 mov ecx, [rbx+604h] ; +0xab, 0x1005b880b mov [rax+470h], ecx ; +0xb1, 0x1005b8811 mov byte ptr [rbx+308h], 1 ; +0xb7, 0x1005b8817 mov rdi, rbx ; +0xbe, 0x1005b881e pop rbx ; +0xc1, 0x1005b8821 pop r14 ; +0xc2, 0x1005b8822 pop rbp ; +0xc4, 0x1005b8824 jmp EditorUI__checkLiveColorSelect ; +0xc5, 0x1005b8825 pop rbx ; +0xca, 0x1005b882a pop r14 ; +0xcb, 0x1005b882b pop rbp ; +0xcd, 0x1005b882d retn ; +0xce, 0x1005b882e