
bfd_boolean debug_start_block(void *handle,bfd_vma addr)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  debug_handle *info;
  
  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);
    lVar1 = *(long *)((long)handle + 0x20);
    *pauVar3 = (undefined1  [16])0x0;
    pauVar3[1] = (undefined1  [16])0x0;
    pauVar3[2] = (undefined1  [16])0x0;
    *(long *)(*pauVar3 + 8) = lVar1;
    puVar2 = *(undefined8 **)(lVar1 + 0x10);
    *(bfd_vma *)(pauVar3[1] + 8) = addr;
    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 0x10);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_start_block: no current block",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}



undefined8 FUN_0012cfe0(long param_1,undefined8 param_2)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  
  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);
    lVar1 = *(long *)(param_1 + 0x20);
    *pauVar3 = (undefined1  [16])0x0;
    pauVar3[1] = (undefined1  [16])0x0;
    pauVar3[2] = (undefined1  [16])0x0;
    *(long *)(*pauVar3 + 8) = lVar1;
    puVar2 = *(undefined8 **)(lVar1 + 0x10);
    *(undefined8 *)(pauVar3[1] + 8) = param_2;
    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 0x10);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_start_block: no current block",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
CMP qword ptr [RDI + 0x8],0x0
JZ 0x0012d060
CMP qword ptr [RDI + 0x20],0x0
MOV RBX,RDI
JZ 0x0012d060
MOV EDI,0x30
MOV RBP,RSI
CALL 0x00107350
MOV RDX,qword ptr [RBX + 0x20]
PXOR XMM0,XMM0
MOVUPS xmmword ptr [RAX],XMM0
MOVUPS xmmword ptr [RAX + 0x10],XMM0
MOVUPS xmmword ptr [RAX + 0x20],XMM0
MOV qword ptr [RAX + 0x8],RDX
MOV RCX,qword ptr [RDX + 0x10]
MOV qword ptr [RAX + 0x18],RBP
MOV qword ptr [RAX + 0x20],-0x1
TEST RCX,RCX
JNZ 0x0012d03b
JMP 0x0012d098
MOV RCX,RDX
MOV RDX,qword ptr [RCX]
TEST RDX,RDX
JNZ 0x0012d038
MOV qword ptr [RCX],RAX
MOV qword ptr [RBX + 0x20],RAX
ADD RSP,0x8
MOV EAX,0x1
POP RBX
POP RBP
RET
MOV EDX,0x5
LEA RSI,[0x1463d0]
XOR EDI,EDI
CALL 0x00107230
MOV RDI,qword ptr [0x00157220]
LEA RSI,[0x1434a5]
MOV RDX,RAX
XOR EAX,EAX
CALL 0x00107850
ADD RSP,0x8
XOR EAX,EAX
POP RBX
POP RBP
RET
LEA RCX,[RDX + 0x10]
JMP 0x0012d043
(translation_unit "undefined8 FUN_0012cfe0(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0012cfe0(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0012cfe0(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",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 ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0))" ( (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 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 + 0x20) != 0)" ( (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x30);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x30)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x30)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + 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 "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[2] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[2] = (undefined1  [16])0x0" (subscript_expression "pauVar3[2]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(long *)(*pauVar3 + 8) = lVar1;" (assignment_expression "*(long *)(*pauVar3 + 8) = lVar1" (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 "puVar2 = *(undefined8 **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 0x10)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 0x10)" * (cast_expression "(undefined8 **)(lVar1 + 0x10)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(pauVar3[1] + 8) = param_2;" (assignment_expression "*(undefined8 *)(pauVar3[1] + 8) = param_2" (pointer_expression "*(undefined8 *)(pauVar3[1] + 8)" * (cast_expression "(undefined8 *)(pauVar3[1] + 8)" ( (type_descriptor "undefined8 *" 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] = 0xffffffffffffffff;" (assignment_expression "*(undefined8 *)pauVar3[2] = 0xffffffffffffffff" (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 ]))) = number_literal) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\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 + 0x10);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 0x10);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 0x10)" identifier = (cast_expression "(undefined8 *)(lVar1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" 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) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x20)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x20)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_start_block: no current block",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_start_block: no current block",5)" identifier = (call_expression "dcgettext(0,"debug_start_block: no current block",5)" identifier (argument_list "(0,"debug_start_block: no current block",5)" ( number_literal , (string_literal ""debug_start_block: no current block"" " 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 debug_start_block(void *handle,bfd_vma addr)\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 ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)((long)handle + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(bfd_vma *)(pauVar3[1] + 8) = addr;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "bfd_boolean debug_start_block(void *handle,bfd_vma addr)\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 ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)((long)handle + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(bfd_vma *)(pauVar3[1] + 8) = addr;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "debug_start_block(void *handle,bfd_vma addr)" identifier (parameter_list "(void *handle,bfd_vma addr)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "bfd_vma addr" 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 ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)((long)handle + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(bfd_vma *)(pauVar3[1] + 8) = addr;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",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 ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)((long)handle + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(bfd_vma *)(pauVar3[1] + 8) = addr;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0))" ( (binary_expression "(*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 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 + 0x20) != 0)" ( (binary_expression "*(long *)((long)handle + 0x20) != 0" (pointer_expression "*(long *)((long)handle + 0x20)" * (cast_expression "(long *)((long)handle + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x20)" ( (binary_expression "(long)handle + 0x20" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)((long)handle + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(bfd_vma *)(pauVar3[1] + 8) = addr;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x30);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x30)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x30)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)((long)handle + 0x20);" (assignment_expression "lVar1 = *(long *)((long)handle + 0x20)" identifier = (pointer_expression "*(long *)((long)handle + 0x20)" * (cast_expression "(long *)((long)handle + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)handle + 0x20)" ( (binary_expression "(long)handle + 0x20" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + 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 "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[2] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[2] = (undefined1  [16])0x0" (subscript_expression "pauVar3[2]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(long *)(*pauVar3 + 8) = lVar1;" (assignment_expression "*(long *)(*pauVar3 + 8) = lVar1" (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 "puVar2 = *(undefined8 **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 0x10)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 0x10)" * (cast_expression "(undefined8 **)(lVar1 + 0x10)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(bfd_vma *)(pauVar3[1] + 8) = addr;" (assignment_expression "*(bfd_vma *)(pauVar3[1] + 8) = addr" (pointer_expression "*(bfd_vma *)(pauVar3[1] + 8)" * (cast_expression "(bfd_vma *)(pauVar3[1] + 8)" ( (type_descriptor "bfd_vma *" 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] = 0xffffffffffffffff;" (assignment_expression "*(undefined8 *)pauVar3[2] = 0xffffffffffffffff" (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 ]))) = number_literal) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\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 + 0x10);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 0x10);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 0x10)" identifier = (cast_expression "(undefined8 *)(lVar1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" 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) ;) (expression_statement "*(undefined1 (**) [16])((long)handle + 0x20) = pauVar3;" (assignment_expression "*(undefined1 (**) [16])((long)handle + 0x20) = pauVar3" (pointer_expression "*(undefined1 (**) [16])((long)handle + 0x20)" * (cast_expression "(undefined1 (**) [16])((long)handle + 0x20)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "((long)handle + 0x20)" ( (binary_expression "(long)handle + 0x20" (cast_expression "(long)handle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_start_block: no current block",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_start_block: no current block",5)" identifier = (call_expression "dcgettext(0,"debug_start_block: no current block",5)" identifier (argument_list "(0,"debug_start_block: no current block",5)" ( number_literal , (string_literal ""debug_start_block: no current block"" " 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 FUN_0012cfe0(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0012cfe0(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0012cfe0(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",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 ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0))" ( (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 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 + 0x20) != 0)" ( (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" { (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x30);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x30)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc(0x30)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + 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 "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[2] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[2] = (undefined1  [16])0x0" (subscript_expression "pauVar3[2]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(long *)(*pauVar3 + 8) = lVar1;" (assignment_expression "*(long *)(*pauVar3 + 8) = lVar1" (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 "puVar2 = *(undefined8 **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 0x10)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 0x10)" * (cast_expression "(undefined8 **)(lVar1 + 0x10)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(pauVar3[1] + 8) = param_2;" (assignment_expression "*(undefined8 *)(pauVar3[1] + 8) = param_2" (pointer_expression "*(undefined8 *)(pauVar3[1] + 8)" * (cast_expression "(undefined8 *)(pauVar3[1] + 8)" ( (type_descriptor "undefined8 *" 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] = 0xffffffffffffffff;" (assignment_expression "*(undefined8 *)pauVar3[2] = 0xffffffffffffffff" (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 ]))) = number_literal) ;) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\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 + 0x10);\n    }" { (expression_statement "puVar5 = (undefined8 *)(lVar1 + 0x10);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 0x10)" identifier = (cast_expression "(undefined8 *)(lVar1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" 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) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x20)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x20)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar4 = dcgettext(0,"debug_start_block: no current block",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_start_block: no current block",5)" identifier = (call_expression "dcgettext(0,"debug_start_block: no current block",5)" identifier (argument_list "(0,"debug_start_block: no current block",5)" ( number_literal , (string_literal ""debug_start_block: no current block"" " 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 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 (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 (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) 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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (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 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 ]))) = LIT) ;) (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator * (abstract_pointer_declarator *)) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 FUN_0012cfe0(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",5);\n  fprintf(stderr,"%s\n",uVar4);\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0012cfe0(long param_1,undefined8 param_2)" (identifier "FUN_0012cfe0") (parameter_list "(long param_1,undefined8 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  undefined1 (*pauVar3) [16];\n  undefined8 uVar4;\n  undefined8 *puVar5;\n  \n  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }\n  uVar4 = dcgettext(0,"debug_start_block: no current block",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 ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0))" (( "(") (binary_expression "(*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 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 + 0x20) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);\n    lVar1 = *(long *)(param_1 + 0x20);\n    *pauVar3 = (undefined1  [16])0x0;\n    pauVar3[1] = (undefined1  [16])0x0;\n    pauVar3[2] = (undefined1  [16])0x0;\n    *(long *)(*pauVar3 + 8) = lVar1;\n    puVar2 = *(undefined8 **)(lVar1 + 0x10);\n    *(undefined8 *)(pauVar3[1] + 8) = param_2;\n    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;\n    if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\n    }\n    else {\n      do {\n        puVar5 = puVar2;\n        puVar2 = (undefined8 *)*puVar5;\n      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);\n    }\n    *puVar5 = pauVar3;\n    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;\n    return 1;\n  }" ({ "{") (expression_statement "pauVar3 = (undefined1 (*) [16])xmalloc(0x30);" (assignment_expression "pauVar3 = (undefined1 (*) [16])xmalloc(0x30)" (identifier "pauVar3") (= "=") (cast_expression "(undefined1 (*) [16])xmalloc(0x30)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (call_expression "xmalloc(0x30)" (identifier "xmalloc") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x20)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (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 "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[2] = (undefined1  [16])0x0;" (assignment_expression "pauVar3[2] = (undefined1  [16])0x0" (subscript_expression "pauVar3[2]" (identifier "pauVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*(long *)(*pauVar3 + 8) = lVar1;" (assignment_expression "*(long *)(*pauVar3 + 8) = lVar1" (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 "lVar1")) (; ";")) (expression_statement "puVar2 = *(undefined8 **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(undefined8 **)(lVar1 + 0x10)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined8 **)(lVar1 + 0x10)" (* "*") (cast_expression "(undefined8 **)(lVar1 + 0x10)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(pauVar3[1] + 8) = param_2;" (assignment_expression "*(undefined8 *)(pauVar3[1] + 8) = param_2" (pointer_expression "*(undefined8 *)(pauVar3[1] + 8)" (* "*") (cast_expression "(undefined8 *)(pauVar3[1] + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (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_2")) (; ";")) (expression_statement "*(undefined8 *)pauVar3[2] = 0xffffffffffffffff;" (assignment_expression "*(undefined8 *)pauVar3[2] = 0xffffffffffffffff" (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") (] "]")))) (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (if_statement "if (puVar2 == (undefined8 *)0x0) {\n      puVar5 = (undefined8 *)(lVar1 + 0x10);\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 + 0x10);\n    }" ({ "{") (expression_statement "puVar5 = (undefined8 *)(lVar1 + 0x10);" (assignment_expression "puVar5 = (undefined8 *)(lVar1 + 0x10)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(lVar1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}")) (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")) (; ";")) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x20) = pauVar3" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x20)" (* "*") (cast_expression "(undefined1 (**) [16])(param_1 + 0x20)" (( "(") (type_descriptor "undefined1 (**) [16]" (type_identifier "undefined1") (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" (( "(") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "pauVar3")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar4 = dcgettext(0,"debug_start_block: no current block",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_start_block: no current block",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"debug_start_block: no current block",5)" (identifier "dcgettext") (argument_list "(0,"debug_start_block: no current block",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_start_block: no current block"" (" """) (string_content "debug_start_block: no current block") (" """)) (, ",") (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,type_2 addr)

{
  long var_3;
  type_3 *var_4;
  var_1 (*pauVar3) [16];
  type_3 uVar4;
  type_3 *puVar5;
  type_4 *info;
  
  if ((*(long *)((long)handle + 8) != 0) && (*(long *)((long)handle + 0x20) != 0)) {
    pauVar3 = (var_1 (*) [16])var_2(0x30);
    var_3 = *(long *)((long)handle + 0x20);
    *pauVar3 = (var_1  [16])0x0;
    pauVar3[1] = (var_1  [16])0x0;
    pauVar3[2] = (var_1  [16])0x0;
    *(long *)(*pauVar3 + 8) = var_3;
    var_4 = *(type_3 **)(var_3 + 0x10);
    *(type_2 *)(pauVar3[1] + 8) = addr;
    *(type_3 *)pauVar3[2] = 0xffffffffffffffff;
    if (var_4 == (type_3 *)0x0) {
      puVar5 = (type_3 *)(var_3 + 0x10);
    }
    else {
      do {
        puVar5 = var_4;
        var_4 = (type_3 *)*puVar5;
      } while ((type_3 *)*puVar5 != (type_3 *)0x0);
    }
    *puVar5 = pauVar3;
    *(var_1 (**) [16])((long)handle + 0x20) = pauVar3;
    return 1;
  }
  uVar4 = var_5(0,"debug_start_block: no current block",5);
  var_6(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: (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: (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: (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: (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: (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: (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: (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: (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: (number_literal))) (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_array_declarator declarator: (abstract_parenthesized_declarator (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) size: (number_literal))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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,undefined8 param_2)

{
  long lVar1;
  undefined8 *puVar2;
  undefined1 (*pauVar3) [16];
  undefined8 uVar4;
  undefined8 *puVar5;
  
  if ((*(long *)(param_1 + 8) != 0) && (*(long *)(param_1 + 0x20) != 0)) {
    pauVar3 = (undefined1 (*) [16])xmalloc(0x30);
    lVar1 = *(long *)(param_1 + 0x20);
    *pauVar3 = (undefined1  [16])0x0;
    pauVar3[1] = (undefined1  [16])0x0;
    pauVar3[2] = (undefined1  [16])0x0;
    *(long *)(*pauVar3 + 8) = lVar1;
    puVar2 = *(undefined8 **)(lVar1 + 0x10);
    *(undefined8 *)(pauVar3[1] + 8) = param_2;
    *(undefined8 *)pauVar3[2] = 0xffffffffffffffff;
    if (puVar2 == (undefined8 *)0x0) {
      puVar5 = (undefined8 *)(lVar1 + 0x10);
    }
    else {
      do {
        puVar5 = puVar2;
        puVar2 = (undefined8 *)*puVar5;
      } while ((undefined8 *)*puVar5 != (undefined8 *)0x0);
    }
    *puVar5 = pauVar3;
    *(undefined1 (**) [16])(param_1 + 0x20) = pauVar3;
    return 1;
  }
  uVar4 = dcgettext(0,"debug_start_block: no current block",5);
  fprintf(stderr,"%s\n",uVar4);
  return 0;
}

