Skip to content

Instantly share code, notes, and snippets.

@jrson83
Created February 4, 2024 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrson83/11263531d557603ad12b45b98d227502 to your computer and use it in GitHub Desktop.
Save jrson83/11263531d557603ad12b45b98d227502 to your computer and use it in GitHub Desktop.
isz-glitch-fix-test

New Quick Code

[Isz Glitch Cure]
80010008 03000000 - Searches for 8 bytes of 03 00 00 00 05 00 01 00 once using Default Offset
05000100 00000000
92000000 00000DD1 - Adjusts the pointer offset by adding a value of 3537 dec = DD1 hex to the pointer
D8000000 020130FF - Tests and skips the following two code lines if 2 bytes from pointer equal `FF 30`
D8000000 0103C0FF - Tests and skips the following code line if 2 bytes from pointer equal less than `FF C0`
08000001 00000030 - Writes 1 byte with 1 offset from pointer, replacing a value less than `C0` with `30` (partial Isz glitch fix)
D8000000 0100C0FF - Tests if 2 bytes from pointer equal `FF C0`, skips the following code line if operation fails
08000001 000000FF - Writes 1 byte with 1 offset from pointer, replacing `C0` with `FF` (fully maxed out Isz glitch fix)

Output if byte is 80:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) 80FF != 30FF
- Byte Test (00026261) 80FF < C0FF
- Wrote 1 bytes (30) to 0x26262
- Byte Test (00026261) 30FF = C0FF
- Skipping 1 lines...
- OK

Patching completed: 1 codes applied

Output if byte is 40:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) 40FF != 30FF
- Byte Test (00026261) 40FF < C0FF
- Wrote 1 bytes (30) to 0x26262
- Byte Test (00026261) 30FF = C0FF
- Skipping 1 lines...
- OK

Patching completed: 1 codes applied

Output if byte is 00:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) FF != 30FF
- Byte Test (00026261) FF < C0FF
- Wrote 1 bytes (30) to 0x26262
- Byte Test (00026261) 30FF = C0FF
- Skipping 1 lines...
- OK

Patching completed: 1 codes applied

Output if byte is C0:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) C0FF != 30FF
- Byte Test (00026261) C0FF < C0FF
- Skipping 1 lines...
- Byte Test (00026261) C0FF = C0FF
- Wrote 1 bytes (FF) to 0x26262
- OK

Patching completed: 1 codes applied

Output if byte is already set 30:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) 30FF != 30FF
- Skipping 2 lines...
- Byte Test (00026261) 30FF = C0FF
- Skipping 1 lines...
- OK

Patching completed: 1 codes applied

Output if byte is already set FF:

Apollo cheat patcher v0.6.0 - (c) 2022 by Bucanero

[i] Applying codes [1] to userdata0000...

[+] Applying code #1...
- Game Genie Code
- Applying [Isz Glitch Cure] to 'userdata0000'...
- Searching (len=8 count=1) ...
- ----- Search 8 bytes -----
- 000000: 03 00 00 00 05 00 01 00                          | ........
- ----- Search 8 bytes -----
- Search pointer = 152720 (0x25490)
- Pointer set to offset 0x26261 (156257)
- Byte Test (00026261) FFFF != 30FF
- Byte Test (00026261) FFFF < C0FF
- Skipping 1 lines...
- Byte Test (00026261) FFFF = C0FF
- Skipping 1 lines...
- OK

Patching completed: 1 codes applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment