
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bfd_boolean debug_record_line(void *handle,ulong lineno,bfd_vma addr)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  bfd_boolean bVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  byte bVar8;
  
  bVar8 = 0;
  if (*(int *)((int)handle + 4) == 0) {
    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);
    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);
    bVar4 = 0;
  }
  else {
    iVar1 = *(int *)((int)handle + 0x14);
    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {
      iVar5 = 0;
      do {
        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {
          iVar1 = iVar1 + iVar5 * 4;
          *(ulong *)(iVar1 + 8) = lineno;
          *(bfd_vma *)(iVar1 + 0x30) = addr;
          return 1;
        }
        iVar5 = iVar5 + 1;
      } while (iVar5 != 10);
    }
    puVar2 = (undefined4 *)xmalloc(0x58);
    *puVar2 = 0;
    puVar2[0x15] = 0;
    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);
    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;
        uVar7 != 0; uVar7 = uVar7 - 1) {
      *puVar3 = 0;
      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;
    }
    puVar2[1] = *(undefined4 *)((int)handle + 8);
    puVar2[2] = lineno;
    puVar2[0xc] = addr;
    puVar3 = puVar2 + 3;
    do {
      *puVar3 = 0xffffffff;
      puVar3 = puVar3 + 1;
    } while (puVar3 != puVar2 + 0xc);
    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {
      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;
    }
    else {
      **(undefined4 **)((int)handle + 0x14) = puVar2;
    }
    *(undefined4 **)((int)handle + 0x14) = puVar2;
    bVar4 = 1;
  }
  return bVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  int iVar5;
  uint uVar6;
  byte bVar7;
  
  bVar7 = 0;
  if (*(int *)(param_1 + 4) == 0) {
    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);
    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);
    uVar4 = 0;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x14);
    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {
      iVar5 = 0;
      do {
        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {
          iVar1 = iVar1 + iVar5 * 4;
          *(undefined4 *)(iVar1 + 8) = param_2;
          *(undefined4 *)(iVar1 + 0x30) = param_3;
          return 1;
        }
        iVar5 = iVar5 + 1;
      } while (iVar5 != 10);
    }
    puVar2 = (undefined4 *)xmalloc(0x58);
    *puVar2 = 0;
    puVar2[0x15] = 0;
    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);
    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;
        uVar6 != 0; uVar6 = uVar6 - 1) {
      *puVar3 = 0;
      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;
    }
    puVar2[1] = *(undefined4 *)(param_1 + 8);
    puVar2[2] = param_2;
    puVar2[0xc] = param_3;
    puVar3 = puVar2 + 3;
    do {
      *puVar3 = 0xffffffff;
      puVar3 = puVar3 + 1;
    } while (puVar3 != puVar2 + 0xc);
    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {
      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;
    }
    else {
      **(undefined4 **)(param_1 + 0x14) = puVar2;
    }
    *(undefined4 **)(param_1 + 0x14) = puVar2;
    uVar4 = 1;
  }
  return uVar4;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x000165d0
ADD EBX,0x20714
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x0001e9c8
MOV EDX,dword ptr [ESI + 0x14]
TEST EDX,EDX
JZ 0x0001e910
MOV EAX,dword ptr [ESI + 0x8]
CMP dword ptr [EDX + 0x4],EAX
JZ 0x0001e990
SUB ESP,0xc
PUSH 0x58
CALL 0x000132e0
LEA EDI,[EAX + 0x4]
MOV ECX,EAX
MOV dword ptr [EAX],0x0
MOV EDX,EAX
AND EDI,0xfffffffc
MOV dword ptr [EAX + 0x54],0x0
XOR EAX,EAX
SUB ECX,EDI
ADD ECX,0x58
SHR ECX,0x2
STOSD.REP ES:EDI
LEA ECX,[EDX + 0x30]
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDX + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [EDX + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV dword ptr [EDX + 0x30],EAX
LEA EAX,[EDX + 0xc]
LEA ESI,[ESI]
MOV dword ptr [EAX],0xffffffff
ADD EAX,0x4
CMP EAX,ECX
JNZ 0x0001e960
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x0001e988
MOV dword ptr [EAX],EDX
MOV dword ptr [ESI + 0x14],EDX
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EAX + 0x8],EDX
JMP 0x0001e976
XOR EAX,EAX
JMP 0x0001e9a4
ADD EAX,0x1
CMP EAX,0xa
JZ 0x0001e910
CMP dword ptr [EDX + EAX*0x4 + 0x8],-0x1
JNZ 0x0001e998
MOV EBX,dword ptr [ESP + 0x14]
MOV EDI,dword ptr [ESP + 0x18]
LEA EAX,[EDX + EAX*0x4]
MOV dword ptr [EAX + 0x8],EBX
MOV dword ptr [EAX + 0x30],EDI
MOV EAX,0x1
JMP 0x0001e97e
SUB ESP,0x4
LEA EAX,[EBX + 0xffff3ae8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013200
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xffff532f]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffa8]
PUSH dword ptr [EAX]
CALL 0x00013520
ADD ESP,0x10
XOR EAX,EAX
JMP 0x0001e97e
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}\n\n" comment (function_definition "undefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" ( (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = dcgettext(0,"debug_record_line: no current unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_line: no current unit",5)" identifier = (call_expression "dcgettext(0,"debug_record_line: no current unit",5)" identifier (argument_list "(0,"debug_record_line: no current unit",5)" ( number_literal , (string_literal ""debug_record_line: no current unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0003efa8" * (cast_expression "(FILE **)PTR_stderr_0003efa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" ( (binary_expression "*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);" do (compound_statement "{\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      }" { (if_statement "if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" if (parenthesized_expression "(*(int *)(iVar1 + 8 + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(iVar1 + 8 + iVar5 * 4) == -1" (pointer_expression "*(int *)(iVar1 + 8 + iVar5 * 4)" * (cast_expression "(int *)(iVar1 + 8 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8 + iVar5 * 4)" ( (binary_expression "iVar1 + 8 + iVar5 * 4" (binary_expression "iVar1 + 8" identifier + number_literal) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" { (expression_statement "iVar1 = iVar1 + iVar5 * 4;" (assignment_expression "iVar1 = iVar1 + iVar5 * 4" identifier = (binary_expression "iVar1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal))) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 10)" ( (binary_expression "iVar5 != 10" identifier != number_literal) )) ;) })) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x58);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x58)" identifier = (cast_expression "(undefined4 *)xmalloc(0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x58)" identifier (argument_list "(0x58)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[0x15] = 0;" (assignment_expression "puVar2[0x15] = 0" (subscript_expression "puVar2[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" for ( (assignment_expression "uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" ( (binary_expression "0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar7 * -2 + 1" (binary_expression "puVar3 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar2[1] = *(undefined4 *)(param_1 + 8);" (assignment_expression "puVar2[1] = *(undefined4 *)(param_1 + 8)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xc] = param_3;" (assignment_expression "puVar2[0xc] = param_3" (subscript_expression "puVar2[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar2 + 3;" (assignment_expression "puVar3 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) (do_statement "do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);" do (compound_statement "{\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "*puVar3 = 0xffffffff;" (assignment_expression "*puVar3 = 0xffffffff" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar2 + 0xc)" ( (binary_expression "puVar3 != puVar2 + 0xc" identifier != (binary_expression "puVar2 + 0xc" identifier + number_literal)) )) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 4) + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" ( (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" else (compound_statement "{\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" { (expression_statement "**(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "**(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "**(undefined4 **)(param_1 + 0x14)" * (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) = identifier) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean debug_record_line(void *handle,ulong lineno,bfd_vma addr)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  bfd_boolean bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  byte bVar8;\n  \n  bVar8 = 0;\n  if (*(int *)((int)handle + 4) == 0) {\n    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);\n    bVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }\n  return bVar4;\n}\n\n" comment (function_definition "bfd_boolean debug_record_line(void *handle,ulong lineno,bfd_vma addr)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  bfd_boolean bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  byte bVar8;\n  \n  bVar8 = 0;\n  if (*(int *)((int)handle + 4) == 0) {\n    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);\n    bVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }\n  return bVar4;\n}" type_identifier (function_declarator "debug_record_line(void *handle,ulong lineno,bfd_vma addr)" identifier (parameter_list "(void *handle,ulong lineno,bfd_vma addr)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "ulong lineno" type_identifier identifier) , (parameter_declaration "bfd_vma addr" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  bfd_boolean bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  byte bVar8;\n  \n  bVar8 = 0;\n  if (*(int *)((int)handle + 4) == 0) {\n    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);\n    bVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }\n  return bVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)((int)handle + 4) == 0) {\n    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);\n    bVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }" if (parenthesized_expression "(*(int *)((int)handle + 4) == 0)" ( (binary_expression "*(int *)((int)handle + 4) == 0" (pointer_expression "*(int *)((int)handle + 4)" * (cast_expression "(int *)((int)handle + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar6 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);\n    bVar4 = 0;\n  }" { (expression_statement "uVar6 = dcgettext(0,"debug_record_line: no current unit",5);" (assignment_expression "uVar6 = dcgettext(0,"debug_record_line: no current unit",5)" identifier = (call_expression "dcgettext(0,"debug_record_line: no current unit",5)" identifier (argument_list "(0,"debug_record_line: no current unit",5)" ( number_literal , (string_literal ""debug_record_line: no current unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6)" identifier (argument_list "(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar6)" ( (pointer_expression "*(FILE **)PTR_stderr_0003efa8" * (cast_expression "(FILE **)PTR_stderr_0003efa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }" else (compound_statement "{\n    iVar1 = *(int *)((int)handle + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)((int)handle + 8);\n    puVar2[2] = lineno;\n    puVar2[0xc] = addr;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }\n    *(undefined4 **)((int)handle + 0x14) = puVar2;\n    bVar4 = 1;\n  }" { (expression_statement "iVar1 = *(int *)((int)handle + 0x14);" (assignment_expression "iVar1 = *(int *)((int)handle + 0x14)" identifier = (pointer_expression "*(int *)((int)handle + 0x14)" * (cast_expression "(int *)((int)handle + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8)))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) == *(int *)((int)handle + 8))" ( (binary_expression "*(int *)(iVar1 + 4) == *(int *)((int)handle + 8)" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == (pointer_expression "*(int *)((int)handle + 8)" * (cast_expression "(int *)((int)handle + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 8)" ( (binary_expression "(int)handle + 8" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ))) )) (compound_statement "{\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);" do (compound_statement "{\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      }" { (if_statement "if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }" if (parenthesized_expression "(*(int *)(iVar1 + 8 + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(iVar1 + 8 + iVar5 * 4) == -1" (pointer_expression "*(int *)(iVar1 + 8 + iVar5 * 4)" * (cast_expression "(int *)(iVar1 + 8 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8 + iVar5 * 4)" ( (binary_expression "iVar1 + 8 + iVar5 * 4" (binary_expression "iVar1 + 8" identifier + number_literal) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          iVar1 = iVar1 + iVar5 * 4;\n          *(ulong *)(iVar1 + 8) = lineno;\n          *(bfd_vma *)(iVar1 + 0x30) = addr;\n          return 1;\n        }" { (expression_statement "iVar1 = iVar1 + iVar5 * 4;" (assignment_expression "iVar1 = iVar1 + iVar5 * 4" identifier = (binary_expression "iVar1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal))) ;) (expression_statement "*(ulong *)(iVar1 + 8) = lineno;" (assignment_expression "*(ulong *)(iVar1 + 8) = lineno" (pointer_expression "*(ulong *)(iVar1 + 8)" * (cast_expression "(ulong *)(iVar1 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(bfd_vma *)(iVar1 + 0x30) = addr;" (assignment_expression "*(bfd_vma *)(iVar1 + 0x30) = addr" (pointer_expression "*(bfd_vma *)(iVar1 + 0x30)" * (cast_expression "(bfd_vma *)(iVar1 + 0x30)" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 10)" ( (binary_expression "iVar5 != 10" identifier != number_literal) )) ;) })) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x58);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x58)" identifier = (cast_expression "(undefined4 *)xmalloc(0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x58)" identifier (argument_list "(0x58)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[0x15] = 0;" (assignment_expression "puVar2[0x15] = 0" (subscript_expression "puVar2[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }" for ( (assignment_expression "uVar7 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" ( (binary_expression "0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar8 * -2 + 1;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar8 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "puVar3 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar2[1] = *(undefined4 *)((int)handle + 8);" (assignment_expression "puVar2[1] = *(undefined4 *)((int)handle + 8)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)((int)handle + 8)" * (cast_expression "(undefined4 *)((int)handle + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 8)" ( (binary_expression "(int)handle + 8" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar2[2] = lineno;" (assignment_expression "puVar2[2] = lineno" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xc] = addr;" (assignment_expression "puVar2[0xc] = addr" (subscript_expression "puVar2[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar2 + 3;" (assignment_expression "puVar3 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) (do_statement "do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);" do (compound_statement "{\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "*puVar3 = 0xffffffff;" (assignment_expression "*puVar3 = 0xffffffff" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar2 + 0xc)" ( (binary_expression "puVar3 != puVar2 + 0xc" identifier != (binary_expression "puVar2 + 0xc" identifier + number_literal)) )) ;) (if_statement "if (*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }" if (parenthesized_expression "(*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)((int)handle + 0x14) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)((int)handle + 0x14)" * (cast_expression "(undefined4 **)((int)handle + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;\n    }" { (expression_statement "*(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2;" (assignment_expression "*(undefined4 **)(*(int *)((int)handle + 4) + 8) = puVar2" (pointer_expression "*(undefined4 **)(*(int *)((int)handle + 4) + 8)" * (cast_expression "(undefined4 **)(*(int *)((int)handle + 4) + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)((int)handle + 4) + 8)" ( (binary_expression "*(int *)((int)handle + 4) + 8" (pointer_expression "*(int *)((int)handle + 4)" * (cast_expression "(int *)((int)handle + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }" else (compound_statement "{\n      **(undefined4 **)((int)handle + 0x14) = puVar2;\n    }" { (expression_statement "**(undefined4 **)((int)handle + 0x14) = puVar2;" (assignment_expression "**(undefined4 **)((int)handle + 0x14) = puVar2" (pointer_expression "**(undefined4 **)((int)handle + 0x14)" * (pointer_expression "*(undefined4 **)((int)handle + 0x14)" * (cast_expression "(undefined4 **)((int)handle + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = identifier) ;) }))) (expression_statement "*(undefined4 **)((int)handle + 0x14) = puVar2;" (assignment_expression "*(undefined4 **)((int)handle + 0x14) = puVar2" (pointer_expression "*(undefined4 **)((int)handle + 0x14)" * (cast_expression "(undefined4 **)((int)handle + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 0x14)" ( (binary_expression "(int)handle + 0x14" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "bVar4 = 1;" (assignment_expression "bVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return bVar4;" return identifier ;) })))
(translation_unit "undefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" ( (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = dcgettext(0,"debug_record_line: no current unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_line: no current unit",5)" identifier = (call_expression "dcgettext(0,"debug_record_line: no current unit",5)" identifier (argument_list "(0,"debug_record_line: no current unit",5)" ( number_literal , (string_literal ""debug_record_line: no current unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0003efa8" * (cast_expression "(FILE **)PTR_stderr_0003efa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)))" ( (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" ( (binary_expression "*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);" do (compound_statement "{\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      }" { (if_statement "if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" if (parenthesized_expression "(*(int *)(iVar1 + 8 + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(iVar1 + 8 + iVar5 * 4) == -1" (pointer_expression "*(int *)(iVar1 + 8 + iVar5 * 4)" * (cast_expression "(int *)(iVar1 + 8 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8 + iVar5 * 4)" ( (binary_expression "iVar1 + 8 + iVar5 * 4" (binary_expression "iVar1 + 8" identifier + number_literal) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" { (expression_statement "iVar1 = iVar1 + iVar5 * 4;" (assignment_expression "iVar1 = iVar1 + iVar5 * 4" identifier = (binary_expression "iVar1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal))) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 10)" ( (binary_expression "iVar5 != 10" identifier != number_literal) )) ;) })) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x58);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x58)" identifier = (cast_expression "(undefined4 *)xmalloc(0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x58)" identifier (argument_list "(0x58)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[0x15] = 0;" (assignment_expression "puVar2[0x15] = 0" (subscript_expression "puVar2[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" for ( (assignment_expression "uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" ( (binary_expression "0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar7 * -2 + 1" (binary_expression "puVar3 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar2[1] = *(undefined4 *)(param_1 + 8);" (assignment_expression "puVar2[1] = *(undefined4 *)(param_1 + 8)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xc] = param_3;" (assignment_expression "puVar2[0xc] = param_3" (subscript_expression "puVar2[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar2 + 3;" (assignment_expression "puVar3 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) (do_statement "do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);" do (compound_statement "{\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "*puVar3 = 0xffffffff;" (assignment_expression "*puVar3 = 0xffffffff" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar2 + 0xc)" ( (binary_expression "puVar3 != puVar2 + 0xc" identifier != (binary_expression "puVar2 + 0xc" identifier + number_literal)) )) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 4) + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" ( (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" else (compound_statement "{\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" { (expression_statement "**(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "**(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "**(undefined4 **)(param_1 + 0x14)" * (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) = identifier) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001e8e0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0001e8e0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  byte bVar7;\n  \n  bVar7 = 0;\n  if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }\n  return uVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" (identifier "bVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_1 + 4) == 0) {\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);\n    uVar4 = 0;\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"debug_record_line: no current unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_record_line: no current unit",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"debug_record_line: no current unit",5)" (identifier "dcgettext") (argument_list "(0,"debug_record_line: no current unit",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_record_line: no current unit"" (" """) (string_content "debug_record_line: no current unit") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0003efa8" (* "*") (cast_expression "(FILE **)PTR_stderr_0003efa8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0003efa8"))) (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" (else "else") (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }\n    puVar2 = (undefined4 *)xmalloc(0x58);\n    *puVar2 = 0;\n    puVar2[0x15] = 0;\n    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }\n    puVar2[1] = *(undefined4 *)(param_1 + 8);\n    puVar2[2] = param_2;\n    puVar2[0xc] = param_3;\n    puVar3 = puVar2 + 3;\n    do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);\n    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x14) = puVar2;\n    uVar4 = 1;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" (if "if") (parenthesized_expression "((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)))" (( "(") (binary_expression "(iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))" (( "(") (binary_expression "*(int *)(iVar1 + 4) == *(int *)(param_1 + 8)" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (== "==") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n      iVar5 = 0;\n      do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);\n    }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      } while (iVar5 != 10);" (do "do") (compound_statement "{\n        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }\n        iVar5 = iVar5 + 1;\n      }" ({ "{") (if_statement "if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 8 + iVar5 * 4) == -1)" (( "(") (binary_expression "*(int *)(iVar1 + 8 + iVar5 * 4) == -1" (pointer_expression "*(int *)(iVar1 + 8 + iVar5 * 4)" (* "*") (cast_expression "(int *)(iVar1 + 8 + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8 + iVar5 * 4)" (( "(") (binary_expression "iVar1 + 8 + iVar5 * 4" (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          iVar1 = iVar1 + iVar5 * 4;\n          *(undefined4 *)(iVar1 + 8) = param_2;\n          *(undefined4 *)(iVar1 + 0x30) = param_3;\n          return 1;\n        }" ({ "{") (expression_statement "iVar1 = iVar1 + iVar5 * 4;" (assignment_expression "iVar1 = iVar1 + iVar5 * 4" (identifier "iVar1") (= "=") (binary_expression "iVar1 + iVar5 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = param_3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = param_3" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 10)" (( "(") (binary_expression "iVar5 != 10" (identifier "iVar5") (!= "!=") (number_literal "10")) () ")")) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x58);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x58)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)xmalloc(0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x58)" (identifier "xmalloc") (argument_list "(0x58)" (( "(") (number_literal "0x58") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x15] = 0;" (assignment_expression "puVar2[0x15] = 0" (subscript_expression "puVar2[0x15]" (identifier "puVar2") ([ "[") (number_literal "0x15") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n        uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (identifier "uVar6") (= "=") (binary_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (parenthesized_expression "(0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" (number_literal "0x58") (- "-") (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar6 = uVar6 - 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar3 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar7 * -2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + (uint)bVar7 * -2 + 1" (binary_expression "puVar3 + (uint)bVar7 * -2" (identifier "puVar3") (+ "+") (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar2[1] = *(undefined4 *)(param_1 + 8);" (assignment_expression "puVar2[1] = *(undefined4 *)(param_1 + 8)" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar2[0xc] = param_3;" (assignment_expression "puVar2[0xc] = param_3" (subscript_expression "puVar2[0xc]" (identifier "puVar2") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar3 = puVar2 + 3;" (assignment_expression "puVar3 = puVar2 + 3" (identifier "puVar3") (= "=") (binary_expression "puVar2 + 3" (identifier "puVar2") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    } while (puVar3 != puVar2 + 0xc);" (do "do") (compound_statement "{\n      *puVar3 = 0xffffffff;\n      puVar3 = puVar3 + 1;\n    }" ({ "{") (expression_statement "*puVar3 = 0xffffffff;" (assignment_expression "*puVar3 = 0xffffffff" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != puVar2 + 0xc)" (( "(") (binary_expression "puVar3 != puVar2 + 0xc" (identifier "puVar3") (!= "!=") (binary_expression "puVar2 + 0xc" (identifier "puVar2") (+ "+") (number_literal "0xc"))) () ")")) (; ";")) (if_statement "if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }\n    else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;\n    }" ({ "{") (expression_statement "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 4) + 8)" (* "*") (cast_expression "(undefined4 **)(*(int *)(param_1 + 4) + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (} "}")) (else_clause "else {\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" (else "else") (compound_statement "{\n      **(undefined4 **)(param_1 + 0x14) = puVar2;\n    }" ({ "{") (expression_statement "**(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "**(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "**(undefined4 **)(param_1 + 0x14)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (= "=") (identifier "puVar2")) (; ";")) (} "}")))) (expression_statement "*(undefined4 **)(param_1 + 0x14) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x14) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 function_1(void *handle,type_2 lineno,type_3 addr)

{
  int var_3;
  type_4 *var_6;
  type_4 *var_8;
  type_1 bVar4;
  int var_4;
  type_4 uVar6;
  type_5 var_7;
  type_6 bVar8;
  
  bVar8 = 0;
  if (*(int *)((int)handle + 4) == 0) {
    uVar6 = var_1(0,"debug_record_line: no current unit",5);
    var_2(*(type_7 **)PTR_stderr_0003efa8,"%s\n",uVar6);
    bVar4 = 0;
  }
  else {
    var_3 = *(int *)((int)handle + 0x14);
    if ((var_3 != 0) && (*(int *)(var_3 + 4) == *(int *)((int)handle + 8))) {
      var_4 = 0;
      do {
        if (*(int *)(var_3 + 8 + var_4 * 4) == -1) {
          var_3 = var_3 + var_4 * 4;
          *(type_2 *)(var_3 + 8) = lineno;
          *(type_3 *)(var_3 + 0x30) = addr;
          return 1;
        }
        var_4 = var_4 + 1;
      } while (var_4 != 10);
    }
    var_6 = (type_4 *)var_5(0x58);
    *var_6 = 0;
    var_6[0x15] = 0;
    var_8 = (type_4 *)((type_5)(var_6 + 1) & 0xfffffffc);
    for (var_7 = (type_5)((int)var_6 + (0x58 - (int)((type_5)(var_6 + 1) & 0xfffffffc))) >> 2;
        var_7 != 0; var_7 = var_7 - 1) {
      *var_8 = 0;
      var_8 = var_8 + (type_5)bVar8 * -2 + 1;
    }
    var_6[1] = *(type_4 *)((int)handle + 8);
    var_6[2] = lineno;
    var_6[0xc] = addr;
    var_8 = var_6 + 3;
    do {
      *var_8 = 0xffffffff;
      var_8 = var_8 + 1;
    } while (var_8 != var_6 + 0xc);
    if (*(type_4 **)((int)handle + 0x14) == (type_4 *)0x0) {
      *(type_4 **)(*(int *)((int)handle + 4) + 8) = var_6;
    }
    else {
      **(type_4 **)((int)handle + 0x14) = var_6;
    }
    *(type_4 **)((int)handle + 0x14) = var_6;
    bVar4 = 1;
  }
  return bVar4;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  int iVar5;
  uint uVar6;
  byte bVar7;
  
  bVar7 = 0;
  if (*(int *)(param_1 + 4) == 0) {
    uVar4 = dcgettext(0,"debug_record_line: no current unit",5);
    fprintf(*(FILE **)PTR_stderr_0003efa8,"%s\n",uVar4);
    uVar4 = 0;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x14);
    if ((iVar1 != 0) && (*(int *)(iVar1 + 4) == *(int *)(param_1 + 8))) {
      iVar5 = 0;
      do {
        if (*(int *)(iVar1 + 8 + iVar5 * 4) == -1) {
          iVar1 = iVar1 + iVar5 * 4;
          *(undefined4 *)(iVar1 + 8) = param_2;
          *(undefined4 *)(iVar1 + 0x30) = param_3;
          return 1;
        }
        iVar5 = iVar5 + 1;
      } while (iVar5 != 10);
    }
    puVar2 = (undefined4 *)xmalloc(0x58);
    *puVar2 = 0;
    puVar2[0x15] = 0;
    puVar3 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);
    for (uVar6 = (uint)((int)puVar2 + (0x58 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;
        uVar6 != 0; uVar6 = uVar6 - 1) {
      *puVar3 = 0;
      puVar3 = puVar3 + (uint)bVar7 * -2 + 1;
    }
    puVar2[1] = *(undefined4 *)(param_1 + 8);
    puVar2[2] = param_2;
    puVar2[0xc] = param_3;
    puVar3 = puVar2 + 3;
    do {
      *puVar3 = 0xffffffff;
      puVar3 = puVar3 + 1;
    } while (puVar3 != puVar2 + 0xc);
    if (*(undefined4 **)(param_1 + 0x14) == (undefined4 *)0x0) {
      *(undefined4 **)(*(int *)(param_1 + 4) + 8) = puVar2;
    }
    else {
      **(undefined4 **)(param_1 + 0x14) = puVar2;
    }
    *(undefined4 **)(param_1 + 0x14) = puVar2;
    uVar4 = 1;
  }
  return uVar4;
}

