; ; ColorSelectPopup::onUpdateCustomColor from 0x14012bbe0 to 0x14012bc58 (120 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::init @ 0x140128635 ; > ColorSelectPopup::init @ 0x1401286d9 ; > @ 0x140916be0 ; ; 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_0], rbx ; +0x0, 0x14012bbe0 push rdi ; +0x5, 0x14012bbe5 sub rsp, 20h ; +0x6, 0x14012bbe6 xor edi, edi ; +0xa, 0x14012bbea mov rbx, rcx ; +0xc, 0x14012bbec cmp dword ptr [rcx+480h], 3E8h ; +0xf, 0x14012bbef jl short loc_14012BC01 ; +0x19, 0x14012bbf9 mov [rcx+480h], edi ; +0x1b, 0x14012bbfb mov rax, [rdx] ; +0x21, 0x14012bc01 mov rcx, rdx ; +0x24, 0x14012bc04 call qword ptr [rax+38h] ; +0x27, 0x14012bc07 mov ecx, 1 ; +0x2a, 0x14012bc0a mov edx, 0FFFFFFFFh ; +0x2f, 0x14012bc0f cmp eax, ecx ; +0x34, 0x14012bc14 cmovnz ecx, edx ; +0x36, 0x14012bc16 mov edx, [rbx+480h] ; +0x39, 0x14012bc19 add edx, ecx ; +0x3f, 0x14012bc1f js short loc_14012BC2E ; +0x41, 0x14012bc21 mov eax, 3E7h ; +0x43, 0x14012bc23 mov edi, edx ; +0x48, 0x14012bc28 cmp edx, eax ; +0x4a, 0x14012bc2a jg short loc_14012BC30 ; +0x4c, 0x14012bc2c mov eax, edi ; +0x4e, 0x14012bc2e mov rcx, rbx ; +0x50, 0x14012bc30 mov [rbx+480h], eax ; +0x53, 0x14012bc33 call ColorSelectPopup__updateCustomColorIdx ; +0x59, 0x14012bc39 mov rcx, rbx ; +0x5e, 0x14012bc3e call SetupTriggerPopup__updateEditorLabel ; +0x61, 0x14012bc41 mov rcx, rbx ; +0x66, 0x14012bc46 mov rbx, [rsp+28h+arg_0] ; +0x69, 0x14012bc49 add rsp, 20h ; +0x6e, 0x14012bc4e pop rdi ; +0x72, 0x14012bc52 jmp ColorSelectPopup__updateTextInputLabel ; +0x73, 0x14012bc53