summaryrefslogtreecommitdiff
path: root/src/format/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/format.c')
-rw-r--r--src/format/format.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/format/format.c b/src/format/format.c
index c104649..053a7aa 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -297,7 +297,7 @@ GDecInstruction *g_binary_format_decompile_routine(const GBinFormat *format, GBi
printf("max :: 0x%08llx\n", max);
- max = 0x00000a98ll; /* FIXME !!!! */
+ //max = 0x00000a98ll; /* FIXME !!!! */
ctx = g_dec_context_new();
g_object_set_data(G_OBJECT(ctx), "format", format);
@@ -394,14 +394,16 @@ void g_binary_format_decompile(const GBinFormat *format, GCodeBuffer *buffer, co
{
//printf(" -- %s --\n", g_binary_routine_get_name(routines[i]));
- if (strcmp("cryptself", g_binary_routine_get_name(routines[i])) == 0)
+ //if (strcmp("cryptself", g_binary_routine_get_name(routines[i])) == 0)
{
printf("...\n");
instr = g_binary_routine_get_decomp_instructions(routines[i]);
- g_dec_instruction_print(instr, buffer, NULL, g_java_output_new());
+ if (instr == NULL) continue;
+
+ //g_dec_instruction_print(instr, buffer, NULL, g_java_output_new());