; ; ColorSelectPopup::updateTextInputLabel from 0x14012c2f0 to 0x14012c3f1 (257 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::init @ 0x140128758 ; > ColorSelectPopup::onUpdateCustomColor @ 0x14012bc53 ; > @ 0x140916c58 ; ; 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:27:01 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14012c2f0 mov [rsp+arg_10], rsi ; +0x5, 0x14012c2f5 push rdi ; +0xa, 0x14012c2fa sub rsp, 40h ; +0xb, 0x14012c2fb mov edx, [rcx+480h] ; +0xf, 0x14012c2ff mov rdi, rcx ; +0x15, 0x14012c305 mov byte ptr [rcx+2E8h], 1 ; +0x18, 0x14012c308 lea rcx, word_1406ED6F8 ; +0x1f, 0x14012c30f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x26, 0x14012c316 mov rcx, rax ; +0x2c, 0x14012c31c call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2f, 0x14012c31f cmp dword ptr [rdi+480h], 3E8h ; +0x35, 0x14012c325 lea rdx, a0; "0" ; +0x3f, 0x14012c32f xorps xmm0, xmm0 ; +0x46, 0x14012c336 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x49, 0x14012c339 cmovl rdx, rax ; +0x50, 0x14012c340 mov r8, rbx ; +0x54, 0x14012c344 xor esi, esi ; +0x57, 0x14012c347 mov [rsp+48h+var_18], rsi ; +0x59, 0x14012c349 mov [rsp+48h+var_10], rsi ; +0x5e, 0x14012c34e movups [rsp+48h+var_28], xmm0 ; +0x63, 0x14012c353 nop dword ptr [rax+rax+00000000h] ; +0x68, 0x14012c358 inc r8 ; +0x70, 0x14012c360 cmp [rdx+r8], sil ; +0x73, 0x14012c363 jnz short loc_14012C360 ; +0x77, 0x14012c367 lea rcx, [rsp+48h+var_28] ; +0x79, 0x14012c369 call sub_14003D230 ; +0x7e, 0x14012c36e mov rcx, [rdi+470h] ; +0x83, 0x14012c373 lea rdx, [rsp+48h+var_28] ; +0x8a, 0x14012c37a call CCTextInputNode__setString ; +0x8f, 0x14012c37f mov ecx, [rdi+480h] ; +0x94, 0x14012c384 cmp ecx, 3E8h ; +0x9a, 0x14012c38a jl short loc_14012C3DA ; +0xa0, 0x14012c390 call GJSpecialColorSelect__textForColorIdx ; +0xa2, 0x14012c392 xorps xmm0, xmm0 ; +0xa7, 0x14012c397 mov [rsp+48h+var_18], rsi ; +0xaa, 0x14012c39a movups [rsp+48h+var_28], xmm0 ; +0xaf, 0x14012c39f mov [rsp+48h+var_10], rsi ; +0xb4, 0x14012c3a4 nop dword ptr [rax+00000000h] ; +0xb9, 0x14012c3a9 inc rbx ; +0xc0, 0x14012c3b0 cmp [rax+rbx], sil ; +0xc3, 0x14012c3b3 jnz short loc_14012C3B0 ; +0xc7, 0x14012c3b7 mov r8, rbx ; +0xc9, 0x14012c3b9 lea rcx, [rsp+48h+var_28] ; +0xcc, 0x14012c3bc mov rdx, rax ; +0xd1, 0x14012c3c1 call sub_14003D230 ; +0xd4, 0x14012c3c4 mov rcx, [rdi+470h] ; +0xd9, 0x14012c3c9 lea rdx, [rsp+48h+var_28] ; +0xe0, 0x14012c3d0 call CCTextInputNode__updateLabel ; +0xe5, 0x14012c3d5 mov rbx, [rsp+48h+arg_8] ; +0xea, 0x14012c3da mov [rdi+2E8h], sil ; +0xef, 0x14012c3df mov rsi, [rsp+48h+arg_10] ; +0xf6, 0x14012c3e6 add rsp, 40h ; +0xfb, 0x14012c3eb pop rdi ; +0xff, 0x14012c3ef retn ; +0x100, 0x14012c3f0