; ; EditorCommandsPopup::addCommandButton from 0x1008dea60 to 0x1008deaff (159 bytes) ; ; 0 xrefs: ; ; 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:37:45 +0000 ; push rbp ; +0x0, 0x1008dea60 mov rbp, rsp ; +0x1, 0x1008dea61 push r15 ; +0x4, 0x1008dea64 push r14 ; +0x6, 0x1008dea66 push rbx ; +0x8, 0x1008dea68 push rax ; +0x9, 0x1008dea69 mov r14d, edx ; +0xa, 0x1008dea6a mov rbx, rdi ; +0xd, 0x1008dea6d lea r8, aBigfontFnt; "bigFont.fnt" ; +0x10, 0x1008dea70 lea r9, aGjButton04Png; "GJ_button_04.png" ; +0x17, 0x1008dea77 movss xmm0, cs:dword_100A03588 ; +0x1e, 0x1008dea7e movss xmm1, cs:dword_100A0376C ; +0x26, 0x1008dea86 mov rdi, rsi ; +0x2e, 0x1008dea8e mov esi, 104h ; +0x31, 0x1008dea91 xor edx, edx ; +0x36, 0x1008dea96 mov ecx, 1 ; +0x38, 0x1008dea98 call ButtonSprite__create_1 ; +0x3d, 0x1008dea9d mov r15, rax ; +0x42, 0x1008deaa2 mov rax, [rax] ; +0x45, 0x1008deaa5 movss xmm0, cs:dword_100A03578 ; +0x48, 0x1008deaa8 mov rdi, r15 ; +0x50, 0x1008deab0 call qword ptr [rax+0A0h] ; +0x53, 0x1008deab3 lea rcx, EditorCommandsPopup__onCommand ; +0x59, 0x1008deab9 mov rdi, r15 ; +0x60, 0x1008deac0 xor esi, esi ; +0x63, 0x1008deac3 mov rdx, rbx ; +0x65, 0x1008deac5 xor r8d, r8d ; +0x68, 0x1008deac8 call CCMenuItemSpriteExtra__create ; +0x6b, 0x1008deacb mov r15, rax ; +0x70, 0x1008dead0 mov rax, [rax] ; +0x73, 0x1008dead3 mov rdi, r15 ; +0x76, 0x1008dead6 mov esi, r14d ; +0x79, 0x1008dead9 call qword ptr [rax+48h] ; +0x7c, 0x1008deadc mov rdi, [rbx+418h] ; +0x7f, 0x1008deadf mov rax, [rdi] ; +0x86, 0x1008deae6 mov rax, [rax+1C8h] ; +0x89, 0x1008deae9 mov rsi, r15 ; +0x90, 0x1008deaf0 add rsp, 8 ; +0x93, 0x1008deaf3 pop rbx ; +0x97, 0x1008deaf7 pop r14 ; +0x98, 0x1008deaf8 pop r15 ; +0x9a, 0x1008deafa pop rbp ; +0x9c, 0x1008deafc jmp rax ; +0x9d, 0x1008deafd