; ; CustomizeObjectLayer::highlightSelected from 0x140144070 to 0x14014419d (301 bytes) ; ; 8 xrefs: ; > CustomizeObjectLayer::colorSetupClosed @ 0x1401424bb ; > CustomizeObjectLayer::onNextColorChannel @ 0x140143096 ; > CustomizeObjectLayer::toggleVisible @ 0x1401434d1 ; > CustomizeObjectLayer::updateCurrentSelection @ 0x1401436d1 ; > CustomizeObjectLayer::onSelectColor @ 0x140143e82 ; > @ 0x140899f90 ; > @ 0x140899fc4 ; > @ 0x14091748c ; ; 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 11:27:10 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x140144070 mov [rsp+arg_18], rsi ; +0x5, 0x140144075 push r14 ; +0xa, 0x14014407a sub rsp, 20h ; +0xc, 0x14014407c mov rsi, rcx ; +0x10, 0x140144080 mov [rsp+28h+arg_8], rdi ; +0x13, 0x140144083 mov rcx, [rcx+2C0h] ; +0x18, 0x140144088 mov r14, rdx ; +0x1f, 0x14014408f xor edi, edi ; +0x22, 0x140144092 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x140144094 test eax, eax ; +0x2a, 0x14014409a jz short loc_1401440FE ; +0x2c, 0x14014409c mov [rsp+28h+arg_0], rbp ; +0x2e, 0x14014409e lea rbp, aGjButton04Png; "GJ_button_04.png" ; +0x33, 0x1401440a3 nop word ptr [rax+rax+00h] ; +0x3a, 0x1401440aa mov rcx, [rsi+2C0h] ; +0x40, 0x1401440b0 mov edx, edi ; +0x47, 0x1401440b7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x1401440b9 mov rbx, rax ; +0x4f, 0x1401440bf mov rcx, [rax] ; +0x52, 0x1401440c2 mov rdx, [rcx+38h] ; +0x55, 0x1401440c5 mov rcx, rax ; +0x59, 0x1401440c9 call rdx ; +0x5c, 0x1401440cc cmp eax, 3F0h ; +0x5e, 0x1401440ce lea rdx, aGjButton05Png; "GJ_button_05.png" ; +0x63, 0x1401440d3 mov rcx, rbx ; +0x6a, 0x1401440da cmovnz rdx, rbp ; +0x6d, 0x1401440dd call ButtonSprite__updateBGImage ; +0x71, 0x1401440e1 mov rcx, [rsi+2C0h] ; +0x76, 0x1401440e6 inc edi ; +0x7d, 0x1401440ed call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7f, 0x1401440ef cmp edi, eax ; +0x85, 0x1401440f5 jb short loc_1401440B0 ; +0x87, 0x1401440f7 mov rbp, [rsp+28h+arg_0] ; +0x89, 0x1401440f9 mov rdi, [rsp+28h+arg_8] ; +0x8e, 0x1401440fe test r14, r14 ; +0x93, 0x140144103 jz short loc_14014412B ; +0x96, 0x140144106 lea rdx, aGjButton02Png; "GJ_button_02.png" ; +0x98, 0x140144108 mov rcx, r14 ; +0x9f, 0x14014410f call ButtonSprite__updateBGImage ; +0xa2, 0x140144112 mov rax, [r14] ; +0xa7, 0x140144117 mov rcx, r14 ; +0xaa, 0x14014411a call qword ptr [rax+38h] ; +0xad, 0x14014411d cmp eax, 3F0h ; +0xb0, 0x140144120 jnz short loc_14014412B ; +0xb5, 0x140144125 mov bl, 1 ; +0xb7, 0x140144127 jmp short loc_14014412D ; +0xb9, 0x140144129 xor bl, bl ; +0xbb, 0x14014412b mov rcx, [rsi+368h] ; +0xbd, 0x14014412d movzx edx, bl ; +0xc4, 0x140144134 mov rax, [rcx] ; +0xc7, 0x140144137 call qword ptr [rax+150h] ; +0xca, 0x14014413a mov rcx, [rsi+370h] ; +0xd0, 0x140144140 movzx edx, bl ; +0xd7, 0x140144147 mov rax, [rcx] ; +0xda, 0x14014414a call qword ptr [rax+150h] ; +0xdd, 0x14014414d mov rcx, [rsi+330h] ; +0xe3, 0x140144153 movzx edx, bl ; +0xea, 0x14014415a mov rax, [rcx] ; +0xed, 0x14014415d call qword ptr [rax+398h] ; +0xf0, 0x140144160 mov rcx, [rsi+330h] ; +0xf6, 0x140144166 movzx edx, bl ; +0xfd, 0x14014416d mov rax, [rcx] ; +0x100, 0x140144170 call qword ptr [rax+150h] ; +0x103, 0x140144173 mov rcx, [rsi+378h] ; +0x109, 0x140144179 movzx edx, bl ; +0x110, 0x140144180 mov rax, [rcx] ; +0x113, 0x140144183 mov rbx, [rsp+28h+arg_10] ; +0x116, 0x140144186 mov rsi, [rsp+28h+arg_18] ; +0x11b, 0x14014418b add rsp, 20h ; +0x120, 0x140144190 pop r14 ; +0x124, 0x140144194 jmp qword ptr [rax+150h] ; +0x126, 0x140144196