This file contains 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, os | |
def main(): | |
if len(sys.argv) < 3: | |
print('Usage: py rtti.py <path> <txt>') | |
return 1 | |
path = sys.argv[1] | |
if not os.path.exists(path): | |
print('Input file not found') |
This file contains 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
mflr r12 | |
std r12, -8(r1) | |
std r31, -0x10(r1) | |
std r30, -0x18(r1) | |
std r29, -0x20(r1) | |
std r28, -0x28(r1) | |
std r27, -0x30(r1) | |
std r26, -0x38(r1) | |
std r25, -0x40(r1) | |
std r24, -0x48(r1) |