summaryrefslogtreecommitdiff
path: root/tools/hooks.pyc
blob: 84b5c2601c5cdcd225c8d5481412f3a25a6e2276 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 44 3b 0a 4e 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 da 00 00 00 64 00 ....D;.Nc............@...s....d.
0020 00 64 01 00 6c 00 00 5a 00 00 64 00 00 64 01 00 6c 01 00 5a 01 00 65 01 00 6a 02 00 64 02 00 83 .d..l..Z..d..d..l..Z..e..j..d...
0040 01 00 5a 03 00 64 03 00 84 00 00 5a 04 00 64 04 00 65 05 00 66 01 00 64 05 00 84 00 00 83 00 00 ..Z..d.....Z..d..e..f..d........
0060 59 5a 06 00 64 06 00 65 05 00 66 01 00 64 07 00 84 00 00 83 00 00 59 5a 07 00 64 08 00 65 07 00 YZ..d..e..f..d........YZ..d..e..
0080 66 01 00 64 09 00 84 00 00 83 00 00 59 5a 08 00 64 0a 00 65 07 00 66 01 00 64 0b 00 84 00 00 83 f..d........YZ..d..e..f..d......
00a0 00 00 59 5a 09 00 64 0c 00 65 07 00 66 01 00 64 0d 00 84 00 00 83 00 00 59 5a 0a 00 64 0e 00 65 ..YZ..d..e..f..d........YZ..d..e
00c0 07 00 66 01 00 64 0f 00 84 00 00 83 00 00 59 5a 0b 00 69 04 00 65 08 00 64 10 00 36 65 09 00 64 ..f..d........YZ..i..e..d..6e..d
00e0 11 00 36 65 0a 00 64 12 00 36 65 0b 00 64 13 00 36 5a 0c 00 64 01 00 53 28 14 00 00 00 69 ff ff ..6e..d..6e..d..6Z..d..S(....i..
0100 ff ff 4e 73 02 00 00 00 3e 49 63 03 00 00 00 06 00 00 00 05 00 00 00 43 00 00 00 73 85 00 00 00 ..Ns....>Ic............C...s....
0120 64 01 00 64 02 00 64 03 00 64 04 00 67 04 00 7d 03 00 7c 02 00 7c 03 00 6b 07 00 72 2e 00 74 00 d..d..d..d..g..}..|..|..k..r..t.
0140 00 64 05 00 7c 02 00 16 82 02 00 6e 00 00 7c 03 00 6a 01 00 7c 02 00 83 01 00 7d 04 00 7c 01 00 .d..|......n..|..j..|.....}..|..
0160 7c 00 00 18 7d 05 00 7c 05 00 64 06 00 6b 05 00 73 5f 00 7c 05 00 64 07 00 6b 01 00 72 75 00 74 |...}..|..d..k..s_.|..d..k..ru.t
0180 00 00 64 08 00 7c 00 00 7c 01 00 66 02 00 16 82 02 00 6e 00 00 7c 05 00 64 09 00 40 64 0a 00 42 ..d..|..|..f......n..|..d..@d..B
01a0 7c 04 00 42 53 28 0b 00 00 00 4e 74 01 00 00 00 62 74 02 00 00 00 62 6c 74 02 00 00 00 62 61 74 |..BS(....Nt....bt....blt....bat
01c0 03 00 00 00 62 6c 61 73 17 00 00 00 69 6e 76 61 6c 69 64 20 62 72 61 6e 63 68 20 74 79 70 65 3a ....blas....invalid.branch.type:
01e0 20 25 73 69 00 00 00 02 69 00 00 00 fe 73 1f 00 00 00 62 72 61 6e 63 68 69 6e 67 20 74 6f 6f 20 .%si....i....s....branching.too.
0200 66 61 72 3a 20 25 30 38 78 20 74 6f 20 25 30 38 78 69 fc ff ff 03 69 00 00 00 48 28 02 00 00 00 far:.%08x.to.%08xi....i...H(....
0220 74 0a 00 00 00 56 61 6c 75 65 45 72 72 6f 72 74 05 00 00 00 69 6e 64 65 78 28 06 00 00 00 74 08 t....ValueErrort....index(....t.
0240 00 00 00 66 72 6f 6d 41 64 64 72 74 06 00 00 00 74 6f 41 64 64 72 74 0a 00 00 00 62 72 61 6e 63 ...fromAddrt....toAddrt....branc
0260 68 54 79 70 65 74 0b 00 00 00 62 72 61 6e 63 68 54 79 70 65 73 74 05 00 00 00 65 78 74 72 61 74 hTypet....branchTypest....extrat
0280 08 00 00 00 64 69 73 74 61 6e 63 65 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 ....distance(....(....s).../home
02a0 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b /me/Games/Newer/Kamek/tools/hook
02c0 73 2e 70 79 74 10 00 00 00 6d 61 6b 65 5f 62 72 61 6e 63 68 5f 69 6e 73 6e 06 00 00 00 73 10 00 s.pyt....make_branch_insn....s..
02e0 00 00 00 01 12 01 0c 01 10 02 0f 02 0a 01 18 01 16 02 74 0b 00 00 00 48 6f 6f 6b 43 6f 6e 74 65 ..................t....HookConte
0300 78 74 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 17 00 00 00 65 00 00 5a 01 00 64 00 xtc............B...s....e..Z..d.
0320 00 5a 02 00 64 01 00 84 00 00 5a 03 00 52 53 28 02 00 00 00 73 38 00 00 00 4f 62 6a 65 63 74 20 .Z..d.....Z..RS(....s8...Object.
0340 77 68 69 63 68 20 63 61 6e 20 62 65 20 75 73 65 64 20 62 79 20 65 61 63 68 20 68 6f 6f 6b 20 74 which.can.be.used.by.each.hook.t
0360 79 70 65 20 74 6f 20 68 6f 6c 64 20 64 61 74 61 2e 63 01 00 00 00 01 00 00 00 02 00 00 00 43 00 ype.to.hold.data.c............C.
0380 00 00 73 0d 00 00 00 67 00 00 7c 00 00 5f 00 00 64 00 00 53 28 01 00 00 00 4e 28 01 00 00 00 74 ..s....g..|.._..d..S(....N(....t
03a0 05 00 00 00 68 6f 6f 6b 73 28 01 00 00 00 74 04 00 00 00 73 65 6c 66 28 00 00 00 00 28 00 00 00 ....hooks(....t....self(....(...
03c0 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b .s).../home/me/Games/Newer/Kamek
03e0 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 74 08 00 00 00 5f 5f 69 6e 69 74 5f 5f 18 00 00 00 /tools/hooks.pyt....__init__....
0400 73 02 00 00 00 00 01 28 04 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 0a 00 00 00 5f 5f s......(....t....__name__t....__
0420 6d 6f 64 75 6c 65 5f 5f 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 52 10 00 00 00 28 00 00 00 00 28 00 module__t....__doc__R....(....(.
0440 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 ...(....s).../home/me/Games/Newe
0460 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 0d 00 00 00 15 00 00 00 73 r/Kamek/tools/hooks.pyR........s
0480 04 00 00 00 06 01 06 02 74 04 00 00 00 48 6f 6f 6b 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 ........t....Hookc............B.
04a0 00 00 73 2c 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 65 03 00 5a 04 00 67 00 00 5a 05 00 64 ..s,...e..Z..d..Z..e..Z..g..Z..d
04c0 01 00 84 00 00 5a 06 00 64 02 00 84 00 00 5a 07 00 52 53 28 03 00 00 00 73 12 00 00 00 47 65 6e .....Z..d.....Z..RS(....s....Gen
04e0 65 72 69 63 20 68 6f 6f 6b 20 63 6c 61 73 73 63 04 00 00 00 07 00 00 00 06 00 00 00 43 00 00 00 eric.hook.classc............C...
0500 73 b5 00 00 00 7c 01 00 7c 00 00 5f 00 00 7c 02 00 7c 00 00 5f 01 00 7c 03 00 7c 00 00 5f 02 00 s....|..|.._..|..|.._..|..|.._..
0520 7c 00 00 6a 03 00 72 56 00 74 04 00 7c 00 00 83 01 00 7d 04 00 7c 01 00 6a 05 00 7c 04 00 19 7c |..j..rV.t..|.....}..|..j..|...|
0540 00 00 5f 06 00 7c 00 00 6a 06 00 6a 07 00 6a 08 00 7c 00 00 83 01 00 01 6e 00 00 7c 01 00 6a 09 .._..|..j..j..j..|......n..|..j.
0560 00 7d 05 00 78 4f 00 7c 00 00 6a 0a 00 44 5d 44 00 7d 06 00 7c 06 00 6a 0b 00 64 01 00 7c 05 00 .}..xO.|..j..D]D.}..|..j..d..|..
0580 83 02 00 7d 06 00 7c 06 00 7c 03 00 6b 07 00 72 69 00 74 0c 00 64 02 00 7c 02 00 6a 0d 00 7c 03 ...}..|..|..k..ri.t..d..|..j..|.
05a0 00 64 03 00 19 7c 06 00 66 03 00 16 82 02 00 71 69 00 71 69 00 57 64 04 00 53 28 05 00 00 00 73 .d...|..f......qi.qi.Wd..S(....s
05c0 0e 00 00 00 53 65 74 73 20 75 70 20 61 20 68 6f 6f 6b 73 08 00 00 00 25 43 4f 4e 46 49 47 25 73 ....Sets.up.a.hooks....%CONFIG%s
05e0 24 00 00 00 68 6f 6f 6b 20 25 73 20 3a 20 25 73 20 69 73 20 6d 69 73 73 69 6e 67 20 74 68 65 20 $...hook.%s.:.%s.is.missing.the.
0600 66 69 65 6c 64 20 25 73 74 04 00 00 00 6e 61 6d 65 4e 28 0e 00 00 00 74 07 00 00 00 62 75 69 6c field.%st....nameN(....t....buil
0620 64 65 72 74 06 00 00 00 6d 6f 64 75 6c 65 74 04 00 00 00 64 61 74 61 74 0b 00 00 00 68 61 73 5f dert....modulet....datat....has_
0640 63 6f 6e 74 65 78 74 74 04 00 00 00 74 79 70 65 74 0e 00 00 00 5f 68 6f 6f 6b 5f 63 6f 6e 74 65 contextt....typet...._hook_conte
0660 78 74 73 74 07 00 00 00 63 6f 6e 74 65 78 74 52 0e 00 00 00 74 06 00 00 00 61 70 70 65 6e 64 74 xtst....contextR....t....appendt
0680 12 00 00 00 5f 63 6f 6e 66 69 67 5f 73 68 6f 72 74 5f 6e 61 6d 65 74 0d 00 00 00 72 65 71 75 69 ...._config_short_namet....requi
06a0 72 65 64 5f 64 61 74 61 74 07 00 00 00 72 65 70 6c 61 63 65 52 04 00 00 00 74 0a 00 00 00 6d 6f red_datat....replaceR....t....mo
06c0 64 75 6c 65 4e 61 6d 65 28 07 00 00 00 52 0f 00 00 00 52 16 00 00 00 52 17 00 00 00 52 18 00 00 duleName(....R....R....R....R...
06e0 00 74 08 00 00 00 68 6f 6f 6b 54 79 70 65 74 13 00 00 00 63 75 72 72 65 6e 74 5f 63 6f 6e 66 69 .t....hookTypet....current_confi
0700 67 5f 6e 61 6d 65 74 05 00 00 00 66 69 65 6c 64 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f g_namet....field(....(....s).../
0720 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f home/me/Games/Newer/Kamek/tools/
0740 68 6f 6f 6b 73 2e 70 79 52 10 00 00 00 23 00 00 00 73 18 00 00 00 00 02 09 01 09 01 09 02 09 01 hooks.pyR....#...s..............
0760 0c 01 10 01 16 03 09 02 10 01 12 01 0c 01 63 01 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 73 ..............c............C...s
0780 04 00 00 00 64 00 00 53 28 01 00 00 00 4e 28 00 00 00 00 28 01 00 00 00 52 0f 00 00 00 28 00 00 ....d..S(....N(....(....R....(..
07a0 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 ..(....s).../home/me/Games/Newer
07c0 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 74 0e 00 00 00 63 72 65 61 74 65 /Kamek/tools/hooks.pyt....create
07e0 5f 70 61 74 63 68 65 73 36 00 00 00 73 02 00 00 00 00 01 28 08 00 00 00 52 11 00 00 00 52 12 00 _patches6...s......(....R....R..
0800 00 00 52 13 00 00 00 74 05 00 00 00 46 61 6c 73 65 52 19 00 00 00 52 1f 00 00 00 52 10 00 00 00 ..R....t....FalseR....R....R....
0820 52 25 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d R%...(....(....(....s).../home/m
0840 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e e/Games/Newer/Kamek/tools/hooks.
0860 70 79 52 14 00 00 00 1d 00 00 00 73 0a 00 00 00 06 01 06 02 06 01 06 02 09 13 74 0e 00 00 00 42 pyR........s..............t....B
0880 61 73 69 63 50 61 74 63 68 48 6f 6f 6b 63 00 00 00 00 00 00 00 00 02 00 00 00 42 00 00 00 73 2c asicPatchHookc............B...s,
08a0 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 64 02 00 67 02 00 5a 03 00 64 03 00 84 00 ...e..Z..d..Z..d..d..g..Z..d....
08c0 00 5a 04 00 64 04 00 84 00 00 5a 05 00 52 53 28 05 00 00 00 73 2b 00 00 00 48 6f 6f 6b 20 74 68 .Z..d.....Z..RS(....s+...Hook.th
08e0 61 74 20 73 69 6d 70 6c 79 20 70 61 74 63 68 65 73 20 64 61 74 61 20 74 6f 20 61 6e 20 61 64 64 at.simply.patches.data.to.an.add
0900 72 65 73 73 73 0d 00 00 00 61 64 64 72 5f 25 43 4f 4e 46 49 47 25 52 18 00 00 00 63 04 00 00 00 resss....addr_%CONFIG%R....c....
0920 04 00 00 00 05 00 00 00 43 00 00 00 73 1a 00 00 00 74 00 00 6a 01 00 7c 00 00 7c 01 00 7c 02 00 ........C...s....t..j..|..|..|..
0940 7c 03 00 83 04 00 01 64 00 00 53 28 01 00 00 00 4e 28 02 00 00 00 52 14 00 00 00 52 10 00 00 00 |......d..S(....N(....R....R....
0960 28 04 00 00 00 52 0f 00 00 00 52 16 00 00 00 52 17 00 00 00 52 18 00 00 00 28 00 00 00 00 28 00 (....R....R....R....R....(....(.
0980 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d ...s).../home/me/Games/Newer/Kam
09a0 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 10 00 00 00 40 00 00 00 73 02 00 00 00 00 ek/tools/hooks.pyR....@...s.....
09c0 01 63 01 00 00 00 06 00 00 00 04 00 00 00 43 00 00 00 73 73 00 00 00 7c 00 00 6a 00 00 64 01 00 .c............C...ss...|..j..d..
09e0 7c 00 00 6a 01 00 6a 02 00 16 19 7d 01 00 7c 00 00 6a 00 00 64 02 00 19 7d 02 00 64 03 00 7d 03 |..j..j....}..|..j..d...}..d..}.
0a00 00 78 20 00 7c 03 00 44 5d 18 00 7d 04 00 7c 02 00 6a 03 00 7c 04 00 64 04 00 83 02 00 7d 02 00 .x..|..D]..}..|..j..|..d.....}..
0a20 71 31 00 57 74 04 00 6a 05 00 7c 02 00 83 01 00 7d 05 00 7c 00 00 6a 01 00 6a 06 00 7c 01 00 7c q1.Wt..j..|.....}..|..j..j..|..|
0a40 05 00 83 02 00 01 64 00 00 53 28 05 00 00 00 4e 73 07 00 00 00 61 64 64 72 5f 25 73 52 18 00 00 ......d..S(....Ns....addr_%sR...
0a60 00 73 04 00 00 00 20 0a 0d 09 74 00 00 00 00 28 07 00 00 00 52 18 00 00 00 52 16 00 00 00 52 1e .s........t....(....R....R....R.
0a80 00 00 00 52 20 00 00 00 74 08 00 00 00 62 69 6e 61 73 63 69 69 74 09 00 00 00 75 6e 68 65 78 6c ...R....t....binasciit....unhexl
0aa0 69 66 79 74 0a 00 00 00 5f 61 64 64 5f 70 61 74 63 68 28 06 00 00 00 52 0f 00 00 00 74 04 00 00 ifyt...._add_patch(....R....t...
0ac0 00 61 64 64 72 74 08 00 00 00 68 65 78 5f 64 61 74 61 74 0a 00 00 00 77 68 69 74 65 73 70 61 63 .addrt....hex_datat....whitespac
0ae0 65 74 04 00 00 00 63 68 61 72 74 05 00 00 00 70 61 74 63 68 28 00 00 00 00 28 00 00 00 00 73 29 et....chart....patch(....(....s)
0b00 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f .../home/me/Games/Newer/Kamek/to
0b20 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 25 00 00 00 43 00 00 00 73 0e 00 00 00 00 01 17 02 0d 02 ols/hooks.pyR%...C...s..........
0b40 06 01 0d 01 16 02 0f 02 28 06 00 00 00 52 11 00 00 00 52 12 00 00 00 52 13 00 00 00 52 1f 00 00 ........(....R....R....R....R...
0b60 00 52 10 00 00 00 52 25 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f .R....R%...(....(....(....s).../
0b80 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f home/me/Games/Newer/Kamek/tools/
0ba0 68 6f 6f 6b 73 2e 70 79 52 27 00 00 00 3b 00 00 00 73 08 00 00 00 06 01 06 02 0c 02 09 03 74 0e hooks.pyR'...;...s............t.
0bc0 00 00 00 42 72 61 6e 63 68 49 6e 73 6e 48 6f 6f 6b 63 00 00 00 00 00 00 00 00 02 00 00 00 42 00 ...BranchInsnHookc............B.
0be0 00 00 73 2c 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 64 02 00 67 02 00 5a 03 00 64 ..s,...e..Z..d..Z..d..d..g..Z..d
0c00 03 00 84 00 00 5a 04 00 64 04 00 84 00 00 5a 05 00 52 53 28 05 00 00 00 73 46 00 00 00 48 6f 6f .....Z..d.....Z..RS(....sF...Hoo
0c20 6b 20 74 68 61 74 20 72 65 70 6c 61 63 65 73 20 74 68 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 k.that.replaces.the.instruction.
0c40 61 74 20 61 20 73 70 65 63 69 66 69 63 20 61 64 64 72 65 73 73 20 77 69 74 68 20 61 20 62 72 61 at.a.specific.address.with.a.bra
0c60 6e 63 68 74 0b 00 00 00 62 72 61 6e 63 68 5f 74 79 70 65 73 11 00 00 00 73 72 63 5f 61 64 64 72 ncht....branch_types....src_addr
0c80 5f 25 43 4f 4e 46 49 47 25 63 04 00 00 00 04 00 00 00 05 00 00 00 43 00 00 00 73 1a 00 00 00 74 _%CONFIG%c............C...s....t
0ca0 00 00 6a 01 00 7c 00 00 7c 01 00 7c 02 00 7c 03 00 83 04 00 01 64 00 00 53 28 01 00 00 00 4e 28 ..j..|..|..|..|......d..S(....N(
0cc0 02 00 00 00 52 14 00 00 00 52 10 00 00 00 28 04 00 00 00 52 0f 00 00 00 52 16 00 00 00 52 17 00 ....R....R....(....R....R....R..
0ce0 00 00 52 18 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 ..R....(....(....s).../home/me/G
0d00 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 ames/Newer/Kamek/tools/hooks.pyR
0d20 10 00 00 00 57 00 00 00 73 02 00 00 00 00 01 63 01 00 00 00 04 00 00 00 05 00 00 00 43 00 00 00 ....W...s......c............C...
0d40 73 b0 00 00 00 79 11 00 7c 00 00 6a 00 00 64 01 00 19 7d 01 00 57 6e 28 00 04 74 01 00 6b 0a 00 s....y..|..j..d...}..Wn(..t..k..
0d60 72 3b 00 01 01 01 7c 00 00 6a 00 00 64 02 00 7c 00 00 6a 02 00 6a 03 00 16 19 7d 01 00 6e 01 00 r;....|..j..d..|..j..j....}..n..
0d80 58 74 04 00 7c 01 00 74 05 00 83 02 00 72 60 00 7c 00 00 6a 02 00 6a 06 00 7c 01 00 83 01 00 7d Xt..|..t.....r`.|..j..j..|.....}
0da0 01 00 6e 00 00 7c 00 00 6a 00 00 64 03 00 7c 00 00 6a 02 00 6a 03 00 16 19 7d 02 00 74 07 00 7c ..n..|..j..d..|..j..j....}..t..|
0dc0 02 00 7c 01 00 7c 00 00 6a 00 00 64 04 00 19 83 03 00 7d 03 00 7c 00 00 6a 02 00 6a 08 00 7c 02 ..|..|..j..d......}..|..j..j..|.
0de0 00 74 09 00 6a 0a 00 7c 03 00 83 01 00 83 02 00 01 64 00 00 53 28 05 00 00 00 4e 74 0b 00 00 00 .t..j..|.........d..S(....Nt....
0e00 74 61 72 67 65 74 5f 66 75 6e 63 73 0e 00 00 00 74 61 72 67 65 74 5f 66 75 6e 63 5f 25 73 73 0b target_funcs....target_func_%ss.
0e20 00 00 00 73 72 63 5f 61 64 64 72 5f 25 73 52 32 00 00 00 28 0b 00 00 00 52 18 00 00 00 74 08 00 ...src_addr_%sR2...(....R....t..
0e40 00 00 4b 65 79 45 72 72 6f 72 52 16 00 00 00 52 1e 00 00 00 74 0a 00 00 00 69 73 69 6e 73 74 61 ..KeyErrorR....R....t....isinsta
0e60 6e 63 65 74 03 00 00 00 73 74 72 74 14 00 00 00 5f 66 69 6e 64 5f 66 75 6e 63 5f 62 79 5f 73 79 ncet....strt...._find_func_by_sy
0e80 6d 62 6f 6c 52 0c 00 00 00 52 2b 00 00 00 74 03 00 00 00 75 33 32 74 04 00 00 00 70 61 63 6b 28 mbolR....R+...t....u32t....pack(
0ea0 04 00 00 00 52 0f 00 00 00 52 33 00 00 00 74 08 00 00 00 73 72 63 5f 61 64 64 72 74 0b 00 00 00 ....R....R3...t....src_addrt....
0ec0 62 72 61 6e 63 68 5f 69 6e 73 6e 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f branch_insn(....(....s).../home/
0ee0 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 me/Games/Newer/Kamek/tools/hooks
0f00 2e 70 79 52 25 00 00 00 5a 00 00 00 73 12 00 00 00 00 01 03 01 11 01 0d 01 1b 02 0f 01 15 06 17 .pyR%...Z...s...................
0f20 01 19 02 28 06 00 00 00 52 11 00 00 00 52 12 00 00 00 52 13 00 00 00 52 1f 00 00 00 52 10 00 00 ...(....R....R....R....R....R...
0f40 00 52 25 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f .R%...(....(....(....s).../home/
0f60 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 me/Games/Newer/Kamek/tools/hooks
0f80 2e 70 79 52 31 00 00 00 52 00 00 00 73 08 00 00 00 06 01 06 02 0c 02 09 03 74 16 00 00 00 41 64 .pyR1...R...s............t....Ad
0fa0 64 46 75 6e 63 74 69 6f 6e 50 6f 69 6e 74 65 72 48 6f 6f 6b 63 00 00 00 00 00 00 00 00 01 00 00 dFunctionPointerHookc...........
0fc0 00 42 00 00 00 73 29 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 67 01 00 5a 03 00 64 .B...s)...e..Z..d..Z..d..g..Z..d
0fe0 02 00 84 00 00 5a 04 00 64 03 00 84 00 00 5a 05 00 52 53 28 04 00 00 00 73 31 00 00 00 48 6f 6f .....Z..d.....Z..RS(....s1...Hoo
1000 6b 20 74 68 61 74 20 70 6c 61 63 65 73 20 61 20 66 75 6e 63 74 69 6f 6e 20 70 6f 69 6e 74 65 72 k.that.places.a.function.pointer
1020 20 61 74 20 61 6e 20 61 64 64 72 65 73 73 73 11 00 00 00 73 72 63 5f 61 64 64 72 5f 25 43 4f 4e .at.an.addresss....src_addr_%CON
1040 46 49 47 25 63 04 00 00 00 04 00 00 00 05 00 00 00 43 00 00 00 73 1a 00 00 00 74 00 00 6a 01 00 FIG%c............C...s....t..j..
1060 7c 00 00 7c 01 00 7c 02 00 7c 03 00 83 04 00 01 64 00 00 53 28 01 00 00 00 4e 28 02 00 00 00 52 |..|..|..|......d..S(....N(....R
1080 14 00 00 00 52 10 00 00 00 28 04 00 00 00 52 0f 00 00 00 52 16 00 00 00 52 17 00 00 00 52 18 00 ....R....(....R....R....R....R..
10a0 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f ..(....(....s).../home/me/Games/
10c0 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 10 00 00 00 73 Newer/Kamek/tools/hooks.pyR....s
10e0 00 00 00 73 02 00 00 00 00 01 63 01 00 00 00 03 00 00 00 05 00 00 00 43 00 00 00 73 97 00 00 00 ...s......c............C...s....
1100 79 11 00 7c 00 00 6a 00 00 64 01 00 19 7d 01 00 57 6e 28 00 04 74 01 00 6b 0a 00 72 3b 00 01 01 y..|..j..d...}..Wn(..t..k..r;...
1120 01 7c 00 00 6a 00 00 64 02 00 7c 00 00 6a 02 00 6a 03 00 16 19 7d 01 00 6e 01 00 58 74 04 00 7c .|..j..d..|..j..j....}..n..Xt..|
1140 01 00 74 05 00 83 02 00 72 60 00 7c 00 00 6a 02 00 6a 06 00 7c 01 00 83 01 00 7d 01 00 6e 00 00 ..t.....r`.|..j..j..|.....}..n..
1160 7c 00 00 6a 00 00 64 03 00 7c 00 00 6a 02 00 6a 03 00 16 19 7d 02 00 7c 00 00 6a 02 00 6a 07 00 |..j..d..|..j..j....}..|..j..j..
1180 7c 02 00 74 08 00 6a 09 00 7c 01 00 83 01 00 83 02 00 01 64 00 00 53 28 04 00 00 00 4e 52 33 00 |..t..j..|.........d..S(....NR3.
11a0 00 00 73 0e 00 00 00 74 61 72 67 65 74 5f 66 75 6e 63 5f 25 73 73 0b 00 00 00 73 72 63 5f 61 64 ..s....target_func_%ss....src_ad
11c0 64 72 5f 25 73 28 0a 00 00 00 52 18 00 00 00 52 34 00 00 00 52 16 00 00 00 52 1e 00 00 00 52 35 dr_%s(....R....R4...R....R....R5
11e0 00 00 00 52 36 00 00 00 52 37 00 00 00 52 2b 00 00 00 52 38 00 00 00 52 39 00 00 00 28 03 00 00 ...R6...R7...R+...R8...R9...(...
1200 00 52 0f 00 00 00 52 33 00 00 00 52 3a 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f .R....R3...R:...(....(....s).../
1220 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f home/me/Games/Newer/Kamek/tools/
1240 68 6f 6f 6b 73 2e 70 79 52 25 00 00 00 76 00 00 00 73 10 00 00 00 00 01 03 01 11 01 0d 01 1b 02 hooks.pyR%...v...s..............
1260 0f 01 15 06 17 02 28 06 00 00 00 52 11 00 00 00 52 12 00 00 00 52 13 00 00 00 52 1f 00 00 00 52 ......(....R....R....R....R....R
1280 10 00 00 00 52 25 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f ....R%...(....(....(....s).../ho
12a0 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f me/me/Games/Newer/Kamek/tools/ho
12c0 6f 6b 73 2e 70 79 52 3c 00 00 00 6e 00 00 00 73 08 00 00 00 06 01 06 02 09 02 09 03 74 0b 00 00 oks.pyR<...n...s............t...
12e0 00 4e 6f 70 49 6e 73 6e 48 6f 6f 6b 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 29 00 .NopInsnHookc............B...s).
1300 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 67 01 00 5a 03 00 64 02 00 84 00 00 5a 04 00 ..e..Z..d..Z..d..g..Z..d.....Z..
1320 64 03 00 84 00 00 5a 05 00 52 53 28 04 00 00 00 73 33 00 00 00 48 6f 6f 6b 20 74 68 61 74 20 4e d.....Z..RS(....s3...Hook.that.N
1340 4f 50 73 20 6f 75 74 20 74 68 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 28 73 29 20 61 74 20 61 6e OPs.out.the.instruction(s).at.an
1360 20 61 64 64 72 65 73 73 73 0d 00 00 00 61 72 65 61 5f 25 43 4f 4e 46 49 47 25 63 04 00 00 00 04 .addresss....area_%CONFIG%c.....
1380 00 00 00 05 00 00 00 43 00 00 00 73 1a 00 00 00 74 00 00 6a 01 00 7c 00 00 7c 01 00 7c 02 00 7c .......C...s....t..j..|..|..|..|
13a0 03 00 83 04 00 01 64 00 00 53 28 01 00 00 00 4e 28 02 00 00 00 52 14 00 00 00 52 10 00 00 00 28 ......d..S(....N(....R....R....(
13c0 04 00 00 00 52 0f 00 00 00 52 16 00 00 00 52 17 00 00 00 52 18 00 00 00 28 00 00 00 00 28 00 00 ....R....R....R....R....(....(..
13e0 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 ..s).../home/me/Games/Newer/Kame
1400 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 10 00 00 00 8e 00 00 00 73 02 00 00 00 00 01 k/tools/hooks.pyR........s......
1420 63 01 00 00 00 06 00 00 00 03 00 00 00 43 00 00 00 73 74 00 00 00 7c 00 00 6a 00 00 64 01 00 7c c............C...st...|..j..d..|
1440 00 00 6a 01 00 6a 02 00 16 19 7d 01 00 74 03 00 7c 01 00 74 04 00 83 02 00 72 51 00 7c 01 00 5c ..j..j....}..t..|..t.....rQ.|..\
1460 02 00 7d 02 00 7d 03 00 7c 03 00 64 02 00 17 7c 02 00 18 64 02 00 15 7d 04 00 64 03 00 7c 04 00 ..}..}..|..d...|...d...}..d..|..
1480 14 7d 05 00 6e 0c 00 7c 01 00 7d 02 00 64 03 00 7d 05 00 7c 00 00 6a 01 00 6a 05 00 7c 02 00 7c .}..n..|..}..d..}..|..j..j..|..|
14a0 05 00 83 02 00 01 64 00 00 53 28 04 00 00 00 4e 73 07 00 00 00 61 72 65 61 5f 25 73 69 04 00 00 ......d..S(....Ns....area_%si...
14c0 00 73 04 00 00 00 60 00 00 00 28 06 00 00 00 52 18 00 00 00 52 16 00 00 00 52 1e 00 00 00 52 35 .s....`...(....R....R....R....R5
14e0 00 00 00 74 04 00 00 00 6c 69 73 74 52 2b 00 00 00 28 06 00 00 00 52 0f 00 00 00 74 04 00 00 00 ...t....listR+...(....R....t....
1500 61 72 65 61 52 2c 00 00 00 74 03 00 00 00 65 6e 64 74 05 00 00 00 63 6f 75 6e 74 74 09 00 00 00 areaR,...t....endt....countt....
1520 6e 6f 70 5f 70 61 74 63 68 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 nop_patch(....(....s).../home/me
1540 2f 47 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 /Games/Newer/Kamek/tools/hooks.p
1560 79 52 25 00 00 00 91 00 00 00 73 10 00 00 00 00 01 17 02 0f 01 0c 01 12 01 0d 02 06 01 06 02 28 yR%.......s....................(
1580 06 00 00 00 52 11 00 00 00 52 12 00 00 00 52 13 00 00 00 52 1f 00 00 00 52 10 00 00 00 52 25 00 ....R....R....R....R....R....R%.
15a0 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 ..(....(....(....s).../home/me/G
15c0 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 52 ames/Newer/Kamek/tools/hooks.pyR
15e0 3d 00 00 00 89 00 00 00 73 08 00 00 00 06 01 06 02 09 02 09 03 52 30 00 00 00 52 3b 00 00 00 74 =.......s............R0...R;...t
1600 10 00 00 00 61 64 64 5f 66 75 6e 63 5f 70 6f 69 6e 74 65 72 74 08 00 00 00 6e 6f 70 5f 69 6e 73 ....add_func_pointert....nop_ins
1620 6e 28 0d 00 00 00 52 29 00 00 00 74 06 00 00 00 73 74 72 75 63 74 74 06 00 00 00 53 74 72 75 63 n(....R)...t....structt....Struc
1640 74 52 38 00 00 00 52 0c 00 00 00 74 06 00 00 00 6f 62 6a 65 63 74 52 0d 00 00 00 52 14 00 00 00 tR8...R....t....objectR....R....
1660 52 27 00 00 00 52 31 00 00 00 52 3c 00 00 00 52 3d 00 00 00 74 09 00 00 00 48 6f 6f 6b 54 79 70 R'...R1...R<...R=...t....HookTyp
1680 65 73 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 29 00 00 00 2f 68 6f 6d 65 2f 6d 65 2f 47 es(....(....(....s).../home/me/G
16a0 61 6d 65 73 2f 4e 65 77 65 72 2f 4b 61 6d 65 6b 2f 74 6f 6f 6c 73 2f 68 6f 6f 6b 73 2e 70 79 74 ames/Newer/Kamek/tools/hooks.pyt
16c0 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 01 00 00 00 73 1c 00 00 00 0c 01 0c 02 0f 02 09 0f 16 08 16 ....<module>....s...............
16e0 1e 16 17 16 1c 16 1b 16 17 03 01 07 01 07 01 07 01 .................