Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BOO 0.30 KB | None | 0 0
  1. class SOpcode:
  2.     public mask as Int32 = 0
  3.  
  4.     // Check if this is opcode at offset
  5.     public def me(offset as UInt32):
  6.         opcode = MemoryManager.Instance.memory_get(offset)     
  7.         return (opcode >> 26) == self.mask
  8.          
  9. class opBNE(SOpcode):
  10.     public def constructor():
  11.         self.mask = Convert.ToInt32("000101", 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement