; ; CustomizeObjectLayer::onSelectColor from 0x1001d9f20 to 0x1001d9fc8 (168 bytes) ; ; 2 xrefs: ; > CustomizeObjectLayer::init @ 0x1001d7e1a ; > CustomizeObjectLayer::init @ 0x1001d81b7 ; ; 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:26:25 +0000 ; push rbp ; +0x0, 0x1001d9f20 mov rbp, rsp ; +0x1, 0x1001d9f21 push r14 ; +0x4, 0x1001d9f24 push rbx; char ; +0x6, 0x1001d9f26 mov r14, rsi ; +0x7, 0x1001d9f27 mov rbx, rdi ; +0xa, 0x1001d9f2a mov rax, [rsi] ; +0xd, 0x1001d9f2d mov rdi, rsi ; +0x10, 0x1001d9f30 call qword ptr [rax+40h] ; +0x13, 0x1001d9f33 cmp eax, 3F0h ; +0x16, 0x1001d9f36 jnz short loc_1001D9F43 ; +0x1b, 0x1001d9f3b mov eax, [rbx+2ECh] ; +0x1d, 0x1001d9f3d mov rdi, rbx ; +0x23, 0x1001d9f43 mov esi, eax ; +0x26, 0x1001d9f46 call CustomizeObjectLayer__updateSelected ; +0x28, 0x1001d9f48 mov rax, [r14] ; +0x2d, 0x1001d9f4d mov rdi, r14 ; +0x30, 0x1001d9f50 call qword ptr [rax+430h] ; +0x33, 0x1001d9f53 mov rdi, rbx ; +0x39, 0x1001d9f59 mov rsi, rax ; +0x3c, 0x1001d9f5c call CustomizeObjectLayer__highlightSelected ; +0x3f, 0x1001d9f5f mov rdi, rbx ; +0x44, 0x1001d9f64 call CustomizeObjectLayer__updateColorSprite ; +0x47, 0x1001d9f67 mov rdi, rbx ; +0x4c, 0x1001d9f6c mov esi, 1 ; +0x4f, 0x1001d9f6f call CustomizeObjectLayer__getActiveMode ; +0x54, 0x1001d9f74 cmp eax, 3E8h ; +0x59, 0x1001d9f79 jl short loc_1001D9F89 ; +0x5e, 0x1001d9f7e mov edi, eax ; +0x60, 0x1001d9f80 call GJSpecialColorSelect__textForColorIdx ; +0x62, 0x1001d9f82 jmp short loc_1001D9FA5 ; +0x67, 0x1001d9f87 test eax, eax ; +0x69, 0x1001d9f89 jle short loc_1001D9FBF ; +0x6b, 0x1001d9f8b lea rdi, aI_14; "%i" ; +0x6d, 0x1001d9f8d mov esi, eax ; +0x74, 0x1001d9f94 xor eax, eax ; +0x76, 0x1001d9f96 call sub_10088E820 ; +0x78, 0x1001d9f98 mov rdi, rax ; +0x7d, 0x1001d9f9d call cocos2d__CCString__getCString ; +0x80, 0x1001d9fa0 mov rsi, rax ; +0x85, 0x1001d9fa5 mov rdi, [rbx+328h] ; +0x88, 0x1001d9fa8 mov rax, [rdi] ; +0x8f, 0x1001d9faf mov rax, [rax+3A0h] ; +0x92, 0x1001d9fb2 pop rbx ; +0x99, 0x1001d9fb9 pop r14 ; +0x9a, 0x1001d9fba pop rbp ; +0x9c, 0x1001d9fbc jmp rax ; +0x9d, 0x1001d9fbd lea rsi, asc_100A41844; " " ; +0x9f, 0x1001d9fbf jmp short loc_1001D9FA8 ; +0xa6, 0x1001d9fc6