
debug_type_conflict debug_name_type(void *handle,char *name,debug_type_conflict type)

{
  long lVar1;
  debug_type_s *pdVar2;
  debug_named_type *pdVar3;
  debug_name *pdVar4;
  undefined8 uVar5;
  debug_handle *info;
  debug_object_linkage in_R8D;
  
  if ((name != (char *)0x0) && (type != (debug_type_conflict)0x0)) {
    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {
      uVar5 = dcgettext(0,"debug_name_type: no current file",5);
      fprintf(stderr,"%s\n",uVar5);
    }
    else {
      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);
      if (pdVar2 != (debug_type_s *)0x0) {
        pdVar3 = (debug_named_type *)xmalloc(0x10);
        lVar1 = *(long *)((long)handle + 0x10);
        pdVar3->name = (debug_name *)0x0;
        pdVar3->type = type;
        (pdVar2->u).knamed = pdVar3;
        pdVar4 = debug_add_to_namespace
                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,
                            DEBUG_OBJECT_FUNCTION,in_R8D);
        if (pdVar4 != (debug_name *)0x0) {
          (pdVar4->u).function = (debug_function *)pdVar2;
          pdVar3->name = pdVar4;
          return pdVar2;
        }
      }
    }
  }
  return (debug_type_conflict)0x0;
}



long FUN_0010fb10(long param_1,long param_2,long param_3)

{
  long lVar1;
  long *plVar2;
  long lVar3;
  undefined8 uVar4;
  
  if ((param_2 != 0) && (param_3 != 0)) {
    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {
      uVar4 = dcgettext(0,"debug_name_type: no current file",5);
      fprintf(stderr,"%s\n",uVar4);
    }
    else {
      lVar1 = FUN_0010d270(0x16,0);
      if (lVar1 != 0) {
        plVar2 = (long *)xmalloc(0x10);
        lVar3 = *(long *)(param_1 + 0x10);
        *plVar2 = 0;
        plVar2[1] = param_3;
        *(long **)(lVar1 + 0x10) = plVar2;
        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);
        if (lVar3 != 0) {
          *(long *)(lVar3 + 0x20) = lVar1;
          *plVar2 = lVar3;
          return lVar1;
        }
      }
    }
  }
  return 0;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
