Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; int _fastcall getAnchoredMask( int fretMask _ECX )
- mov eax, 0x10000
- cmp ecx, eax
- jl @CHECK_RED
- @OPT_RET:
- mov eax, ecx
- ret 0
- @CHECK_RED:
- cmp ecx, 0x01000
- jl @CHECK_YELLOW
- or eax, ecx ; return fretMask
- ret 0
- @CHECK_YELLOW:
- cmp ecx, 0x00100
- jl @CHECK_BLUE
- or ecx, 0x11000 ; return fretMask | 0x11000;
- jmp @OPT_RET
- @CHECK_BLUE:
- cmp ecx, 0x00010
- jl @CHECK_ORANGE
- or ecx, 0x11100 ; return fretMask | 0x11100;
- jmp @OPT_RET
- @CHECK_ORANGE:
- cmp ecx, 0x00001
- jl @RET_FULL_MASK
- or ecx, 0x11110 ; return fretMask | 0x11110;
- jmp @OPT_RET
- @RET_FULL_MASK:
- mov eax, 0x11111 ; return 0x11111;
- ret 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement