; ; sub_18001ED10 from 0x18001ed10 to 0x18001ee02 (242 bytes) ; ; 1 xrefs: ; > sub_18001EE10 @ 0x18001ee4b ; ; 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:15:45 +0000 ; mov eax, cs:dword_18004900C ; +0x0, 0x18001ed10 mov r9, rdx ; +0x6, 0x18001ed16 sub r9, rcx ; +0x9, 0x18001ed19 mov r10, rdx ; +0xc, 0x18001ed1c mov rdx, r9 ; +0xf, 0x18001ed1f and rdx, 0FFFFFFFFFFFFFFE0h ; +0x12, 0x18001ed22 jz loc_18001EDBE ; +0x16, 0x18001ed26 test al, 20h ; +0x1c, 0x18001ed2c jz loc_18001EDBE ; +0x1e, 0x18001ed2e movsx eax, r8b ; +0x24, 0x18001ed34 add rdx, rcx ; +0x28, 0x18001ed38 vmovd xmm3, eax ; +0x2b, 0x18001ed3b vpxor xmm0, xmm0, xmm0 ; +0x2f, 0x18001ed3f vpshufb xmm3, xmm3, xmm0 ; +0x33, 0x18001ed43 vinsertf128 ymm3, ymm3, xmm3, 1 ; +0x38, 0x18001ed48 xchg ax, ax ; +0x3e, 0x18001ed4e vpcmpeqb ymm1, ymm3, ymmword ptr [rcx] ; +0x40, 0x18001ed50 vpmovmskb eax, ymm1 ; +0x44, 0x18001ed54 test eax, eax ; +0x48, 0x18001ed58 jnz short loc_18001EDB1 ; +0x4a, 0x18001ed5a add rcx, 20h ; ' ' ; +0x4c, 0x18001ed5c cmp rcx, rdx ; +0x50, 0x18001ed60 jnz short loc_18001ED50 ; +0x53, 0x18001ed63 and r9d, 1Ch ; +0x55, 0x18001ed65 jz short loc_18001ED98 ; +0x59, 0x18001ed69 mov edx, r9d ; +0x5b, 0x18001ed6b lea rax, unk_1800257D0 ; +0x5e, 0x18001ed6e and rdx, 0FFFFFFFFFFFFFFFCh ; +0x65, 0x18001ed75 sub rax, rdx ; +0x69, 0x18001ed79 vmovdqu ymm2, ymmword ptr [rax] ; +0x6c, 0x18001ed7c vpmaskmovd ymm0, ymm2, ymmword ptr [rcx] ; +0x70, 0x18001ed80 vpcmpeqb ymm1, ymm0, ymm3 ; +0x75, 0x18001ed85 vpand ymm2, ymm1, ymm2 ; +0x79, 0x18001ed89 vpmovmskb eax, ymm2 ; +0x7d, 0x18001ed8d test eax, eax ; +0x81, 0x18001ed91 jnz short loc_18001EDB1 ; +0x83, 0x18001ed93 add rcx, r9 ; +0x85, 0x18001ed95 vzeroupper ; +0x88, 0x18001ed98 cmp rcx, r10 ; +0x8b, 0x18001ed9b jz short loc_18001EDAD ; +0x8e, 0x18001ed9e cmp [rcx], r8b ; +0x90, 0x18001eda0 jz short loc_18001EDAD ; +0x93, 0x18001eda3 inc rcx ; +0x95, 0x18001eda5 cmp rcx, r10 ; +0x98, 0x18001eda8 jnz short loc_18001EDA0 ; +0x9b, 0x18001edab mov rax, rcx ; +0x9d, 0x18001edad retn ; +0xa0, 0x18001edb0 vzeroupper ; +0xa1, 0x18001edb1 tzcnt eax, eax ; +0xa4, 0x18001edb4 mov eax, eax ; +0xa8, 0x18001edb8 add rax, rcx ; +0xaa, 0x18001edba retn ; +0xad, 0x18001edbd and r9, 0FFFFFFFFFFFFFFF0h ; +0xae, 0x18001edbe jz short loc_18001ED9B ; +0xb2, 0x18001edc2 test al, 4 ; +0xb4, 0x18001edc4 jz short loc_18001ED9B ; +0xb6, 0x18001edc6 movzx eax, r8b ; +0xb8, 0x18001edc8 lea rdx, [r9+rcx] ; +0xbc, 0x18001edcc xorps xmm0, xmm0 ; +0xc0, 0x18001edd0 movd xmm1, eax ; +0xc3, 0x18001edd3 pshufb xmm1, xmm0 ; +0xc7, 0x18001edd7 nop dword ptr [rax+00h] ; +0xcc, 0x18001eddc movdqu xmm0, xmmword ptr [rcx] ; +0xd0, 0x18001ede0 pcmpeqb xmm0, xmm1 ; +0xd4, 0x18001ede4 pmovmskb eax, xmm0 ; +0xd8, 0x18001ede8 test eax, eax ; +0xdc, 0x18001edec jnz short loc_18001EDFB ; +0xde, 0x18001edee add rcx, 10h ; +0xe0, 0x18001edf0 cmp rcx, rdx ; +0xe4, 0x18001edf4 jnz short loc_18001EDE0 ; +0xe7, 0x18001edf7 jmp short loc_18001ED9B ; +0xe9, 0x18001edf9 bsf eax, eax ; +0xeb, 0x18001edfb add rax, rcx ; +0xee, 0x18001edfe retn ; +0xf1, 0x18001ee01