; ; EditorUI::toggleDuplicateButton from 0x10000bf60 to 0x10000c08e (302 bytes) ; ; 1 xrefs: ; > EditorUI::updateButtons @ 0x10000ae1c ; ; 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 12:18:50 +0000 ; push rbp ; +0x0, 0x10000bf60 mov rbp, rsp ; +0x1, 0x10000bf61 push r15 ; +0x4, 0x10000bf64 push r14 ; +0x6, 0x10000bf66 push r12 ; +0x8, 0x10000bf68 push rbx ; +0xa, 0x10000bf6a mov rbx, rdi ; +0xb, 0x10000bf6b cmp qword ptr [rdi+5D8h], 0 ; +0xe, 0x10000bf6e jz short loc_10000BF88 ; +0x16, 0x10000bf76 mov rdi, [rbx+468h] ; +0x18, 0x10000bf78 mov byte ptr [rdi+198h], 1 ; +0x1f, 0x10000bf7f jmp short loc_10000BFAA ; +0x26, 0x10000bf86 mov rdi, [rbx+380h] ; +0x28, 0x10000bf88 call sub_1007FEF90 ; +0x2f, 0x10000bf8f mov rdi, [rbx+468h] ; +0x34, 0x10000bf94 test eax, eax ; +0x3b, 0x10000bf9b setnz byte ptr [rdi+198h] ; +0x3d, 0x10000bf9d jz loc_10000C07C ; +0x44, 0x10000bfa4 lea r14, unk_100A038D0 ; +0x4a, 0x10000bfaa mov r15b, 0FFh ; +0x51, 0x10000bfb1 mov r12b, 1 ; +0x54, 0x10000bfb4 mov rax, [rdi] ; +0x57, 0x10000bfb7 mov rsi, r14 ; +0x5a, 0x10000bfba call qword ptr [rax+3C0h] ; +0x5d, 0x10000bfbd mov rdi, [rbx+468h] ; +0x63, 0x10000bfc3 mov rax, [rdi] ; +0x6a, 0x10000bfca movzx r15d, r15b ; +0x6d, 0x10000bfcd mov esi, r15d ; +0x71, 0x10000bfd1 call qword ptr [rax+390h] ; +0x74, 0x10000bfd4 mov rdi, [rbx+470h] ; +0x7a, 0x10000bfda mov [rdi+198h], r12b ; +0x81, 0x10000bfe1 mov rax, [rdi] ; +0x88, 0x10000bfe8 mov rsi, r14 ; +0x8b, 0x10000bfeb call qword ptr [rax+3C0h] ; +0x8e, 0x10000bfee mov rdi, [rbx+470h] ; +0x94, 0x10000bff4 mov rax, [rdi] ; +0x9b, 0x10000bffb mov esi, r15d ; +0x9e, 0x10000bffe call qword ptr [rax+390h] ; +0xa1, 0x10000c001 call GameManager__sharedState ; +0xa7, 0x10000c007 movzx ecx, byte ptr [rax+200h] ; +0xac, 0x10000c00c test cl, 1 ; +0xb3, 0x10000c013 jnz short loc_10000C01C ; +0xb6, 0x10000c016 shr ecx, 1 ; +0xb8, 0x10000c018 jmp short loc_10000C023 ; +0xba, 0x10000c01a mov rcx, [rax+208h] ; +0xbc, 0x10000c01c test rcx, rcx ; +0xc3, 0x10000c023 mov rdi, [rbx+478h] ; +0xc6, 0x10000c026 setnz byte ptr [rdi+198h] ; +0xcd, 0x10000c02d lea rax, unk_100A038D0 ; +0xd4, 0x10000c034 lea rsi, unk_100A038D3 ; +0xdb, 0x10000c03b cmovnz rsi, rax ; +0xe2, 0x10000c042 mov rax, [rdi] ; +0xe6, 0x10000c046 mov ecx, 0FFh ; +0xe9, 0x10000c049 mov r14d, 0AFh ; +0xee, 0x10000c04e cmovnz r14d, ecx ; +0xf4, 0x10000c054 call qword ptr [rax+3C0h] ; +0xf8, 0x10000c058 mov rdi, [rbx+478h] ; +0xfe, 0x10000c05e mov rax, [rdi] ; +0x105, 0x10000c065 mov rax, [rax+390h] ; +0x108, 0x10000c068 mov esi, r14d ; +0x10f, 0x10000c06f pop rbx ; +0x112, 0x10000c072 pop r12 ; +0x113, 0x10000c073 pop r14 ; +0x115, 0x10000c075 pop r15 ; +0x117, 0x10000c077 pop rbp ; +0x119, 0x10000c079 jmp rax ; +0x11a, 0x10000c07a xor r12d, r12d ; +0x11c, 0x10000c07c lea r14, unk_100A038D3 ; +0x11f, 0x10000c07f mov r15b, 0AFh ; +0x126, 0x10000c086 jmp loc_10000BFB7 ; +0x129, 0x10000c089