; ; GJColorSetupLayer::onColor from 0x140256bd0 to 0x140256c98 (200 bytes) ; ; 2 xrefs: ; > GJColorSetupLayer::init @ 0x140256319 ; > @ 0x1406cf99c ; ; 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, 0x140256bd0 push rdi ; +0x5, 0x140256bd5 sub rsp, 20h ; +0x6, 0x140256bd6 mov ebx, [rcx+2B4h] ; +0xa, 0x140256bda mov rdi, rcx ; +0x10, 0x140256be0 imul ebx, [rcx+2B0h] ; +0x13, 0x140256be3 mov rcx, rdx ; +0x1a, 0x140256bea mov rax, [rdx] ; +0x1d, 0x140256bed call qword ptr [rax+38h] ; +0x20, 0x140256bf0 cmp byte ptr [rdi+2D0h], 0 ; +0x23, 0x140256bf3 lea edx, [rbx+rax] ; +0x2a, 0x140256bfa jz short loc_140256C41 ; +0x2d, 0x140256bfd mov rcx, [rdi+2D8h] ; +0x2f, 0x140256bff mov [rdi+2E0h], edx ; +0x36, 0x140256c06 test rcx, rcx ; +0x3c, 0x140256c0c jz short loc_140256C1A ; +0x3f, 0x140256c0f test edx, edx ; +0x41, 0x140256c11 jle short loc_140256C1A ; +0x43, 0x140256c13 mov rax, [rcx] ; +0x45, 0x140256c15 call qword ptr [rax] ; +0x48, 0x140256c18 mov rax, [rdi] ; +0x4a, 0x140256c1a xor edx, edx ; +0x4d, 0x140256c1d mov rcx, rdi ; +0x4f, 0x140256c1f call qword ptr [rax+3D0h] ; +0x52, 0x140256c22 mov rax, [rdi] ; +0x58, 0x140256c28 mov dl, 1 ; +0x5b, 0x140256c2b mov rcx, rdi ; +0x5d, 0x140256c2d mov rbx, [rsp+28h+arg_0] ; +0x60, 0x140256c30 add rsp, 20h ; +0x65, 0x140256c35 pop rdi ; +0x69, 0x140256c39 jmp qword ptr [rax+1F8h] ; +0x6a, 0x140256c3a mov rcx, [rdi+288h] ; +0x71, 0x140256c41 mov rcx, [rcx+140h] ; +0x78, 0x140256c48 call GJEffectManager__getColorAction ; +0x7f, 0x140256c4f mov r8, rax ; +0x84, 0x140256c54 xor edx, edx ; +0x87, 0x140256c57 xor ecx, ecx ; +0x89, 0x140256c59 call ColorSelectPopup__create ; +0x8b, 0x140256c5b xor edx, edx ; +0x90, 0x140256c60 lea rcx, [rdi+278h] ; +0x92, 0x140256c62 test rdi, rdi ; +0x99, 0x140256c69 cmovz rcx, rdx ; +0x9c, 0x140256c6c mov dword ptr [rax+248h], 6Ah ; 'j' ; +0xa0, 0x140256c70 mov rdx, [rax] ; +0xaa, 0x140256c7a mov [rax+410h], rcx ; +0xad, 0x140256c7d mov rcx, rax ; +0xb4, 0x140256c84 mov rbx, [rsp+28h+arg_0] ; +0xb7, 0x140256c87 add rsp, 20h ; +0xbc, 0x140256c8c pop rdi ; +0xc0, 0x140256c90 jmp qword ptr [rdx+410h] ; +0xc1, 0x140256c91