; ; ColorSelectPopup::onUpdateCustomColor from 0x140092d10 to 0x140092d82 (114 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::init @ 0x14008f706 ; > ColorSelectPopup::init @ 0x14008f79f ; > @ 0x1406c708c ; ; 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_0], rbx ; +0x0, 0x140092d10 push rdi ; +0x5, 0x140092d15 sub rsp, 20h ; +0x6, 0x140092d16 xor edi, edi ; +0xa, 0x140092d1a mov rbx, rcx ; +0xc, 0x140092d1c cmp dword ptr [rcx+440h], 3E8h ; +0xf, 0x140092d1f jl short loc_140092D31 ; +0x19, 0x140092d29 mov [rcx+440h], edi ; +0x1b, 0x140092d2b mov rax, [rdx] ; +0x21, 0x140092d31 mov rcx, rdx ; +0x24, 0x140092d34 call qword ptr [rax+38h] ; +0x27, 0x140092d37 mov ecx, [rbx+440h] ; +0x2a, 0x140092d3a lea edx, [rcx-1] ; +0x30, 0x140092d40 inc ecx ; +0x33, 0x140092d43 cmp eax, 1 ; +0x35, 0x140092d45 mov eax, 3E7h ; +0x38, 0x140092d48 cmovnz ecx, edx ; +0x3d, 0x140092d4d test ecx, ecx ; +0x40, 0x140092d50 cmovns edi, ecx ; +0x42, 0x140092d52 mov rcx, rbx ; +0x45, 0x140092d55 cmp edi, eax ; +0x48, 0x140092d58 cmovg edi, eax ; +0x4a, 0x140092d5a mov [rbx+440h], edi ; +0x4d, 0x140092d5d call ColorSelectPopup__updateCustomColorIdx ; +0x53, 0x140092d63 mov rcx, rbx ; +0x58, 0x140092d68 call SetupTriggerPopup__updateEditorLabel ; +0x5b, 0x140092d6b mov rcx, rbx ; +0x60, 0x140092d70 mov rbx, [rsp+28h+arg_0] ; +0x63, 0x140092d73 add rsp, 20h ; +0x68, 0x140092d78 pop rdi ; +0x6c, 0x140092d7c jmp ColorSelectPopup__updateTextInputLabel ; +0x6d, 0x140092d7d