; ; CustomizeObjectLayer::highlightSelected from 0x1400a9ee0 to 0x1400aa00a (298 bytes) ; ; 8 xrefs: ; > CustomizeObjectLayer::colorSetupClosed @ 0x1400a840b ; > CustomizeObjectLayer::onNextColorChannel @ 0x1400a8f83 ; > CustomizeObjectLayer::toggleVisible @ 0x1400a93ae ; > CustomizeObjectLayer::updateCurrentSelection @ 0x1400a95a1 ; > CustomizeObjectLayer::onSelectColor @ 0x1400a9cf2 ; > @ 0x14066ac14 ; > @ 0x14066ac48 ; > @ 0x1406c78cc ; ; 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_10], rbx ; +0x0, 0x1400a9ee0 mov [rsp+arg_18], rsi ; +0x5, 0x1400a9ee5 push r14 ; +0xa, 0x1400a9eea sub rsp, 20h ; +0xc, 0x1400a9eec mov rsi, rcx ; +0x10, 0x1400a9ef0 mov [rsp+28h+arg_8], rdi ; +0x13, 0x1400a9ef3 mov rcx, [rcx+2A8h] ; +0x18, 0x1400a9ef8 mov r14, rdx ; +0x1f, 0x1400a9eff xor edi, edi ; +0x22, 0x1400a9f02 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x1400a9f04 test eax, eax ; +0x2a, 0x1400a9f0a jz short loc_1400A9F6B ; +0x2c, 0x1400a9f0c mov [rsp+28h+arg_0], rbp ; +0x2e, 0x1400a9f0e lea rbp, aGjButton04Png; "GJ_button_04.png" ; +0x33, 0x1400a9f13 nop word ptr [rax+rax+00h] ; +0x3a, 0x1400a9f1a mov rcx, [rsi+2A8h] ; +0x40, 0x1400a9f20 mov edx, edi ; +0x47, 0x1400a9f27 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x1400a9f29 mov rcx, rax ; +0x4f, 0x1400a9f2f mov rbx, rax ; +0x52, 0x1400a9f32 mov rdx, [rax] ; +0x55, 0x1400a9f35 call qword ptr [rdx+38h] ; +0x58, 0x1400a9f38 lea rdx, aGjButton05Png; "GJ_button_05.png" ; +0x5b, 0x1400a9f3b mov rcx, rbx ; +0x62, 0x1400a9f42 cmp eax, 3F0h ; +0x65, 0x1400a9f45 cmovnz rdx, rbp ; +0x6a, 0x1400a9f4a call ButtonSprite__updateBGImage ; +0x6e, 0x1400a9f4e mov rcx, [rsi+2A8h] ; +0x73, 0x1400a9f53 inc edi ; +0x7a, 0x1400a9f5a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7c, 0x1400a9f5c cmp edi, eax ; +0x82, 0x1400a9f62 jb short loc_1400A9F20 ; +0x84, 0x1400a9f64 mov rbp, [rsp+28h+arg_0] ; +0x86, 0x1400a9f66 mov rdi, [rsp+28h+arg_8] ; +0x8b, 0x1400a9f6b test r14, r14 ; +0x90, 0x1400a9f70 jz short loc_1400A9F98 ; +0x93, 0x1400a9f73 lea rdx, aGjButton02Png; "GJ_button_02.png" ; +0x95, 0x1400a9f75 mov rcx, r14 ; +0x9c, 0x1400a9f7c call ButtonSprite__updateBGImage ; +0x9f, 0x1400a9f7f mov rax, [r14] ; +0xa4, 0x1400a9f84 mov rcx, r14 ; +0xa7, 0x1400a9f87 call qword ptr [rax+38h] ; +0xaa, 0x1400a9f8a cmp eax, 3F0h ; +0xad, 0x1400a9f8d jnz short loc_1400A9F98 ; +0xb2, 0x1400a9f92 mov bl, 1 ; +0xb4, 0x1400a9f94 jmp short loc_1400A9F9A ; +0xb6, 0x1400a9f96 xor bl, bl ; +0xb8, 0x1400a9f98 mov rcx, [rsi+350h] ; +0xba, 0x1400a9f9a movzx edx, bl ; +0xc1, 0x1400a9fa1 mov rax, [rcx] ; +0xc4, 0x1400a9fa4 call qword ptr [rax+140h] ; +0xc7, 0x1400a9fa7 mov rcx, [rsi+358h] ; +0xcd, 0x1400a9fad movzx edx, bl ; +0xd4, 0x1400a9fb4 mov rax, [rcx] ; +0xd7, 0x1400a9fb7 call qword ptr [rax+140h] ; +0xda, 0x1400a9fba mov rcx, [rsi+318h] ; +0xe0, 0x1400a9fc0 movzx edx, bl ; +0xe7, 0x1400a9fc7 mov rax, [rcx] ; +0xea, 0x1400a9fca call qword ptr [rax+388h] ; +0xed, 0x1400a9fcd mov rcx, [rsi+318h] ; +0xf3, 0x1400a9fd3 movzx edx, bl ; +0xfa, 0x1400a9fda mov rax, [rcx] ; +0xfd, 0x1400a9fdd call qword ptr [rax+140h] ; +0x100, 0x1400a9fe0 mov rcx, [rsi+360h] ; +0x106, 0x1400a9fe6 movzx edx, bl ; +0x10d, 0x1400a9fed mov rax, [rcx] ; +0x110, 0x1400a9ff0 mov rbx, [rsp+28h+arg_10] ; +0x113, 0x1400a9ff3 mov rsi, [rsp+28h+arg_18] ; +0x118, 0x1400a9ff8 add rsp, 20h ; +0x11d, 0x1400a9ffd pop r14 ; +0x121, 0x1400aa001 jmp qword ptr [rax+140h] ; +0x123, 0x1400aa003