TEST RSI,RSI
JZ 0x0010fbcb
TEST RDX,RDX
JZ 0x0010fbcb
CMP qword ptr [RDI + 0x8],0x0
MOV R13,RDX
MOV R12,RSI
MOV RBX,RDI
JZ 0x0010fba0
CMP qword ptr [RDI + 0x10],0x0
JZ 0x0010fba0
XOR ESI,ESI
MOV EDI,0x16
CALL 0x0010d270
MOV RBP,RAX
TEST RAX,RAX
JZ 0x0010fbcb
MOV EDI,0x10
CALL 0x00104370
MOV RDI,qword ptr [RBX + 0x10]
XOR EDX,EDX
MOV ECX,0x3
MOV qword ptr [RAX],0x0
MOV RSI,R12
MOV R14,RAX
MOV qword ptr [RAX + 0x8],R13
ADD RDI,0x10
MOV qword ptr [RBP + 0x10],RAX
CALL 0x0010d1f0
TEST RAX,RAX
JZ 0x0010fbcb
MOV qword ptr [RAX + 0x20],RBP
POP RBX
MOV qword ptr [R14],RAX
MOV RAX,RBP
POP RBP
POP R12
POP R13
POP R14
RET
MOV EDX,0x5
LEA RSI,[0x122cb8]
XOR EDI,EDI
CALL 0x00104240
MOV RDI,qword ptr [0x0012c9e0]
LEA RSI,[0x12456f]
MOV RDX,RAX
XOR EAX,EAX
CALL 0x001044a0
XOR EBP,EBP
POP RBX
MOV RAX,RBP
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "long FUN_0010fb10(long param_1,long param_2,long param_3)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "long FUN_0010fb10(long param_1,long param_2,long param_3)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0010fb10(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_2 != 0) && (param_3 != 0))" ( (binary_expression "(param_2 != 0) && (param_3 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" { (if_statement "if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" if (parenthesized_expression "((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0))" ( (binary_expression "(*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }" { (expression_statement "uVar4 = dcgettext(0,"debug_name_type: no current file",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_name_type: no current file",5)" identifier = (call_expression "dcgettext(0,"debug_name_type: no current file",5)" identifier (argument_list "(0,"debug_name_type: no current file",5)" ( number_literal , (string_literal ""debug_name_type: no current file"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(stderr,"%s\n",uVar4);" (call_expression "fprintf(stderr,"%s\n",uVar4)" identifier (argument_list "(stderr,"%s\n",uVar4)" ( identifier , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" else (compound_statement "{\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" { (expression_statement "lVar1 = FUN_0010d270(0x16,0);" (assignment_expression "lVar1 = FUN_0010d270(0x16,0)" identifier = (call_expression "FUN_0010d270(0x16,0)" identifier (argument_list "(0x16,0)" ( number_literal , number_literal )))) ;) (if_statement "if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" { (expression_statement "plVar2 = (long *)xmalloc(0x10);" (assignment_expression "plVar2 = (long *)xmalloc(0x10)" identifier = (cast_expression "(long *)xmalloc(0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "lVar3 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x10)" identifier = (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*plVar2 = 0;" (assignment_expression "*plVar2 = 0" (pointer_expression "*plVar2" * identifier) = number_literal) ;) (expression_statement "plVar2[1] = param_3;" (assignment_expression "plVar2[1] = param_3" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(long **)(lVar1 + 0x10) = plVar2;" (assignment_expression "*(long **)(lVar1 + 0x10) = plVar2" (pointer_expression "*(long **)(lVar1 + 0x10)" * (cast_expression "(long **)(lVar1 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);" (assignment_expression "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" identifier = (call_expression "FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" identifier (argument_list "(lVar3 + 0x10,param_2,0,3)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) , identifier , number_literal , number_literal )))) ;) (if_statement "if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" { (expression_statement "*(long *)(lVar3 + 0x20) = lVar1;" (assignment_expression "*(long *)(lVar3 + 0x20) = lVar1" (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*plVar2 = lVar3;" (assignment_expression "*plVar2 = lVar3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (return_statement "return lVar1;" return identifier ;) })) })) }))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "debug_type_conflict debug_name_type(void *handle,char *name,debug_type_conflict type)\n\n{\n  long lVar1;\n  debug_type_s *pdVar2;\n  debug_named_type *pdVar3;\n  debug_name *pdVar4;\n  undefined8 uVar5;\n  debug_handle *info;\n  debug_object_linkage in_R8D;\n  \n  if ((name != (char *)0x0) && (type != (debug_type_conflict)0x0)) {\n    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }\n  }\n  return (debug_type_conflict)0x0;\n}\n\n" (function_definition "debug_type_conflict debug_name_type(void *handle,char *name,debug_type_conflict type)\n\n{\n  long lVar1;\n  debug_type_s *pdVar2;\n  debug_named_type *pdVar3;\n  debug_name *pdVar4;\n  undefined8 uVar5;\n  debug_handle *info;\n  debug_object_linkage in_R8D;\n  \n  if ((name != (char *)0x0) && (type != (debug_type_conflict)0x0)) {\n    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }\n  }\n  return (debug_type_conflict)0x0;\n}" type_identifier (function_declarator "debug_name_type(void *handle,char *name,debug_type_conflict type)" identifier (parameter_list "(void *handle,char *name,debug_type_conflict type)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_type_conflict type" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  debug_type_s *pdVar2;\n  debug_named_type *pdVar3;\n  debug_name *pdVar4;\n  undefined8 uVar5;\n  debug_handle *info;\n  debug_object_linkage in_R8D;\n  \n  if ((name != (char *)0x0) && (type != (debug_type_conflict)0x0)) {\n    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }\n  }\n  return (debug_type_conflict)0x0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "debug_type_s *pdVar2;" type_identifier (pointer_declarator "*pdVar2" * identifier) ;) (declaration "debug_named_type *pdVar3;" type_identifier (pointer_declarator "*pdVar3" * identifier) ;) (declaration "debug_name *pdVar4;" type_identifier (pointer_declarator "*pdVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "debug_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "debug_object_linkage in_R8D;" type_identifier identifier ;) (if_statement "if ((name != (char *)0x0) && (type != (debug_type_conflict)0x0)) {\n    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((name != (char *)0x0) && (type != (debug_type_conflict)0x0))" ( (binary_expression "(name != (char *)0x0) && (type != (debug_type_conflict)0x0)" (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)) )) && (parenthesized_expression "(type != (debug_type_conflict)0x0)" ( (binary_expression "type != (debug_type_conflict)0x0" identifier != (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) ))) )) (compound_statement "{\n    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }\n  }" { (if_statement "if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }\n    else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }" if (parenthesized_expression "((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0))" ( (binary_expression "(*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)" (parenthesized_expression "(*(long *)((long)handle + 8) == 0)" ( (binary_expression "*(long *)((long)handle + 8) == 0" (pointer_expression "*(long *)((long)handle + 8)" * (cast_expression "(long *)((long)handle + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 8)" ( (binary_expression "(long)handle + 8" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(long *)((long)handle + 0x10) == 0)" ( (binary_expression "*(long *)((long)handle + 0x10) == 0" (pointer_expression "*(long *)((long)handle + 0x10)" * (cast_expression "(long *)((long)handle + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x10)" ( (binary_expression "(long)handle + 0x10" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      uVar5 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar5);\n    }" { (expression_statement "uVar5 = dcgettext(0,"debug_name_type: no current file",5);" (assignment_expression "uVar5 = dcgettext(0,"debug_name_type: no current file",5)" identifier = (call_expression "dcgettext(0,"debug_name_type: no current file",5)" identifier (argument_list "(0,"debug_name_type: no current file",5)" ( number_literal , (string_literal ""debug_name_type: no current file"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(stderr,"%s\n",uVar5);" (call_expression "fprintf(stderr,"%s\n",uVar5)" identifier (argument_list "(stderr,"%s\n",uVar5)" ( identifier , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }" else (compound_statement "{\n      pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);\n      if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }\n    }" { (expression_statement "pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type);" (assignment_expression "pdVar2 = debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type)" identifier = (call_expression "debug_make_type((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type)" identifier (argument_list "((debug_handle *)0x16,DEBUG_KIND_ILLEGAL,(uint)type)" ( (cast_expression "(debug_handle *)0x16" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , (cast_expression "(uint)type" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (if_statement "if (pdVar2 != (debug_type_s *)0x0) {\n        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }" if (parenthesized_expression "(pdVar2 != (debug_type_s *)0x0)" ( (binary_expression "pdVar2 != (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        pdVar3 = (debug_named_type *)xmalloc(0x10);\n        lVar1 = *(long *)((long)handle + 0x10);\n        pdVar3->name = (debug_name *)0x0;\n        pdVar3->type = type;\n        (pdVar2->u).knamed = pdVar3;\n        pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);\n        if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }\n      }" { (expression_statement "pdVar3 = (debug_named_type *)xmalloc(0x10);" (assignment_expression "pdVar3 = (debug_named_type *)xmalloc(0x10)" identifier = (cast_expression "(debug_named_type *)xmalloc(0x10)" ( (type_descriptor "debug_named_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)((long)handle + 0x10);" (assignment_expression "lVar1 = *(long *)((long)handle + 0x10)" identifier = (pointer_expression "*(long *)((long)handle + 0x10)" * (cast_expression "(long *)((long)handle + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x10)" ( (binary_expression "(long)handle + 0x10" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "pdVar3->name = (debug_name *)0x0;" (assignment_expression "pdVar3->name = (debug_name *)0x0" (field_expression "pdVar3->name" identifier -> field_identifier) = (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pdVar3->type = type;" (assignment_expression "pdVar3->type = type" (field_expression "pdVar3->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(pdVar2->u).knamed = pdVar3;" (assignment_expression "(pdVar2->u).knamed = pdVar3" (field_expression "(pdVar2->u).knamed" (parenthesized_expression "(pdVar2->u)" ( (field_expression "pdVar2->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D);" (assignment_expression "pdVar4 = debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D)" identifier = (call_expression "debug_add_to_namespace\n                           ((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D)" identifier (argument_list "((debug_handle *)(lVar1 + 0x10),(debug_namespace **)name,(char *)0x0,\n                            DEBUG_OBJECT_FUNCTION,in_R8D)" ( (cast_expression "(debug_handle *)(lVar1 + 0x10)" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))) , (cast_expression "(debug_namespace **)name" ( (type_descriptor "debug_namespace **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier )))) ;) (if_statement "if (pdVar4 != (debug_name *)0x0) {\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }" if (parenthesized_expression "(pdVar4 != (debug_name *)0x0)" ( (binary_expression "pdVar4 != (debug_name *)0x0" identifier != (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (pdVar4->u).function = (debug_function *)pdVar2;\n          pdVar3->name = pdVar4;\n          return pdVar2;\n        }" { (expression_statement "(pdVar4->u).function = (debug_function *)pdVar2;" (assignment_expression "(pdVar4->u).function = (debug_function *)pdVar2" (field_expression "(pdVar4->u).function" (parenthesized_expression "(pdVar4->u)" ( (field_expression "pdVar4->u" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(debug_function *)pdVar2" ( (type_descriptor "debug_function *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pdVar3->name = pdVar4;" (assignment_expression "pdVar3->name = pdVar4" (field_expression "pdVar3->name" identifier -> field_identifier) = identifier) ;) (return_statement "return pdVar2;" return identifier ;) })) })) }))) })) (return_statement "return (debug_type_conflict)0x0;" return (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal) ;) })))
(translation_unit "long FUN_0010fb10(long param_1,long param_2,long param_3)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "long FUN_0010fb10(long param_1,long param_2,long param_3)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0010fb10(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_2 != 0) && (param_3 != 0))" ( (binary_expression "(param_2 != 0) && (param_3 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" { (if_statement "if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" if (parenthesized_expression "((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0))" ( (binary_expression "(*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }" { (expression_statement "uVar4 = dcgettext(0,"debug_name_type: no current file",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_name_type: no current file",5)" identifier = (call_expression "dcgettext(0,"debug_name_type: no current file",5)" identifier (argument_list "(0,"debug_name_type: no current file",5)" ( number_literal , (string_literal ""debug_name_type: no current file"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(stderr,"%s\n",uVar4);" (call_expression "fprintf(stderr,"%s\n",uVar4)" identifier (argument_list "(stderr,"%s\n",uVar4)" ( identifier , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" else (compound_statement "{\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" { (expression_statement "lVar1 = FUN_0010d270(0x16,0);" (assignment_expression "lVar1 = FUN_0010d270(0x16,0)" identifier = (call_expression "FUN_0010d270(0x16,0)" identifier (argument_list "(0x16,0)" ( number_literal , number_literal )))) ;) (if_statement "if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" { (expression_statement "plVar2 = (long *)xmalloc(0x10);" (assignment_expression "plVar2 = (long *)xmalloc(0x10)" identifier = (cast_expression "(long *)xmalloc(0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "lVar3 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x10)" identifier = (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*plVar2 = 0;" (assignment_expression "*plVar2 = 0" (pointer_expression "*plVar2" * identifier) = number_literal) ;) (expression_statement "plVar2[1] = param_3;" (assignment_expression "plVar2[1] = param_3" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(long **)(lVar1 + 0x10) = plVar2;" (assignment_expression "*(long **)(lVar1 + 0x10) = plVar2" (pointer_expression "*(long **)(lVar1 + 0x10)" * (cast_expression "(long **)(lVar1 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);" (assignment_expression "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" identifier = (call_expression "FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" identifier (argument_list "(lVar3 + 0x10,param_2,0,3)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) , identifier , number_literal , number_literal )))) ;) (if_statement "if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" { (expression_statement "*(long *)(lVar3 + 0x20) = lVar1;" (assignment_expression "*(long *)(lVar3 + 0x20) = lVar1" (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*plVar2 = lVar3;" (assignment_expression "*plVar2 = lVar3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (return_statement "return lVar1;" return identifier ;) })) })) }))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) })) }))) })) (return_statement return LIT ;) })))
(function_definition "long FUN_0010fb10(long param_1,long param_2,long param_3)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0010fb10(long param_1,long param_2,long param_3)" (identifier "FUN_0010fb10") (parameter_list "(long param_1,long param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  undefined8 uVar4;\n  \n  if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (if_statement "if ((param_2 != 0) && (param_3 != 0)) {\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && (param_3 != 0))" (( "(") (binary_expression "(param_2 != 0) && (param_3 != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }\n    else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0))" (( "(") (binary_expression "(*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar4 = dcgettext(0,"debug_name_type: no current file",5);\n      fprintf(stderr,"%s\n",uVar4);\n    }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"debug_name_type: no current file",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_name_type: no current file",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"debug_name_type: no current file",5)" (identifier "dcgettext") (argument_list "(0,"debug_name_type: no current file",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_name_type: no current file"" (" """) (string_content "debug_name_type: no current file") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fprintf(stderr,"%s\n",uVar4);" (call_expression "fprintf(stderr,"%s\n",uVar4)" (identifier "fprintf") (argument_list "(stderr,"%s\n",uVar4)" (( "(") (identifier "stderr") (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" (else "else") (compound_statement "{\n      lVar1 = FUN_0010d270(0x16,0);\n      if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }\n    }" ({ "{") (expression_statement "lVar1 = FUN_0010d270(0x16,0);" (assignment_expression "lVar1 = FUN_0010d270(0x16,0)" (identifier "lVar1") (= "=") (call_expression "FUN_0010d270(0x16,0)" (identifier "FUN_0010d270") (argument_list "(0x16,0)" (( "(") (number_literal "0x16") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (lVar1 != 0) {\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        plVar2 = (long *)xmalloc(0x10);\n        lVar3 = *(long *)(param_1 + 0x10);\n        *plVar2 = 0;\n        plVar2[1] = param_3;\n        *(long **)(lVar1 + 0x10) = plVar2;\n        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);\n        if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }\n      }" ({ "{") (expression_statement "plVar2 = (long *)xmalloc(0x10);" (assignment_expression "plVar2 = (long *)xmalloc(0x10)" (identifier "plVar2") (= "=") (cast_expression "(long *)xmalloc(0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "lVar3 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x10)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*plVar2 = 0;" (assignment_expression "*plVar2 = 0" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar2[1] = param_3;" (assignment_expression "plVar2[1] = param_3" (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(long **)(lVar1 + 0x10) = plVar2;" (assignment_expression "*(long **)(lVar1 + 0x10) = plVar2" (pointer_expression "*(long **)(lVar1 + 0x10)" (* "*") (cast_expression "(long **)(lVar1 + 0x10)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "plVar2")) (; ";")) (expression_statement "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);" (assignment_expression "lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" (identifier "lVar3") (= "=") (call_expression "FUN_0010d1f0(lVar3 + 0x10,param_2,0,3)" (identifier "FUN_0010d1f0") (argument_list "(lVar3 + 0x10,param_2,0,3)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (lVar3 != 0) {\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(long *)(lVar3 + 0x20) = lVar1;\n          *plVar2 = lVar3;\n          return lVar1;\n        }" ({ "{") (expression_statement "*(long *)(lVar3 + 0x20) = lVar1;" (assignment_expression "*(long *)(lVar3 + 0x20) = lVar1" (pointer_expression "*(long *)(lVar3 + 0x20)" (* "*") (cast_expression "(long *)(lVar3 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "*plVar2 = lVar3;" (assignment_expression "*plVar2 = lVar3" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (identifier "lVar3")) (; ";")) (return_statement "return lVar1;" (return "return") (identifier "lVar1") (; ";")) (} "}"))) (} "}"))) (} "}")))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(void *handle,char *var_1,type_1 var_2)

{
  long var_9;
  type_2 *var_6;
  type_3 *pdVar3;
  type_4 *var_10;
  type_5 uVar5;
  type_6 *info;
  type_7 in_R8D;
  
  if ((var_1 != (char *)0x0) && (var_2 != (type_1)0x0)) {
    if ((*(long *)((long)handle + 8) == 0) || (*(long *)((long)handle + 0x10) == 0)) {
      uVar5 = var_3(0,"debug_name_type: no current file",5);
      var_4(stderr,"%s\n",uVar5);
    }
    else {
      var_6 = var_5((type_6 *)0x16,DEBUG_KIND_ILLEGAL,(type_8)var_2);
      if (var_6 != (type_2 *)0x0) {
        pdVar3 = (type_3 *)var_7(0x10);
        var_9 = *(long *)((long)handle + 0x10);
        pdVar3->var_1 = (type_4 *)0x0;
        pdVar3->var_2 = var_2;
        (var_6->u).knamed = pdVar3;
        var_10 = var_8
                           ((type_6 *)(var_9 + 0x10),(type_9 **)var_1,(char *)0x0,
                            DEBUG_OBJECT_FUNCTION,in_R8D);
        if (var_10 != (type_4 *)0x0) {
          (var_10->u).function = (type_10 *)var_6;
          pdVar3->var_1 = var_10;
          return var_6;
        }
      }
    }
  }
  return (type_1)0x0;
}


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

long MASKED(long param_1,long param_2,long param_3)

{
  long lVar1;
  long *plVar2;
  long lVar3;
  undefined8 uVar4;
  
  if ((param_2 != 0) && (param_3 != 0)) {
    if ((*(long *)(param_1 + 8) == 0) || (*(long *)(param_1 + 0x10) == 0)) {
      uVar4 = dcgettext(0,"debug_name_type: no current file",5);
      fprintf(stderr,"%s\n",uVar4);
    }
    else {
      lVar1 = FUN_0010d270(0x16,0);
      if (lVar1 != 0) {
        plVar2 = (long *)xmalloc(0x10);
        lVar3 = *(long *)(param_1 + 0x10);
        *plVar2 = 0;
        plVar2[1] = param_3;
        *(long **)(lVar1 + 0x10) = plVar2;
        lVar3 = FUN_0010d1f0(lVar3 + 0x10,param_2,0,3);
        if (lVar3 != 0) {
          *(long *)(lVar3 + 0x20) = lVar1;
          *plVar2 = lVar3;
          return lVar1;
        }
      }
    }
  }
  return 0;
}

