
bfd_boolean debug_set_filename(void *handle,char *name)

{
  undefined *puVar1;
  undefined1 *puVar2;
  undefined1 *puVar3;
  bfd_boolean bVar4;
  undefined4 *puVar5;
  
  if (name == (char *)0x0) {
    name = PTR_DAT_0004d8cc + -0x3d84;
  }
  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);
  *puVar2 = 0;
  puVar2[1] = 0;
  puVar2[2] = 0;
  puVar2[3] = 0;
  puVar2[8] = 0;
  puVar2[9] = 0;
  puVar2[10] = 0;
  puVar2[0xb] = 0;
  puVar1 = PTR_xmalloc_0004dc10;
  *(char **)(puVar2 + 4) = name;
  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);
  puVar5 = *(undefined4 **)((int)handle + 4);
  *(undefined1 **)((int)handle + 8) = puVar2;
  *puVar3 = 0;
  puVar3[1] = 0;
  puVar3[2] = 0;
  puVar3[3] = 0;
  puVar3[8] = 0;
  puVar3[9] = 0;
  puVar3[10] = 0;
  puVar3[0xb] = 0;
  *(undefined1 **)(puVar3 + 4) = puVar2;
  if (puVar5 == (undefined4 *)0x0) {
                    /* WARNING: Load size is inaccurate */
    if (*handle != 0) {
      bVar4 = (*(code *)PTR___assert_fail_0004da48)
                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,
                         PTR_DAT_0004d8cc + -0x5860);
      return bVar4;
    }
    *(undefined1 **)handle = puVar3;
    *(undefined1 **)((int)handle + 4) = puVar3;
    *(undefined4 *)((int)handle + 0xc) = 0;
    *(undefined4 *)((int)handle + 0x10) = 0;
    *(undefined4 *)((int)handle + 0x14) = 0;
    return 1;
  }
  *puVar5 = puVar3;
  *(undefined1 **)((int)handle + 4) = puVar3;
  *(undefined4 *)((int)handle + 0xc) = 0;
  *(undefined4 *)((int)handle + 0x10) = 0;
  *(undefined4 *)((int)handle + 0x14) = 0;
  return 1;
}



undefined4 debug_set_filename(int *param_1,undefined *param_2)

{
  undefined *puVar1;
  undefined1 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  
  if (param_2 == (undefined *)0x0) {
    param_2 = PTR_DAT_0004d8cc + -0x3d84;
  }
  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);
  *puVar2 = 0;
  puVar2[1] = 0;
  puVar2[2] = 0;
  puVar2[3] = 0;
  puVar2[8] = 0;
  puVar2[9] = 0;
  puVar2[10] = 0;
  puVar2[0xb] = 0;
  puVar1 = PTR_xmalloc_0004dc10;
  *(undefined **)(puVar2 + 4) = param_2;
  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);
  puVar5 = (undefined4 *)param_1[1];
  param_1[2] = (int)puVar2;
  *puVar3 = 0;
  puVar3[1] = 0;
  puVar3[2] = 0;
  puVar3[3] = 0;
  puVar3[8] = 0;
  puVar3[9] = 0;
  puVar3[10] = 0;
  puVar3[0xb] = 0;
  *(undefined1 **)(puVar3 + 4) = puVar2;
  if (puVar5 == (undefined4 *)0x0) {
    if (*param_1 != 0) {
      uVar4 = (*(code *)PTR___assert_fail_0004da48)
                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,
                         PTR_DAT_0004d8cc + -0x5860);
      return uVar4;
    }
    *param_1 = (int)puVar3;
    param_1[1] = (int)puVar3;
    param_1[3] = 0;
    param_1[4] = 0;
    param_1[5] = 0;
    return 1;
  }
  *puVar5 = puVar3;
  param_1[1] = (int)puVar3;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  return 1;
}


lui gp,0x3
addiu gp,gp,0x4dc0
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a0,zero
sw ra,0x24(sp)
sw s2,0x20(sp)
beq a1,zero,0x00020b98
_sw s0,0x18(sp)
or s2,a1,zero
lw t9,-0x7c70(gp)
jalr t9
_li a0,0xc
li a0,0xc
lw gp,0x10(sp)
or s0,v0,zero
sb zero,0x0(v0)
sb zero,0x1(v0)
sb zero,0x2(v0)
sb zero,0x3(v0)
sb zero,0x8(v0)
sb zero,0x9(v0)
sb zero,0xa(v0)
sb zero,0xb(v0)
lw t9,-0x7c70(gp)
jalr t9
_sw s2,0x4(v0)
lw v1,0x4(s1)
lw gp,0x10(sp)
sw s0,0x8(s1)
sb zero,0x0(v0)
sb zero,0x1(v0)
sb zero,0x2(v0)
sb zero,0x3(v0)
sb zero,0x8(v0)
sb zero,0x9(v0)
sb zero,0xa(v0)
sb zero,0xb(v0)
beq v1,zero,0x00020ba4
_sw s0,0x4(v0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
sw v0,0x0(v1)
sw v0,0x4(s1)
li v0,0x1
sw zero,0xc(s1)
sw zero,0x10(s1)
sw zero,0x14(s1)
lw s1,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw s2,-0x7fb4(gp)
b 0x00020af0
_addiu s2,s2,-0x3d84
lw v1,0x0(s1)
bne v1,zero,0x00020bdc
_lw ra,0x24(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
sw v0,0x0(s1)
sw v0,0x4(s1)
li v0,0x1
sw zero,0xc(s1)
sw zero,0x10(s1)
sw zero,0x14(s1)
lw s1,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fb4(gp)
li a2,0x2bb
lw a1,-0x7fb4(gp)
lw a0,-0x7fb4(gp)
lw t9,-0x7e38(gp)
addiu a3,a3,-0x5860
addiu a1,a1,-0x5dd8
jalr t9
_addiu a0,a0,-0x5c94
(translation_unit "undefined4 debug_set_filename(int *param_1,undefined *param_2)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}\n\n" (function_definition "undefined4 debug_set_filename(int *param_1,undefined *param_2)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" type_identifier (function_declarator "debug_set_filename(int *param_1,undefined *param_2)" identifier (parameter_list "(int *param_1,undefined *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" { (expression_statement "param_2 = PTR_DAT_0004d8cc + -0x3d84;" (assignment_expression "param_2 = PTR_DAT_0004d8cc + -0x3d84" identifier = (binary_expression "PTR_DAT_0004d8cc + -0x3d84" identifier + number_literal)) ;) })) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_xmalloc_0004dc10;" (assignment_expression "puVar1 = PTR_xmalloc_0004dc10" identifier = identifier) ;) (expression_statement "*(undefined **)(puVar2 + 4) = param_2;" (assignment_expression "*(undefined **)(puVar2 + 4) = param_2" (pointer_expression "*(undefined **)(puVar2 + 4)" * (cast_expression "(undefined **)(puVar2 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar1)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar5 = (undefined4 *)param_1[1];" (assignment_expression "puVar5 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = (int)puVar2;" (assignment_expression "param_1[2] = (int)puVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[9] = 0;" (assignment_expression "puVar3[9] = 0" (subscript_expression "puVar3[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[10] = 0;" (assignment_expression "puVar3[10] = 0" (subscript_expression "puVar3[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[0xb] = 0;" (assignment_expression "puVar3[0xb] = 0" (subscript_expression "puVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 **)(puVar3 + 4) = puVar2;" (assignment_expression "*(undefined1 **)(puVar3 + 4) = puVar2" (pointer_expression "*(undefined1 **)(puVar3 + 4)" * (cast_expression "(undefined1 **)(puVar3 + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 4)" ( (binary_expression "puVar3 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" { (if_statement "if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" { (expression_statement "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);" (assignment_expression "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" identifier = (call_expression "(*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (parenthesized_expression "(*(code *)PTR___assert_fail_0004da48)" ( (pointer_expression "*(code *)PTR___assert_fail_0004da48" * (cast_expression "(code *)PTR___assert_fail_0004da48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" ( (binary_expression "PTR_DAT_0004d8cc + -0x5c94" identifier + number_literal) , (binary_expression "PTR_DAT_0004d8cc + -0x5dd8" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0004d8cc + -0x5860" identifier + number_literal) )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "*param_1 = (int)puVar3;" (assignment_expression "*param_1 = (int)puVar3" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*puVar5 = puVar3;" (assignment_expression "*puVar5 = puVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bfd_boolean debug_set_filename(void *handle,char *name)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  bfd_boolean bVar4;\n  undefined4 *puVar5;\n  \n  if (name == (char *)0x0) {\n    name = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(char **)(puVar2 + 4) = name;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = *(undefined4 **)((int)handle + 4);\n  *(undefined1 **)((int)handle + 8) = puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }\n    *(undefined1 **)handle = puVar3;\n    *(undefined1 **)((int)handle + 4) = puVar3;\n    *(undefined4 *)((int)handle + 0xc) = 0;\n    *(undefined4 *)((int)handle + 0x10) = 0;\n    *(undefined4 *)((int)handle + 0x14) = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  *(undefined1 **)((int)handle + 4) = puVar3;\n  *(undefined4 *)((int)handle + 0xc) = 0;\n  *(undefined4 *)((int)handle + 0x10) = 0;\n  *(undefined4 *)((int)handle + 0x14) = 0;\n  return 1;\n}\n\n" (function_definition "bfd_boolean debug_set_filename(void *handle,char *name)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  bfd_boolean bVar4;\n  undefined4 *puVar5;\n  \n  if (name == (char *)0x0) {\n    name = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(char **)(puVar2 + 4) = name;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = *(undefined4 **)((int)handle + 4);\n  *(undefined1 **)((int)handle + 8) = puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }\n    *(undefined1 **)handle = puVar3;\n    *(undefined1 **)((int)handle + 4) = puVar3;\n    *(undefined4 *)((int)handle + 0xc) = 0;\n    *(undefined4 *)((int)handle + 0x10) = 0;\n    *(undefined4 *)((int)handle + 0x14) = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  *(undefined1 **)((int)handle + 4) = puVar3;\n  *(undefined4 *)((int)handle + 0xc) = 0;\n  *(undefined4 *)((int)handle + 0x10) = 0;\n  *(undefined4 *)((int)handle + 0x14) = 0;\n  return 1;\n}" type_identifier (function_declarator "debug_set_filename(void *handle,char *name)" identifier (parameter_list "(void *handle,char *name)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  bfd_boolean bVar4;\n  undefined4 *puVar5;\n  \n  if (name == (char *)0x0) {\n    name = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(char **)(puVar2 + 4) = name;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = *(undefined4 **)((int)handle + 4);\n  *(undefined1 **)((int)handle + 8) = puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }\n    *(undefined1 **)handle = puVar3;\n    *(undefined1 **)((int)handle + 4) = puVar3;\n    *(undefined4 *)((int)handle + 0xc) = 0;\n    *(undefined4 *)((int)handle + 0x10) = 0;\n    *(undefined4 *)((int)handle + 0x14) = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  *(undefined1 **)((int)handle + 4) = puVar3;\n  *(undefined4 *)((int)handle + 0xc) = 0;\n  *(undefined4 *)((int)handle + 0x10) = 0;\n  *(undefined4 *)((int)handle + 0x14) = 0;\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (name == (char *)0x0) {\n    name = PTR_DAT_0004d8cc + -0x3d84;\n  }" if (parenthesized_expression "(name == (char *)0x0)" ( (binary_expression "name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    name = PTR_DAT_0004d8cc + -0x3d84;\n  }" { (expression_statement "name = PTR_DAT_0004d8cc + -0x3d84;" (assignment_expression "name = PTR_DAT_0004d8cc + -0x3d84" identifier = (binary_expression "PTR_DAT_0004d8cc + -0x3d84" identifier + number_literal)) ;) })) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_xmalloc_0004dc10;" (assignment_expression "puVar1 = PTR_xmalloc_0004dc10" identifier = identifier) ;) (expression_statement "*(char **)(puVar2 + 4) = name;" (assignment_expression "*(char **)(puVar2 + 4) = name" (pointer_expression "*(char **)(puVar2 + 4)" * (cast_expression "(char **)(puVar2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar1)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar5 = *(undefined4 **)((int)handle + 4);" (assignment_expression "puVar5 = *(undefined4 **)((int)handle + 4)" identifier = (pointer_expression "*(undefined4 **)((int)handle + 4)" * (cast_expression "(undefined4 **)((int)handle + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined1 **)((int)handle + 8) = puVar2;" (assignment_expression "*(undefined1 **)((int)handle + 8) = puVar2" (pointer_expression "*(undefined1 **)((int)handle + 8)" * (cast_expression "(undefined1 **)((int)handle + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 8)" ( (binary_expression "(int)handle + 8" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[9] = 0;" (assignment_expression "puVar3[9] = 0" (subscript_expression "puVar3[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[10] = 0;" (assignment_expression "puVar3[10] = 0" (subscript_expression "puVar3[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[0xb] = 0;" (assignment_expression "puVar3[0xb] = 0" (subscript_expression "puVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 **)(puVar3 + 4) = puVar2;" (assignment_expression "*(undefined1 **)(puVar3 + 4) = puVar2" (pointer_expression "*(undefined1 **)(puVar3 + 4)" * (cast_expression "(undefined1 **)(puVar3 + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 4)" ( (binary_expression "puVar3 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }\n    *(undefined1 **)handle = puVar3;\n    *(undefined1 **)((int)handle + 4) = puVar3;\n    *(undefined4 *)((int)handle + 0xc) = 0;\n    *(undefined4 *)((int)handle + 0x10) = 0;\n    *(undefined4 *)((int)handle + 0x14) = 0;\n    return 1;\n  }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }\n    *(undefined1 **)handle = puVar3;\n    *(undefined1 **)((int)handle + 4) = puVar3;\n    *(undefined4 *)((int)handle + 0xc) = 0;\n    *(undefined4 *)((int)handle + 0x10) = 0;\n    *(undefined4 *)((int)handle + 0x14) = 0;\n    return 1;\n  }" { comment (if_statement "if (*handle != 0) {\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }" if (parenthesized_expression "(*handle != 0)" ( (binary_expression "*handle != 0" (pointer_expression "*handle" * identifier) != number_literal) )) (compound_statement "{\n      bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return bVar4;\n    }" { (expression_statement "bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);" (assignment_expression "bVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" identifier = (call_expression "(*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (parenthesized_expression "(*(code *)PTR___assert_fail_0004da48)" ( (pointer_expression "*(code *)PTR___assert_fail_0004da48" * (cast_expression "(code *)PTR___assert_fail_0004da48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" ( (binary_expression "PTR_DAT_0004d8cc + -0x5c94" identifier + number_literal) , (binary_expression "PTR_DAT_0004d8cc + -0x5dd8" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0004d8cc + -0x5860" identifier + number_literal) )))) ;) (return_statement "return bVar4;" return identifier ;) })) (expression_statement "*(undefined1 **)handle = puVar3;" (assignment_expression "*(undefined1 **)handle = puVar3" (pointer_expression "*(undefined1 **)handle" * (cast_expression "(undefined1 **)handle" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined1 **)((int)handle + 4) = puVar3;" (assignment_expression "*(undefined1 **)((int)handle + 4) = puVar3" (pointer_expression "*(undefined1 **)((int)handle + 4)" * (cast_expression "(undefined1 **)((int)handle + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)handle + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0xc)" * (cast_expression "(undefined4 *)((int)handle + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0xc)" ( (binary_expression "(int)handle + 0xc" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)handle + 0x10) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0x10) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0x10)" * (cast_expression "(undefined4 *)((int)handle + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x10)" ( (binary_expression "(int)handle + 0x10" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)handle + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0x14)" * (cast_expression "(undefined4 *)((int)handle + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*puVar5 = puVar3;" (assignment_expression "*puVar5 = puVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "*(undefined1 **)((int)handle + 4) = puVar3;" (assignment_expression "*(undefined1 **)((int)handle + 4) = puVar3" (pointer_expression "*(undefined1 **)((int)handle + 4)" * (cast_expression "(undefined1 **)((int)handle + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)handle + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0xc)" * (cast_expression "(undefined4 *)((int)handle + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0xc)" ( (binary_expression "(int)handle + 0xc" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)handle + 0x10) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0x10) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0x10)" * (cast_expression "(undefined4 *)((int)handle + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x10)" ( (binary_expression "(int)handle + 0x10" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)handle + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)handle + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)handle + 0x14)" * (cast_expression "(undefined4 *)((int)handle + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 debug_set_filename(int *param_1,undefined *param_2)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}\n\n" (function_definition "undefined4 debug_set_filename(int *param_1,undefined *param_2)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" type_identifier (function_declarator "debug_set_filename(int *param_1,undefined *param_2)" identifier (parameter_list "(int *param_1,undefined *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" { (expression_statement "param_2 = PTR_DAT_0004d8cc + -0x3d84;" (assignment_expression "param_2 = PTR_DAT_0004d8cc + -0x3d84" identifier = (binary_expression "PTR_DAT_0004d8cc + -0x3d84" identifier + number_literal)) ;) })) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_xmalloc_0004dc10;" (assignment_expression "puVar1 = PTR_xmalloc_0004dc10" identifier = identifier) ;) (expression_statement "*(undefined **)(puVar2 + 4) = param_2;" (assignment_expression "*(undefined **)(puVar2 + 4) = param_2" (pointer_expression "*(undefined **)(puVar2 + 4)" * (cast_expression "(undefined **)(puVar2 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar1)(0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar5 = (undefined4 *)param_1[1];" (assignment_expression "puVar5 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = (int)puVar2;" (assignment_expression "param_1[2] = (int)puVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[9] = 0;" (assignment_expression "puVar3[9] = 0" (subscript_expression "puVar3[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[10] = 0;" (assignment_expression "puVar3[10] = 0" (subscript_expression "puVar3[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[0xb] = 0;" (assignment_expression "puVar3[0xb] = 0" (subscript_expression "puVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 **)(puVar3 + 4) = puVar2;" (assignment_expression "*(undefined1 **)(puVar3 + 4) = puVar2" (pointer_expression "*(undefined1 **)(puVar3 + 4)" * (cast_expression "(undefined1 **)(puVar3 + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 4)" ( (binary_expression "puVar3 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" { (if_statement "if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" { (expression_statement "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);" (assignment_expression "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" identifier = (call_expression "(*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (parenthesized_expression "(*(code *)PTR___assert_fail_0004da48)" ( (pointer_expression "*(code *)PTR___assert_fail_0004da48" * (cast_expression "(code *)PTR___assert_fail_0004da48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" ( (binary_expression "PTR_DAT_0004d8cc + -0x5c94" identifier + number_literal) , (binary_expression "PTR_DAT_0004d8cc + -0x5dd8" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0004d8cc + -0x5860" identifier + number_literal) )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "*param_1 = (int)puVar3;" (assignment_expression "*param_1 = (int)puVar3" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*puVar5 = puVar3;" (assignment_expression "*puVar5 = puVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 debug_set_filename(int *param_1,undefined *param_2)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "debug_set_filename(int *param_1,undefined *param_2)" (identifier "debug_set_filename") (parameter_list "(int *param_1,undefined *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  \n  if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }\n  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  puVar2[3] = 0;\n  puVar2[8] = 0;\n  puVar2[9] = 0;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  puVar1 = PTR_xmalloc_0004dc10;\n  *(undefined **)(puVar2 + 4) = param_2;\n  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);\n  puVar5 = (undefined4 *)param_1[1];\n  param_1[2] = (int)puVar2;\n  *puVar3 = 0;\n  puVar3[1] = 0;\n  puVar3[2] = 0;\n  puVar3[3] = 0;\n  puVar3[8] = 0;\n  puVar3[9] = 0;\n  puVar3[10] = 0;\n  puVar3[0xb] = 0;\n  *(undefined1 **)(puVar3 + 4) = puVar2;\n  if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }\n  *puVar5 = puVar3;\n  param_1[1] = (int)puVar3;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  return 1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if (param_2 == (undefined *)0x0) {\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined *)0x0)" (( "(") (binary_expression "param_2 == (undefined *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = PTR_DAT_0004d8cc + -0x3d84;\n  }" ({ "{") (expression_statement "param_2 = PTR_DAT_0004d8cc + -0x3d84;" (assignment_expression "param_2 = PTR_DAT_0004d8cc + -0x3d84" (identifier "param_2") (= "=") (binary_expression "PTR_DAT_0004d8cc + -0x3d84" (identifier "PTR_DAT_0004d8cc") (+ "+") (number_literal "-0x3d84"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_0004dc10" (* "*") (cast_expression "(code *)PTR_xmalloc_0004dc10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_0004dc10"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" (identifier "puVar2") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = PTR_xmalloc_0004dc10;" (assignment_expression "puVar1 = PTR_xmalloc_0004dc10" (identifier "puVar1") (= "=") (identifier "PTR_xmalloc_0004dc10")) (; ";")) (expression_statement "*(undefined **)(puVar2 + 4) = param_2;" (assignment_expression "*(undefined **)(puVar2 + 4) = param_2" (pointer_expression "*(undefined **)(puVar2 + 4)" (* "*") (cast_expression "(undefined **)(puVar2 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 4)" (( "(") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)puVar1)(0xc)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)puVar1)(0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "puVar5 = (undefined4 *)param_1[1];" (assignment_expression "puVar5 = (undefined4 *)param_1[1]" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "param_1[2] = (int)puVar2;" (assignment_expression "param_1[2] = (int)puVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" (identifier "puVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[9] = 0;" (assignment_expression "puVar3[9] = 0" (subscript_expression "puVar3[9]" (identifier "puVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[10] = 0;" (assignment_expression "puVar3[10] = 0" (subscript_expression "puVar3[10]" (identifier "puVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[0xb] = 0;" (assignment_expression "puVar3[0xb] = 0" (subscript_expression "puVar3[0xb]" (identifier "puVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 **)(puVar3 + 4) = puVar2;" (assignment_expression "*(undefined1 **)(puVar3 + 4) = puVar2" (pointer_expression "*(undefined1 **)(puVar3 + 4)" (* "*") (cast_expression "(undefined1 **)(puVar3 + 4)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 4)" (( "(") (binary_expression "puVar3 + 4" (identifier "puVar3") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" (if "if") (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined4 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }\n    *param_1 = (int)puVar3;\n    param_1[1] = (int)puVar3;\n    param_1[3] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0;\n    return 1;\n  }" ({ "{") (if_statement "if (*param_1 != 0) {\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);\n      return uVar4;\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860);" (assignment_expression "uVar4 = (*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR___assert_fail_0004da48)\n                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (parenthesized_expression "(*(code *)PTR___assert_fail_0004da48)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0004da48" (* "*") (cast_expression "(code *)PTR___assert_fail_0004da48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0004da48"))) () ")")) (argument_list "(PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,\n                         PTR_DAT_0004d8cc + -0x5860)" (( "(") (binary_expression "PTR_DAT_0004d8cc + -0x5c94" (identifier "PTR_DAT_0004d8cc") (+ "+") (number_literal "-0x5c94")) (, ",") (binary_expression "PTR_DAT_0004d8cc + -0x5dd8" (identifier "PTR_DAT_0004d8cc") (+ "+") (number_literal "-0x5dd8")) (, ",") (number_literal "699") (, ",") (binary_expression "PTR_DAT_0004d8cc + -0x5860" (identifier "PTR_DAT_0004d8cc") (+ "+") (number_literal "-0x5860")) () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "*param_1 = (int)puVar3;" (assignment_expression "*param_1 = (int)puVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) (; ";")) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "*puVar5 = puVar3;" (assignment_expression "*puVar5 = puVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "param_1[1] = (int)puVar3;" (assignment_expression "param_1[1] = (int)puVar3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

type_1 function_1(void *handle,char *var_1)

{
  type_2 *puVar1;
  type_3 *var_3;
  type_3 *var_4;
  type_1 bVar4;
  type_4 *var_5;
  
  if (var_1 == (char *)0x0) {
    var_1 = var_2 + -0x3d84;
  }
  var_3 = (type_3 *)(*(type_5 *)PTR_xmalloc_0004dc10)(0xc);
  *var_3 = 0;
  var_3[1] = 0;
  var_3[2] = 0;
  var_3[3] = 0;
  var_3[8] = 0;
  var_3[9] = 0;
  var_3[10] = 0;
  var_3[0xb] = 0;
  puVar1 = PTR_xmalloc_0004dc10;
  *(char **)(var_3 + 4) = var_1;
  var_4 = (type_3 *)(*(type_5 *)puVar1)(0xc);
  var_5 = *(type_4 **)((int)handle + 4);
  *(type_3 **)((int)handle + 8) = var_3;
  *var_4 = 0;
  var_4[1] = 0;
  var_4[2] = 0;
  var_4[3] = 0;
  var_4[8] = 0;
  var_4[9] = 0;
  var_4[10] = 0;
  var_4[0xb] = 0;
  *(type_3 **)(var_4 + 4) = var_3;
  if (var_5 == (type_4 *)0x0) {
                    /* WARNING: Load size is inaccurate */
    if (*handle != 0) {
      bVar4 = (*(type_5 *)PTR___assert_fail_0004da48)
                        (var_2 + -0x5c94,var_2 + -0x5dd8,699,
                         var_2 + -0x5860);
      return bVar4;
    }
    *(type_3 **)handle = var_4;
    *(type_3 **)((int)handle + 4) = var_4;
    *(type_4 *)((int)handle + 0xc) = 0;
    *(type_4 *)((int)handle + 0x10) = 0;
    *(type_4 *)((int)handle + 0x14) = 0;
    return 1;
  }
  *var_5 = var_4;
  *(type_3 **)((int)handle + 4) = var_4;
  *(type_4 *)((int)handle + 0xc) = 0;
  *(type_4 *)((int)handle + 0x10) = 0;
  *(type_4 *)((int)handle + 0x14) = 0;
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,undefined *param_2)

{
  undefined *puVar1;
  undefined1 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  
  if (param_2 == (undefined *)0x0) {
    param_2 = PTR_DAT_0004d8cc + -0x3d84;
  }
  puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_0004dc10)(0xc);
  *puVar2 = 0;
  puVar2[1] = 0;
  puVar2[2] = 0;
  puVar2[3] = 0;
  puVar2[8] = 0;
  puVar2[9] = 0;
  puVar2[10] = 0;
  puVar2[0xb] = 0;
  puVar1 = PTR_xmalloc_0004dc10;
  *(undefined **)(puVar2 + 4) = param_2;
  puVar3 = (undefined1 *)(*(code *)puVar1)(0xc);
  puVar5 = (undefined4 *)param_1[1];
  param_1[2] = (int)puVar2;
  *puVar3 = 0;
  puVar3[1] = 0;
  puVar3[2] = 0;
  puVar3[3] = 0;
  puVar3[8] = 0;
  puVar3[9] = 0;
  puVar3[10] = 0;
  puVar3[0xb] = 0;
  *(undefined1 **)(puVar3 + 4) = puVar2;
  if (puVar5 == (undefined4 *)0x0) {
    if (*param_1 != 0) {
      uVar4 = (*(code *)PTR___assert_fail_0004da48)
                        (PTR_DAT_0004d8cc + -0x5c94,PTR_DAT_0004d8cc + -0x5dd8,699,
                         PTR_DAT_0004d8cc + -0x5860);
      return uVar4;
    }
    *param_1 = (int)puVar3;
    param_1[1] = (int)puVar3;
    param_1[3] = 0;
    param_1[4] = 0;
    param_1[5] = 0;
    return 1;
  }
  *puVar5 = puVar3;
  param_1[1] = (int)puVar3;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  return 1;
}

