; ; EditorUI::onEditColor from 0x14011ea90 to 0x14011eaf3 (99 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1400e0ce8 ; > @ 0x1406c94e0 ; ; 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 ; push rbx ; +0x0, 0x14011ea90 sub rsp, 20h ; +0x2, 0x14011ea92 cmp qword ptr [rcx+538h], 0 ; +0x6, 0x14011ea96 mov rbx, rcx ; +0xe, 0x14011ea9e jnz short loc_14011EAB4 ; +0x11, 0x14011eaa1 mov rcx, [rcx+340h] ; +0x13, 0x14011eaa3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a, 0x14011eaaa test eax, eax ; +0x20, 0x14011eab0 jz short loc_14011EAED ; +0x22, 0x14011eab2 mov rcx, [rbx+3F0h] ; +0x24, 0x14011eab4 mov rax, [rcx] ; +0x2b, 0x14011eabb call qword ptr [rax+38h] ; +0x2e, 0x14011eabe mov rcx, rbx ; +0x31, 0x14011eac1 cmp eax, 1 ; +0x34, 0x14011eac4 jnz short loc_14011EADB ; +0x37, 0x14011eac7 call EditorUI__editHSV ; +0x39, 0x14011eac9 mov rcx, rbx ; +0x3e, 0x14011eace add rsp, 20h ; +0x41, 0x14011ead1 pop rbx ; +0x45, 0x14011ead5 jmp EditorUI__updateEditColorButton ; +0x46, 0x14011ead6 call EditorUI__editColor ; +0x4b, 0x14011eadb mov rcx, rbx ; +0x50, 0x14011eae0 add rsp, 20h ; +0x53, 0x14011eae3 pop rbx ; +0x57, 0x14011eae7 jmp EditorUI__updateEditColorButton ; +0x58, 0x14011eae8 add rsp, 20h ; +0x5d, 0x14011eaed pop rbx ; +0x61, 0x14011eaf1 retn ; +0x62, 0x14011eaf2