
debug_type_conflict
debug_make_object_type
          (void *handle,bfd_boolean structp,bfd_vma size,debug_field *fields,
          debug_baseclass *baseclasses,debug_method *methods,debug_type_conflict vptrbase,
          bfd_boolean ownvptr)

{
  debug_type_s *pdVar1;
  debug_class_type *pdVar2;
  debug_handle *info;
  debug_handle *info_00;
  
  info_00 = (debug_handle *)0x9;
  if (structp == 0) {
    info_00 = (debug_handle *)0xa;
  }
  pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields);
  if (pdVar1 != (debug_type_s *)0x0) {
    if (ownvptr != 0) {
      vptrbase = pdVar1;
    }
    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);
    *(undefined1 *)&pdVar2->mark = 0;
    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;
    pdVar2->fields = size._0_4_;
    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;
    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;
    pdVar2->baseclasses = size._4_4_;
    *(undefined1 *)&pdVar2->id = 0;
    *(undefined1 *)((int)&pdVar2->id + 1) = 0;
    *(undefined1 *)((int)&pdVar2->id + 2) = 0;
    *(undefined1 *)((int)&pdVar2->id + 3) = 0;
    pdVar2->vptrbase = vptrbase;
    pdVar2->methods = methods;
    (pdVar1->u).kclass = pdVar2;
  }
  return pdVar1;
}



int debug_make_object_type
              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  uVar3 = 9;
  if (param_2 == 0) {
    uVar3 = 10;
  }
  iVar1 = FUN_0001eb50(uVar3,param_4);
  if (iVar1 != 0) {
    if (param_9 != 0) {
      param_8 = iVar1;
    }
    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);
    *(undefined1 *)(puVar2 + 1) = 0;
    *(undefined1 *)((int)puVar2 + 5) = 0;
    *puVar2 = param_5;
    *(undefined1 *)((int)puVar2 + 6) = 0;
    *(undefined1 *)((int)puVar2 + 7) = 0;
    puVar2[3] = param_6;
    *(undefined1 *)(puVar2 + 2) = 0;
    *(undefined1 *)((int)puVar2 + 9) = 0;
    *(undefined1 *)((int)puVar2 + 10) = 0;
    *(undefined1 *)((int)puVar2 + 0xb) = 0;
    puVar2[5] = param_8;
    puVar2[4] = param_7;
    *(undefined4 **)(iVar1 + 0xc) = puVar2;
  }
  return iVar1;
}


