This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########################################################### | |
| # TX SX OS MIPS VM disassembler - by hexkyz and naehrwert # | |
| ########################################################### | |
| import os | |
| import re | |
| import struct | |
| import codecs | |
| host_calls_0 = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| from struct import pack, unpack | |
| def u32(x): | |
| return x & 0xFFFFFFFF | |
| def tea_update_custom_mac(mac, v, k): | |
| v0, v1 = v[0], v[1] | |
| cur_sum = 0xC6EF3720 | |
| k0, k1, k2, k3 = k[0], k[1], k[2], k[3] |