; ; CustomizeObjectLayer::getButtonByTag from 0x1400a9c30 to 0x1400a9cae (126 bytes) ; ; 5 xrefs: ; > CustomizeObjectLayer::colorSetupClosed @ 0x1400a83fc ; > CustomizeObjectLayer::onNextColorChannel @ 0x1400a8f78 ; > CustomizeObjectLayer::toggleVisible @ 0x1400a9394 ; > CustomizeObjectLayer::updateCurrentSelection @ 0x1400a9591 ; > @ 0x1406c7890 ; ; 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_0], rbx ; +0x0, 0x1400a9c30 mov [rsp+arg_8], rbp ; +0x5, 0x1400a9c35 mov [rsp+arg_10], rsi ; +0xa, 0x1400a9c3a push rdi ; +0xf, 0x1400a9c3f sub rsp, 20h ; +0x10, 0x1400a9c40 mov rsi, rcx ; +0x14, 0x1400a9c44 mov ebp, edx ; +0x17, 0x1400a9c47 mov rcx, [rcx+2A8h] ; +0x19, 0x1400a9c49 xor ebx, ebx ; +0x20, 0x1400a9c50 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x22, 0x1400a9c52 test eax, eax ; +0x28, 0x1400a9c58 jz short loc_1400A9C92 ; +0x2a, 0x1400a9c5a nop dword ptr [rax+00h] ; +0x2c, 0x1400a9c5c mov rcx, [rsi+2A8h] ; +0x30, 0x1400a9c60 mov edx, ebx ; +0x37, 0x1400a9c67 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x1400a9c69 mov rcx, rax ; +0x3f, 0x1400a9c6f mov rdi, rax ; +0x42, 0x1400a9c72 mov rdx, [rax] ; +0x45, 0x1400a9c75 call qword ptr [rdx+38h] ; +0x48, 0x1400a9c78 cmp eax, ebp ; +0x4b, 0x1400a9c7b jz short loc_1400A9CA9 ; +0x4d, 0x1400a9c7d mov rcx, [rsi+2A8h] ; +0x4f, 0x1400a9c7f inc ebx ; +0x56, 0x1400a9c86 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x58, 0x1400a9c88 cmp ebx, eax ; +0x5e, 0x1400a9c8e jb short loc_1400A9C60 ; +0x60, 0x1400a9c90 xor eax, eax ; +0x62, 0x1400a9c92 mov rbx, [rsp+28h+arg_0] ; +0x64, 0x1400a9c94 mov rbp, [rsp+28h+arg_8] ; +0x69, 0x1400a9c99 mov rsi, [rsp+28h+arg_10] ; +0x6e, 0x1400a9c9e add rsp, 20h ; +0x73, 0x1400a9ca3 pop rdi ; +0x77, 0x1400a9ca7 retn ; +0x78, 0x1400a9ca8 mov rax, rdi ; +0x79, 0x1400a9ca9 jmp short loc_1400A9C94 ; +0x7c, 0x1400a9cac