; ; GameObject::duplicateColorMode from 0x1401a1ba0 to 0x1401a1c78 (216 bytes) ; ; 8 xrefs: ; > CustomizeObjectLayer::onPaste @ 0x1400a80e9 ; > CustomizeObjectLayer::onPaste @ 0x1400a8129 ; > EditorUI::onPasteColor @ 0x140114608 ; > EditorUI::onPasteColor @ 0x140114648 ; > EditorUI::createRockEdges @ 0x14012e62e ; > GameObject::duplicateValues @ 0x1401a1e8e ; > LevelEditorLayer::copyObjectState @ 0x1402e1397 ; > @ 0x1406cbfa0 ; ; 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, 0x1401a1ba0 cmp byte ptr [rcx+416h], 0 ; +0x5, 0x1401a1ba5 mov r9, rcx ; +0xc, 0x1401a1bac mov r10, [rdx+450h] ; +0xf, 0x1401a1baf mov r8, [rdx+458h] ; +0x16, 0x1401a1bb6 jz short loc_1401A1BE4 ; +0x1d, 0x1401a1bbd cmp qword ptr [rcx+458h], 0 ; +0x1f, 0x1401a1bbf jnz short loc_1401A1BE4 ; +0x27, 0x1401a1bc7 test r8, r8 ; +0x29, 0x1401a1bc9 jz short loc_1401A1BE4 ; +0x2c, 0x1401a1bcc mov ecx, [r8+4] ; +0x2e, 0x1401a1bce mov eax, [r8] ; +0x32, 0x1401a1bd2 cmp ecx, eax ; +0x35, 0x1401a1bd5 jz short loc_1401A1BDD ; +0x37, 0x1401a1bd7 test eax, eax ; +0x39, 0x1401a1bd9 jnz short loc_1401A1BE1 ; +0x3b, 0x1401a1bdb test ecx, ecx ; +0x3d, 0x1401a1bdd jz short loc_1401A1BE4 ; +0x3f, 0x1401a1bdf mov r10, r8 ; +0x41, 0x1401a1be1 mov ecx, [r10+4] ; +0x44, 0x1401a1be4 mov eax, [r10] ; +0x48, 0x1401a1be8 cmp ecx, eax ; +0x4b, 0x1401a1beb jz short loc_1401A1BF3 ; +0x4d, 0x1401a1bed test eax, eax ; +0x4f, 0x1401a1bef jnz short loc_1401A1BF5 ; +0x51, 0x1401a1bf1 mov eax, ecx ; +0x53, 0x1401a1bf3 mov rdx, [r9+450h] ; +0x55, 0x1401a1bf5 xor ebx, ebx ; +0x5c, 0x1401a1bfc test eax, eax ; +0x5e, 0x1401a1bfe mov ecx, 44Dh ; +0x60, 0x1401a1c00 cmovs eax, ebx ; +0x65, 0x1401a1c05 lea r11d, [rcx-5Ah] ; +0x68, 0x1401a1c08 cmp eax, ecx ; +0x6c, 0x1401a1c0c jle short loc_1401A1C14 ; +0x6e, 0x1401a1c0e mov eax, ecx ; +0x70, 0x1401a1c10 jmp short loc_1401A1C1A ; +0x72, 0x1401a1c12 test eax, eax ; +0x74, 0x1401a1c14 cmovs eax, r11d ; +0x76, 0x1401a1c16 mov [rdx], eax ; +0x7a, 0x1401a1c1a mov rax, [r9+450h] ; +0x7c, 0x1401a1c1c movups xmm0, xmmword ptr [r10+10h] ; +0x83, 0x1401a1c23 movups xmmword ptr [rax+10h], xmm0 ; +0x88, 0x1401a1c28 test r8, r8 ; +0x8c, 0x1401a1c2c jz short loc_1401A1C72 ; +0x8f, 0x1401a1c2f mov r10, [r9+458h] ; +0x91, 0x1401a1c31 test r10, r10 ; +0x98, 0x1401a1c38 jz short loc_1401A1C72 ; +0x9b, 0x1401a1c3b mov edx, [r8+4] ; +0x9d, 0x1401a1c3d mov eax, [r8] ; +0xa1, 0x1401a1c41 cmp edx, eax ; +0xa4, 0x1401a1c44 jz short loc_1401A1C4C ; +0xa6, 0x1401a1c46 test eax, eax ; +0xa8, 0x1401a1c48 jnz short loc_1401A1C50 ; +0xaa, 0x1401a1c4a mov eax, edx ; +0xac, 0x1401a1c4c test edx, edx ; +0xae, 0x1401a1c4e cmovs eax, ebx ; +0xb0, 0x1401a1c50 cmp eax, ecx ; +0xb3, 0x1401a1c53 jg short loc_1401A1C5F ; +0xb5, 0x1401a1c55 test eax, eax ; +0xb7, 0x1401a1c57 mov ecx, eax ; +0xb9, 0x1401a1c59 cmovs ecx, r11d ; +0xbb, 0x1401a1c5b mov [r10], ecx ; +0xbf, 0x1401a1c5f mov rax, [r9+458h] ; +0xc2, 0x1401a1c62 movups xmm0, xmmword ptr [r8+10h] ; +0xc9, 0x1401a1c69 movups xmmword ptr [rax+10h], xmm0 ; +0xce, 0x1401a1c6e mov rbx, [rsp+arg_0] ; +0xd2, 0x1401a1c72 retn ; +0xd7, 0x1401a1c77