; ; EditorUI::editHSV from 0x1401be410 to 0x1401be695 (645 bytes) ; ; 4 xrefs: ; > EditorUI::onEditColor @ 0x1401bdeb9 ; > EditorUI::handleEditorAction @ 0x1401c37a4 ; > EditorUI::checkLiveColorSelect @ 0x1401c9718 ; > @ 0x14091a4d4 ; ; 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:28:02 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x1401be410 push rbp ; +0x5, 0x1401be415 push rsi ; +0x6, 0x1401be416 push rdi ; +0x7, 0x1401be417 push r12 ; +0x8, 0x1401be418 push r13 ; +0xa, 0x1401be41a push r14 ; +0xc, 0x1401be41c push r15 ; +0xe, 0x1401be41e sub rsp, 30h ; +0x10, 0x1401be420 mov rdi, rcx ; +0x14, 0x1401be424 call EditorUI__closeLiveHSVSelect ; +0x17, 0x1401be427 mov rcx, rdi ; +0x1c, 0x1401be42c call EditorUI__closeLiveColorSelect ; +0x1f, 0x1401be42f xor ebp, ebp ; +0x24, 0x1401be434 mov r13d, ebp ; +0x26, 0x1401be436 mov rcx, [rdi+620h] ; +0x29, 0x1401be439 test rcx, rcx ; +0x30, 0x1401be440 jz short loc_1401BE453 ; +0x33, 0x1401be443 mov [rcx+475h], bpl ; +0x35, 0x1401be445 call GameObject__updateObjectEditorColor ; +0x3c, 0x1401be44c jmp short loc_1401BE4A2 ; +0x41, 0x1401be451 mov rcx, rdi ; +0x43, 0x1401be453 call EditorUI__getSelectedObjects ; +0x46, 0x1401be456 mov r13, rax ; +0x4b, 0x1401be45b mov rcx, [rdi+3B0h] ; +0x4e, 0x1401be45e test rcx, rcx ; +0x55, 0x1401be465 jz short loc_1401BE4A2 ; +0x58, 0x1401be468 mov rbx, [rcx+38h] ; +0x5a, 0x1401be46a mov ecx, [rbx] ; +0x5e, 0x1401be46e test ecx, ecx ; +0x60, 0x1401be470 jz short loc_1401BE4A2 ; +0x62, 0x1401be472 mov rbx, [rbx+10h] ; +0x64, 0x1401be474 lea rsi, [rcx-1] ; +0x68, 0x1401be478 lea rsi, [rbx+rsi*8] ; +0x6c, 0x1401be47c cmp rbx, rsi ; +0x70, 0x1401be480 ja short loc_1401BE4A2 ; +0x73, 0x1401be483 mov rcx, [rbx] ; +0x75, 0x1401be485 test rcx, rcx ; +0x78, 0x1401be488 jz short loc_1401BE4A2 ; +0x7b, 0x1401be48b mov [rcx+475h], bpl ; +0x7d, 0x1401be48d call GameObject__updateObjectEditorColor ; +0x84, 0x1401be494 add rbx, 8 ; +0x89, 0x1401be499 cmp rbx, rsi ; +0x8d, 0x1401be49d jbe short loc_1401BE485 ; +0x90, 0x1401be4a0 mov [rsp+68h+arg_0], rbp ; +0x92, 0x1401be4a2 mov [rsp+68h+arg_8], rbp ; +0x97, 0x1401be4a7 mov [rsp+68h+arg_10], rbp ; +0x9c, 0x1401be4ac lea r9, [rsp+68h+arg_10] ; +0xa4, 0x1401be4b4 lea r8, [rsp+68h+arg_8] ; +0xac, 0x1401be4bc lea rdx, [rsp+68h+arg_0] ; +0xb1, 0x1401be4c1 mov rcx, rdi ; +0xb6, 0x1401be4c6 call EditorUI__getEditColorTargets ; +0xb9, 0x1401be4c9 movzx r14d, cs:byte_14070329E ; +0xbe, 0x1401be4ce movzx ebp, cs:word_14070329C ; +0xc6, 0x1401be4d6 mov rax, [rsp+68h+arg_0] ; +0xcd, 0x1401be4dd test rax, rax ; +0xd2, 0x1401be4e2 jz short loc_1401BE4F3 ; +0xd5, 0x1401be4e5 movzx r15d, word ptr [rax+48h] ; +0xd7, 0x1401be4e7 movzx r12d, byte ptr [rax+4Ah] ; +0xdc, 0x1401be4ec jmp short loc_1401BE4FB ; +0xe1, 0x1401be4f1 movzx r15d, bp ; +0xe3, 0x1401be4f3 movzx r12d, r14b ; +0xe7, 0x1401be4f7 mov rax, [rsp+68h+arg_8] ; +0xeb, 0x1401be4fb test rax, rax ; +0xf0, 0x1401be500 jz short loc_1401BE50E ; +0xf3, 0x1401be503 movzx ebp, word ptr [rax+48h] ; +0xf5, 0x1401be505 movzx r14d, byte ptr [rax+4Ah] ; +0xf9, 0x1401be509 mov rbx, [rdi+620h] ; +0xfe, 0x1401be50e mov ecx, 2E8h; Size ; +0x105, 0x1401be515 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x10a, 0x1401be51a mov rsi, rax ; +0x10f, 0x1401be51f mov [rsp+68h+arg_0], rax ; +0x112, 0x1401be522 mov rcx, rax ; +0x117, 0x1401be527 call FLAlertLayer__FLAlertLayer ; +0x11a, 0x1401be52a lea rax, ??_7HSVLiveOverlay@@6B@; const HSVLiveOverlay::`vftable' ; +0x11f, 0x1401be52f mov [rsi], rax ; +0x126, 0x1401be536 lea rax, ??_7HSVLiveOverlay@@6B@_0; const HSVLiveOverlay::`vftable' ; +0x129, 0x1401be539 mov [rsi+140h], rax ; +0x130, 0x1401be540 lea rax, ??_7HSVLiveOverlay@@6B@_1; const HSVLiveOverlay::`vftable' ; +0x137, 0x1401be547 mov [rsi+148h], rax ; +0x13e, 0x1401be54e lea rax, ??_7HSVLiveOverlay@@6B@_2; const HSVLiveOverlay::`vftable' ; +0x145, 0x1401be555 mov [rsi+150h], rax ; +0x14c, 0x1401be55c lea rax, ??_7HSVLiveOverlay@@6B@_3; const HSVLiveOverlay::`vftable' ; +0x153, 0x1401be563 mov [rsi+158h], rax ; +0x15a, 0x1401be56a lea rax, ??_7HSVLiveOverlay@@6B@_4; const HSVLiveOverlay::`vftable' ; +0x161, 0x1401be571 mov [rsi+160h], rax ; +0x168, 0x1401be578 lea rax, ??_7HSVLiveOverlay@@6B@_5; const HSVLiveOverlay::`vftable' ; +0x16f, 0x1401be57f mov [rsi+198h], rax ; +0x176, 0x1401be586 lea rax, ??_7HSVLiveOverlay@@6B@_6; const HSVLiveOverlay::`vftable' ; +0x17d, 0x1401be58d mov [rsi+1B0h], rax ; +0x184, 0x1401be594 lea rax, ??_7HSVLiveOverlay@@6B@_7; const HSVLiveOverlay::`vftable' ; +0x18b, 0x1401be59b mov [rsi+220h], rax ; +0x192, 0x1401be5a2 lea rax, ??_7HSVLiveOverlay@@6B@_8; const HSVLiveOverlay::`vftable' ; +0x199, 0x1401be5a9 mov [rsi+298h], rax ; +0x1a0, 0x1401be5b0 xor eax, eax ; +0x1a7, 0x1401be5b7 mov [rsi+2A0h], rax ; +0x1a9, 0x1401be5b9 mov [rsi+2A8h], rax ; +0x1b0, 0x1401be5c0 mov [rsi+2B8h], rax ; +0x1b7, 0x1401be5c7 mov [rsi+2C0h], rax ; +0x1be, 0x1401be5ce mov dword ptr [rsi+2C8h], 0FFFFFFFFh ; +0x1c5, 0x1401be5d5 mov [rsi+2D0h], rax ; +0x1cf, 0x1401be5df mov [rsi+2D8h], ax ; +0x1d6, 0x1401be5e6 mov [rsi+2DAh], al ; +0x1dd, 0x1401be5ed mov word ptr [rsp+68h+arg_0], bp ; +0x1e3, 0x1401be5f3 mov byte ptr [rsp+68h+arg_0+2], r14b ; +0x1e8, 0x1401be5f8 mov word ptr [rsp+68h+arg_10], r15w ; +0x1ed, 0x1401be5fd mov byte ptr [rsp+68h+arg_10+2], r12b ; +0x1f6, 0x1401be606 lea rax, [rsp+68h+arg_0] ; +0x1fe, 0x1401be60e mov [rsp+68h+var_48], rax ; +0x203, 0x1401be613 lea r9, [rsp+68h+arg_10] ; +0x208, 0x1401be618 mov r8, r13 ; +0x210, 0x1401be620 mov rdx, rbx ; +0x213, 0x1401be623 mov rcx, rsi ; +0x216, 0x1401be626 call HSVLiveOverlay__init ; +0x219, 0x1401be629 mov rcx, rsi ; +0x21e, 0x1401be62e test al, al ; +0x221, 0x1401be631 jz short loc_1401BE63D ; +0x223, 0x1401be633 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x225, 0x1401be635 jmp short loc_1401BE64A ; +0x22b, 0x1401be63b mov rax, [rsi] ; +0x22d, 0x1401be63d mov edx, 1 ; +0x230, 0x1401be640 call qword ptr [rax+8] ; +0x235, 0x1401be645 xor esi, esi ; +0x238, 0x1401be648 mov [rdi+658h], rsi ; +0x23a, 0x1401be64a lea rax, [rdi+1A0h] ; +0x241, 0x1401be651 mov [rsi+2C0h], rax ; +0x248, 0x1401be658 mov rax, [rdi+658h] ; +0x24f, 0x1401be65f mov [rax+238h], rdi ; +0x256, 0x1401be666 mov rcx, [rdi+658h] ; +0x25d, 0x1401be66d mov rax, [rcx] ; +0x264, 0x1401be674 mov rbx, [rsp+68h+arg_18] ; +0x267, 0x1401be677 add rsp, 30h ; +0x26f, 0x1401be67f pop r15 ; +0x273, 0x1401be683 pop r14 ; +0x275, 0x1401be685 pop r13 ; +0x277, 0x1401be687 pop r12 ; +0x279, 0x1401be689 pop rdi ; +0x27b, 0x1401be68b pop rsi ; +0x27c, 0x1401be68c pop rbp ; +0x27d, 0x1401be68d jmp qword ptr [rax+428h] ; +0x27e, 0x1401be68e