; ; sub_18003F4D0 from 0x18003f4d0 to 0x18003f5cf (255 bytes) ; ; 1 xrefs: ; > sub_18003F2D0 @ 0x18003f390 ; ; 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 10:53:10 +0000 ; mov r8, [rcx+8] ; +0x0, 0x18003f4d0 lea eax, [rdx-10h] ; +0x4, 0x18003f4d4 movzx r9d, dl ; +0x7, 0x18003f4d7 mov r10, rcx ; +0xb, 0x18003f4db cmp al, 40h ; '@' ; +0xe, 0x18003f4de ja short loc_18003F4F2 ; +0x10, 0x18003f4e0 or byte ptr [r8+3Ch], 2 ; +0x12, 0x18003f4e2 lea eax, [r9-10h] ; +0x17, 0x18003f4e7 mov [r8+44h], eax ; +0x1b, 0x18003f4eb xor eax, eax ; +0x1f, 0x18003f4ef retn ; +0x21, 0x18003f4f1 mov eax, r9d ; +0x22, 0x18003f4f2 shr eax, 4 ; +0x25, 0x18003f4f5 add eax, 0FFFFFFFAh; switch 10 cases ; +0x28, 0x18003f4f8 cmp eax, 9 ; +0x2b, 0x18003f4fb ja def_18003F518; jumptable 000000018003F518 default case ; +0x2e, 0x18003f4fe lea r11, cs:180000000h ; +0x34, 0x18003f504 cdqe ; +0x3b, 0x18003f50b mov ecx, ds:(jpt_18003F518 - 180000000h)[r11+rax*4] ; +0x3d, 0x18003f50d add rcx, r11 ; +0x45, 0x18003f515 jmp rcx; switch jump ; +0x48, 0x18003f518 and r9d, 0Fh; jumptable 000000018003F518 cases 6,8 ; +0x4a, 0x18003f51a mov ecx, 0 ; +0x4e, 0x18003f51e sub [r8+44h], r9d ; +0x53, 0x18003f523 mov eax, [r8+44h] ; +0x57, 0x18003f527 cmovs eax, ecx ; +0x5b, 0x18003f52b or byte ptr [r8+3Ch], 2 ; +0x5e, 0x18003f52e mov [r8+44h], eax ; +0x63, 0x18003f533 xor eax, eax ; +0x67, 0x18003f537 retn ; +0x69, 0x18003f539 and r9d, 0Fh; jumptable 000000018003F518 cases 7,9 ; +0x6a, 0x18003f53a mov ecx, 40h ; '@' ; +0x6e, 0x18003f53e add [r8+44h], r9d ; +0x73, 0x18003f543 mov eax, [r8+44h] ; +0x77, 0x18003f547 cmp eax, ecx ; +0x7b, 0x18003f54b cmovg eax, ecx ; +0x7d, 0x18003f54d or byte ptr [r8+3Ch], 2 ; +0x80, 0x18003f550 mov [r8+44h], eax ; +0x85, 0x18003f555 xor eax, eax ; +0x89, 0x18003f559 retn ; +0x8b, 0x18003f55b and dl, 0Fh; jumptable 000000018003F518 case 10 ; +0x8c, 0x18003f55c mov [r10+107h], dl ; +0x8f, 0x18003f55f xor eax, eax ; +0x96, 0x18003f566 retn ; +0x98, 0x18003f568 and dl, 0Fh; jumptable 000000018003F518 case 11 ; +0x99, 0x18003f569 mov [r10+108h], dl ; +0x9c, 0x18003f56c xor eax, eax ; +0xa3, 0x18003f573 retn ; +0xa5, 0x18003f575 or byte ptr [r8+3Ch], 4; jumptable 000000018003F518 case 12 ; +0xa6, 0x18003f576 and r9d, 0Fh ; +0xab, 0x18003f57b shl r9d, 4 ; +0xaf, 0x18003f57f mov [r8+48h], r9d ; +0xb3, 0x18003f583 xor eax, eax ; +0xb7, 0x18003f587 retn ; +0xb9, 0x18003f589 or byte ptr [r8+3Ch], 4; jumptable 000000018003F518 case 13 ; +0xba, 0x18003f58a and r9d, 0Fh ; +0xbf, 0x18003f58f sub [r8+48h], r9d ; +0xc3, 0x18003f593 xor eax, eax ; +0xc7, 0x18003f597 retn ; +0xc9, 0x18003f599 or byte ptr [r8+3Ch], 4; jumptable 000000018003F518 case 14 ; +0xca, 0x18003f59a and r9d, 0Fh ; +0xcf, 0x18003f59f add [r8+48h], r9d ; +0xd3, 0x18003f5a3 xor eax, eax ; +0xd7, 0x18003f5a7 retn ; +0xd9, 0x18003f5a9 test dl, 0Fh; jumptable 000000018003F518 case 15 ; +0xda, 0x18003f5aa jz short loc_18003F5B9 ; +0xdd, 0x18003f5ad shl dl, 4 ; +0xdf, 0x18003f5af mov [r10+104h], dl ; +0xe2, 0x18003f5b2 mov eax, [r10+0D4h] ; +0xe9, 0x18003f5b9 mov [r10+100h], eax ; +0xf0, 0x18003f5c0 and byte ptr [r8+3Ch], 0F7h ; +0xf7, 0x18003f5c7 xor eax, eax; jumptable 000000018003F518 default case ; +0xfc, 0x18003f5cc retn ; +0xfe, 0x18003f5ce