; ; GJColorSetupLayer::onColor from 0x14035f6c0 to 0x14035f78b (203 bytes) ; ; 2 xrefs: ; > GJColorSetupLayer::init @ 0x14035edf5 ; > @ 0x1409212b4 ; ; 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:30:52 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x14035f6c0 push rdi ; +0x5, 0x14035f6c5 sub rsp, 20h ; +0x6, 0x14035f6c6 mov ebx, [rcx+2D4h] ; +0xa, 0x14035f6ca mov rdi, rcx ; +0x10, 0x14035f6d0 imul ebx, [rcx+2D0h] ; +0x13, 0x14035f6d3 mov rcx, rdx ; +0x1a, 0x14035f6da mov rax, [rdx] ; +0x1d, 0x14035f6dd call qword ptr [rax+38h] ; +0x20, 0x14035f6e0 cmp byte ptr [rdi+2F0h], 0 ; +0x23, 0x14035f6e3 lea edx, [rbx+rax] ; +0x2a, 0x14035f6ea jz short loc_14035F731 ; +0x2d, 0x14035f6ed mov rcx, [rdi+2F8h] ; +0x2f, 0x14035f6ef mov [rdi+300h], edx ; +0x36, 0x14035f6f6 test rcx, rcx ; +0x3c, 0x14035f6fc jz short loc_14035F70A ; +0x3f, 0x14035f6ff test edx, edx ; +0x41, 0x14035f701 jle short loc_14035F70A ; +0x43, 0x14035f703 mov rax, [rcx] ; +0x45, 0x14035f705 call qword ptr [rax] ; +0x48, 0x14035f708 mov rax, [rdi] ; +0x4a, 0x14035f70a xor edx, edx ; +0x4d, 0x14035f70d mov rcx, rdi ; +0x4f, 0x14035f70f call qword ptr [rax+3E0h] ; +0x52, 0x14035f712 mov rax, [rdi] ; +0x58, 0x14035f718 mov dl, 1 ; +0x5b, 0x14035f71b mov rcx, rdi ; +0x5d, 0x14035f71d mov rbx, [rsp+28h+arg_0] ; +0x60, 0x14035f720 add rsp, 20h ; +0x65, 0x14035f725 pop rdi ; +0x69, 0x14035f729 jmp qword ptr [rax+208h] ; +0x6a, 0x14035f72a mov rcx, [rdi+2A8h] ; +0x71, 0x14035f731 mov rcx, [rcx+140h] ; +0x78, 0x14035f738 call GJEffectManager__getColorAction ; +0x7f, 0x14035f73f mov r8, rax ; +0x84, 0x14035f744 xor edx, edx ; +0x87, 0x14035f747 xor ecx, ecx ; +0x89, 0x14035f749 call ColorSelectPopup__create ; +0x8b, 0x14035f74b xor edx, edx ; +0x90, 0x14035f750 lea rcx, [rdi+298h] ; +0x92, 0x14035f752 test rdi, rdi ; +0x99, 0x14035f759 cmovz rcx, rdx ; +0x9c, 0x14035f75c mov dword ptr [rax+250h], 6Ah ; 'j' ; +0xa0, 0x14035f760 mov [rax+450h], rcx ; +0xaa, 0x14035f76a mov rcx, [rax] ; +0xb1, 0x14035f771 mov rdx, [rcx+428h] ; +0xb4, 0x14035f774 mov rcx, rax ; +0xbb, 0x14035f77b mov rbx, [rsp+28h+arg_0] ; +0xbe, 0x14035f77e add rsp, 20h ; +0xc3, 0x14035f783 pop rdi ; +0xc7, 0x14035f787 jmp rdx ; +0xc8, 0x14035f788