
bfd_boolean
debug_record_parameter
          (void *handle,char *name,debug_type_conflict type,debug_parm_kind kind,bfd_vma val)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  debug_handle *info;
  
  if ((name == (char *)0x0) || (type == (debug_type_conflict)0x0)) {
    return 0;
  }
  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);
    lVar1 = *(long *)((long)handle + 0x18);
    pauVar3[1] = (undefined1  [16])0x0;
    *pauVar3 = (undefined1  [16])0x0;
    puVar2 = *(undefined8 **)(lVar1 + 8);
    *(char **)(*pauVar3 + 8) = name;
    *(debug_type_conflict *)pauVar3[1] = type;
    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;
    *(bfd_vma *)pauVar3[2] = val;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 8);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}



undefined8
FUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  
  if ((param_2 == 0) || (param_3 == 0)) {
    return 0;
  }
  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);
    lVar1 = *(long *)(param_1 + 0x18);
    pauVar3[1] = (undefined1  [16])0x0;
    *pauVar3 = (undefined1  [16])0x0;
    puVar2 = *(undefined8 **)(lVar1 + 8);
    *(long *)(*pauVar3 + 8) = param_2;
    *(long *)pauVar3[1] = param_3;
    *(undefined4 *)(pauVar3[1] + 8) = param_4;
    *(undefined8 *)pauVar3[2] = param_5;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 8);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}


