- 192
- Posts
- 17
- Years
- Seen Oct 28, 2020
Game Freak removed all debug-strings from the final game except those for malloc/free. I found out that allocated blocks have this format:
0x00 / Halfword / Flag / 01 00 = used, 00 00 = unused
0x02 / Halfword / Magic-number / Always A3 A3
0x04 / Word / Idk but not a pointer, probably the size of the data
0x08 / Word / Pointer to the previous block
0x0C / Word / Pointer to the next block
0x10 / Depends / Data
0x00 / Halfword / Flag / 01 00 = used, 00 00 = unused
0x02 / Halfword / Magic-number / Always A3 A3
0x04 / Word / Idk but not a pointer, probably the size of the data
0x08 / Word / Pointer to the previous block
0x0C / Word / Pointer to the next block
0x10 / Depends / Data
Last edited: