; ; sub_180028920 from 0x180028920 to 0x180028a18 (248 bytes) ; ; 2 xrefs: ; > sub_180027A20 @ 0x180027c4f ; > sub_180027A20 @ 0x180027cc0 ; ; 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 ; movzx r8d, byte ptr [rcx+106h] ; +0x0, 0x180028920 mov r9, rcx ; +0x8, 0x180028928 mov r10, [rcx+8] ; +0xb, 0x18002892b movzx ecx, r8b ; +0xf, 0x18002892f and cl, 1Fh ; +0x13, 0x180028933 movzx edx, byte ptr [r9+126h] ; +0x16, 0x180028936 and edx, 3 ; +0x1e, 0x18002893e jz short loc_1800289BF ; +0x21, 0x180028941 sub edx, 1 ; +0x23, 0x180028943 jz short loc_1800289A6 ; +0x26, 0x180028946 sub edx, 1 ; +0x28, 0x180028948 jz short loc_18002899F ; +0x2b, 0x18002894b cmp edx, 1 ; +0x2d, 0x18002894d jz short loc_180028956 ; +0x30, 0x180028950 xor eax, eax ; +0x32, 0x180028952 jmp short loc_1800289CD ; +0x34, 0x180028954 mov r8, [r9] ; +0x36, 0x180028956 add r8, 0C10h ; +0x39, 0x180028959 mov eax, [r8+4] ; +0x40, 0x180028960 mov edx, [r8] ; +0x44, 0x180028964 shl edx, 0Bh ; +0x47, 0x180028967 xor edx, [r8] ; +0x4a, 0x18002896a mov [r8], eax ; +0x4d, 0x18002896d mov eax, [r8+8] ; +0x50, 0x180028970 mov [r8+4], eax ; +0x54, 0x180028974 mov eax, [r8+0Ch] ; +0x58, 0x180028978 mov ecx, eax ; +0x5c, 0x18002897c shr ecx, 0Bh ; +0x5e, 0x18002897e xor ecx, edx ; +0x61, 0x180028981 mov [r8+8], eax ; +0x63, 0x180028983 shr ecx, 8 ; +0x67, 0x180028987 xor ecx, eax ; +0x6a, 0x18002898a xor ecx, edx ; +0x6c, 0x18002898c mov [r8+0Ch], ecx ; +0x6e, 0x18002898e movzx r8d, byte ptr [r9+106h] ; +0x72, 0x180028992 movzx eax, cl ; +0x7a, 0x18002899a jmp short loc_1800289CD ; +0x7d, 0x18002899d mov eax, 0FFh ; +0x7f, 0x18002899f jmp short loc_1800289CD ; +0x84, 0x1800289a4 shl cl, 3 ; +0x86, 0x1800289a6 movzx edx, cl ; +0x89, 0x1800289a9 test r8b, r8b ; +0x8c, 0x1800289ac movzx eax, dl ; +0x8f, 0x1800289af not al ; +0x92, 0x1800289b2 movzx ecx, al ; +0x94, 0x1800289b4 cmovns ecx, edx ; +0x97, 0x1800289b7 movzx eax, cl ; +0x9a, 0x1800289ba jmp short loc_1800289CD ; +0x9d, 0x1800289bd movzx eax, cl ; +0x9f, 0x1800289bf lea rcx, byte_1801AEEE0 ; +0xa2, 0x1800289c2 movzx eax, byte ptr [rax+rcx] ; +0xa9, 0x1800289c9 movzx ecx, byte ptr [r9+108h] ; +0xad, 0x1800289cd imul ecx, eax ; +0xb5, 0x1800289d5 shr ecx, 5 ; +0xb8, 0x1800289d8 and ecx, 0FFFFFFFCh ; +0xbb, 0x1800289db mov eax, ecx ; +0xbe, 0x1800289de neg eax ; +0xc0, 0x1800289e0 test r8b, r8b ; +0xc2, 0x1800289e2 cmovs ecx, eax ; +0xc5, 0x1800289e5 mov [r10+50h], ecx ; +0xc8, 0x1800289e8 movzx eax, byte ptr [r9+107h] ; +0xcc, 0x1800289ec add [r9+106h], al ; +0xd4, 0x1800289f4 movzx eax, byte ptr [r9+106h] ; +0xdb, 0x1800289fb cmp al, 1Fh ; +0xe3, 0x180028a03 jle short loc_180028A10 ; +0xe5, 0x180028a05 sub al, 40h ; '@' ; +0xe7, 0x180028a07 mov [r9+106h], al ; +0xe9, 0x180028a09 or byte ptr [r10+3Ch], 1 ; +0xf0, 0x180028a10 xor eax, eax ; +0xf5, 0x180028a15 retn ; +0xf7, 0x180028a17