; ; CustomizeObjectLayer::onEditColor from 0x1400a8480 to 0x1400a8527 (167 bytes) ; ; 3 xrefs: ; > CustomizeObjectLayer::init @ 0x1400a6add ; > @ 0x1406c77a0 ; > @ 0x1406c77ac ; ; 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_8], rbx ; +0x0, 0x1400a8480 push rdi ; +0x5, 0x1400a8485 sub rsp, 20h ; +0x6, 0x1400a8486 mov rbx, rcx ; +0xa, 0x1400a848a mov dl, 1 ; +0xd, 0x1400a848d call CustomizeObjectLayer__getActiveMode ; +0xf, 0x1400a848f mov edi, eax ; +0x14, 0x1400a8494 mov rax, cs:qword_1406C2ED8 ; +0x16, 0x1400a8496 test rax, rax ; +0x1d, 0x1400a849d jnz short loc_1400A84D1 ; +0x20, 0x1400a84a0 mov ecx, 668h; Size ; +0x22, 0x1400a84a2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x27, 0x1400a84a7 mov [rsp+28h+arg_0], rax ; +0x2c, 0x1400a84ac mov rcx, rax ; +0x31, 0x1400a84b1 call sub_14017AB00 ; +0x34, 0x1400a84b4 nop ; +0x39, 0x1400a84b9 mov cs:qword_1406C2ED8, rax ; +0x3a, 0x1400a84ba mov rdx, [rax] ; +0x41, 0x1400a84c1 mov rcx, rax ; +0x44, 0x1400a84c4 call qword ptr [rdx+48h] ; +0x47, 0x1400a84c7 mov rax, cs:qword_1406C2ED8 ; +0x4a, 0x1400a84ca mov rax, [rax+210h] ; +0x51, 0x1400a84d1 mov rcx, [rax+0DB0h] ; +0x58, 0x1400a84d8 mov edx, edi ; +0x5f, 0x1400a84df mov rcx, [rcx+140h] ; +0x61, 0x1400a84e1 call GJEffectManager__getColorAction ; +0x68, 0x1400a84e8 mov r8, rax ; +0x6d, 0x1400a84ed xor edx, edx ; +0x70, 0x1400a84f0 xor ecx, ecx ; +0x72, 0x1400a84f2 call ColorSelectPopup__create ; +0x74, 0x1400a84f4 lea rcx, [rbx+288h] ; +0x79, 0x1400a84f9 xor edx, edx ; +0x80, 0x1400a8500 test rbx, rbx ; +0x82, 0x1400a8502 cmovz rcx, rdx ; +0x85, 0x1400a8505 mov [rax+410h], rcx ; +0x89, 0x1400a8509 mov rdx, [rax] ; +0x90, 0x1400a8510 mov rcx, rax ; +0x93, 0x1400a8513 mov rbx, [rsp+28h+arg_8] ; +0x96, 0x1400a8516 add rsp, 20h ; +0x9b, 0x1400a851b pop rdi ; +0x9f, 0x1400a851f jmp qword ptr [rdx+410h] ; +0xa0, 0x1400a8520