Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SOpcode:
- public mask as Int32 = 0
- // Check if this is opcode at offset
- public def me(offset as UInt32):
- opcode = MemoryManager.Instance.memory_get(offset)
- return (opcode >> 26) == self.mask
- class opBNE(SOpcode):
- public def constructor():
- self.mask = Convert.ToInt32("000101", 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement