; ; ColorSelectPopup::updateTextInputLabel from 0x1400933d0 to 0x1400934d1 (257 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::init @ 0x14008f818 ; > ColorSelectPopup::onUpdateCustomColor @ 0x140092d7d ; > @ 0x1406c711c ; ; 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, 0x1400933d0 mov [rsp+arg_10], rsi ; +0x5, 0x1400933d5 push rdi ; +0xa, 0x1400933da sub rsp, 40h ; +0xb, 0x1400933db mov edx, [rcx+440h] ; +0xf, 0x1400933df mov rdi, rcx ; +0x15, 0x1400933e5 mov byte ptr [rcx+2CCh], 1 ; +0x18, 0x1400933e8 lea rcx, aI_11; "%i" ; +0x1f, 0x1400933ef call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x26, 0x1400933f6 mov rcx, rax ; +0x2c, 0x1400933fc call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2f, 0x1400933ff cmp dword ptr [rdi+440h], 3E8h ; +0x35, 0x140093405 lea rdx, a0; "0" ; +0x3f, 0x14009340f xorps xmm0, xmm0 ; +0x46, 0x140093416 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x49, 0x140093419 cmovl rdx, rax ; +0x50, 0x140093420 mov r8, rbx ; +0x54, 0x140093424 xor esi, esi ; +0x57, 0x140093427 mov [rsp+48h+var_18], rsi ; +0x59, 0x140093429 mov [rsp+48h+var_10], rsi ; +0x5e, 0x14009342e movups [rsp+48h+var_28], xmm0 ; +0x63, 0x140093433 nop dword ptr [rax+rax+00000000h] ; +0x68, 0x140093438 inc r8 ; +0x70, 0x140093440 cmp [rdx+r8], sil ; +0x73, 0x140093443 jnz short loc_140093440 ; +0x77, 0x140093447 lea rcx, [rsp+48h+var_28] ; +0x79, 0x140093449 call sub_14003A930 ; +0x7e, 0x14009344e mov rcx, [rdi+430h] ; +0x83, 0x140093453 lea rdx, [rsp+48h+var_28] ; +0x8a, 0x14009345a call CCTextInputNode__setString ; +0x8f, 0x14009345f mov ecx, [rdi+440h] ; +0x94, 0x140093464 cmp ecx, 3E8h ; +0x9a, 0x14009346a jl short loc_1400934BA ; +0xa0, 0x140093470 call GJSpecialColorSelect__textForColorIdx ; +0xa2, 0x140093472 xorps xmm0, xmm0 ; +0xa7, 0x140093477 mov [rsp+48h+var_18], rsi ; +0xaa, 0x14009347a movups [rsp+48h+var_28], xmm0 ; +0xaf, 0x14009347f mov [rsp+48h+var_10], rsi ; +0xb4, 0x140093484 nop dword ptr [rax+00000000h] ; +0xb9, 0x140093489 inc rbx ; +0xc0, 0x140093490 cmp [rax+rbx], sil ; +0xc3, 0x140093493 jnz short loc_140093490 ; +0xc7, 0x140093497 mov r8, rbx ; +0xc9, 0x140093499 lea rcx, [rsp+48h+var_28] ; +0xcc, 0x14009349c mov rdx, rax ; +0xd1, 0x1400934a1 call sub_14003A930 ; +0xd4, 0x1400934a4 mov rcx, [rdi+430h] ; +0xd9, 0x1400934a9 lea rdx, [rsp+48h+var_28] ; +0xe0, 0x1400934b0 call CCTextInputNode__updateLabel ; +0xe5, 0x1400934b5 mov rbx, [rsp+48h+arg_8] ; +0xea, 0x1400934ba mov [rdi+2CCh], sil ; +0xef, 0x1400934bf mov rsi, [rsp+48h+arg_10] ; +0xf6, 0x1400934c6 add rsp, 40h ; +0xfb, 0x1400934cb pop rdi ; +0xff, 0x1400934cf retn ; +0x100, 0x1400934d0