lui gp,0x3
addiu gp,gp,0x3e08
addu gp,gp,t9
li v0,0xa
lw t9,-0x7fa4(gp)
li a0,0x9
addiu sp,sp,-0x28
movz a0,v0,a1
addiu t9,t9,-0x14b0
or a1,a3,zero
sw gp,0x10(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw ra,0x24(sp)
bal 0x0001eb50
_lw s1,0x44(sp)
lw gp,0x10(sp)
beq v0,zero,0x00021b08
_or s0,v0,zero
lw t9,-0x7c70(gp)
li a0,0x18
lw v0,0x48(sp)
jalr t9
_movn s1,s0,v0
lw v1,0x38(sp)
sb zero,0x4(v0)
sb zero,0x5(v0)
sw v1,0x0(v0)
lw v1,0x3c(sp)
sb zero,0x6(v0)
sb zero,0x7(v0)
sw v1,0xc(v0)
sb zero,0x8(v0)
sb zero,0x9(v0)
sb zero,0xa(v0)
sb zero,0xb(v0)
sw s1,0x14(v0)
lw v1,0x40(sp)
sw v1,0x10(v0)
sw v0,0xc(s0)
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "int debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}\n\n" (function_definition "int debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 9;" (assignment_expression "uVar3 = 9" identifier = number_literal) ;) (if_statement "if (param_2 == 0) {\n    uVar3 = 10;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 10;\n  }" { (expression_statement "uVar3 = 10;" (assignment_expression "uVar3 = 10" identifier = number_literal) ;) })) (expression_statement "iVar1 = FUN_0001eb50(uVar3,param_4);" (assignment_expression "iVar1 = FUN_0001eb50(uVar3,param_4)" identifier = (call_expression "FUN_0001eb50(uVar3,param_4)" identifier (argument_list "(uVar3,param_4)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" { (if_statement "if (param_9 != 0) {\n      param_8 = iVar1;\n    }" if (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) (compound_statement "{\n      param_8 = iVar1;\n    }" { (expression_statement "param_8 = iVar1;" (assignment_expression "param_8 = iVar1" identifier = identifier) ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc00)(0x18)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc00)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc00" * (cast_expression "(code *)PTR_xmalloc_0004dc00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)(puVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 1)" * (cast_expression "(undefined1 *)(puVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 5) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 5)" * (cast_expression "(undefined1 *)((int)puVar2 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 5)" ( (binary_expression "(int)puVar2 + 5" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*puVar2 = param_5;" (assignment_expression "*puVar2 = param_5" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 6) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 6)" * (cast_expression "(undefined1 *)((int)puVar2 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 6)" ( (binary_expression "(int)puVar2 + 6" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 7) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 7)" * (cast_expression "(undefined1 *)((int)puVar2 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 7)" ( (binary_expression "(int)puVar2 + 7" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[3] = param_6;" (assignment_expression "puVar2[3] = param_6" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 2)" * (cast_expression "(undefined1 *)(puVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 9) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 9)" * (cast_expression "(undefined1 *)((int)puVar2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 9)" ( (binary_expression "(int)puVar2 + 9" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 10)" * (cast_expression "(undefined1 *)((int)puVar2 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 10)" ( (binary_expression "(int)puVar2 + 10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 0xb)" * (cast_expression "(undefined1 *)((int)puVar2 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0xb)" ( (binary_expression "(int)puVar2 + 0xb" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[5] = param_8;" (assignment_expression "puVar2[5] = param_8" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = param_7;" (assignment_expression "puVar2[4] = param_7" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(iVar1 + 0xc) = puVar2;" (assignment_expression "*(undefined4 **)(iVar1 + 0xc) = puVar2" (pointer_expression "*(undefined4 **)(iVar1 + 0xc)" * (cast_expression "(undefined4 **)(iVar1 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "debug_type_conflict\ndebug_make_object_type\n          (void *handle,bfd_boolean structp,bfd_vma size,debug_field *fields,\n          debug_baseclass *baseclasses,debug_method *methods,debug_type_conflict vptrbase,\n          bfd_boolean ownvptr)\n\n{\n  debug_type_s *pdVar1;\n  debug_class_type *pdVar2;\n  debug_handle *info;\n  debug_handle *info_00;\n  \n  info_00 = (debug_handle *)0x9;\n  if (structp == 0) {\n    info_00 = (debug_handle *)0xa;\n  }\n  pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }\n    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)&pdVar2->mark = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;\n    pdVar2->fields = size._0_4_;\n    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;\n    pdVar2->baseclasses = size._4_4_;\n    *(undefined1 *)&pdVar2->id = 0;\n    *(undefined1 *)((int)&pdVar2->id + 1) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 3) = 0;\n    pdVar2->vptrbase = vptrbase;\n    pdVar2->methods = methods;\n    (pdVar1->u).kclass = pdVar2;\n  }\n  return pdVar1;\n}\n\n" (function_definition "debug_type_conflict\ndebug_make_object_type\n          (void *handle,bfd_boolean structp,bfd_vma size,debug_field *fields,\n          debug_baseclass *baseclasses,debug_method *methods,debug_type_conflict vptrbase,\n          bfd_boolean ownvptr)\n\n{\n  debug_type_s *pdVar1;\n  debug_class_type *pdVar2;\n  debug_handle *info;\n  debug_handle *info_00;\n  \n  info_00 = (debug_handle *)0x9;\n  if (structp == 0) {\n    info_00 = (debug_handle *)0xa;\n  }\n  pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }\n    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)&pdVar2->mark = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;\n    pdVar2->fields = size._0_4_;\n    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;\n    pdVar2->baseclasses = size._4_4_;\n    *(undefined1 *)&pdVar2->id = 0;\n    *(undefined1 *)((int)&pdVar2->id + 1) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 3) = 0;\n    pdVar2->vptrbase = vptrbase;\n    pdVar2->methods = methods;\n    (pdVar1->u).kclass = pdVar2;\n  }\n  return pdVar1;\n}" type_identifier (function_declarator "debug_make_object_type\n          (void *handle,bfd_boolean structp,bfd_vma size,debug_field *fields,\n          debug_baseclass *baseclasses,debug_method *methods,debug_type_conflict vptrbase,\n          bfd_boolean ownvptr)" identifier (parameter_list "(void *handle,bfd_boolean structp,bfd_vma size,debug_field *fields,\n          debug_baseclass *baseclasses,debug_method *methods,debug_type_conflict vptrbase,\n          bfd_boolean ownvptr)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "bfd_boolean structp" type_identifier identifier) , (parameter_declaration "bfd_vma size" type_identifier identifier) , (parameter_declaration "debug_field *fields" type_identifier (pointer_declarator "*fields" * identifier)) , (parameter_declaration "debug_baseclass *baseclasses" type_identifier (pointer_declarator "*baseclasses" * identifier)) , (parameter_declaration "debug_method *methods" type_identifier (pointer_declarator "*methods" * identifier)) , (parameter_declaration "debug_type_conflict vptrbase" type_identifier identifier) , (parameter_declaration "bfd_boolean ownvptr" type_identifier identifier) ))) (compound_statement "{\n  debug_type_s *pdVar1;\n  debug_class_type *pdVar2;\n  debug_handle *info;\n  debug_handle *info_00;\n  \n  info_00 = (debug_handle *)0x9;\n  if (structp == 0) {\n    info_00 = (debug_handle *)0xa;\n  }\n  pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields);\n  if (pdVar1 != (debug_type_s *)0x0) {\n    if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }\n    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)&pdVar2->mark = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;\n    pdVar2->fields = size._0_4_;\n    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;\n    pdVar2->baseclasses = size._4_4_;\n    *(undefined1 *)&pdVar2->id = 0;\n    *(undefined1 *)((int)&pdVar2->id + 1) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 3) = 0;\n    pdVar2->vptrbase = vptrbase;\n    pdVar2->methods = methods;\n    (pdVar1->u).kclass = pdVar2;\n  }\n  return pdVar1;\n}" { (declaration "debug_type_s *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "debug_class_type *pdVar2;" type_identifier (pointer_declarator "*pdVar2" * identifier) ;) (declaration "debug_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "debug_handle *info_00;" type_identifier (pointer_declarator "*info_00" * identifier) ;) (expression_statement "info_00 = (debug_handle *)0x9;" (assignment_expression "info_00 = (debug_handle *)0x9" identifier = (cast_expression "(debug_handle *)0x9" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (structp == 0) {\n    info_00 = (debug_handle *)0xa;\n  }" if (parenthesized_expression "(structp == 0)" ( (binary_expression "structp == 0" identifier == number_literal) )) (compound_statement "{\n    info_00 = (debug_handle *)0xa;\n  }" { (expression_statement "info_00 = (debug_handle *)0xa;" (assignment_expression "info_00 = (debug_handle *)0xa" identifier = (cast_expression "(debug_handle *)0xa" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields);" (assignment_expression "pdVar1 = debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields)" identifier = (call_expression "debug_make_type(info_00,(debug_type_kind)baseclasses,(uint)fields)" identifier (argument_list "(info_00,(debug_type_kind)baseclasses,(uint)fields)" ( identifier , (cast_expression "(debug_type_kind)baseclasses" ( (type_descriptor "debug_type_kind" type_identifier) ) identifier) , (cast_expression "(uint)fields" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (if_statement "if (pdVar1 != (debug_type_s *)0x0) {\n    if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }\n    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)&pdVar2->mark = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;\n    pdVar2->fields = size._0_4_;\n    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;\n    pdVar2->baseclasses = size._4_4_;\n    *(undefined1 *)&pdVar2->id = 0;\n    *(undefined1 *)((int)&pdVar2->id + 1) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 3) = 0;\n    pdVar2->vptrbase = vptrbase;\n    pdVar2->methods = methods;\n    (pdVar1->u).kclass = pdVar2;\n  }" if (parenthesized_expression "(pdVar1 != (debug_type_s *)0x0)" ( (binary_expression "pdVar1 != (debug_type_s *)0x0" identifier != (cast_expression "(debug_type_s *)0x0" ( (type_descriptor "debug_type_s *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }\n    pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)&pdVar2->mark = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 1) = 0;\n    pdVar2->fields = size._0_4_;\n    *(undefined1 *)((int)&pdVar2->mark + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->mark + 3) = 0;\n    pdVar2->baseclasses = size._4_4_;\n    *(undefined1 *)&pdVar2->id = 0;\n    *(undefined1 *)((int)&pdVar2->id + 1) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 2) = 0;\n    *(undefined1 *)((int)&pdVar2->id + 3) = 0;\n    pdVar2->vptrbase = vptrbase;\n    pdVar2->methods = methods;\n    (pdVar1->u).kclass = pdVar2;\n  }" { (if_statement "if (ownvptr != 0) {\n      vptrbase = pdVar1;\n    }" if (parenthesized_expression "(ownvptr != 0)" ( (binary_expression "ownvptr != 0" identifier != number_literal) )) (compound_statement "{\n      vptrbase = pdVar1;\n    }" { (expression_statement "vptrbase = pdVar1;" (assignment_expression "vptrbase = pdVar1" identifier = identifier) ;) })) (expression_statement "pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18);" (assignment_expression "pdVar2 = (debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" identifier = (cast_expression "(debug_class_type *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" ( (type_descriptor "debug_class_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc00)(0x18)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc00)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc00" * (cast_expression "(code *)PTR_xmalloc_0004dc00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)&pdVar2->mark = 0;" (assignment_expression "*(undefined1 *)&pdVar2->mark = 0" (pointer_expression "*(undefined1 *)&pdVar2->mark" * (cast_expression "(undefined1 *)&pdVar2->mark" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pdVar2->mark" & (field_expression "pdVar2->mark" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->mark + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->mark + 1) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->mark + 1)" * (cast_expression "(undefined1 *)((int)&pdVar2->mark + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->mark + 1)" ( (binary_expression "(int)&pdVar2->mark + 1" (cast_expression "(int)&pdVar2->mark" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->mark" & (field_expression "pdVar2->mark" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "pdVar2->fields = size._0_4_;" (assignment_expression "pdVar2->fields = size._0_4_" (field_expression "pdVar2->fields" identifier -> field_identifier) = (field_expression "size._0_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->mark + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->mark + 2) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->mark + 2)" * (cast_expression "(undefined1 *)((int)&pdVar2->mark + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->mark + 2)" ( (binary_expression "(int)&pdVar2->mark + 2" (cast_expression "(int)&pdVar2->mark" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->mark" & (field_expression "pdVar2->mark" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->mark + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->mark + 3) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->mark + 3)" * (cast_expression "(undefined1 *)((int)&pdVar2->mark + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->mark + 3)" ( (binary_expression "(int)&pdVar2->mark + 3" (cast_expression "(int)&pdVar2->mark" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->mark" & (field_expression "pdVar2->mark" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "pdVar2->baseclasses = size._4_4_;" (assignment_expression "pdVar2->baseclasses = size._4_4_" (field_expression "pdVar2->baseclasses" identifier -> field_identifier) = (field_expression "size._4_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined1 *)&pdVar2->id = 0;" (assignment_expression "*(undefined1 *)&pdVar2->id = 0" (pointer_expression "*(undefined1 *)&pdVar2->id" * (cast_expression "(undefined1 *)&pdVar2->id" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pdVar2->id" & (field_expression "pdVar2->id" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->id + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->id + 1) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->id + 1)" * (cast_expression "(undefined1 *)((int)&pdVar2->id + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->id + 1)" ( (binary_expression "(int)&pdVar2->id + 1" (cast_expression "(int)&pdVar2->id" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->id" & (field_expression "pdVar2->id" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->id + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->id + 2) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->id + 2)" * (cast_expression "(undefined1 *)((int)&pdVar2->id + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->id + 2)" ( (binary_expression "(int)&pdVar2->id + 2" (cast_expression "(int)&pdVar2->id" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->id" & (field_expression "pdVar2->id" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&pdVar2->id + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&pdVar2->id + 3) = 0" (pointer_expression "*(undefined1 *)((int)&pdVar2->id + 3)" * (cast_expression "(undefined1 *)((int)&pdVar2->id + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar2->id + 3)" ( (binary_expression "(int)&pdVar2->id + 3" (cast_expression "(int)&pdVar2->id" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar2->id" & (field_expression "pdVar2->id" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "pdVar2->vptrbase = vptrbase;" (assignment_expression "pdVar2->vptrbase = vptrbase" (field_expression "pdVar2->vptrbase" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar2->methods = methods;" (assignment_expression "pdVar2->methods = methods" (field_expression "pdVar2->methods" identifier -> field_identifier) = identifier) ;) (expression_statement "(pdVar1->u).kclass = pdVar2;" (assignment_expression "(pdVar1->u).kclass = pdVar2" (field_expression "(pdVar1->u).kclass" (parenthesized_expression "(pdVar1->u)" ( (field_expression "pdVar1->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (return_statement "return pdVar1;" return identifier ;) })))
(translation_unit "int debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}\n\n" (function_definition "int debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 9;" (assignment_expression "uVar3 = 9" identifier = number_literal) ;) (if_statement "if (param_2 == 0) {\n    uVar3 = 10;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 10;\n  }" { (expression_statement "uVar3 = 10;" (assignment_expression "uVar3 = 10" identifier = number_literal) ;) })) (expression_statement "iVar1 = FUN_0001eb50(uVar3,param_4);" (assignment_expression "iVar1 = FUN_0001eb50(uVar3,param_4)" identifier = (call_expression "FUN_0001eb50(uVar3,param_4)" identifier (argument_list "(uVar3,param_4)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" { (if_statement "if (param_9 != 0) {\n      param_8 = iVar1;\n    }" if (parenthesized_expression "(param_9 != 0)" ( (binary_expression "param_9 != 0" identifier != number_literal) )) (compound_statement "{\n      param_8 = iVar1;\n    }" { (expression_statement "param_8 = iVar1;" (assignment_expression "param_8 = iVar1" identifier = identifier) ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_0004dc00)(0x18)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc00)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc00" * (cast_expression "(code *)PTR_xmalloc_0004dc00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)(puVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 1)" * (cast_expression "(undefined1 *)(puVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 5) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 5)" * (cast_expression "(undefined1 *)((int)puVar2 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 5)" ( (binary_expression "(int)puVar2 + 5" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*puVar2 = param_5;" (assignment_expression "*puVar2 = param_5" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 6) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 6)" * (cast_expression "(undefined1 *)((int)puVar2 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 6)" ( (binary_expression "(int)puVar2 + 6" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 7) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 7)" * (cast_expression "(undefined1 *)((int)puVar2 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 7)" ( (binary_expression "(int)puVar2 + 7" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[3] = param_6;" (assignment_expression "puVar2[3] = param_6" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 2)" * (cast_expression "(undefined1 *)(puVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 9) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 9)" * (cast_expression "(undefined1 *)((int)puVar2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 9)" ( (binary_expression "(int)puVar2 + 9" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 10)" * (cast_expression "(undefined1 *)((int)puVar2 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 10)" ( (binary_expression "(int)puVar2 + 10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 0xb)" * (cast_expression "(undefined1 *)((int)puVar2 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0xb)" ( (binary_expression "(int)puVar2 + 0xb" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[5] = param_8;" (assignment_expression "puVar2[5] = param_8" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = param_7;" (assignment_expression "puVar2[4] = param_7" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(iVar1 + 0xc) = puVar2;" (assignment_expression "*(undefined4 **)(iVar1 + 0xc) = puVar2" (pointer_expression "*(undefined4 **)(iVar1 + 0xc)" * (cast_expression "(undefined4 **)(iVar1 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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) ;) })) (return_statement return IDENT ;) })))
(function_definition "int debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "debug_make_object_type\n              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" (identifier "debug_make_object_type") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) (, ",") (parameter_declaration "int param_9" (primitive_type "int") (identifier "param_9")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 9;\n  if (param_2 == 0) {\n    uVar3 = 10;\n  }\n  iVar1 = FUN_0001eb50(uVar3,param_4);\n  if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = 9;" (assignment_expression "uVar3 = 9" (identifier "uVar3") (= "=") (number_literal "9")) (; ";")) (if_statement "if (param_2 == 0) {\n    uVar3 = 10;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 10;\n  }" ({ "{") (expression_statement "uVar3 = 10;" (assignment_expression "uVar3 = 10" (identifier "uVar3") (= "=") (number_literal "10")) (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0001eb50(uVar3,param_4);" (assignment_expression "iVar1 = FUN_0001eb50(uVar3,param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_0001eb50(uVar3,param_4)" (identifier "FUN_0001eb50") (argument_list "(uVar3,param_4)" (( "(") (identifier "uVar3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_9 != 0) {\n      param_8 = iVar1;\n    }\n    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);\n    *(undefined1 *)(puVar2 + 1) = 0;\n    *(undefined1 *)((int)puVar2 + 5) = 0;\n    *puVar2 = param_5;\n    *(undefined1 *)((int)puVar2 + 6) = 0;\n    *(undefined1 *)((int)puVar2 + 7) = 0;\n    puVar2[3] = param_6;\n    *(undefined1 *)(puVar2 + 2) = 0;\n    *(undefined1 *)((int)puVar2 + 9) = 0;\n    *(undefined1 *)((int)puVar2 + 10) = 0;\n    *(undefined1 *)((int)puVar2 + 0xb) = 0;\n    puVar2[5] = param_8;\n    puVar2[4] = param_7;\n    *(undefined4 **)(iVar1 + 0xc) = puVar2;\n  }" ({ "{") (if_statement "if (param_9 != 0) {\n      param_8 = iVar1;\n    }" (if "if") (parenthesized_expression "(param_9 != 0)" (( "(") (binary_expression "param_9 != 0" (identifier "param_9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_8 = iVar1;\n    }" ({ "{") (expression_statement "param_8 = iVar1;" (assignment_expression "param_8 = iVar1" (identifier "param_8") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_0004dc00)(0x18)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc00)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_0004dc00" (* "*") (cast_expression "(code *)PTR_xmalloc_0004dc00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_0004dc00"))) () ")")) (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(puVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 5) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 5)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 5)" (( "(") (binary_expression "(int)puVar2 + 5" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar2 = param_5;" (assignment_expression "*puVar2 = param_5" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 6) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 6)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 6)" (( "(") (binary_expression "(int)puVar2 + 6" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 7) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 7)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 7)" (( "(") (binary_expression "(int)puVar2 + 7" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[3] = param_6;" (assignment_expression "puVar2[3] = param_6" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "*(undefined1 *)(puVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 9) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 9)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 9)" (( "(") (binary_expression "(int)puVar2 + 9" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 10)" (( "(") (binary_expression "(int)puVar2 + 10" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)puVar2 + 0xb)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 0xb)" (( "(") (binary_expression "(int)puVar2 + 0xb" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "0xb")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[5] = param_8;" (assignment_expression "puVar2[5] = param_8" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_8")) (; ";")) (expression_statement "puVar2[4] = param_7;" (assignment_expression "puVar2[4] = param_7" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_7")) (; ";")) (expression_statement "*(undefined4 **)(iVar1 + 0xc) = puVar2;" (assignment_expression "*(undefined4 **)(iVar1 + 0xc) = puVar2" (pointer_expression "*(undefined4 **)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1
function_1
          (void *handle,type_2 var_1,type_3 size,type_4 *fields,
          type_5 *baseclasses,type_6 *methods,type_1 vptrbase,
          type_2 var_4)

{
  type_7 *var_3;
  type_8 *pdVar2;
  type_9 *info;
  type_9 *info_00;
  
  info_00 = (type_9 *)0x9;
  if (var_1 == 0) {
    info_00 = (type_9 *)0xa;
  }
  var_3 = var_2(info_00,(type_10)baseclasses,(type_11)fields);
  if (var_3 != (type_7 *)0x0) {
    if (var_4 != 0) {
      vptrbase = var_3;
    }
    pdVar2 = (type_8 *)(*(type_12 *)PTR_xmalloc_0004dc00)(0x18);
    *(type_13 *)&pdVar2->mark = 0;
    *(type_13 *)((int)&pdVar2->mark + 1) = 0;
    pdVar2->fields = size._0_4_;
    *(type_13 *)((int)&pdVar2->mark + 2) = 0;
    *(type_13 *)((int)&pdVar2->mark + 3) = 0;
    pdVar2->baseclasses = size._4_4_;
    *(type_13 *)&pdVar2->id = 0;
    *(type_13 *)((int)&pdVar2->id + 1) = 0;
    *(type_13 *)((int)&pdVar2->id + 2) = 0;
    *(type_13 *)((int)&pdVar2->id + 3) = 0;
    pdVar2->vptrbase = vptrbase;
    pdVar2->methods = methods;
    (var_3->u).kclass = pdVar2;
  }
  return var_3;
}


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

int MASKED
              (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
              undefined4 param_5,undefined4 param_6,undefined4 param_7,int param_8,int param_9)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  uVar3 = 9;
  if (param_2 == 0) {
    uVar3 = 10;
  }
  iVar1 = FUN_0001eb50(uVar3,param_4);
  if (iVar1 != 0) {
    if (param_9 != 0) {
      param_8 = iVar1;
    }
    puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_0004dc00)(0x18);
    *(undefined1 *)(puVar2 + 1) = 0;
    *(undefined1 *)((int)puVar2 + 5) = 0;
    *puVar2 = param_5;
    *(undefined1 *)((int)puVar2 + 6) = 0;
    *(undefined1 *)((int)puVar2 + 7) = 0;
    puVar2[3] = param_6;
    *(undefined1 *)(puVar2 + 2) = 0;
    *(undefined1 *)((int)puVar2 + 9) = 0;
    *(undefined1 *)((int)puVar2 + 10) = 0;
    *(undefined1 *)((int)puVar2 + 0xb) = 0;
    puVar2[5] = param_8;
    puVar2[4] = param_7;
    *(undefined4 **)(iVar1 + 0xc) = puVar2;
  }
  return iVar1;
}

