
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* DWARF original prototype: void define_symbols(Symbol_table * this, Layout * layout, int count,
   Define_symbol_in_section * p, bool only_if_ref) */

void __thiscall
gold::Symbol_table::define_symbols
          (Symbol_table *this,Layout *layout,int count,Define_symbol_in_section *p,bool only_if_ref)

{
  Output_section *od;
  bool bVar1;
  int iVar2;
  
  if (0 < count) {
    iVar2 = 0;
    do {
      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0
            ) {
        bVar1 = true;
        if (!only_if_ref) {
          bVar1 = p->only_if_ref;
        }
        iVar2 = iVar2 + 1;
        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,
                           p->visibility,p->nonvis,bVar1,false);
        p = p + 1;
        if (count == iVar2) {
          return;
        }
      }
      bVar1 = true;
      if (!only_if_ref) {
        bVar1 = p->only_if_ref;
      }
      iVar2 = iVar2 + 1;
      define_in_output_data
                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type
                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);
      p = p + 1;
    } while (count != iVar2);
  }
  return;
}



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

void FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5
                 )

{
  int iVar1;
  undefined1 uVar2;
  int iVar3;
  
  if (0 < param_3) {
    iVar3 = 0;
    do {
      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {
        uVar2 = 1;
        if (param_5 == '\0') {
          uVar2 = *(undefined1 *)((int)param_4 + 0x26);
        }
        iVar3 = iVar3 + 1;
        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]
                     ,*(undefined1 *)(param_4 + 9),uVar2,0);
        param_4 = param_4 + 10;
        if (param_3 == iVar3) {
          return;
        }
      }
      uVar2 = 1;
      if (param_5 == '\0') {
        uVar2 = *(undefined1 *)((int)param_4 + 0x26);
      }
      iVar3 = iVar3 + 1;
      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]
                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),
                   *(undefined1 *)((int)param_4 + 0x25),uVar2);
      param_4 = param_4 + 10;
    } while (param_3 != iVar3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x214aa7
SUB ESP,0x1c
MOVZX EAX,byte ptr [ESP + 0x40]
MOV EBP,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x3c]
MOV byte ptr [ESP + 0xf],AL
MOV EAX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JLE 0x0017a638
XOR ESI,ESI
JMP 0x0017a5d8
CMP byte ptr [ESP + 0xf],0x0
MOV ECX,0x1
JNZ 0x0017a598
MOVZX ECX,byte ptr [EDI + 0x26]
SUB ESP,0x4
ADD ESI,0x1
ADD EDI,0x28
PUSH ECX
MOVZX ECX,byte ptr [EDI + -0x3]
PUSH ECX
MOVZX ECX,byte ptr [EDI + -0x4]
PUSH ECX
PUSH dword ptr [EDI + -0x8]
PUSH dword ptr [EDI + -0xc]
PUSH dword ptr [EDI + -0x10]
PUSH dword ptr [EDI + -0x14]
PUSH dword ptr [EDI + -0x18]
PUSH dword ptr [EDI + -0x1c]
PUSH dword ptr [EDI + -0x20]
PUSH EAX
PUSH 0x5
PUSH 0x0
PUSH dword ptr [EDI + -0x28]
PUSH EBP
CALL 0x0017a2b0
ADD ESP,0x40
CMP dword ptr [ESP + 0x38],ESI
JZ 0x0017a638
SUB ESP,0x8
PUSH dword ptr [EDI + 0x4]
PUSH dword ptr [ESP + 0x40]
CALL 0x00096ef0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0017a588
CMP byte ptr [ESP + 0xf],0x0
MOV EAX,0x1
JNZ 0x0017a5fe
MOVZX EAX,byte ptr [EDI + 0x26]
SUB ESP,0x8
ADD ESI,0x1
ADD EDI,0x28
PUSH 0x0
PUSH EAX
MOVZX EAX,byte ptr [EDI + -0x4]
PUSH EAX
PUSH dword ptr [EDI + -0x8]
PUSH dword ptr [EDI + -0xc]
PUSH dword ptr [EDI + -0x10]
PUSH dword ptr [EDI + -0x14]
PUSH dword ptr [EDI + -0x18]
PUSH 0x0
PUSH 0x0
PUSH 0x5
PUSH 0x0
PUSH dword ptr [EDI + -0x28]
PUSH EBP
CALL 0x0017a470
ADD ESP,0x40
CMP dword ptr [ESP + 0x38],ESI
JNZ 0x0017a5d8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);" do (compound_statement "{\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    }" { (while_statement "while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "(iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0" (assignment_expression "iVar1 = FUN_00096ef0(param_2,param_4[1])" identifier = (call_expression "FUN_00096ef0(param_2,param_4[1])" identifier (argument_list "(param_2,param_4[1])" ( identifier , (subscript_expression "param_4[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" { (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" identifier = (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" * (cast_expression "(undefined1 *)((int)param_4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x26)" ( (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);" (call_expression "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" identifier (argument_list "(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" ( identifier , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_4[4]" identifier [ number_literal ]) , (subscript_expression "param_4[5]" identifier [ number_literal ]) , (subscript_expression "param_4[6]" identifier [ number_literal ]) , (subscript_expression "param_4[7]" identifier [ number_literal ]) , (subscript_expression "param_4[8]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_4 + 9)" * (cast_expression "(undefined1 *)(param_4 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 9)" ( (binary_expression "param_4 + 9" identifier + number_literal) )))) , identifier , number_literal ))) ;) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" identifier = (binary_expression "param_4 + 10" identifier + number_literal)) ;) (if_statement "if (param_3 == iVar3) {\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar3)" ( (binary_expression "param_3 == iVar3" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" { (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" identifier = (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" * (cast_expression "(undefined1 *)((int)param_4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x26)" ( (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);" (call_expression "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" identifier (argument_list "(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" ( identifier , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , identifier , (subscript_expression "param_4[2]" identifier [ number_literal ]) , (subscript_expression "param_4[3]" identifier [ number_literal ]) , (subscript_expression "param_4[4]" identifier [ number_literal ]) , (subscript_expression "param_4[5]" identifier [ number_literal ]) , (subscript_expression "param_4[6]" identifier [ number_literal ]) , (subscript_expression "param_4[7]" identifier [ number_literal ]) , (subscript_expression "param_4[8]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_4 + 9)" * (cast_expression "(undefined1 *)(param_4 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 9)" ( (binary_expression "param_4 + 9" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_4 + 0x25)" * (cast_expression "(undefined1 *)((int)param_4 + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x25)" ( (binary_expression "(int)param_4 + 0x25" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" identifier = (binary_expression "param_4 + 10" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "STT": Some values do not have unique names */\n/* WARNING: Enum "STB": Some values do not have unique names */\n/* DWARF original prototype: void define_symbols(Symbol_table * this, Layout * layout, int count,\n   Define_symbol_in_section * p, bool only_if_ref) */\n\nvoid __thiscall\ngold::Symbol_table::define_symbols\n          (Symbol_table *this,Layout *layout,int count,Define_symbol_in_section *p,bool only_if_ref)\n\n{\n  Output_section *od;\n  bool bVar1;\n  int iVar2;\n  \n  if (0 < count) {\n    iVar2 = 0;\n    do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);\n  }\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void __thiscall\ngold::Symbol_table::define_symbols\n          (Symbol_table *this,Layout *layout,int count,Define_symbol_in_section *p,bool only_if_ref)\n\n{\n  Output_section *od;\n  bool bVar1;\n  int iVar2;\n  \n  if (0 < count) {\n    iVar2 = 0;\n    do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_table::" identifier : : identifier : :) (function_declarator "define_symbols\n          (Symbol_table *this,Layout *layout,int count,Define_symbol_in_section *p,bool only_if_ref)" identifier (parameter_list "(Symbol_table *this,Layout *layout,int count,Define_symbol_in_section *p,bool only_if_ref)" ( (parameter_declaration "Symbol_table *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "int count" primitive_type identifier) , (parameter_declaration "Define_symbol_in_section *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "bool only_if_ref" primitive_type identifier) ))) (compound_statement "{\n  Output_section *od;\n  bool bVar1;\n  int iVar2;\n  \n  if (0 < count) {\n    iVar2 = 0;\n    do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);\n  }\n  return;\n}" { (declaration "Output_section *od;" type_identifier (pointer_declarator "*od" * identifier) ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < count) {\n    iVar2 = 0;\n    do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);\n  }" if (parenthesized_expression "(0 < count)" ( (binary_expression "0 < count" number_literal < identifier) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    } while (count != iVar2);" do (compound_statement "{\n      while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }\n      bVar1 = true;\n      if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }\n      iVar2 = iVar2 + 1;\n      define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);\n      p = p + 1;\n    }" { (while_statement "while (od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            ) {\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }" while (parenthesized_expression "(od = Layout::find_output_section(layout,p->output_section), od == (Output_section *)0x0\n            )" ( (ERROR "od = Layout::" (assignment_expression "od = Layout" identifier = identifier) : :) (comma_expression "find_output_section(layout,p->output_section), od == (Output_section *)0x0" (call_expression "find_output_section(layout,p->output_section)" identifier (argument_list "(layout,p->output_section)" ( identifier , (field_expression "p->output_section" identifier -> field_identifier) ))) , (binary_expression "od == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        bVar1 = true;\n        if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }\n        iVar2 = iVar2 + 1;\n        define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);\n        p = p + 1;\n        if (count == iVar2) {\n          return;\n        }\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (!only_if_ref) {\n          bVar1 = p->only_if_ref;\n        }" if (parenthesized_expression "(!only_if_ref)" ( (unary_expression "!only_if_ref" ! identifier) )) (compound_statement "{\n          bVar1 = p->only_if_ref;\n        }" { (expression_statement "bVar1 = p->only_if_ref;" (assignment_expression "bVar1 = p->only_if_ref" identifier = (field_expression "p->only_if_ref" identifier -> field_identifier)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false);" (call_expression "define_as_constant(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false)" identifier (argument_list "(this,p->name,(char *)0x0,PREDEFINED,0,p->size,p->type,p->binding,\n                           p->visibility,p->nonvis,bVar1,false)" ( identifier , (field_expression "p->name" identifier -> field_identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , number_literal , (field_expression "p->size" identifier -> field_identifier) , (field_expression "p->type" identifier -> field_identifier) , (field_expression "p->binding" identifier -> field_identifier) , (field_expression "p->visibility" identifier -> field_identifier) , (field_expression "p->nonvis" identifier -> field_identifier) , identifier , false ))) ;) (expression_statement "p = p + 1;" (assignment_expression "p = p + 1" identifier = (binary_expression "p + 1" identifier + number_literal)) ;) (if_statement "if (count == iVar2) {\n          return;\n        }" if (parenthesized_expression "(count == iVar2)" ( (binary_expression "count == iVar2" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (!only_if_ref) {\n        bVar1 = p->only_if_ref;\n      }" if (parenthesized_expression "(!only_if_ref)" ( (unary_expression "!only_if_ref" ! identifier) )) (compound_statement "{\n        bVar1 = p->only_if_ref;\n      }" { (expression_statement "bVar1 = p->only_if_ref;" (assignment_expression "bVar1 = p->only_if_ref" identifier = (field_expression "p->only_if_ref" identifier -> field_identifier)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1);" (call_expression "define_in_output_data\n                (this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1)" identifier (argument_list "(this,p->name,(char *)0x0,PREDEFINED,&od->super_Output_data,p->value,p->size,p->type\n                 ,p->binding,p->visibility,p->nonvis,p->offset_is_from_end,bVar1)" ( identifier , (field_expression "p->name" identifier -> field_identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , (pointer_expression "&od->super_Output_data" & (field_expression "od->super_Output_data" identifier -> field_identifier)) , (field_expression "p->value" identifier -> field_identifier) , (field_expression "p->size" identifier -> field_identifier) , (field_expression "p->type" identifier -> field_identifier) , (field_expression "p->binding" identifier -> field_identifier) , (field_expression "p->visibility" identifier -> field_identifier) , (field_expression "p->nonvis" identifier -> field_identifier) , (field_expression "p->offset_is_from_end" identifier -> field_identifier) , identifier ))) ;) (expression_statement "p = p + 1;" (assignment_expression "p = p + 1" identifier = (binary_expression "p + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(count != iVar2)" ( (binary_expression "count != iVar2" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);" do (compound_statement "{\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    }" { (while_statement "while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "(iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0" (assignment_expression "iVar1 = FUN_00096ef0(param_2,param_4[1])" identifier = (call_expression "FUN_00096ef0(param_2,param_4[1])" identifier (argument_list "(param_2,param_4[1])" ( identifier , (subscript_expression "param_4[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" { (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" identifier = (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" * (cast_expression "(undefined1 *)((int)param_4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x26)" ( (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);" (call_expression "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" identifier (argument_list "(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" ( identifier , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_4[4]" identifier [ number_literal ]) , (subscript_expression "param_4[5]" identifier [ number_literal ]) , (subscript_expression "param_4[6]" identifier [ number_literal ]) , (subscript_expression "param_4[7]" identifier [ number_literal ]) , (subscript_expression "param_4[8]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_4 + 9)" * (cast_expression "(undefined1 *)(param_4 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 9)" ( (binary_expression "param_4 + 9" identifier + number_literal) )))) , identifier , number_literal ))) ;) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" identifier = (binary_expression "param_4 + 10" identifier + number_literal)) ;) (if_statement "if (param_3 == iVar3) {\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar3)" ( (binary_expression "param_3 == iVar3" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" { (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" identifier = (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" * (cast_expression "(undefined1 *)((int)param_4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x26)" ( (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);" (call_expression "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" identifier (argument_list "(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" ( identifier , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , identifier , (subscript_expression "param_4[2]" identifier [ number_literal ]) , (subscript_expression "param_4[3]" identifier [ number_literal ]) , (subscript_expression "param_4[4]" identifier [ number_literal ]) , (subscript_expression "param_4[5]" identifier [ number_literal ]) , (subscript_expression "param_4[6]" identifier [ number_literal ]) , (subscript_expression "param_4[7]" identifier [ number_literal ]) , (subscript_expression "param_4[8]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_4 + 9)" * (cast_expression "(undefined1 *)(param_4 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 9)" ( (binary_expression "param_4 + 9" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_4 + 0x25)" * (cast_expression "(undefined1 *)((int)param_4 + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + 0x25)" ( (binary_expression "(int)param_4 + 0x25" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" identifier = (binary_expression "param_4 + 10" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , LIT , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0017a550(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" (identifier "FUN_0017a550") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5\n                 )" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "char param_5" (primitive_type "char") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  int iVar3;\n  \n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    } while (param_3 != iVar3);" (do "do") (compound_statement "{\n      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }\n      uVar2 = 1;\n      if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }\n      iVar3 = iVar3 + 1;\n      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);\n      param_4 = param_4 + 10;\n    }" ({ "{") (while_statement "while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "(iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0" (assignment_expression "iVar1 = FUN_00096ef0(param_2,param_4[1])" (identifier "iVar1") (= "=") (call_expression "FUN_00096ef0(param_2,param_4[1])" (identifier "FUN_00096ef0") (argument_list "(param_2,param_4[1])" (( "(") (identifier "param_2") (, ",") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        uVar2 = 1;\n        if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }\n        iVar3 = iVar3 + 1;\n        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);\n        param_4 = param_4 + 10;\n        if (param_3 == iVar3) {\n          return;\n        }\n      }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_5 == '\0') {\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n        }" ({ "{") (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" (* "*") (cast_expression "(undefined1 *)((int)param_4 + 0x26)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_4 + 0x26)" (( "(") (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (+ "+") (number_literal "0x26")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0);" (call_expression "FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" (identifier "FUN_0017a470") (argument_list "(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]\n                     ,*(undefined1 *)(param_4 + 9),uVar2,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_4" (* "*") (identifier "param_4")) (, ",") (number_literal "0") (, ",") (number_literal "5") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_4[4]" (identifier "param_4") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_4[5]" (identifier "param_4") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "param_4[6]" (identifier "param_4") ([ "[") (number_literal "6") (] "]")) (, ",") (subscript_expression "param_4[7]" (identifier "param_4") ([ "[") (number_literal "7") (] "]")) (, ",") (subscript_expression "param_4[8]" (identifier "param_4") ([ "[") (number_literal "8") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_4 + 9)" (* "*") (cast_expression "(undefined1 *)(param_4 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 9)" (( "(") (binary_expression "param_4 + 9" (identifier "param_4") (+ "+") (number_literal "9")) () ")")))) (, ",") (identifier "uVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" (identifier "param_4") (= "=") (binary_expression "param_4 + 10" (identifier "param_4") (+ "+") (number_literal "10"))) (; ";")) (if_statement "if (param_3 == iVar3) {\n          return;\n        }" (if "if") (parenthesized_expression "(param_3 == iVar3)" (( "(") (binary_expression "param_3 == iVar3" (identifier "param_3") (== "==") (identifier "iVar3")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_5 == '\0') {\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar2 = *(undefined1 *)((int)param_4 + 0x26);\n      }" ({ "{") (expression_statement "uVar2 = *(undefined1 *)((int)param_4 + 0x26);" (assignment_expression "uVar2 = *(undefined1 *)((int)param_4 + 0x26)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)((int)param_4 + 0x26)" (* "*") (cast_expression "(undefined1 *)((int)param_4 + 0x26)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_4 + 0x26)" (( "(") (binary_expression "(int)param_4 + 0x26" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (+ "+") (number_literal "0x26")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2);" (call_expression "FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" (identifier "FUN_0017a2b0") (argument_list "(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]\n                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),\n                   *(undefined1 *)((int)param_4 + 0x25),uVar2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_4" (* "*") (identifier "param_4")) (, ",") (number_literal "0") (, ",") (number_literal "5") (, ",") (identifier "iVar1") (, ",") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_4[4]" (identifier "param_4") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_4[5]" (identifier "param_4") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "param_4[6]" (identifier "param_4") ([ "[") (number_literal "6") (] "]")) (, ",") (subscript_expression "param_4[7]" (identifier "param_4") ([ "[") (number_literal "7") (] "]")) (, ",") (subscript_expression "param_4[8]" (identifier "param_4") ([ "[") (number_literal "8") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_4 + 9)" (* "*") (cast_expression "(undefined1 *)(param_4 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 9)" (( "(") (binary_expression "param_4 + 9" (identifier "param_4") (+ "+") (number_literal "9")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)((int)param_4 + 0x25)" (* "*") (cast_expression "(undefined1 *)((int)param_4 + 0x25)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_4 + 0x25)" (( "(") (binary_expression "(int)param_4 + 0x25" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (+ "+") (number_literal "0x25")) () ")")))) (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "param_4 = param_4 + 10;" (assignment_expression "param_4 = param_4 + 10" (identifier "param_4") (= "=") (binary_expression "param_4 + 10" (identifier "param_4") (+ "+") (number_literal "10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != iVar3)" (( "(") (binary_expression "param_3 != iVar3" (identifier "param_3") (!= "!=") (identifier "iVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* DWARF original prototype: void define_symbols(Symbol_table * this, Layout * layout, int count,
   Define_symbol_in_section * p, bool only_if_ref) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *layout,int var_1,type_3 *var_6,bool only_if_ref)

{
  type_4 *var_3;
  bool bVar1;
  int var_4;
  
  if (0 < var_1) {
    var_4 = 0;
    do {
      while (var_3 = type_2::var_2(layout,var_6->output_section), var_3 == (type_4 *)0x0
            ) {
        bVar1 = true;
        if (!only_if_ref) {
          bVar1 = var_6->only_if_ref;
        }
        var_4 = var_4 + 1;
        var_5(this,var_6->name,(char *)0x0,PREDEFINED,0,var_6->size,var_6->type,var_6->binding,
                           var_6->visibility,var_6->nonvis,bVar1,false);
        var_6 = var_6 + 1;
        if (var_1 == var_4) {
          return;
        }
      }
      bVar1 = true;
      if (!only_if_ref) {
        bVar1 = var_6->only_if_ref;
      }
      var_4 = var_4 + 1;
      var_7
                (this,var_6->name,(char *)0x0,PREDEFINED,&var_3->super_Output_data,var_6->value,var_6->size,var_6->type
                 ,var_6->binding,var_6->visibility,var_6->nonvis,var_6->offset_is_from_end,bVar1);
      var_6 = var_6 + 1;
    } while (var_1 != var_4);
  }
  return;
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2,int param_3,undefined4 *param_4,char param_5
                 )

{
  int iVar1;
  undefined1 uVar2;
  int iVar3;
  
  if (0 < param_3) {
    iVar3 = 0;
    do {
      while (iVar1 = FUN_00096ef0(param_2,param_4[1]), iVar1 == 0) {
        uVar2 = 1;
        if (param_5 == '\0') {
          uVar2 = *(undefined1 *)((int)param_4 + 0x26);
        }
        iVar3 = iVar3 + 1;
        FUN_0017a470(param_1,*param_4,0,5,0,0,param_4[4],param_4[5],param_4[6],param_4[7],param_4[8]
                     ,*(undefined1 *)(param_4 + 9),uVar2,0);
        param_4 = param_4 + 10;
        if (param_3 == iVar3) {
          return;
        }
      }
      uVar2 = 1;
      if (param_5 == '\0') {
        uVar2 = *(undefined1 *)((int)param_4 + 0x26);
      }
      iVar3 = iVar3 + 1;
      FUN_0017a2b0(param_1,*param_4,0,5,iVar1,param_4[2],param_4[3],param_4[4],param_4[5],param_4[6]
                   ,param_4[7],param_4[8],*(undefined1 *)(param_4 + 9),
                   *(undefined1 *)((int)param_4 + 0x25),uVar2);
      param_4 = param_4 + 10;
    } while (param_3 != iVar3);
  }
  return;
}

