; ; EditorUI::checkLiveColorSelect from 0x1005b8ef0 to 0x1005b902e (318 bytes) ; ; 2 xrefs: ; > EditorUI::selectObject @ 0x1005b8825 ; > EditorUI::selectObjects @ 0x1005b8ee4 ; ; 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:43 +0000 ; push rbp ; +0x0, 0x1005b8ef0 mov rbp, rsp ; +0x1, 0x1005b8ef1 push r14 ; +0x4, 0x1005b8ef4 push rbx ; +0x6, 0x1005b8ef6 mov rbx, rdi ; +0x7, 0x1005b8ef7 cmp qword ptr [rdi+608h], 0 ; +0xa, 0x1005b8efa jz loc_1005B8F93 ; +0x12, 0x1005b8f02 mov rdi, rbx ; +0x18, 0x1005b8f08 call EditorUI__closeLiveColorSelect ; +0x1b, 0x1005b8f0b mov rdi, rbx ; +0x20, 0x1005b8f10 call EditorUI__editColor ; +0x23, 0x1005b8f13 mov rdi, [rbx+5D8h] ; +0x28, 0x1005b8f18 test rdi, rdi ; +0x2f, 0x1005b8f1f jz loc_1005B8FC1 ; +0x32, 0x1005b8f22 mov rax, [rdi] ; +0x38, 0x1005b8f28 mov esi, 0FF00h ; +0x3b, 0x1005b8f2b call qword ptr [rax+5F8h] ; +0x40, 0x1005b8f30 mov rdi, rbx ; +0x46, 0x1005b8f36 mov esi, 7Ch ; '|' ; +0x49, 0x1005b8f39 call cocos2d__CCNode__stopActionByTag ; +0x4e, 0x1005b8f3e movss xmm0, cs:dword_100A03744 ; +0x53, 0x1005b8f43 call cocos2d__CCDelayTime__create ; +0x5b, 0x1005b8f4b mov r14, rax ; +0x60, 0x1005b8f50 lea rsi, EditorUI__deselectObjectsColor ; +0x63, 0x1005b8f53 mov rdi, rbx ; +0x6a, 0x1005b8f5a xor edx, edx ; +0x6d, 0x1005b8f5d call cocos2d__CCCallFunc__create ; +0x6f, 0x1005b8f5f mov rdi, r14 ; +0x74, 0x1005b8f64 mov rsi, rax ; +0x77, 0x1005b8f67 xor edx, edx ; +0x7a, 0x1005b8f6a xor eax, eax ; +0x7c, 0x1005b8f6c call sub_10039EB60 ; +0x7e, 0x1005b8f6e mov r14, rax ; +0x83, 0x1005b8f73 mov rax, [rax] ; +0x86, 0x1005b8f76 mov rdi, r14 ; +0x89, 0x1005b8f79 mov esi, 7Ch ; '|' ; +0x8c, 0x1005b8f7c call qword ptr [rax+48h] ; +0x91, 0x1005b8f81 mov rdi, rbx ; +0x94, 0x1005b8f84 mov rsi, r14 ; +0x97, 0x1005b8f87 pop rbx ; +0x9a, 0x1005b8f8a pop r14 ; +0x9b, 0x1005b8f8b pop rbp ; +0x9d, 0x1005b8f8d jmp cocos2d__CCNode__runAction ; +0x9e, 0x1005b8f8e cmp qword ptr [rbx+610h], 0 ; +0xa3, 0x1005b8f93 jz loc_1005B9029 ; +0xab, 0x1005b8f9b mov rdi, rbx ; +0xb1, 0x1005b8fa1 call EditorUI__closeLiveHSVSelect ; +0xb4, 0x1005b8fa4 mov rdi, rbx ; +0xb9, 0x1005b8fa9 call EditorUI__editHSV ; +0xbc, 0x1005b8fac mov rdi, [rbx+5D8h] ; +0xc1, 0x1005b8fb1 test rdi, rdi ; +0xc8, 0x1005b8fb8 jnz loc_1005B8F28 ; +0xcb, 0x1005b8fbb mov rdi, [rbx+380h] ; +0xd1, 0x1005b8fc1 call sub_1007FEF90 ; +0xd8, 0x1005b8fc8 test eax, eax ; +0xdd, 0x1005b8fcd jz loc_1005B8F36 ; +0xdf, 0x1005b8fcf mov rdi, [rbx+380h] ; +0xe5, 0x1005b8fd5 call sub_1007FEF90 ; +0xec, 0x1005b8fdc test eax, eax ; +0xf1, 0x1005b8fe1 jz loc_1005B8F36 ; +0xf3, 0x1005b8fe3 xor r14d, r14d ; +0xf9, 0x1005b8fe9 nop dword ptr [rax+00h] ; +0xfc, 0x1005b8fec mov rdi, [rbx+380h] ; +0x100, 0x1005b8ff0 mov esi, r14d ; +0x107, 0x1005b8ff7 call sub_1007FEFE0 ; +0x10a, 0x1005b8ffa mov rcx, [rax] ; +0x10f, 0x1005b8fff mov rdi, rax ; +0x112, 0x1005b9002 mov esi, 0FF00h ; +0x115, 0x1005b9005 call qword ptr [rcx+5F8h] ; +0x11a, 0x1005b900a inc r14d ; +0x120, 0x1005b9010 mov rdi, [rbx+380h] ; +0x123, 0x1005b9013 call sub_1007FEF90 ; +0x12a, 0x1005b901a cmp r14d, eax ; +0x12f, 0x1005b901f jb short loc_1005B8FF0 ; +0x132, 0x1005b9022 jmp loc_1005B8F36 ; +0x134, 0x1005b9024 pop rbx ; +0x139, 0x1005b9029 pop r14 ; +0x13a, 0x1005b902a pop rbp ; +0x13c, 0x1005b902c retn ; +0x13d, 0x1005b902d