; ; BrowseSmartKeyLayer::onButton from 0x1004eb710 to 0x1004eb786 (118 bytes) ; ; 1 xrefs: ; > BrowseSmartKeyLayer::init @ 0x1004eb350 ; ; 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 ; push rbp ; +0x0, 0x1004eb710 mov rbp, rsp ; +0x1, 0x1004eb711 push rbx ; +0x4, 0x1004eb714 push rax ; +0x5, 0x1004eb715 mov rbx, rdi ; +0x6, 0x1004eb716 mov rax, [rsi] ; +0x9, 0x1004eb719 mov rdi, rsi ; +0xc, 0x1004eb71c call qword ptr [rax+40h] ; +0xf, 0x1004eb71f dec eax; switch 4 cases ; +0x12, 0x1004eb722 cmp eax, 3 ; +0x14, 0x1004eb724 ja short def_1004EB737; jumptable 00000001004EB737 default case ; +0x17, 0x1004eb727 lea rcx, jpt_1004EB737 ; +0x19, 0x1004eb729 movsxd rax, (jpt_1004EB737 - 1004EB788h)[rcx+rax*4] ; +0x20, 0x1004eb730 add rax, rcx ; +0x24, 0x1004eb734 jmp rax; switch jump ; +0x27, 0x1004eb737 mov rdi, rbx; jumptable 00000001004EB737 case 1 ; +0x29, 0x1004eb739 add rsp, 8 ; +0x2c, 0x1004eb73c pop rbx ; +0x30, 0x1004eb740 pop rbp ; +0x31, 0x1004eb741 jmp BrowseSmartKeyLayer__createTemplateObjects ; +0x32, 0x1004eb742 mov rdi, rbx; jumptable 00000001004EB737 case 3 ; +0x37, 0x1004eb747 xor esi, esi ; +0x3a, 0x1004eb74a mov edx, 1 ; +0x3c, 0x1004eb74c add rsp, 8 ; +0x41, 0x1004eb751 pop rbx ; +0x45, 0x1004eb755 pop rbp ; +0x46, 0x1004eb756 jmp BrowseSmartKeyLayer__addChanceToSelected ; +0x47, 0x1004eb757 mov rdi, rbx; jumptable 00000001004EB737 case 4 ; +0x4c, 0x1004eb75c mov esi, 0Ah ; +0x4f, 0x1004eb75f xor edx, edx ; +0x54, 0x1004eb764 add rsp, 8 ; +0x56, 0x1004eb766 pop rbx ; +0x5a, 0x1004eb76a pop rbp ; +0x5b, 0x1004eb76b jmp BrowseSmartKeyLayer__addChanceToSelected ; +0x5c, 0x1004eb76c mov rdi, rbx; jumptable 00000001004EB737 case 2 ; +0x61, 0x1004eb771 add rsp, 8 ; +0x64, 0x1004eb774 pop rbx ; +0x68, 0x1004eb778 pop rbp ; +0x69, 0x1004eb779 jmp BrowseSmartKeyLayer__deletedSelectedItems ; +0x6a, 0x1004eb77a add rsp, 8; jumptable 00000001004EB737 default case ; +0x6f, 0x1004eb77f pop rbx ; +0x73, 0x1004eb783 pop rbp ; +0x74, 0x1004eb784 retn ; +0x75, 0x1004eb785