; ; EditorUI::onEditColor from 0x1401bde80 to 0x1401bdee3 (99 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1401ab655 ; > @ 0x14091a498 ; ; 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:28:01 +0000 ; push rbx ; +0x0, 0x1401bde80 sub rsp, 20h ; +0x2, 0x1401bde82 cmp qword ptr [rcx+620h], 0 ; +0x6, 0x1401bde86 mov rbx, rcx ; +0xe, 0x1401bde8e jnz short loc_1401BDEA4 ; +0x11, 0x1401bde91 mov rcx, [rcx+3B0h] ; +0x13, 0x1401bde93 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a, 0x1401bde9a test eax, eax ; +0x20, 0x1401bdea0 jz short loc_1401BDEDD ; +0x22, 0x1401bdea2 mov rcx, [rbx+480h] ; +0x24, 0x1401bdea4 mov rax, [rcx] ; +0x2b, 0x1401bdeab call qword ptr [rax+38h] ; +0x2e, 0x1401bdeae mov rcx, rbx ; +0x31, 0x1401bdeb1 cmp eax, 1 ; +0x34, 0x1401bdeb4 jnz short loc_1401BDECB ; +0x37, 0x1401bdeb7 call EditorUI__editHSV ; +0x39, 0x1401bdeb9 mov rcx, rbx ; +0x3e, 0x1401bdebe add rsp, 20h ; +0x41, 0x1401bdec1 pop rbx ; +0x45, 0x1401bdec5 jmp EditorUI__updateEditColorButton ; +0x46, 0x1401bdec6 call EditorUI__editColor ; +0x4b, 0x1401bdecb mov rcx, rbx ; +0x50, 0x1401bded0 add rsp, 20h ; +0x53, 0x1401bded3 pop rbx ; +0x57, 0x1401bded7 jmp EditorUI__updateEditColorButton ; +0x58, 0x1401bded8 add rsp, 20h ; +0x5d, 0x1401bdedd pop rbx ; +0x61, 0x1401bdee1 retn ; +0x62, 0x1401bdee2