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

void dwarf2_where(dwarf2_line_info *line)

{
  uint uVar1;
  char *filename;
  uint uVar2;
  
  if (debug_type == DEBUG_DWARF2) {
    line->filenum = 0;
    line->view = (symbolS *)0x0;
    uVar1 = 0;
    uVar2 = (uint)&line->line & 0xfffffffc;
    do {
      *(undefined4 *)(uVar2 + uVar1) = 0;
      uVar1 = uVar1 + 4;
    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));
    filename = as_where(&line->line);
    uVar1 = get_filenum(filename,0);
    line->column = 0;
    line->filenum = uVar1;
    uVar1 = current.isa;
    line->flags = 1;
    line->isa = uVar1;
    uVar1 = current.discriminator;
    line->view = (symbolS *)0x0;
    line->discriminator = uVar1;
  }
  else {
    line->filenum = current.filenum;
    line->line = current.line;
    line->column = current.column;
    line->isa = current.isa;
    line->flags = current.flags;
    line->discriminator = current.discriminator;
    line->view = current.view;
  }
  return;
}



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

void FUN_0001e0a0(undefined4 *param_1)

{
  uint uVar1;
  undefined4 uVar2;
  uint uVar3;
  
  if (DAT_000886b8 == 5) {
    *param_1 = 0;
    param_1[6] = 0;
    uVar1 = 0;
    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;
    do {
      *(undefined4 *)(uVar3 + uVar1) = 0;
      uVar1 = uVar1 + 4;
    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));
    FUN_00029420(param_1 + 1);
    uVar2 = FUN_0001cf80();
    param_1[2] = 0;
    *param_1 = uVar2;
    uVar2 = DAT_00080200;
    param_1[4] = 1;
    param_1[3] = uVar2;
    uVar2 = DAT_00080208;
    param_1[6] = 0;
    param_1[5] = uVar2;
  }
  else {
    *param_1 = DAT_000801f4;
    param_1[1] = DAT_000801f8;
    param_1[2] = DAT_000801fc;
    param_1[3] = DAT_00080200;
    param_1[4] = DAT_00080204;
    param_1[5] = DAT_00080208;
    param_1[6] = DAT_0008020c;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00018ff0
ADD EBX,0x61f57
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0x86b8]
CMP dword ptr [EAX],0x5
JZ 0x0001e110
MOV EAX,dword ptr [EBX + 0x1f4]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x1f8]
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [EBX + 0x1fc]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [EBX + 0x200]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [EBX + 0x204]
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [EBX + 0x208]
MOV dword ptr [ESI + 0x14],EAX
MOV EAX,dword ptr [EBX + 0x20c]
MOV dword ptr [ESI + 0x18],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[ESI + 0x4]
MOV EDX,ESI
MOV dword ptr [ESI],0x0
XOR EDI,EDI
MOV ECX,EBP
MOV dword ptr [ESI + 0x18],0x0
XOR EAX,EAX
AND ECX,0xfffffffc
SUB EDX,ECX
ADD EDX,0x1c
AND EDX,0xfffffffc
MOV dword ptr [ECX + EAX*0x1],EDI
ADD EAX,0x4
CMP EAX,EDX
JC 0x0001e133
SUB ESP,0xc
PUSH EBP
CALL 0x00029420
XOR EDX,EDX
CALL 0x0001cf80
MOV dword ptr [ESI + 0x8],0x0
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x200]
MOV dword ptr [ESI + 0x10],0x1
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [EBX + 0x208]
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x14],EAX
JMP 0x0001e0ff
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001e0a0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001e0a0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e0a0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" if (parenthesized_expression "(DAT_000886b8 == 5)" ( (binary_expression "DAT_000886b8 == 5" identifier == number_literal) )) (compound_statement "{\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)(param_1 + 1) & 0xfffffffc;" (assignment_expression "uVar3 = (uint)(param_1 + 1) & 0xfffffffc" identifier = (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal)) ;) (do_statement "do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));" do (compound_statement "{\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    }" { (expression_statement "*(undefined4 *)(uVar3 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar3 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar3 + uVar1)" * (cast_expression "(undefined4 *)(uVar3 + uVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + uVar1)" ( (binary_expression "uVar3 + uVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc))" ( (binary_expression "uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" identifier < (parenthesized_expression "((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" ( (binary_expression "(int)param_1 + (0x1c - uVar3) & 0xfffffffc" (binary_expression "(int)param_1 + (0x1c - uVar3)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x1c - uVar3)" ( (binary_expression "0x1c - uVar3" number_literal - identifier) ))) & number_literal) ))) )) ;) (expression_statement "FUN_00029420(param_1 + 1);" (call_expression "FUN_00029420(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar2 = FUN_0001cf80();" (assignment_expression "uVar2 = FUN_0001cf80()" identifier = (call_expression "FUN_0001cf80()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = DAT_00080200;" (assignment_expression "uVar2 = DAT_00080200" identifier = identifier) ;) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = uVar2;" (assignment_expression "param_1[3] = uVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = DAT_00080208;" (assignment_expression "uVar2 = DAT_00080208" identifier = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = uVar2;" (assignment_expression "param_1[5] = uVar2" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" else (compound_statement "{\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" { (expression_statement "*param_1 = DAT_000801f4;" (assignment_expression "*param_1 = DAT_000801f4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = DAT_000801f8;" (assignment_expression "param_1[1] = DAT_000801f8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = DAT_000801fc;" (assignment_expression "param_1[2] = DAT_000801fc" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = DAT_00080200;" (assignment_expression "param_1[3] = DAT_00080200" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = DAT_00080204;" (assignment_expression "param_1[4] = DAT_00080204" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = DAT_00080208;" (assignment_expression "param_1[5] = DAT_00080208" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = DAT_0008020c;" (assignment_expression "param_1[6] = DAT_0008020c" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid dwarf2_where(dwarf2_line_info *line)\n\n{\n  uint uVar1;\n  char *filename;\n  uint uVar2;\n  \n  if (debug_type == DEBUG_DWARF2) {\n    line->filenum = 0;\n    line->view = (symbolS *)0x0;\n    uVar1 = 0;\n    uVar2 = (uint)&line->line & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));\n    filename = as_where(&line->line);\n    uVar1 = get_filenum(filename,0);\n    line->column = 0;\n    line->filenum = uVar1;\n    uVar1 = current.isa;\n    line->flags = 1;\n    line->isa = uVar1;\n    uVar1 = current.discriminator;\n    line->view = (symbolS *)0x0;\n    line->discriminator = uVar1;\n  }\n  else {\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }\n  return;\n}\n\n" comment (function_definition "void dwarf2_where(dwarf2_line_info *line)\n\n{\n  uint uVar1;\n  char *filename;\n  uint uVar2;\n  \n  if (debug_type == DEBUG_DWARF2) {\n    line->filenum = 0;\n    line->view = (symbolS *)0x0;\n    uVar1 = 0;\n    uVar2 = (uint)&line->line & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));\n    filename = as_where(&line->line);\n    uVar1 = get_filenum(filename,0);\n    line->column = 0;\n    line->filenum = uVar1;\n    uVar1 = current.isa;\n    line->flags = 1;\n    line->isa = uVar1;\n    uVar1 = current.discriminator;\n    line->view = (symbolS *)0x0;\n    line->discriminator = uVar1;\n  }\n  else {\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }\n  return;\n}" primitive_type (function_declarator "dwarf2_where(dwarf2_line_info *line)" identifier (parameter_list "(dwarf2_line_info *line)" ( (parameter_declaration "dwarf2_line_info *line" type_identifier (pointer_declarator "*line" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char *filename;\n  uint uVar2;\n  \n  if (debug_type == DEBUG_DWARF2) {\n    line->filenum = 0;\n    line->view = (symbolS *)0x0;\n    uVar1 = 0;\n    uVar2 = (uint)&line->line & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));\n    filename = as_where(&line->line);\n    uVar1 = get_filenum(filename,0);\n    line->column = 0;\n    line->filenum = uVar1;\n    uVar1 = current.isa;\n    line->flags = 1;\n    line->isa = uVar1;\n    uVar1 = current.discriminator;\n    line->view = (symbolS *)0x0;\n    line->discriminator = uVar1;\n  }\n  else {\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *filename;" primitive_type (pointer_declarator "*filename" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (debug_type == DEBUG_DWARF2) {\n    line->filenum = 0;\n    line->view = (symbolS *)0x0;\n    uVar1 = 0;\n    uVar2 = (uint)&line->line & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));\n    filename = as_where(&line->line);\n    uVar1 = get_filenum(filename,0);\n    line->column = 0;\n    line->filenum = uVar1;\n    uVar1 = current.isa;\n    line->flags = 1;\n    line->isa = uVar1;\n    uVar1 = current.discriminator;\n    line->view = (symbolS *)0x0;\n    line->discriminator = uVar1;\n  }\n  else {\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }" if (parenthesized_expression "(debug_type == DEBUG_DWARF2)" ( (binary_expression "debug_type == DEBUG_DWARF2" identifier == identifier) )) (compound_statement "{\n    line->filenum = 0;\n    line->view = (symbolS *)0x0;\n    uVar1 = 0;\n    uVar2 = (uint)&line->line & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));\n    filename = as_where(&line->line);\n    uVar1 = get_filenum(filename,0);\n    line->column = 0;\n    line->filenum = uVar1;\n    uVar1 = current.isa;\n    line->flags = 1;\n    line->isa = uVar1;\n    uVar1 = current.discriminator;\n    line->view = (symbolS *)0x0;\n    line->discriminator = uVar1;\n  }" { (expression_statement "line->filenum = 0;" (assignment_expression "line->filenum = 0" (field_expression "line->filenum" identifier -> field_identifier) = number_literal) ;) (expression_statement "line->view = (symbolS *)0x0;" (assignment_expression "line->view = (symbolS *)0x0" (field_expression "line->view" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = (uint)&line->line & 0xfffffffc;" (assignment_expression "uVar2 = (uint)&line->line & 0xfffffffc" identifier = (binary_expression "(uint)&line->line & 0xfffffffc" (binary_expression "(uint)&line->line" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "line->line" identifier -> field_identifier)) & number_literal)) ;) (do_statement "do {\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc));" do (compound_statement "{\n      *(undefined4 *)(uVar2 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    }" { (expression_statement "*(undefined4 *)(uVar2 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar2 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar2 + uVar1)" * (cast_expression "(undefined4 *)(uVar2 + uVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + uVar1)" ( (binary_expression "uVar2 + uVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc))" ( (binary_expression "uVar1 < ((int)line + (0x1c - uVar2) & 0xfffffffc)" identifier < (parenthesized_expression "((int)line + (0x1c - uVar2) & 0xfffffffc)" ( (binary_expression "(int)line + (0x1c - uVar2) & 0xfffffffc" (binary_expression "(int)line + (0x1c - uVar2)" (cast_expression "(int)line" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x1c - uVar2)" ( (binary_expression "0x1c - uVar2" number_literal - identifier) ))) & number_literal) ))) )) ;) (expression_statement "filename = as_where(&line->line);" (assignment_expression "filename = as_where(&line->line)" identifier = (call_expression "as_where(&line->line)" identifier (argument_list "(&line->line)" ( (pointer_expression "&line->line" & (field_expression "line->line" identifier -> field_identifier)) )))) ;) (expression_statement "uVar1 = get_filenum(filename,0);" (assignment_expression "uVar1 = get_filenum(filename,0)" identifier = (call_expression "get_filenum(filename,0)" identifier (argument_list "(filename,0)" ( identifier , number_literal )))) ;) (expression_statement "line->column = 0;" (assignment_expression "line->column = 0" (field_expression "line->column" identifier -> field_identifier) = number_literal) ;) (expression_statement "line->filenum = uVar1;" (assignment_expression "line->filenum = uVar1" (field_expression "line->filenum" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar1 = current.isa;" (assignment_expression "uVar1 = current.isa" identifier = (field_expression "current.isa" identifier . field_identifier)) ;) (expression_statement "line->flags = 1;" (assignment_expression "line->flags = 1" (field_expression "line->flags" identifier -> field_identifier) = number_literal) ;) (expression_statement "line->isa = uVar1;" (assignment_expression "line->isa = uVar1" (field_expression "line->isa" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar1 = current.discriminator;" (assignment_expression "uVar1 = current.discriminator" identifier = (field_expression "current.discriminator" identifier . field_identifier)) ;) (expression_statement "line->view = (symbolS *)0x0;" (assignment_expression "line->view = (symbolS *)0x0" (field_expression "line->view" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "line->discriminator = uVar1;" (assignment_expression "line->discriminator = uVar1" (field_expression "line->discriminator" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }" else (compound_statement "{\n    line->filenum = current.filenum;\n    line->line = current.line;\n    line->column = current.column;\n    line->isa = current.isa;\n    line->flags = current.flags;\n    line->discriminator = current.discriminator;\n    line->view = current.view;\n  }" { (expression_statement "line->filenum = current.filenum;" (assignment_expression "line->filenum = current.filenum" (field_expression "line->filenum" identifier -> field_identifier) = (field_expression "current.filenum" identifier . field_identifier)) ;) (expression_statement "line->line = current.line;" (assignment_expression "line->line = current.line" (field_expression "line->line" identifier -> field_identifier) = (field_expression "current.line" identifier . field_identifier)) ;) (expression_statement "line->column = current.column;" (assignment_expression "line->column = current.column" (field_expression "line->column" identifier -> field_identifier) = (field_expression "current.column" identifier . field_identifier)) ;) (expression_statement "line->isa = current.isa;" (assignment_expression "line->isa = current.isa" (field_expression "line->isa" identifier -> field_identifier) = (field_expression "current.isa" identifier . field_identifier)) ;) (expression_statement "line->flags = current.flags;" (assignment_expression "line->flags = current.flags" (field_expression "line->flags" identifier -> field_identifier) = (field_expression "current.flags" identifier . field_identifier)) ;) (expression_statement "line->discriminator = current.discriminator;" (assignment_expression "line->discriminator = current.discriminator" (field_expression "line->discriminator" identifier -> field_identifier) = (field_expression "current.discriminator" identifier . field_identifier)) ;) (expression_statement "line->view = current.view;" (assignment_expression "line->view = current.view" (field_expression "line->view" identifier -> field_identifier) = (field_expression "current.view" identifier . field_identifier)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001e0a0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001e0a0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e0a0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" if (parenthesized_expression "(DAT_000886b8 == 5)" ( (binary_expression "DAT_000886b8 == 5" identifier == number_literal) )) (compound_statement "{\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)(param_1 + 1) & 0xfffffffc;" (assignment_expression "uVar3 = (uint)(param_1 + 1) & 0xfffffffc" identifier = (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal)) ;) (do_statement "do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));" do (compound_statement "{\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    }" { (expression_statement "*(undefined4 *)(uVar3 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar3 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar3 + uVar1)" * (cast_expression "(undefined4 *)(uVar3 + uVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + uVar1)" ( (binary_expression "uVar3 + uVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc))" ( (binary_expression "uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" identifier < (parenthesized_expression "((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" ( (binary_expression "(int)param_1 + (0x1c - uVar3) & 0xfffffffc" (binary_expression "(int)param_1 + (0x1c - uVar3)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x1c - uVar3)" ( (binary_expression "0x1c - uVar3" number_literal - identifier) ))) & number_literal) ))) )) ;) (expression_statement "FUN_00029420(param_1 + 1);" (call_expression "FUN_00029420(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar2 = FUN_0001cf80();" (assignment_expression "uVar2 = FUN_0001cf80()" identifier = (call_expression "FUN_0001cf80()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = DAT_00080200;" (assignment_expression "uVar2 = DAT_00080200" identifier = identifier) ;) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = uVar2;" (assignment_expression "param_1[3] = uVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = DAT_00080208;" (assignment_expression "uVar2 = DAT_00080208" identifier = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = uVar2;" (assignment_expression "param_1[5] = uVar2" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" else (compound_statement "{\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" { (expression_statement "*param_1 = DAT_000801f4;" (assignment_expression "*param_1 = DAT_000801f4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = DAT_000801f8;" (assignment_expression "param_1[1] = DAT_000801f8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = DAT_000801fc;" (assignment_expression "param_1[2] = DAT_000801fc" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = DAT_00080200;" (assignment_expression "param_1[3] = DAT_00080200" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = DAT_00080204;" (assignment_expression "param_1[4] = DAT_00080204" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = DAT_00080208;" (assignment_expression "param_1[5] = DAT_00080208" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = DAT_0008020c;" (assignment_expression "param_1[6] = DAT_0008020c" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) & LIT) ))) )) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0001e0a0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001e0a0(undefined4 *param_1)" (identifier "FUN_0001e0a0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  \n  if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (if_statement "if (DAT_000886b8 == 5) {\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }\n  else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" (if "if") (parenthesized_expression "(DAT_000886b8 == 5)" (( "(") (binary_expression "DAT_000886b8 == 5" (identifier "DAT_000886b8") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n    *param_1 = 0;\n    param_1[6] = 0;\n    uVar1 = 0;\n    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;\n    do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));\n    FUN_00029420(param_1 + 1);\n    uVar2 = FUN_0001cf80();\n    param_1[2] = 0;\n    *param_1 = uVar2;\n    uVar2 = DAT_00080200;\n    param_1[4] = 1;\n    param_1[3] = uVar2;\n    uVar2 = DAT_00080208;\n    param_1[6] = 0;\n    param_1[5] = uVar2;\n  }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (uint)(param_1 + 1) & 0xfffffffc;" (assignment_expression "uVar3 = (uint)(param_1 + 1) & 0xfffffffc" (identifier "uVar3") (= "=") (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc"))) (; ";")) (do_statement "do {\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));" (do "do") (compound_statement "{\n      *(undefined4 *)(uVar3 + uVar1) = 0;\n      uVar1 = uVar1 + 4;\n    }" ({ "{") (expression_statement "*(undefined4 *)(uVar3 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar3 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar3 + uVar1)" (* "*") (cast_expression "(undefined4 *)(uVar3 + uVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + uVar1)" (( "(") (binary_expression "uVar3 + uVar1" (identifier "uVar3") (+ "+") (identifier "uVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 4" (identifier "uVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc))" (( "(") (binary_expression "uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" (identifier "uVar1") (< "<") (parenthesized_expression "((int)param_1 + (0x1c - uVar3) & 0xfffffffc)" (( "(") (binary_expression "(int)param_1 + (0x1c - uVar3) & 0xfffffffc" (binary_expression "(int)param_1 + (0x1c - uVar3)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(0x1c - uVar3)" (( "(") (binary_expression "0x1c - uVar3" (number_literal "0x1c") (- "-") (identifier "uVar3")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")"))) () ")")) (; ";")) (expression_statement "FUN_00029420(param_1 + 1);" (call_expression "FUN_00029420(param_1 + 1)" (identifier "FUN_00029420") (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar2 = FUN_0001cf80();" (assignment_expression "uVar2 = FUN_0001cf80()" (identifier "uVar2") (= "=") (call_expression "FUN_0001cf80()" (identifier "FUN_0001cf80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = DAT_00080200;" (assignment_expression "uVar2 = DAT_00080200" (identifier "uVar2") (= "=") (identifier "DAT_00080200")) (; ";")) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_1[3] = uVar2;" (assignment_expression "param_1[3] = uVar2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = DAT_00080208;" (assignment_expression "uVar2 = DAT_00080208" (identifier "uVar2") (= "=") (identifier "DAT_00080208")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = uVar2;" (assignment_expression "param_1[5] = uVar2" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" (else "else") (compound_statement "{\n    *param_1 = DAT_000801f4;\n    param_1[1] = DAT_000801f8;\n    param_1[2] = DAT_000801fc;\n    param_1[3] = DAT_00080200;\n    param_1[4] = DAT_00080204;\n    param_1[5] = DAT_00080208;\n    param_1[6] = DAT_0008020c;\n  }" ({ "{") (expression_statement "*param_1 = DAT_000801f4;" (assignment_expression "*param_1 = DAT_000801f4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "DAT_000801f4")) (; ";")) (expression_statement "param_1[1] = DAT_000801f8;" (assignment_expression "param_1[1] = DAT_000801f8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_000801f8")) (; ";")) (expression_statement "param_1[2] = DAT_000801fc;" (assignment_expression "param_1[2] = DAT_000801fc" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "DAT_000801fc")) (; ";")) (expression_statement "param_1[3] = DAT_00080200;" (assignment_expression "param_1[3] = DAT_00080200" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "DAT_00080200")) (; ";")) (expression_statement "param_1[4] = DAT_00080204;" (assignment_expression "param_1[4] = DAT_00080204" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "DAT_00080204")) (; ";")) (expression_statement "param_1[5] = DAT_00080208;" (assignment_expression "param_1[5] = DAT_00080208" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "DAT_00080208")) (; ";")) (expression_statement "param_1[6] = DAT_0008020c;" (assignment_expression "param_1[6] = DAT_0008020c" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "DAT_0008020c")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *line)

{
  type_2 var_4;
  char *filename;
  type_2 var_3;
  
  if (var_1 == var_2) {
    line->filenum = 0;
    line->view = (type_3 *)0x0;
    var_4 = 0;
    var_3 = (type_2)&line->line & 0xfffffffc;
    do {
      *(type_4 *)(var_3 + var_4) = 0;
      var_4 = var_4 + 4;
    } while (var_4 < ((int)line + (0x1c - var_3) & 0xfffffffc));
    filename = var_5(&line->line);
    var_4 = var_6(filename,0);
    line->column = 0;
    line->filenum = var_4;
    var_4 = current.isa;
    line->flags = 1;
    line->isa = var_4;
    var_4 = current.discriminator;
    line->view = (type_3 *)0x0;
    line->discriminator = var_4;
  }
  else {
    line->filenum = current.filenum;
    line->line = current.line;
    line->column = current.column;
    line->isa = current.isa;
    line->flags = current.flags;
    line->discriminator = current.discriminator;
    line->view = current.view;
  }
  return;
}


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

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

void MASKED(undefined4 *param_1)

{
  uint uVar1;
  undefined4 uVar2;
  uint uVar3;
  
  if (DAT_000886b8 == 5) {
    *param_1 = 0;
    param_1[6] = 0;
    uVar1 = 0;
    uVar3 = (uint)(param_1 + 1) & 0xfffffffc;
    do {
      *(undefined4 *)(uVar3 + uVar1) = 0;
      uVar1 = uVar1 + 4;
    } while (uVar1 < ((int)param_1 + (0x1c - uVar3) & 0xfffffffc));
    FUN_00029420(param_1 + 1);
    uVar2 = FUN_0001cf80();
    param_1[2] = 0;
    *param_1 = uVar2;
    uVar2 = DAT_00080200;
    param_1[4] = 1;
    param_1[3] = uVar2;
    uVar2 = DAT_00080208;
    param_1[6] = 0;
    param_1[5] = uVar2;
  }
  else {
    *param_1 = DAT_000801f4;
    param_1[1] = DAT_000801f8;
    param_1[2] = DAT_000801fc;
    param_1[3] = DAT_00080200;
    param_1[4] = DAT_00080204;
    param_1[5] = DAT_00080208;
    param_1[6] = DAT_0008020c;
  }
  return;
}

