; ; EditorUI::getEditColorTargets from 0x14011eb00 to 0x14011ed85 (645 bytes) ; ; 3 xrefs: ; > EditorUI::updateEditColorButton @ 0x14011e9de ; > EditorUI::editColor @ 0x14011edbb ; > @ 0x1406c94ec ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x14011eb00 mov [rsp+arg_10], rsi ; +0x5, 0x14011eb05 push rdi ; +0xa, 0x14011eb0a push r14 ; +0xb, 0x14011eb0b push r15 ; +0xd, 0x14011eb0d sub rsp, 20h ; +0xf, 0x14011eb0f mov r14, r8 ; +0x13, 0x14011eb13 mov r15, rdx ; +0x16, 0x14011eb16 mov rsi, rcx ; +0x19, 0x14011eb19 mov edi, 0FFFFFFFFh ; +0x1c, 0x14011eb1c mov ebx, edi ; +0x21, 0x14011eb21 mov rax, [rcx+538h] ; +0x23, 0x14011eb23 test rax, rax ; +0x2a, 0x14011eb2a jz short loc_14011EBA1 ; +0x2d, 0x14011eb2d cmp dword ptr [rax+4E8h], 1 ; +0x2f, 0x14011eb2f jnz short loc_14011EB55 ; +0x36, 0x14011eb36 cmp byte ptr [rax+4EEh], 0 ; +0x38, 0x14011eb38 jnz short loc_14011EB4D ; +0x3f, 0x14011eb3f cmp dword ptr [rax+40Ch], 3EEh ; +0x41, 0x14011eb41 jnz short loc_14011EB55 ; +0x4b, 0x14011eb4b mov [r9], rax ; +0x4d, 0x14011eb4d jmp loc_14011ED59 ; +0x50, 0x14011eb50 mov rdx, [rax+450h] ; +0x55, 0x14011eb55 mov ecx, [rdx+4] ; +0x5c, 0x14011eb5c test ecx, ecx ; +0x5f, 0x14011eb5f jz short loc_14011EB6F ; +0x61, 0x14011eb61 mov edi, [rdx] ; +0x63, 0x14011eb63 cmp ecx, edi ; +0x65, 0x14011eb65 jz short loc_14011EB6D ; +0x67, 0x14011eb67 test edi, edi ; +0x69, 0x14011eb69 jnz short loc_14011EB6F ; +0x6b, 0x14011eb6b mov edi, ecx ; +0x6d, 0x14011eb6d mov rcx, [rax+458h] ; +0x6f, 0x14011eb6f test rcx, rcx ; +0x76, 0x14011eb76 jz loc_14011EC9B ; +0x79, 0x14011eb79 cmp dword ptr [rcx+4], 0 ; +0x7f, 0x14011eb7f jz loc_14011EC9B ; +0x83, 0x14011eb83 mov eax, [rcx+4] ; +0x89, 0x14011eb89 mov ebx, [rcx] ; +0x8c, 0x14011eb8c cmp eax, ebx ; +0x8e, 0x14011eb8e jz short loc_14011EB9A ; +0x90, 0x14011eb90 test ebx, ebx ; +0x92, 0x14011eb92 jnz loc_14011EC9B ; +0x94, 0x14011eb94 mov ebx, eax ; +0x9a, 0x14011eb9a jmp loc_14011EC9B ; +0x9c, 0x14011eb9c mov rcx, [rcx+340h] ; +0xa1, 0x14011eba1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa8, 0x14011eba8 test eax, eax ; +0xae, 0x14011ebae jz loc_14011ED59 ; +0xb0, 0x14011ebb0 mov edi, 0FFFFFFFEh ; +0xb6, 0x14011ebb6 mov ebx, edi ; +0xbb, 0x14011ebbb xor r9b, r9b ; +0xbd, 0x14011ebbd mov rax, [rsi+340h] ; +0xc0, 0x14011ebc0 test rax, rax ; +0xc7, 0x14011ebc7 jz loc_14011ED59 ; +0xca, 0x14011ebca mov r8, [rax+38h] ; +0xd0, 0x14011ebd0 mov eax, [r8] ; +0xd4, 0x14011ebd4 test eax, eax ; +0xd7, 0x14011ebd7 jz loc_14011ED59 ; +0xd9, 0x14011ebd9 mov r8, [r8+10h] ; +0xdf, 0x14011ebdf lea r10, [rax-1] ; +0xe3, 0x14011ebe3 lea r10, [r8+r10*8] ; +0xe7, 0x14011ebe7 cmp r8, r10 ; +0xeb, 0x14011ebeb ja loc_14011ED59 ; +0xee, 0x14011ebee lea r11d, [rdi+3] ; +0xf4, 0x14011ebf4 nop dword ptr [rax+rax+00000000h] ; +0xf8, 0x14011ebf8 mov rcx, [r8] ; +0x100, 0x14011ec00 test rcx, rcx ; +0x103, 0x14011ec03 jz loc_14011EC9B ; +0x106, 0x14011ec06 mov rax, [rcx+450h] ; +0x10c, 0x14011ec0c mov edx, [rax+4] ; +0x113, 0x14011ec13 test edx, edx ; +0x116, 0x14011ec16 jnz short loc_14011EC35 ; +0x118, 0x14011ec18 mov rax, [rcx+458h] ; +0x11a, 0x14011ec1a test rax, rax ; +0x121, 0x14011ec21 jz loc_14011ED59 ; +0x124, 0x14011ec24 cmp [rax+4], edx ; +0x12a, 0x14011ec2a jz loc_14011ED59 ; +0x12d, 0x14011ec2d jmp short loc_14011EC60 ; +0x133, 0x14011ec33 mov eax, [rax] ; +0x135, 0x14011ec35 cmp edx, eax ; +0x137, 0x14011ec37 jz short loc_14011EC3F ; +0x139, 0x14011ec39 test eax, eax ; +0x13b, 0x14011ec3b jnz short loc_14011EC41 ; +0x13d, 0x14011ec3d mov eax, edx ; +0x13f, 0x14011ec3f cmp edi, 0FFFFFFFEh ; +0x141, 0x14011ec41 jnz short loc_14011EC4A ; +0x144, 0x14011ec44 mov edi, eax ; +0x146, 0x14011ec46 jmp short loc_14011EC54 ; +0x148, 0x14011ec48 movzx r9d, r9b ; +0x14a, 0x14011ec4a cmp edi, eax ; +0x14e, 0x14011ec4e cmovnz r9d, r11d ; +0x150, 0x14011ec50 mov rax, [rcx+458h] ; +0x154, 0x14011ec54 test rax, rax ; +0x15b, 0x14011ec5b jz short loc_14011EC85 ; +0x15e, 0x14011ec5e cmp dword ptr [rax+4], 0 ; +0x160, 0x14011ec60 jz short loc_14011EC85 ; +0x164, 0x14011ec64 mov ecx, [rax+4] ; +0x166, 0x14011ec66 cmp ecx, [rax] ; +0x169, 0x14011ec69 jz short loc_14011EC74 ; +0x16b, 0x14011ec6b cmp dword ptr [rax], 0 ; +0x16d, 0x14011ec6d jz short loc_14011EC74 ; +0x170, 0x14011ec70 mov ecx, [rax] ; +0x172, 0x14011ec72 cmp ebx, 0FFFFFFFEh ; +0x174, 0x14011ec74 jnz short loc_14011EC7D ; +0x177, 0x14011ec77 mov ebx, ecx ; +0x179, 0x14011ec79 jmp short loc_14011EC85 ; +0x17b, 0x14011ec7b cmp ebx, ecx ; +0x17d, 0x14011ec7d jnz loc_14011ED59 ; +0x17f, 0x14011ec7f test r9b, r9b ; +0x185, 0x14011ec85 jnz loc_14011ED59 ; +0x188, 0x14011ec88 add r8, 8 ; +0x18e, 0x14011ec8e cmp r8, r10 ; +0x192, 0x14011ec92 jbe loc_14011EC00 ; +0x195, 0x14011ec95 test edi, edi ; +0x19b, 0x14011ec9b js short loc_14011ECFA ; +0x19d, 0x14011ec9d mov rax, cs:qword_1406C2ED8 ; +0x19f, 0x14011ec9f test rax, rax ; +0x1a6, 0x14011eca6 jnz short loc_14011ECDB ; +0x1a9, 0x14011eca9 mov ecx, 668h; Size ; +0x1ab, 0x14011ecab call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1b0, 0x14011ecb0 mov [rsp+38h+arg_0], rax ; +0x1b5, 0x14011ecb5 mov rcx, rax ; +0x1ba, 0x14011ecba call sub_14017AB00 ; +0x1bd, 0x14011ecbd nop ; +0x1c2, 0x14011ecc2 mov cs:qword_1406C2ED8, rax ; +0x1c3, 0x14011ecc3 mov r8, [rax] ; +0x1ca, 0x14011ecca mov rcx, rax ; +0x1cd, 0x14011eccd call qword ptr [r8+48h] ; +0x1d0, 0x14011ecd0 mov rax, cs:qword_1406C2ED8 ; +0x1d4, 0x14011ecd4 mov rax, [rax+210h] ; +0x1db, 0x14011ecdb mov rcx, [rax+0DB0h] ; +0x1e2, 0x14011ece2 mov edx, edi ; +0x1e9, 0x14011ece9 mov rcx, [rcx+140h] ; +0x1eb, 0x14011eceb call GJEffectManager__getColorAction ; +0x1f2, 0x14011ecf2 mov [r15], rax ; +0x1f7, 0x14011ecf7 test ebx, ebx ; +0x1fa, 0x14011ecfa js short loc_14011ED59 ; +0x1fc, 0x14011ecfc mov rax, cs:qword_1406C2ED8 ; +0x1fe, 0x14011ecfe test rax, rax ; +0x205, 0x14011ed05 jnz short loc_14011ED3A ; +0x208, 0x14011ed08 mov ecx, 668h; Size ; +0x20a, 0x14011ed0a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x20f, 0x14011ed0f mov [rsp+38h+arg_0], rax ; +0x214, 0x14011ed14 mov rcx, rax ; +0x219, 0x14011ed19 call sub_14017AB00 ; +0x21c, 0x14011ed1c nop ; +0x221, 0x14011ed21 mov cs:qword_1406C2ED8, rax ; +0x222, 0x14011ed22 mov r8, [rax] ; +0x229, 0x14011ed29 mov rcx, rax ; +0x22c, 0x14011ed2c call qword ptr [r8+48h] ; +0x22f, 0x14011ed2f mov rax, cs:qword_1406C2ED8 ; +0x233, 0x14011ed33 mov rax, [rax+210h] ; +0x23a, 0x14011ed3a mov rcx, [rax+0DB0h] ; +0x241, 0x14011ed41 mov edx, ebx ; +0x248, 0x14011ed48 mov rcx, [rcx+140h] ; +0x24a, 0x14011ed4a call GJEffectManager__getColorAction ; +0x251, 0x14011ed51 mov [r14], rax ; +0x256, 0x14011ed56 cmp qword ptr [r15], 0 ; +0x259, 0x14011ed59 jnz short loc_14011ED71 ; +0x25d, 0x14011ed5d mov rax, [r14] ; +0x25f, 0x14011ed5f test rax, rax ; +0x262, 0x14011ed62 jz short loc_14011ED71 ; +0x265, 0x14011ed65 mov [r15], rax ; +0x267, 0x14011ed67 mov qword ptr [r14], 0 ; +0x26a, 0x14011ed6a mov rbx, [rsp+38h+arg_8] ; +0x271, 0x14011ed71 mov rsi, [rsp+38h+arg_10] ; +0x276, 0x14011ed76 add rsp, 20h ; +0x27b, 0x14011ed7b pop r15 ; +0x27f, 0x14011ed7f pop r14 ; +0x281, 0x14011ed81 pop rdi ; +0x283, 0x14011ed83 retn ; +0x284, 0x14011ed84