; ; ColorSelectPopup::updateCopyColorTextInputLabel from 0x140093b60 to 0x140093c61 (257 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x1400903de ; > ColorSelectPopup::onUpdateCopyColor @ 0x140093545 ; > ColorSelectPopup::onToggleHSVMode @ 0x1400935e3 ; > @ 0x1406c7188 ; ; 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_8], rbx ; +0x0, 0x140093b60 mov [rsp+arg_10], rsi ; +0x5, 0x140093b65 push rdi ; +0xa, 0x140093b6a sub rsp, 40h ; +0xb, 0x140093b6b mov edx, [rcx+448h] ; +0xf, 0x140093b6f mov rdi, rcx ; +0x15, 0x140093b75 mov byte ptr [rcx+2CCh], 1 ; +0x18, 0x140093b78 lea rcx, aI_11; "%i" ; +0x1f, 0x140093b7f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x26, 0x140093b86 mov rcx, rax ; +0x2c, 0x140093b8c call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2f, 0x140093b8f cmp dword ptr [rdi+448h], 3E8h ; +0x35, 0x140093b95 lea rdx, a0; "0" ; +0x3f, 0x140093b9f xorps xmm0, xmm0 ; +0x46, 0x140093ba6 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x49, 0x140093ba9 cmovl rdx, rax ; +0x50, 0x140093bb0 mov r8, rbx ; +0x54, 0x140093bb4 xor esi, esi ; +0x57, 0x140093bb7 mov [rsp+48h+var_18], rsi ; +0x59, 0x140093bb9 mov [rsp+48h+var_10], rsi ; +0x5e, 0x140093bbe movups [rsp+48h+var_28], xmm0 ; +0x63, 0x140093bc3 nop dword ptr [rax+rax+00000000h] ; +0x68, 0x140093bc8 inc r8 ; +0x70, 0x140093bd0 cmp [rdx+r8], sil ; +0x73, 0x140093bd3 jnz short loc_140093BD0 ; +0x77, 0x140093bd7 lea rcx, [rsp+48h+var_28] ; +0x79, 0x140093bd9 call sub_14003A930 ; +0x7e, 0x140093bde mov rcx, [rdi+478h] ; +0x83, 0x140093be3 lea rdx, [rsp+48h+var_28] ; +0x8a, 0x140093bea call CCTextInputNode__setString ; +0x8f, 0x140093bef mov ecx, [rdi+448h] ; +0x94, 0x140093bf4 cmp ecx, 3E8h ; +0x9a, 0x140093bfa jl short loc_140093C4A ; +0xa0, 0x140093c00 call GJSpecialColorSelect__textForColorIdx ; +0xa2, 0x140093c02 xorps xmm0, xmm0 ; +0xa7, 0x140093c07 mov [rsp+48h+var_18], rsi ; +0xaa, 0x140093c0a movups [rsp+48h+var_28], xmm0 ; +0xaf, 0x140093c0f mov [rsp+48h+var_10], rsi ; +0xb4, 0x140093c14 nop dword ptr [rax+00000000h] ; +0xb9, 0x140093c19 inc rbx ; +0xc0, 0x140093c20 cmp [rax+rbx], sil ; +0xc3, 0x140093c23 jnz short loc_140093C20 ; +0xc7, 0x140093c27 mov r8, rbx ; +0xc9, 0x140093c29 lea rcx, [rsp+48h+var_28] ; +0xcc, 0x140093c2c mov rdx, rax ; +0xd1, 0x140093c31 call sub_14003A930 ; +0xd4, 0x140093c34 mov rcx, [rdi+478h] ; +0xd9, 0x140093c39 lea rdx, [rsp+48h+var_28] ; +0xe0, 0x140093c40 call CCTextInputNode__updateLabel ; +0xe5, 0x140093c45 mov rbx, [rsp+48h+arg_8] ; +0xea, 0x140093c4a mov [rdi+2CCh], sil ; +0xef, 0x140093c4f mov rsi, [rsp+48h+arg_10] ; +0xf6, 0x140093c56 add rsp, 40h ; +0xfb, 0x140093c5b pop rdi ; +0xff, 0x140093c5f retn ; +0x100, 0x140093c60