; ; BrowseSmartKeyLayer::deletedSelectedItems from 0x1004eb940 to 0x1004ebab6 (374 bytes) ; ; 1 xrefs: ; > BrowseSmartKeyLayer::onButton @ 0x1004eb77a ; ; 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, 0x1004eb940 mov rbp, rsp ; +0x1, 0x1004eb941 push r15 ; +0x4, 0x1004eb944 push r14 ; +0x6, 0x1004eb946 push r13 ; +0x8, 0x1004eb948 push r12 ; +0xa, 0x1004eb94a push rbx ; +0xc, 0x1004eb94c sub rsp, 38h ; +0xd, 0x1004eb94d mov rbx, rdi ; +0x11, 0x1004eb951 mov rdi, [rdi+280h] ; +0x14, 0x1004eb954 call sub_100720070 ; +0x1b, 0x1004eb95b test eax, eax ; +0x20, 0x1004eb960 jz loc_1004EBA9F ; +0x22, 0x1004eb962 lea rax, [rbx+2A8h] ; +0x28, 0x1004eb968 mov [rbp+var_58], rax ; +0x2f, 0x1004eb96f xor r14d, r14d ; +0x33, 0x1004eb973 mov [rbp+var_38], rbx ; +0x36, 0x1004eb976 jmp short loc_1004EB9A0 ; +0x3a, 0x1004eb97a align 20h ; +0x3c, 0x1004eb97c mov r14d, [rbp+var_2C] ; +0x40, 0x1004eb980 inc r14d ; +0x44, 0x1004eb984 mov rbx, [rbp+var_38] ; +0x47, 0x1004eb987 mov rdi, [rbx+280h] ; +0x4b, 0x1004eb98b call sub_100720070 ; +0x52, 0x1004eb992 cmp r14d, eax ; +0x57, 0x1004eb997 jnb loc_1004EBA9F ; +0x5a, 0x1004eb99a mov rdi, [rbx+280h] ; +0x60, 0x1004eb9a0 mov [rbp+var_2C], r14d ; +0x67, 0x1004eb9a7 mov esi, r14d ; +0x6b, 0x1004eb9ab call sub_1007200C0 ; +0x6e, 0x1004eb9ae mov r12, rax ; +0x73, 0x1004eb9b3 mov rdi, rax ; +0x76, 0x1004eb9b6 call sub_100720070 ; +0x79, 0x1004eb9b9 test eax, eax ; +0x7e, 0x1004eb9be jz short loc_1004EB980 ; +0x80, 0x1004eb9c0 xor r13d, r13d ; +0x82, 0x1004eb9c2 jmp short loc_1004EB9E0 ; +0x85, 0x1004eb9c5 align 10h ; +0x87, 0x1004eb9c7 inc r13d ; +0x90, 0x1004eb9d0 mov rdi, r12 ; +0x93, 0x1004eb9d3 call sub_100720070 ; +0x96, 0x1004eb9d6 cmp r13d, eax ; +0x9b, 0x1004eb9db jnb short loc_1004EB980 ; +0x9e, 0x1004eb9de mov rdi, r12 ; +0xa0, 0x1004eb9e0 mov esi, r13d ; +0xa3, 0x1004eb9e3 call sub_1007200C0 ; +0xa6, 0x1004eb9e6 mov r15, rax ; +0xab, 0x1004eb9eb mov rax, [rax] ; +0xae, 0x1004eb9ee mov rdi, r15 ; +0xb1, 0x1004eb9f1 call qword ptr [rax+420h] ; +0xb4, 0x1004eb9f4 cmp byte ptr [rax+168h], 1 ; +0xba, 0x1004eb9fa jnz short loc_1004EB9D0 ; +0xc1, 0x1004eba01 mov rbx, rax ; +0xc3, 0x1004eba03 mov rax, [rbp+var_38] ; +0xc6, 0x1004eba06 mov r14, [rax+278h] ; +0xca, 0x1004eba0a test byte ptr [rax+2A8h], 1 ; +0xd1, 0x1004eba11 jnz short loc_1004EBA30 ; +0xd8, 0x1004eba18 mov rcx, [rbp+var_58] ; +0xda, 0x1004eba1a mov rax, [rcx+10h] ; +0xde, 0x1004eba1e mov [rbp+__p], rax ; +0xe2, 0x1004eba22 movups xmm0, xmmword ptr [rcx] ; +0xe6, 0x1004eba26 movaps [rbp+var_50], xmm0 ; +0xe9, 0x1004eba29 jmp short loc_1004EBA47 ; +0xed, 0x1004eba2d align 10h ; +0xef, 0x1004eba2f mov rdx, [rax+2B0h] ; +0xf0, 0x1004eba30 mov rsi, [rax+2B8h] ; +0xf7, 0x1004eba37 lea rdi, [rbp+var_50] ; +0xfe, 0x1004eba3e call sub_100006B70 ; +0x102, 0x1004eba42 mov rax, [rbx] ; +0x107, 0x1004eba47 mov rdi, rbx ; +0x10a, 0x1004eba4a call qword ptr [rax+40h] ; +0x10d, 0x1004eba4d mov rdi, r14 ; +0x110, 0x1004eba50 lea rsi, [rbp+var_50] ; +0x113, 0x1004eba53 mov edx, eax ; +0x117, 0x1004eba57 call GJSmartTemplate__removePrefab ; +0x119, 0x1004eba59 test byte ptr [rbp+var_50], 1 ; +0x11e, 0x1004eba5e jz short loc_1004EBA6D ; +0x122, 0x1004eba62 mov rdi, [rbp+__p]; __p ; +0x124, 0x1004eba64 call __ZdlPv; operator delete(void *) ; +0x128, 0x1004eba68 mov rax, [r15] ; +0x12d, 0x1004eba6d mov rdi, r15 ; +0x130, 0x1004eba70 call qword ptr [rax+208h] ; +0x133, 0x1004eba73 mov rdi, r12 ; +0x139, 0x1004eba79 mov esi, r13d ; +0x13c, 0x1004eba7c mov edx, 1 ; +0x13f, 0x1004eba7f call sub_100720230 ; +0x144, 0x1004eba84 mov rdi, r12 ; +0x149, 0x1004eba89 call sub_100720070 ; +0x14c, 0x1004eba8c cmp r13d, eax ; +0x151, 0x1004eba91 jb loc_1004EB9E0 ; +0x154, 0x1004eba94 jmp loc_1004EB980 ; +0x15a, 0x1004eba9a mov rdi, rbx ; +0x15f, 0x1004eba9f call BrowseSmartKeyLayer__updateChanceValues ; +0x162, 0x1004ebaa2 add rsp, 38h ; +0x167, 0x1004ebaa7 pop rbx ; +0x16b, 0x1004ebaab pop r12 ; +0x16c, 0x1004ebaac pop r13 ; +0x16e, 0x1004ebaae pop r14 ; +0x170, 0x1004ebab0 pop r15 ; +0x172, 0x1004ebab2 pop rbp ; +0x174, 0x1004ebab4 retn ; +0x175, 0x1004ebab5