; ; EditorUI::editColor from 0x14011ed90 to 0x14011eed9 (329 bytes) ; ; 3 xrefs: ; > EditorUI::checkLiveColorSelect @ 0x14011064b ; > EditorUI::onEditColor @ 0x14011eadb ; > @ 0x1406c94f8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x14011ed90 push rsi ; +0x2, 0x14011ed92 push rdi ; +0x3, 0x14011ed93 sub rsp, 20h ; +0x4, 0x14011ed94 xor edi, edi ; +0x8, 0x14011ed98 lea r9, [rsp+38h+arg_18] ; +0xa, 0x14011ed9a lea r8, [rsp+38h+arg_8] ; +0xf, 0x14011ed9f mov qword ptr [rsp+38h+arg_8+8], rdi ; +0x14, 0x14011eda4 lea rdx, [rsp+38h+arg_8+8] ; +0x19, 0x14011eda9 mov qword ptr [rsp+38h+arg_8], rdi ; +0x1e, 0x14011edae mov [rsp+38h+arg_18], rdi ; +0x23, 0x14011edb3 mov rbx, rcx ; +0x28, 0x14011edb8 call EditorUI__getEditColorTargets ; +0x2b, 0x14011edbb mov rsi, [rsp+38h+arg_18] ; +0x30, 0x14011edc0 cmp qword ptr [rsp+38h+arg_8+8], rdi ; +0x35, 0x14011edc5 jnz short loc_14011EDDC ; +0x3a, 0x14011edca cmp qword ptr [rsp+38h+arg_8], rdi ; +0x3c, 0x14011edcc jnz short loc_14011EDDC ; +0x41, 0x14011edd1 test rsi, rsi ; +0x43, 0x14011edd3 jz loc_14011EED1 ; +0x46, 0x14011edd6 mov rcx, rbx ; +0x4c, 0x14011eddc call EditorUI__closeLiveColorSelect ; +0x4f, 0x14011eddf mov rcx, rbx ; +0x54, 0x14011ede4 call EditorUI__closeLiveHSVSelect ; +0x57, 0x14011ede7 mov [rbx+560h], rdi ; +0x5c, 0x14011edec test rsi, rsi ; +0x63, 0x14011edf3 jz short loc_14011EE01 ; +0x66, 0x14011edf6 xor edx, edx ; +0x68, 0x14011edf8 mov r8, rsi ; +0x6a, 0x14011edfa xor ecx, ecx ; +0x6d, 0x14011edfd jmp short loc_14011EE0E ; +0x6f, 0x14011edff mov rdx, qword ptr [rsp+38h+arg_8] ; +0x71, 0x14011ee01 xor r8d, r8d ; +0x76, 0x14011ee06 mov rcx, qword ptr [rsp+38h+arg_8+8] ; +0x79, 0x14011ee09 call ColorSelectLiveOverlay__create ; +0x7e, 0x14011ee0e mov [rbx+560h], rax ; +0x83, 0x14011ee13 mov rcx, rax ; +0x8a, 0x14011ee1a test rbx, rbx ; +0x8d, 0x14011ee1d lea rax, [rbx+1A0h] ; +0x90, 0x14011ee20 cmovz rax, rdi ; +0x97, 0x14011ee27 mov [rcx+2C0h], rax ; +0x9b, 0x14011ee2b mov rax, [rbx+560h] ; +0xa2, 0x14011ee32 mov [rax+230h], rbx ; +0xa9, 0x14011ee39 mov rcx, [rbx+560h] ; +0xb0, 0x14011ee40 mov rax, [rcx] ; +0xb7, 0x14011ee47 call qword ptr [rax+410h] ; +0xba, 0x14011ee4a test rsi, rsi ; +0xc0, 0x14011ee50 jnz loc_14011EED1 ; +0xc3, 0x14011ee53 mov rcx, [rbx+538h] ; +0xc9, 0x14011ee59 test rcx, rcx ; +0xd0, 0x14011ee60 jz short loc_14011EE78 ; +0xd3, 0x14011ee63 mov [rcx+475h], dil ; +0xd5, 0x14011ee65 add rsp, 20h ; +0xdc, 0x14011ee6c pop rdi ; +0xe0, 0x14011ee70 pop rsi ; +0xe1, 0x14011ee71 pop rbx ; +0xe2, 0x14011ee72 jmp GameObject__updateObjectEditorColor ; +0xe3, 0x14011ee73 mov rcx, [rbx+340h] ; +0xe8, 0x14011ee78 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xef, 0x14011ee7f test eax, eax ; +0xf5, 0x14011ee85 jz short loc_14011EED1 ; +0xf7, 0x14011ee87 mov rcx, [rbx+340h] ; +0xf9, 0x14011ee89 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x100, 0x14011ee90 test eax, eax ; +0x106, 0x14011ee96 jz short loc_14011EED1 ; +0x108, 0x14011ee98 nop word ptr [rax+rax+00h] ; +0x10a, 0x14011ee9a mov rcx, [rbx+340h] ; +0x110, 0x14011eea0 mov edx, edi ; +0x117, 0x14011eea7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x119, 0x14011eea9 mov rcx, rax ; +0x11f, 0x14011eeaf mov byte ptr [rax+475h], 0 ; +0x122, 0x14011eeb2 call GameObject__updateObjectEditorColor ; +0x129, 0x14011eeb9 mov rcx, [rbx+340h] ; +0x12e, 0x14011eebe inc edi ; +0x135, 0x14011eec5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x137, 0x14011eec7 cmp edi, eax ; +0x13d, 0x14011eecd jb short loc_14011EEA0 ; +0x13f, 0x14011eecf add rsp, 20h ; +0x141, 0x14011eed1 pop rdi ; +0x145, 0x14011eed5 pop rsi ; +0x146, 0x14011eed6 pop rbx ; +0x147, 0x14011eed7 retn ; +0x148, 0x14011eed8