From ce8a70bfb0d3cc67f1db747909d795b2280a35e1 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 17 Jul 2025 21:24:44 -0400 Subject: [PATCH] Fix typo in tutorial --- docs/decompiling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/decompiling.md b/docs/decompiling.md index fb808f070..122f36dba 100644 --- a/docs/decompiling.md +++ b/docs/decompiling.md @@ -443,7 +443,7 @@ Next, find where the assembly loads the jump table. It will look something like .endobj "@7298" ``` -Copy the table, and paste it at the top of "Assembly" field in m2c (above the function itself). Then, replace the compiler-generated name (e.g. `@7298`) with the name `jtbl` (both the ones inside the function and the one before jump table itself). +Copy the table, and paste it at the top of "Assembly" field in m2c (above the function itself). Then, replace the compiler-generated name (e.g. `@7298`) with the name `jtbl` (both the ones inside the function and the one before the jump table itself). Finally, add a new line `.section .data` before the jump table, as well as a new line `.section .text` after the table, before the function. It will look like this: ![Jump table switch assembly for m2c](images/m2c_jump_table_switch.png)