TEST RSI,RSI
JZ 0x0010ee80
TEST RDX,RDX
JZ 0x0010ee80
PUSH R14
MOV R14D,ECX
PUSH R13
MOV R13,R8
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,RSI
PUSH RBX
CMP qword ptr [RDI + 0x8],0x0
MOV RBX,RDI
JZ 0x0010ee40
CMP qword ptr [RDI + 0x18],0x0
JZ 0x0010ee40
MOV EDI,0x28
CALL 0x00104370
MOV RDX,qword ptr [RBX + 0x18]
PXOR XMM0,XMM0
MOVUPS xmmword ptr [RAX + 0x10],XMM0
MOVUPS xmmword ptr [RAX],XMM0
MOV RCX,qword ptr [RDX + 0x8]
MOV qword ptr [RAX + 0x8],RBP
MOV qword ptr [RAX + 0x10],R12
MOV dword ptr [RAX + 0x18],R14D
MOV qword ptr [RAX + 0x20],R13
TEST RCX,RCX
JNZ 0x0010ee23
JMP 0x0010ee88
MOV RCX,RDX
MOV RDX,qword ptr [RCX]
TEST RDX,RDX
JNZ 0x0010ee20
MOV qword ptr [RCX],RAX
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV EDX,0x5
LEA RSI,[0x122ad8]
XOR EDI,EDI
CALL 0x00104240
MOV RDI,qword ptr [0x0012c9e0]
LEA RSI,[0x12456f]
MOV RDX,RAX
XOR EAX,EAX
CALL 0x001044a0
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
POP R14
RET
XOR EAX,EAX
RET
LEA RCX,[RDX + 0x8]
JMP 0x0010ee2b
(translation_unit "undefined8\nFUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" identifier (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" ( (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) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "undefined1 (*pauVar3) [16];" (subscript_expression "undefined1 (*pauVar3) [16]" (call_expression "undefined1 (*pauVar3)" identifier (argument_list "(*pauVar3)" ( (pointer_expression "*pauVar3" * identifier) ))) [ number_literal ]) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\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    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0))" ( (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 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 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x28);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x28)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pauVar3[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[1] = (undefined1  [16])0x0" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*pauVar3 = (undefined1  [16])0x0;" (assignment_expression "*pauVar3 = (undefined1  [16])0x0" (pointer_expression "*pauVar3" * identifier) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "puVar2 = *(undefined8 **)(lVar1 + 8);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 8)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 8)" * (cast_expression "(undefined8 **)(lVar1 + 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(*pauVar3 + 8) = param_2;" (assignment_expression "*(long *)(*pauVar3 + 8) = param_2" (pointer_expression "*(long *)(*pauVar3 + 8)" * (cast_expression "(long *)(*pauVar3 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*pauVar3 + 8)" ( (binary_expression "*pauVar3 + 8" (pointer_expression "*pauVar3" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(long *)pauVar3[1] = param_3;" (assignment_expression "*(long *)pauVar3[1] = param_3" (pointer_expression "*(long *)pauVar3[1]" * (cast_expression "(long *)pauVar3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(undefined4 *)(pauVar3[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar3[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar3[1] + 8)" * (cast_expression "(undefined4 *)(pauVar3[1] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pauVar3[1] + 8)" ( (binary_expression "pauVar3[1] + 8" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)pauVar3[2] = param_5;" (assignment_expression "*(undefined8 *)pauVar3[2] = param_5" (pointer_expression "*(undefined8 *)pauVar3[2]" * (cast_expression "(undefined8 *)pauVar3[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[2]" identifier [ number_literal ]))) = identifier) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" if (parenthesized_expression "(puVar2 == (undefined8 *)0x0)" ( (binary_expression "puVar2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 8);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 8)" identifier = (cast_expression "(undefined8 *)(lVar1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) ;) }) (else_clause "else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" else (compound_statement "{\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" { (do_statement "do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);" do (compound_statement "{\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      }" { (expression_statement "puVar5 = puVar2;" (assignment_expression "puVar5 = puVar2" identifier = identifier) ;) (expression_statement "puVar2 = (undefined8 *)*puVar5;" (assignment_expression "puVar2 = (undefined8 *)*puVar5" identifier = (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) while (parenthesized_expression "((undefined8 *)*puVar5 != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)*puVar5 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "*puVar5 = pauVar3;" (assignment_expression "*puVar5 = pauVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5)" identifier = (call_expression "dcgettext(0,"debug_record_parameter: no current function",5)" identifier (argument_list "(0,"debug_record_parameter: no current function",5)" ( number_literal , (string_literal ""debug_record_parameter: no current function"" " 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 ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean\ndebug_record_parameter\n          (void *handle,char *name,debug_type_conflict type,debug_parm_kind kind,bfd_vma val)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  debug_handle *info;\n  \n  if ((name == (char *)0x0) || (type == (debug_type_conflict)0x0)) {\n    return 0;\n  }\n  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)((long)handle + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(char **)(*pauVar3 + 8) = name;\n    *(debug_type_conflict *)pauVar3[1] = type;\n    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;\n    *(bfd_vma *)pauVar3[2] = val;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "bfd_boolean\ndebug_record_parameter\n          (void *handle,char *name,debug_type_conflict type,debug_parm_kind kind,bfd_vma val)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  debug_handle *info;\n  \n  if ((name == (char *)0x0) || (type == (debug_type_conflict)0x0)) {\n    return 0;\n  }\n  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)((long)handle + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(char **)(*pauVar3 + 8) = name;\n    *(debug_type_conflict *)pauVar3[1] = type;\n    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;\n    *(bfd_vma *)pauVar3[2] = val;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "debug_record_parameter\n          (void *handle,char *name,debug_type_conflict type,debug_parm_kind kind,bfd_vma val)" identifier (parameter_list "(void *handle,char *name,debug_type_conflict type,debug_parm_kind kind,bfd_vma val)" ( (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) , (parameter_declaration "debug_parm_kind kind" type_identifier identifier) , (parameter_declaration "bfd_vma val" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  debug_handle *info;\n  \n  if ((name == (char *)0x0) || (type == (debug_type_conflict)0x0)) {\n    return 0;\n  }\n  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)((long)handle + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(char **)(*pauVar3 + 8) = name;\n    *(debug_type_conflict *)pauVar3[1] = type;\n    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;\n    *(bfd_vma *)pauVar3[2] = val;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "undefined1 (*pauVar3) [16];" (subscript_expression "undefined1 (*pauVar3) [16]" (call_expression "undefined1 (*pauVar3)" identifier (argument_list "(*pauVar3)" ( (pointer_expression "*pauVar3" * identifier) ))) [ number_literal ]) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "debug_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (if_statement "if ((name == (char *)0x0) || (type == (debug_type_conflict)0x0)) {\n    return 0;\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    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)((long)handle + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(char **)(*pauVar3 + 8) = name;\n    *(debug_type_conflict *)pauVar3[1] = type;\n    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;\n    *(bfd_vma *)pauVar3[2] = val;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0))" ( (binary_expression "(*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 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 + 0x18) != 0)" ( (binary_expression "*(long *)((long)handle + 0x18) != 0" (pointer_expression "*(long *)((long)handle + 0x18)" * (cast_expression "(long *)((long)handle + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x18)" ( (binary_expression "(long)handle + 0x18" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)((long)handle + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(char **)(*pauVar3 + 8) = name;\n    *(debug_type_conflict *)pauVar3[1] = type;\n    *(debug_parm_kind *)(pauVar3[1] + 8) = kind;\n    *(bfd_vma *)pauVar3[2] = val;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x28);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x28)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)((long)handle + 0x18);" (assignment_expression "lVar1 = *(long *)((long)handle + 0x18)" identifier = (pointer_expression "*(long *)((long)handle + 0x18)" * (cast_expression "(long *)((long)handle + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x18)" ( (binary_expression "(long)handle + 0x18" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "pauVar3[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[1] = (undefined1  [16])0x0" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*pauVar3 = (undefined1  [16])0x0;" (assignment_expression "*pauVar3 = (undefined1  [16])0x0" (pointer_expression "*pauVar3" * identifier) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "puVar2 = *(undefined8 **)(lVar1 + 8);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 8)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 8)" * (cast_expression "(undefined8 **)(lVar1 + 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(*pauVar3 + 8) = name;" (assignment_expression "*(char **)(*pauVar3 + 8) = name" (pointer_expression "*(char **)(*pauVar3 + 8)" * (cast_expression "(char **)(*pauVar3 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*pauVar3 + 8)" ( (binary_expression "*pauVar3 + 8" (pointer_expression "*pauVar3" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(debug_type_conflict *)pauVar3[1] = type;" (assignment_expression "*(debug_type_conflict *)pauVar3[1] = type" (pointer_expression "*(debug_type_conflict *)pauVar3[1]" * (cast_expression "(debug_type_conflict *)pauVar3[1]" ( (type_descriptor "debug_type_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(debug_parm_kind *)(pauVar3[1] + 8) = kind;" (assignment_expression "*(debug_parm_kind *)(pauVar3[1] + 8) = kind" (pointer_expression "*(debug_parm_kind *)(pauVar3[1] + 8)" * (cast_expression "(debug_parm_kind *)(pauVar3[1] + 8)" ( (type_descriptor "debug_parm_kind *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pauVar3[1] + 8)" ( (binary_expression "pauVar3[1] + 8" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(bfd_vma *)pauVar3[2] = val;" (assignment_expression "*(bfd_vma *)pauVar3[2] = val" (pointer_expression "*(bfd_vma *)pauVar3[2]" * (cast_expression "(bfd_vma *)pauVar3[2]" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[2]" identifier [ number_literal ]))) = identifier) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" if (parenthesized_expression "(puVar2 == (undefined8 *)0x0)" ( (binary_expression "puVar2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 8);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 8)" identifier = (cast_expression "(undefined8 *)(lVar1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) ;) }) (else_clause "else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" else (compound_statement "{\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" { (do_statement "do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);" do (compound_statement "{\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      }" { (expression_statement "puVar5 = puVar2;" (assignment_expression "puVar5 = puVar2" identifier = identifier) ;) (expression_statement "puVar2 = (undefined8 *)*puVar5;" (assignment_expression "puVar2 = (undefined8 *)*puVar5" identifier = (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) while (parenthesized_expression "((undefined8 *)*puVar5 != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)*puVar5 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "*puVar5 = pauVar3;" (assignment_expression "*puVar5 = pauVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5)" identifier = (call_expression "dcgettext(0,"debug_record_parameter: no current function",5)" identifier (argument_list "(0,"debug_record_parameter: no current function",5)" ( number_literal , (string_literal ""debug_record_parameter: no current function"" " 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 ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8\nFUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" identifier (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" ( (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) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "undefined1 (*pauVar3) [16];" (subscript_expression "undefined1 (*pauVar3) [16]" (call_expression "undefined1 (*pauVar3)" identifier (argument_list "(*pauVar3)" ( (pointer_expression "*pauVar3" * identifier) ))) [ number_literal ]) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\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    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0))" ( (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 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 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x28);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x28)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pauVar3[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[1] = (undefined1  [16])0x0" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*pauVar3 = (undefined1  [16])0x0;" (assignment_expression "*pauVar3 = (undefined1  [16])0x0" (pointer_expression "*pauVar3" * identifier) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "puVar2 = *(undefined8 **)(lVar1 + 8);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 8)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 8)" * (cast_expression "(undefined8 **)(lVar1 + 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(*pauVar3 + 8) = param_2;" (assignment_expression "*(long *)(*pauVar3 + 8) = param_2" (pointer_expression "*(long *)(*pauVar3 + 8)" * (cast_expression "(long *)(*pauVar3 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*pauVar3 + 8)" ( (binary_expression "*pauVar3 + 8" (pointer_expression "*pauVar3" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(long *)pauVar3[1] = param_3;" (assignment_expression "*(long *)pauVar3[1] = param_3" (pointer_expression "*(long *)pauVar3[1]" * (cast_expression "(long *)pauVar3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(undefined4 *)(pauVar3[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar3[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar3[1] + 8)" * (cast_expression "(undefined4 *)(pauVar3[1] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pauVar3[1] + 8)" ( (binary_expression "pauVar3[1] + 8" (subscript_expression "pauVar3[1]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)pauVar3[2] = param_5;" (assignment_expression "*(undefined8 *)pauVar3[2] = param_5" (pointer_expression "*(undefined8 *)pauVar3[2]" * (cast_expression "(undefined8 *)pauVar3[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar3[2]" identifier [ number_literal ]))) = identifier) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" if (parenthesized_expression "(puVar2 == (undefined8 *)0x0)" ( (binary_expression "puVar2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 8);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 8)" identifier = (cast_expression "(undefined8 *)(lVar1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) ;) }) (else_clause "else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" else (compound_statement "{\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" { (do_statement "do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);" do (compound_statement "{\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      }" { (expression_statement "puVar5 = puVar2;" (assignment_expression "puVar5 = puVar2" identifier = identifier) ;) (expression_statement "puVar2 = (undefined8 *)*puVar5;" (assignment_expression "puVar2 = (undefined8 *)*puVar5" identifier = (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) while (parenthesized_expression "((undefined8 *)*puVar5 != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)*puVar5 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*puVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "*puVar5 = pauVar3;" (assignment_expression "*puVar5 = pauVar3" (pointer_expression "*puVar5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5)" identifier = (call_expression "dcgettext(0,"debug_record_parameter: no current function",5)" identifier (argument_list "(0,"debug_record_parameter: no current function",5)" ( number_literal , (string_literal ""debug_record_parameter: no current function"" " 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 ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (subscript_expression (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (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 = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (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 (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (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 ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8\nFUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0010edb0(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" (identifier "FUN_0010edb0") (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)" (( "(") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\n  }\n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "undefined1 (*pauVar3) [16];" (subscript_expression "undefined1 (*pauVar3) [16]" (call_expression "undefined1 (*pauVar3)" (identifier "undefined1") (argument_list "(*pauVar3)" (( "(") (pointer_expression "*pauVar3" (* "*") (identifier "pauVar3")) () ")"))) ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if ((param_2 == 0) || (param_3 == 0)) {\n    return 0;\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    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0))" (( "(") (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 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 + 0x18) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);\n    lVar1 = *(long *)(param_1 + 0x18);\n    pauVar3[1] = (undefined1  [16])0x0;\n    *pauVar3 = (undefined1  [16])0x0;\n    puVar2 = *(undefined8 **)(lVar1 + 8);\n    *(long *)(*pauVar3 + 8) = param_2;\n    *(long *)pauVar3[1] = param_3;\n    *(undefined4 *)(pauVar3[1] + 8) = param_4;\n    *(undefined8 *)pauVar3[2] = param_5;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    return 1;\n  }" ({ "{") (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x28);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x28)" (identifier "pauVar3") (= "=") (cast_expression "(undefined1 (*) [16])xmalloc(0x28)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (call_expression "xmalloc(0x28)" (identifier "xmalloc") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x18)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "pauVar3[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[1] = (undefined1  [16])0x0" (subscript_expression "pauVar3[1]" (identifier "pauVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*pauVar3 = (undefined1  [16])0x0;" (assignment_expression "*pauVar3 = (undefined1  [16])0x0" (pointer_expression "*pauVar3" (* "*") (identifier "pauVar3")) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar2 = *(undefined8 **)(lVar1 + 8);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 8)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined8 **)(lVar1 + 8)" (* "*") (cast_expression "(undefined8 **)(lVar1 + 8)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(long *)(*pauVar3 + 8) = param_2;" (assignment_expression "*(long *)(*pauVar3 + 8) = param_2" (pointer_expression "*(long *)(*pauVar3 + 8)" (* "*") (cast_expression "(long *)(*pauVar3 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*pauVar3 + 8)" (( "(") (binary_expression "*pauVar3 + 8" (pointer_expression "*pauVar3" (* "*") (identifier "pauVar3")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(long *)pauVar3[1] = param_3;" (assignment_expression "*(long *)pauVar3[1] = param_3" (pointer_expression "*(long *)pauVar3[1]" (* "*") (cast_expression "(long *)pauVar3[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "pauVar3[1]" (identifier "pauVar3") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(pauVar3[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar3[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar3[1] + 8)" (* "*") (cast_expression "(undefined4 *)(pauVar3[1] + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pauVar3[1] + 8)" (( "(") (binary_expression "pauVar3[1] + 8" (subscript_expression "pauVar3[1]" (identifier "pauVar3") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined8 *)pauVar3[2] = param_5;" (assignment_expression "*(undefined8 *)pauVar3[2] = param_5" (pointer_expression "*(undefined8 *)pauVar3[2]" (* "*") (cast_expression "(undefined8 *)pauVar3[2]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "pauVar3[2]" (identifier "pauVar3") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "param_5")) (; ";")) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" (if "if") (parenthesized_expression "(puVar2 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined8 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar5 = (undefined8 *)(lVar1 + 8);\n    }" ({ "{") (expression_statement "puVar5 = (undefined8 *)(lVar1 + 8);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(lVar1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" (else "else") (compound_statement "{\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }" ({ "{") (do_statement "do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      }" ({ "{") (expression_statement "puVar5 = puVar2;" (assignment_expression "puVar5 = puVar2" (identifier "puVar5") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = (undefined8 *)*puVar5;" (assignment_expression "puVar2 = (undefined8 *)*puVar5" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)*puVar5" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined8 *)*puVar5 != (undefined8 *)0x0)" (( "(") (binary_expression "(undefined8 *)*puVar5 != (undefined8 *)0x0" (cast_expression "(undefined8 *)*puVar5" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (expression_statement "*puVar5 = pauVar3;" (assignment_expression "*puVar5 = pauVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "pauVar3")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_parameter: no current function",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"debug_record_parameter: no current function",5)" (identifier "dcgettext") (argument_list "(0,"debug_record_parameter: no current function",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_record_parameter: no current function"" (" """) (string_content "debug_record_parameter: no current function") (" """)) (, ",") (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") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1
function_1
          (void *handle,char *var_2,type_2 var_3,type_3 kind,type_4 val)

{
  long var_5;
  type_5 *var_6;
  var_1 (*pauVar3) [16];
  type_5 uVar4;
  type_5 *puVar5;
  type_6 *info;
  
  if ((var_2 == (char *)0x0) || (var_3 == (type_2)0x0)) {
    return 0;
  }
  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x18) != 0)) {
    pauVar3 = (var_1 (*) [16])var_4(0x28);
    var_5 = *(long *)((long)handle + 0x18);
    pauVar3[1] = (var_1  [16])0x0;
    *pauVar3 = (var_1  [16])0x0;
    var_6 = *(type_5 **)(var_5 + 8);
    *(char **)(*pauVar3 + 8) = var_2;
    *(type_2 *)pauVar3[1] = var_3;
    *(type_3 *)(pauVar3[1] + 8) = kind;
    *(type_4 *)pauVar3[2] = val;
    if (var_6 == (type_5 *)0x0) {
      puVar5 = (type_5 *)(var_5 + 8);
    }
    else {
      do {
        puVar5 = var_6;
        var_6 = (type_5 *)*puVar5;
      } while ((type_5 *)*puVar5 != (type_5 *)0x0);
    }
    *puVar5 = pauVar3;
    return 1;
  }
  uVar4 = var_7(0,"debug_record_parameter: no current function",5);
  var_8(stderr,"%s\n",uVar4);
  return 0;
}


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

undefined8
MASKED(long param_1,long param_2,long param_3,undefined4 param_4,undefined8 param_5)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  
  if ((param_2 == 0) || (param_3 == 0)) {
    return 0;
  }
  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x18) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x28);
    lVar1 = *(long *)(param_1 + 0x18);
    pauVar3[1] = (undefined1  [16])0x0;
    *pauVar3 = (undefined1  [16])0x0;
    puVar2 = *(undefined8 **)(lVar1 + 8);
    *(long *)(*pauVar3 + 8) = param_2;
    *(long *)pauVar3[1] = param_3;
    *(undefined4 *)(pauVar3[1] + 8) = param_4;
    *(undefined8 *)pauVar3[2] = param_5;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 8);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_record_parameter: no current function",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}

