; ; BrowseSmartKeyLayer::getAllSelectedBlocks from 0x1004e6840 to 0x1004e690f (207 bytes) ; ; 2 xrefs: ; > BrowseSmartKeyLayer::createTemplateObjects @ 0x1004e6344 ; > BrowseSmartKeyLayer::addChanceToSelected @ 0x1004e667a ; ; 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:31:20 +0000 ; push rbp ; +0x0, 0x1004e6840 mov rbp, rsp ; +0x1, 0x1004e6841 push r15 ; +0x4, 0x1004e6844 push r14 ; +0x6, 0x1004e6846 push r13 ; +0x8, 0x1004e6848 push r12 ; +0xa, 0x1004e684a push rbx ; +0xc, 0x1004e684c push rax ; +0xd, 0x1004e684d mov rbx, rdi ; +0xe, 0x1004e684e call sub_1007FE900 ; +0x11, 0x1004e6851 mov r14, rax ; +0x16, 0x1004e6856 mov rdi, [rbx+2A0h] ; +0x19, 0x1004e6859 call sub_1007FEF90 ; +0x20, 0x1004e6860 test eax, eax ; +0x25, 0x1004e6865 jz loc_1004E68FD ; +0x27, 0x1004e6867 xor r15d, r15d ; +0x2d, 0x1004e686d jmp short loc_1004E6894 ; +0x30, 0x1004e6870 align 20h ; +0x32, 0x1004e6872 inc r15d ; +0x40, 0x1004e6880 mov rdi, [rbx+2A0h] ; +0x43, 0x1004e6883 call sub_1007FEF90 ; +0x4a, 0x1004e688a cmp r15d, eax ; +0x4f, 0x1004e688f jnb short loc_1004E68FD ; +0x52, 0x1004e6892 mov rdi, [rbx+2A0h] ; +0x54, 0x1004e6894 mov esi, r15d ; +0x5b, 0x1004e689b call sub_1007FEFE0 ; +0x5e, 0x1004e689e mov r12, rax ; +0x63, 0x1004e68a3 mov rdi, rax ; +0x66, 0x1004e68a6 call sub_1007FEF90 ; +0x69, 0x1004e68a9 test eax, eax ; +0x6e, 0x1004e68ae jz short loc_1004E6880 ; +0x70, 0x1004e68b0 xor r13d, r13d ; +0x72, 0x1004e68b2 jmp short loc_1004E68D0 ; +0x75, 0x1004e68b5 align 20h ; +0x77, 0x1004e68b7 inc r13d ; +0x80, 0x1004e68c0 mov rdi, r12 ; +0x83, 0x1004e68c3 call sub_1007FEF90 ; +0x86, 0x1004e68c6 cmp r13d, eax ; +0x8b, 0x1004e68cb jnb short loc_1004E6880 ; +0x8e, 0x1004e68ce mov rdi, r12 ; +0x90, 0x1004e68d0 mov esi, r13d ; +0x93, 0x1004e68d3 call sub_1007FEFE0 ; +0x96, 0x1004e68d6 mov rcx, [rax] ; +0x9b, 0x1004e68db mov rdi, rax ; +0x9e, 0x1004e68de call qword ptr [rcx+430h] ; +0xa1, 0x1004e68e1 cmp byte ptr [rax+168h], 1 ; +0xa7, 0x1004e68e7 jnz short loc_1004E68C0 ; +0xae, 0x1004e68ee mov rdi, r14 ; +0xb0, 0x1004e68f0 mov rsi, rax ; +0xb3, 0x1004e68f3 call sub_1007FEBF0 ; +0xb6, 0x1004e68f6 jmp short loc_1004E68C0 ; +0xbb, 0x1004e68fb mov rax, r14 ; +0xbd, 0x1004e68fd add rsp, 8 ; +0xc0, 0x1004e6900 pop rbx ; +0xc4, 0x1004e6904 pop r12 ; +0xc5, 0x1004e6905 pop r13 ; +0xc7, 0x1004e6907 pop r14 ; +0xc9, 0x1004e6909 pop r15 ; +0xcb, 0x1004e690b pop rbp ; +0xcd, 0x1004e690d retn ; +0xce, 0x1004e690e