
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void script_add_library(void *closurev,char *name,size_t length)

{
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *paVar1;
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *paVar2;
  char *pcVar3;
  size_t sVar4;
  Input_argument *pIVar5;
  Input_arguments *this;
  char *__s;
  string name_string;
  Input_file_argument file;
  
  name_string._M_dataplus._M_p = (pointer)&name_string.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&name_string,name,name + length,0);
  if (*name_string._M_dataplus._M_p != 'l') {
    pcVar3 = (char *)gettext("library name must be prefixed with -l");
                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */
    gold::gold_error(pcVar3);
  }
  paVar1 = &file.name_.field_2;
  __s = name_string._M_dataplus._M_p + 1;
  pcVar3 = (char *)0xffffffff;
  file.name_._M_dataplus._M_p = (pointer)paVar1;
  if (__s != (char *)0x0) {
    sVar4 = strlen(__s);
    pcVar3 = __s + sVar4;
  }
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&file.name_,__s,pcVar3,0);
  paVar2 = &file.extra_search_path_.field_2;
  file.type_ = INPUT_FILE_TYPE_LIBRARY;
  file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2;
                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&file.extra_search_path_,"","",0);
  file.options_._0_4_ = *(undefined4 *)((int)closurev + 4);
  file.just_symbols_ = false;
  file.arg_serial_ = 0;
  file.options_.format_enum_ = *(Object_format *)((int)closurev + 8);
  file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc);
  file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10);
  this = *(Input_arguments **)((int)closurev + 0x4c);
  if (this == (Input_arguments *)0x0) {
    this = (Input_arguments *)operator_new(0x14);
    (this->input_argument_list_).
    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start
         = (pointer)0x0;
    (this->input_argument_list_).
    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.
    _M_finish = (pointer)0x0;
    (this->input_argument_list_).
    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.
    _M_end_of_storage = (pointer)0x0;
    this->in_group_ = false;
    this->in_lib_ = false;
    this->file_count_ = 0;
    *(Input_arguments **)((int)closurev + 0x4c) = this;
  }
                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */
  pIVar5 = gold::Input_arguments::add_file(this,&file);
  pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50);
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)file.extra_search_path_._M_dataplus._M_p != paVar2) {
    operator_delete(file.extra_search_path_._M_dataplus._M_p);
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)file.name_._M_dataplus._M_p != paVar1) {
    operator_delete(file.name_._M_dataplus._M_p);
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)name_string._M_dataplus._M_p != &name_string.field_2) {
    operator_delete(name_string._M_dataplus._M_p);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_001db8f0(int param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  char *pcVar2;
  size_t sVar3;
  int iVar4;
  undefined4 *puVar5;
  char *__s;
  char *local_80 [2];
  char local_78 [16];
  undefined1 *local_68 [2];
  undefined1 local_60 [16];
  undefined4 local_50;
  undefined1 *local_4c [2];
  undefined1 local_44 [16];
  undefined1 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  local_80[0] = local_78;
  FUN_000a8880(local_80,param_2,param_3 + param_2,0);
  if (*local_80[0] != 'l') {
    uVar1 = gettext("library name must be prefixed with -l");
                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */
    FUN_000d1330(uVar1);
  }
  __s = local_80[0] + 1;
  pcVar2 = (char *)0xffffffff;
  local_68[0] = local_60;
  if (__s != (char *)0x0) {
    sVar3 = strlen(__s);
    pcVar2 = __s + sVar3;
  }
  FUN_000a8880(local_68,__s,pcVar2,0);
  local_50 = 1;
  local_4c[0] = local_44;
                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */
  FUN_000a8880(local_4c,"","",0);
  local_30 = *(undefined4 *)(param_1 + 4);
  local_34 = 0;
  local_20 = 0;
  local_2c = *(undefined4 *)(param_1 + 8);
  local_28 = *(undefined4 *)(param_1 + 0xc);
  local_24 = *(undefined4 *)(param_1 + 0x10);
  puVar5 = *(undefined4 **)(param_1 + 0x4c);
  if (puVar5 == (undefined4 *)0x0) {
    puVar5 = (undefined4 *)FUN_00246670(0x14);
    *puVar5 = 0;
    puVar5[1] = 0;
    puVar5[2] = 0;
    *(undefined2 *)(puVar5 + 3) = 0;
    puVar5[4] = 0;
    *(undefined4 **)(param_1 + 0x4c) = puVar5;
  }
                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */
  iVar4 = FUN_0014d3a0(puVar5,local_68);
  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);
  if (local_4c[0] != local_44) {
    FUN_00248220(local_4c[0]);
  }
  if (local_68[0] != local_60) {
    FUN_00248220(local_68[0]);
  }
  if (local_80[0] != local_78) {
    FUN_00248220(local_80[0]);
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA EDX,[EBP + -0x7c]
CALL 0x0004d336
ADD ESI,0x238703
PUSH EBX
LEA EBX,[EBP + -0x74]
SUB ESP,0x8c
MOV EAX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x7c],EBX
PUSH 0x0
MOV EDI,dword ptr [EBP + 0x8]
ADD ECX,EAX
MOV dword ptr [EBP + 0xffffff70],EBX
PUSH ECX
PUSH EAX
PUSH EDX
CALL 0x000a8880
MOV EDX,dword ptr [EBP + -0x7c]
ADD ESP,0x10
CMP byte ptr [EDX],0x6c
JZ 0x001db955
SUB ESP,0xc
LEA EAX,[ESI + 0xffef85c0]
MOV EBX,ESI
PUSH EAX
CALL 0x0002c440
MOV dword ptr [ESP],EAX
CALL 0x000d1330
MOV EDX,dword ptr [EBP + -0x7c]
ADD ESP,0x10
MOV ECX,EDX
LEA EAX,[EBP + -0x5c]
ADD ECX,0x1
MOV dword ptr [EBP + 0xffffff6c],EAX
MOV dword ptr [EBP + -0x64],EAX
MOV EAX,0xffffffff
MOV dword ptr [EBP + 0xffffff74],ECX
JZ 0x001db987
SUB ESP,0xc
MOV EBX,ESI
PUSH ECX
CALL 0x0002c330
ADD ESP,0x10
ADD EAX,dword ptr [EBP + 0xffffff74]
PUSH 0x0
PUSH EAX
LEA EAX,[EBP + -0x64]
PUSH dword ptr [EBP + 0xffffff74]
PUSH EAX
MOV dword ptr [EBP + 0xffffff74],EAX
CALL 0x000a8880
LEA EAX,[EBP + -0x40]
ADD ESP,0x10
MOV dword ptr [EBP + -0x4c],0x1
MOV dword ptr [EBP + 0xffffff68],EAX
MOV dword ptr [EBP + -0x48],EAX
LEA EAX,[ESI + 0xffefd1b6]
PUSH 0x0
PUSH EAX
PUSH EAX
LEA EAX,[EBP + -0x48]
PUSH EAX
CALL 0x000a8880
MOV EAX,dword ptr [EDI + 0x4]
ADD ESP,0x10
MOV byte ptr [EBP + -0x30],0x0
MOV dword ptr [EBP + -0x1c],0x0
MOV dword ptr [EBP + -0x2c],EAX
MOV EAX,dword ptr [EDI + 0x8]
MOV dword ptr [EBP + -0x28],EAX
MOV EAX,dword ptr [EDI + 0xc]
MOV dword ptr [EBP + -0x24],EAX
MOV EAX,dword ptr [EDI + 0x10]
MOV dword ptr [EBP + -0x20],EAX
MOV EAX,dword ptr [EDI + 0x4c]
TEST EAX,EAX
JZ 0x001dba60
SUB ESP,0x8
PUSH dword ptr [EBP + 0xffffff74]
MOV EBX,ESI
PUSH EAX
CALL 0x0014d3a0
MOV EDX,dword ptr [EDI + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX + 0x58],EDX
MOV EAX,dword ptr [EBP + -0x48]
CMP EAX,dword ptr [EBP + 0xffffff68]
JZ 0x001dba26
SUB ESP,0xc
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x64]
CMP EAX,dword ptr [EBP + 0xffffff6c]
JZ 0x001dba3f
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x7c]
CMP EAX,dword ptr [EBP + 0xffffff70]
JZ 0x001dba58
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x14
CALL 0x00246670
XOR EDX,EDX
ADD ESP,0x10
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV word ptr [EAX + 0xc],DX
MOV dword ptr [EAX + 0x10],0x0
MOV dword ptr [EDI + 0x4c],EAX
JMP 0x001db9f5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_001db8f0(int param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001db8f0(int param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001db8f0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *local_80 [2];" primitive_type (pointer_declarator "*local_80 [2]" * (array_declarator "local_80 [2]" identifier [ number_literal ])) ;) (declaration "char local_78 [16];" primitive_type (array_declarator "local_78 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_68 [2];" type_identifier (pointer_declarator "*local_68 [2]" * (array_declarator "local_68 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_60 [16];" type_identifier (array_declarator "local_60 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined1 *local_4c [2];" type_identifier (pointer_declarator "*local_4c [2]" * (array_declarator "local_4c [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_44 [16];" type_identifier (array_declarator "local_44 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_80[0] = local_78;" (assignment_expression "local_80[0] = local_78" (subscript_expression "local_80[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000a8880(local_80,param_2,param_3 + param_2,0);" (call_expression "FUN_000a8880(local_80,param_2,param_3 + param_2,0)" identifier (argument_list "(local_80,param_2,param_3 + param_2,0)" ( identifier , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (if_statement "if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    FUN_000d1330(uVar1);\n  }" if (parenthesized_expression "(*local_80[0] != 'l')" ( (binary_expression "*local_80[0] != 'l'" (pointer_expression "*local_80[0]" * (subscript_expression "local_80[0]" identifier [ number_literal ])) != (char_literal "'l'" ' character ')) )) (compound_statement "{\n    uVar1 = gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    FUN_000d1330(uVar1);\n  }" { (expression_statement "uVar1 = gettext("library name must be prefixed with -l");" (assignment_expression "uVar1 = gettext("library name must be prefixed with -l")" identifier = (call_expression "gettext("library name must be prefixed with -l")" identifier (argument_list "("library name must be prefixed with -l")" ( (string_literal ""library name must be prefixed with -l"" " string_content ") )))) ;) comment (expression_statement "FUN_000d1330(uVar1);" (call_expression "FUN_000d1330(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) })) (expression_statement "__s = local_80[0] + 1;" (assignment_expression "__s = local_80[0] + 1" identifier = (binary_expression "local_80[0] + 1" (subscript_expression "local_80[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_68[0] = local_60;" (assignment_expression "local_68[0] = local_60" (subscript_expression "local_68[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" { (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar2 = __s + sVar3;" (assignment_expression "pcVar2 = __s + sVar3" identifier = (binary_expression "__s + sVar3" identifier + identifier)) ;) })) (expression_statement "FUN_000a8880(local_68,__s,pcVar2,0);" (call_expression "FUN_000a8880(local_68,__s,pcVar2,0)" identifier (argument_list "(local_68,__s,pcVar2,0)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" identifier = number_literal) ;) (expression_statement "local_4c[0] = local_44;" (assignment_expression "local_4c[0] = local_44" (subscript_expression "local_4c[0]" identifier [ number_literal ]) = identifier) ;) comment (expression_statement "FUN_000a8880(local_4c,"","",0);" (call_expression "FUN_000a8880(local_4c,"","",0)" identifier (argument_list "(local_4c,"","",0)" ( identifier , (string_literal """" " ") , (string_literal """" " ") , number_literal ))) ;) (expression_statement "local_30 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_30 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "local_28 = *(undefined4 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "local_24 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x4c);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x4c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" { (expression_statement "puVar5 = (undefined4 *)FUN_00246670(0x14);" (assignment_expression "puVar5 = (undefined4 *)FUN_00246670(0x14)" identifier = (cast_expression "(undefined4 *)FUN_00246670(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar5 + 3) = 0;" (assignment_expression "*(undefined2 *)(puVar5 + 3) = 0" (pointer_expression "*(undefined2 *)(puVar5 + 3)" * (cast_expression "(undefined2 *)(puVar5 + 3)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 3)" ( (binary_expression "puVar5 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar5[4] = 0;" (assignment_expression "puVar5[4] = 0" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = identifier) ;) })) comment (expression_statement "iVar4 = FUN_0014d3a0(puVar5,local_68);" (assignment_expression "iVar4 = FUN_0014d3a0(puVar5,local_68)" identifier = (call_expression "FUN_0014d3a0(puVar5,local_68)" identifier (argument_list "(puVar5,local_68)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);" (assignment_expression "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50)" (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }" if (parenthesized_expression "(local_4c[0] != local_44)" ( (binary_expression "local_4c[0] != local_44" (subscript_expression "local_4c[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_4c[0]);\n  }" { (expression_statement "FUN_00248220(local_4c[0]);" (call_expression "FUN_00248220(local_4c[0])" identifier (argument_list "(local_4c[0])" ( (subscript_expression "local_4c[0]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }" if (parenthesized_expression "(local_68[0] != local_60)" ( (binary_expression "local_68[0] != local_60" (subscript_expression "local_68[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_68[0]);\n  }" { (expression_statement "FUN_00248220(local_68[0]);" (call_expression "FUN_00248220(local_68[0])" identifier (argument_list "(local_68[0])" ( (subscript_expression "local_68[0]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }" if (parenthesized_expression "(local_80[0] != local_78)" ( (binary_expression "local_80[0] != local_78" (subscript_expression "local_80[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_80[0]);\n  }" { (expression_statement "FUN_00248220(local_80[0]);" (call_expression "FUN_00248220(local_80[0])" identifier (argument_list "(local_80[0])" ( (subscript_expression "local_80[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid script_add_library(void *closurev,char *name,size_t length)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar2;\n  char *pcVar3;\n  size_t sVar4;\n  Input_argument *pIVar5;\n  Input_arguments *this;\n  char *__s;\n  string name_string;\n  Input_file_argument file;\n  \n  name_string._M_dataplus._M_p = (pointer)&name_string.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name_string,name,name + length,0);\n  if (*name_string._M_dataplus._M_p != 'l') {\n    pcVar3 = (char *)gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    gold::gold_error(pcVar3);\n  }\n  paVar1 = &file.name_.field_2;\n  __s = name_string._M_dataplus._M_p + 1;\n  pcVar3 = (char *)0xffffffff;\n  file.name_._M_dataplus._M_p = (pointer)paVar1;\n  if (__s != (char *)0x0) {\n    sVar4 = strlen(__s);\n    pcVar3 = __s + sVar4;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.name_,__s,pcVar3,0);\n  paVar2 = &file.extra_search_path_.field_2;\n  file.type_ = INPUT_FILE_TYPE_LIBRARY;\n  file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.extra_search_path_,"","",0);\n  file.options_._0_4_ = *(undefined4 *)((int)closurev + 4);\n  file.just_symbols_ = false;\n  file.arg_serial_ = 0;\n  file.options_.format_enum_ = *(Object_format *)((int)closurev + 8);\n  file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc);\n  file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10);\n  this = *(Input_arguments **)((int)closurev + 0x4c);\n  if (this == (Input_arguments *)0x0) {\n    this = (Input_arguments *)operator_new(0x14);\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n    this->in_group_ = false;\n    this->in_lib_ = false;\n    this->file_count_ = 0;\n    *(Input_arguments **)((int)closurev + 0x4c) = this;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  pIVar5 = gold::Input_arguments::add_file(this,&file);\n  pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2) {\n    operator_delete(file.extra_search_path_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1) {\n    operator_delete(file.name_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2) {\n    operator_delete(name_string._M_dataplus._M_p);\n  }\n  return;\n}\n\n" comment (function_definition "void script_add_library(void *closurev,char *name,size_t length)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar2;\n  char *pcVar3;\n  size_t sVar4;\n  Input_argument *pIVar5;\n  Input_arguments *this;\n  char *__s;\n  string name_string;\n  Input_file_argument file;\n  \n  name_string._M_dataplus._M_p = (pointer)&name_string.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name_string,name,name + length,0);\n  if (*name_string._M_dataplus._M_p != 'l') {\n    pcVar3 = (char *)gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    gold::gold_error(pcVar3);\n  }\n  paVar1 = &file.name_.field_2;\n  __s = name_string._M_dataplus._M_p + 1;\n  pcVar3 = (char *)0xffffffff;\n  file.name_._M_dataplus._M_p = (pointer)paVar1;\n  if (__s != (char *)0x0) {\n    sVar4 = strlen(__s);\n    pcVar3 = __s + sVar4;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.name_,__s,pcVar3,0);\n  paVar2 = &file.extra_search_path_.field_2;\n  file.type_ = INPUT_FILE_TYPE_LIBRARY;\n  file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.extra_search_path_,"","",0);\n  file.options_._0_4_ = *(undefined4 *)((int)closurev + 4);\n  file.just_symbols_ = false;\n  file.arg_serial_ = 0;\n  file.options_.format_enum_ = *(Object_format *)((int)closurev + 8);\n  file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc);\n  file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10);\n  this = *(Input_arguments **)((int)closurev + 0x4c);\n  if (this == (Input_arguments *)0x0) {\n    this = (Input_arguments *)operator_new(0x14);\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n    this->in_group_ = false;\n    this->in_lib_ = false;\n    this->file_count_ = 0;\n    *(Input_arguments **)((int)closurev + 0x4c) = this;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  pIVar5 = gold::Input_arguments::add_file(this,&file);\n  pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2) {\n    operator_delete(file.extra_search_path_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1) {\n    operator_delete(file.name_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2) {\n    operator_delete(name_string._M_dataplus._M_p);\n  }\n  return;\n}" primitive_type (function_declarator "script_add_library(void *closurev,char *name,size_t length)" identifier (parameter_list "(void *closurev,char *name,size_t length)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar2;\n  char *pcVar3;\n  size_t sVar4;\n  Input_argument *pIVar5;\n  Input_arguments *this;\n  char *__s;\n  string name_string;\n  Input_file_argument file;\n  \n  name_string._M_dataplus._M_p = (pointer)&name_string.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name_string,name,name + length,0);\n  if (*name_string._M_dataplus._M_p != 'l') {\n    pcVar3 = (char *)gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    gold::gold_error(pcVar3);\n  }\n  paVar1 = &file.name_.field_2;\n  __s = name_string._M_dataplus._M_p + 1;\n  pcVar3 = (char *)0xffffffff;\n  file.name_._M_dataplus._M_p = (pointer)paVar1;\n  if (__s != (char *)0x0) {\n    sVar4 = strlen(__s);\n    pcVar3 = __s + sVar4;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.name_,__s,pcVar3,0);\n  paVar2 = &file.extra_search_path_.field_2;\n  file.type_ = INPUT_FILE_TYPE_LIBRARY;\n  file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2;\n                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.extra_search_path_,"","",0);\n  file.options_._0_4_ = *(undefined4 *)((int)closurev + 4);\n  file.just_symbols_ = false;\n  file.arg_serial_ = 0;\n  file.options_.format_enum_ = *(Object_format *)((int)closurev + 8);\n  file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc);\n  file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10);\n  this = *(Input_arguments **)((int)closurev + 0x4c);\n  if (this == (Input_arguments *)0x0) {\n    this = (Input_arguments *)operator_new(0x14);\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n    this->in_group_ = false;\n    this->in_lib_ = false;\n    this->file_count_ = 0;\n    *(Input_arguments **)((int)closurev + 0x4c) = this;\n  }\n                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */\n  pIVar5 = gold::Input_arguments::add_file(this,&file);\n  pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2) {\n    operator_delete(file.extra_search_path_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1) {\n    operator_delete(file.name_._M_dataplus._M_p);\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2) {\n    operator_delete(name_string._M_dataplus._M_p);\n  }\n  return;\n}" { (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *paVar1;" (binary_expression "allocator<char>_>_9\n  *paVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *paVar1" identifier * identifier)) ;) (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *paVar2;" (binary_expression "allocator<char>_>_9\n  *paVar2" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *paVar2" identifier * identifier)) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "Input_argument *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (declaration "Input_arguments *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "string name_string;" type_identifier identifier ;) (declaration "Input_file_argument file;" type_identifier identifier ;) (expression_statement "name_string._M_dataplus._M_p = (pointer)&name_string.field_2;" (assignment_expression "name_string._M_dataplus._M_p = (pointer)&name_string.field_2" (field_expression "name_string._M_dataplus._M_p" (field_expression "name_string._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&name_string.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "name_string.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name_string,name,name + length,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&name_string,name,name + length,0);" (binary_expression "_M_construct<char_const*>(&name_string,name,name + length,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&name_string,name,name + length,0)" ( (comma_expression "&name_string,name,name + length,0" (pointer_expression "&name_string" & identifier) , (comma_expression "name,name + length,0" identifier , (comma_expression "name + length,0" (binary_expression "name + length" identifier + identifier) , number_literal))) ))) ;)) (if_statement "if (*name_string._M_dataplus._M_p != 'l') {\n    pcVar3 = (char *)gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    gold::gold_error(pcVar3);\n  }" if (parenthesized_expression "(*name_string._M_dataplus._M_p != 'l')" ( (binary_expression "*name_string._M_dataplus._M_p != 'l'" (pointer_expression "*name_string._M_dataplus._M_p" * (field_expression "name_string._M_dataplus._M_p" (field_expression "name_string._M_dataplus" identifier . field_identifier) . field_identifier)) != (char_literal "'l'" ' character ')) )) (compound_statement "{\n    pcVar3 = (char *)gettext("library name must be prefixed with -l");\n                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */\n    gold::gold_error(pcVar3);\n  }" { (expression_statement "pcVar3 = (char *)gettext("library name must be prefixed with -l");" (assignment_expression "pcVar3 = (char *)gettext("library name must be prefixed with -l")" identifier = (cast_expression "(char *)gettext("library name must be prefixed with -l")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("library name must be prefixed with -l")" identifier (argument_list "("library name must be prefixed with -l")" ( (string_literal ""library name must be prefixed with -l"" " string_content ") ))))) ;) comment (labeled_statement "gold::gold_error(pcVar3);" statement_identifier : (ERROR ":" :) (expression_statement "gold_error(pcVar3);" (call_expression "gold_error(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;)) })) (expression_statement "paVar1 = &file.name_.field_2;" (assignment_expression "paVar1 = &file.name_.field_2" identifier = (pointer_expression "&file.name_.field_2" & (field_expression "file.name_.field_2" (field_expression "file.name_" identifier . field_identifier) . field_identifier))) ;) (expression_statement "__s = name_string._M_dataplus._M_p + 1;" (assignment_expression "__s = name_string._M_dataplus._M_p + 1" identifier = (binary_expression "name_string._M_dataplus._M_p + 1" (field_expression "name_string._M_dataplus._M_p" (field_expression "name_string._M_dataplus" identifier . field_identifier) . field_identifier) + number_literal)) ;) (expression_statement "pcVar3 = (char *)0xffffffff;" (assignment_expression "pcVar3 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "file.name_._M_dataplus._M_p = (pointer)paVar1;" (assignment_expression "file.name_._M_dataplus._M_p = (pointer)paVar1" (field_expression "file.name_._M_dataplus._M_p" (field_expression "file.name_._M_dataplus" (field_expression "file.name_" identifier . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(pointer)paVar1" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (__s != (char *)0x0) {\n    sVar4 = strlen(__s);\n    pcVar3 = __s + sVar4;\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar4 = strlen(__s);\n    pcVar3 = __s + sVar4;\n  }" { (expression_statement "sVar4 = strlen(__s);" (assignment_expression "sVar4 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar3 = __s + sVar4;" (assignment_expression "pcVar3 = __s + sVar4" identifier = (binary_expression "__s + sVar4" identifier + identifier)) ;) })) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.name_,__s,pcVar3,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&file.name_,__s,pcVar3,0);" (binary_expression "_M_construct<char_const*>(&file.name_,__s,pcVar3,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&file.name_,__s,pcVar3,0)" ( (comma_expression "&file.name_,__s,pcVar3,0" (pointer_expression "&file.name_" & (field_expression "file.name_" identifier . field_identifier)) , (comma_expression "__s,pcVar3,0" identifier , (comma_expression "pcVar3,0" identifier , number_literal))) ))) ;)) (expression_statement "paVar2 = &file.extra_search_path_.field_2;" (assignment_expression "paVar2 = &file.extra_search_path_.field_2" identifier = (pointer_expression "&file.extra_search_path_.field_2" & (field_expression "file.extra_search_path_.field_2" (field_expression "file.extra_search_path_" identifier . field_identifier) . field_identifier))) ;) (expression_statement "file.type_ = INPUT_FILE_TYPE_LIBRARY;" (assignment_expression "file.type_ = INPUT_FILE_TYPE_LIBRARY" (field_expression "file.type_" identifier . field_identifier) = identifier) ;) (expression_statement "file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2;" (assignment_expression "file.extra_search_path_._M_dataplus._M_p = (pointer)paVar2" (field_expression "file.extra_search_path_._M_dataplus._M_p" (field_expression "file.extra_search_path_._M_dataplus" (field_expression "file.extra_search_path_" identifier . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(pointer)paVar2" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) comment (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&file.extra_search_path_,"","",0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&file.extra_search_path_,"","",0);" (binary_expression "_M_construct<char_const*>(&file.extra_search_path_,"","",0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&file.extra_search_path_,"","",0)" ( (comma_expression "&file.extra_search_path_,"","",0" (pointer_expression "&file.extra_search_path_" & (field_expression "file.extra_search_path_" identifier . field_identifier)) , (comma_expression ""","",0" (string_literal """" " ") , (comma_expression """,0" (string_literal """" " ") , number_literal))) ))) ;)) (expression_statement "file.options_._0_4_ = *(undefined4 *)((int)closurev + 4);" (assignment_expression "file.options_._0_4_ = *(undefined4 *)((int)closurev + 4)" (field_expression "file.options_._0_4_" (field_expression "file.options_" identifier . field_identifier) . field_identifier) = (pointer_expression "*(undefined4 *)((int)closurev + 4)" * (cast_expression "(undefined4 *)((int)closurev + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 4)" ( (binary_expression "(int)closurev + 4" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "file.just_symbols_ = false;" (assignment_expression "file.just_symbols_ = false" (field_expression "file.just_symbols_" identifier . field_identifier) = false) ;) (expression_statement "file.arg_serial_ = 0;" (assignment_expression "file.arg_serial_ = 0" (field_expression "file.arg_serial_" identifier . field_identifier) = number_literal) ;) (expression_statement "file.options_.format_enum_ = *(Object_format *)((int)closurev + 8);" (assignment_expression "file.options_.format_enum_ = *(Object_format *)((int)closurev + 8)" (field_expression "file.options_.format_enum_" (field_expression "file.options_" identifier . field_identifier) . field_identifier) = (pointer_expression "*(Object_format *)((int)closurev + 8)" * (cast_expression "(Object_format *)((int)closurev + 8)" ( (type_descriptor "Object_format *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 8)" ( (binary_expression "(int)closurev + 8" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc);" (assignment_expression "file.options_._8_4_ = *(undefined4 *)((int)closurev + 0xc)" (field_expression "file.options_._8_4_" (field_expression "file.options_" identifier . field_identifier) . field_identifier) = (pointer_expression "*(undefined4 *)((int)closurev + 0xc)" * (cast_expression "(undefined4 *)((int)closurev + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0xc)" ( (binary_expression "(int)closurev + 0xc" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10);" (assignment_expression "file.options_.incremental_disposition_ = *(Incremental_disposition *)((int)closurev + 0x10)" (field_expression "file.options_.incremental_disposition_" (field_expression "file.options_" identifier . field_identifier) . field_identifier) = (pointer_expression "*(Incremental_disposition *)((int)closurev + 0x10)" * (cast_expression "(Incremental_disposition *)((int)closurev + 0x10)" ( (type_descriptor "Incremental_disposition *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x10)" ( (binary_expression "(int)closurev + 0x10" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "this = *(Input_arguments **)((int)closurev + 0x4c);" (assignment_expression "this = *(Input_arguments **)((int)closurev + 0x4c)" identifier = (pointer_expression "*(Input_arguments **)((int)closurev + 0x4c)" * (cast_expression "(Input_arguments **)((int)closurev + 0x4c)" ( (type_descriptor "Input_arguments **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x4c)" ( (binary_expression "(int)closurev + 0x4c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (this == (Input_arguments *)0x0) {\n    this = (Input_arguments *)operator_new(0x14);\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n    this->in_group_ = false;\n    this->in_lib_ = false;\n    this->file_count_ = 0;\n    *(Input_arguments **)((int)closurev + 0x4c) = this;\n  }" if (parenthesized_expression "(this == (Input_arguments *)0x0)" ( (binary_expression "this == (Input_arguments *)0x0" identifier == (cast_expression "(Input_arguments *)0x0" ( (type_descriptor "Input_arguments *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this = (Input_arguments *)operator_new(0x14);\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;\n    (this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n    this->in_group_ = false;\n    this->in_lib_ = false;\n    this->file_count_ = 0;\n    *(Input_arguments **)((int)closurev + 0x4c) = this;\n  }" { (expression_statement "this = (Input_arguments *)operator_new(0x14);" (assignment_expression "this = (Input_arguments *)operator_new(0x14)" identifier = (cast_expression "(Input_arguments *)operator_new(0x14)" ( (type_descriptor "Input_arguments *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (ERROR "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::" (comma_expression "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std" (binary_expression "(this->input_argument_list_).\n    super__Vector_base<gold" (field_expression "(this->input_argument_list_).\n    super__Vector_base" (parenthesized_expression "(this->input_argument_list_)" ( (field_expression "this->input_argument_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Input_argument" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Input_argument>_>._M_impl._M_start\n         = (pointer)0x0;" (assignment_expression "Input_argument>_>._M_impl._M_start\n         = (pointer)0x0" (field_expression "Input_argument>_>._M_impl._M_start" (field_expression "Input_argument>_>._M_impl" (binary_expression "Input_argument>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (ERROR "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::" (comma_expression "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std" (binary_expression "(this->input_argument_list_).\n    super__Vector_base<gold" (field_expression "(this->input_argument_list_).\n    super__Vector_base" (parenthesized_expression "(this->input_argument_list_)" ( (field_expression "this->input_argument_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Input_argument" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0;" (assignment_expression "Input_argument>_>._M_impl.\n    _M_finish = (pointer)0x0" (field_expression "Input_argument>_>._M_impl.\n    _M_finish" (field_expression "Input_argument>_>._M_impl" (binary_expression "Input_argument>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (ERROR "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std::allocator<gold::" (comma_expression "(this->input_argument_list_).\n    super__Vector_base<gold::Input_argument,_std" (binary_expression "(this->input_argument_list_).\n    super__Vector_base<gold" (field_expression "(this->input_argument_list_).\n    super__Vector_base" (parenthesized_expression "(this->input_argument_list_)" ( (field_expression "this->input_argument_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Input_argument" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;" (assignment_expression "Input_argument>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0" (field_expression "Input_argument>_>._M_impl.\n    _M_end_of_storage" (field_expression "Input_argument>_>._M_impl" (binary_expression "Input_argument>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "this->in_group_ = false;" (assignment_expression "this->in_group_ = false" (field_expression "this->in_group_" identifier -> field_identifier) = false) ;) (expression_statement "this->in_lib_ = false;" (assignment_expression "this->in_lib_ = false" (field_expression "this->in_lib_" identifier -> field_identifier) = false) ;) (expression_statement "this->file_count_ = 0;" (assignment_expression "this->file_count_ = 0" (field_expression "this->file_count_" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(Input_arguments **)((int)closurev + 0x4c) = this;" (assignment_expression "*(Input_arguments **)((int)closurev + 0x4c) = this" (pointer_expression "*(Input_arguments **)((int)closurev + 0x4c)" * (cast_expression "(Input_arguments **)((int)closurev + 0x4c)" ( (type_descriptor "Input_arguments **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x4c)" ( (binary_expression "(int)closurev + 0x4c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) comment (ERROR "pIVar5 = gold::" (assignment_expression "pIVar5 = gold" identifier = identifier) : :) (labeled_statement "Input_arguments::add_file(this,&file);" statement_identifier : (ERROR ":" :) (expression_statement "add_file(this,&file);" (call_expression "add_file(this,&file)" identifier (argument_list "(this,&file)" ( identifier , (pointer_expression "&file" & identifier) ))) ;)) (expression_statement "pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50);" (assignment_expression "pIVar5->script_info_ = *(Script_info **)((int)closurev + 0x50)" (field_expression "pIVar5->script_info_" identifier -> field_identifier) = (pointer_expression "*(Script_info **)((int)closurev + 0x50)" * (cast_expression "(Script_info **)((int)closurev + 0x50)" ( (type_descriptor "Script_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x50)" ( (binary_expression "(int)closurev + 0x50" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2) {\n    operator_delete(file.extra_search_path_._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p != paVar2" (binary_expression "allocator<char>_>_9\n       *)file.extra_search_path_._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)file.extra_search_path_._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "file.extra_search_path_._M_dataplus._M_p" (field_expression "file.extra_search_path_._M_dataplus" (field_expression "file.extra_search_path_" identifier . field_identifier) . field_identifier) . field_identifier))) != identifier) )) )) (compound_statement "{\n    operator_delete(file.extra_search_path_._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(file.extra_search_path_._M_dataplus._M_p);" (call_expression "operator_delete(file.extra_search_path_._M_dataplus._M_p)" identifier (argument_list "(file.extra_search_path_._M_dataplus._M_p)" ( (field_expression "file.extra_search_path_._M_dataplus._M_p" (field_expression "file.extra_search_path_._M_dataplus" (field_expression "file.extra_search_path_" identifier . field_identifier) . field_identifier) . field_identifier) ))) ;) })) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1) {\n    operator_delete(file.name_._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p != paVar1" (binary_expression "allocator<char>_>_9\n       *)file.name_._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)file.name_._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "file.name_._M_dataplus._M_p" (field_expression "file.name_._M_dataplus" (field_expression "file.name_" identifier . field_identifier) . field_identifier) . field_identifier))) != identifier) )) )) (compound_statement "{\n    operator_delete(file.name_._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(file.name_._M_dataplus._M_p);" (call_expression "operator_delete(file.name_._M_dataplus._M_p)" identifier (argument_list "(file.name_._M_dataplus._M_p)" ( (field_expression "file.name_._M_dataplus._M_p" (field_expression "file.name_._M_dataplus" (field_expression "file.name_" identifier . field_identifier) . field_identifier) . field_identifier) ))) ;) })) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2) {\n    operator_delete(name_string._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)name_string._M_dataplus._M_p != &name_string.field_2" (binary_expression "allocator<char>_>_9\n       *)name_string._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)name_string._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "name_string._M_dataplus._M_p" (field_expression "name_string._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&name_string.field_2" & (field_expression "name_string.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(name_string._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(name_string._M_dataplus._M_p);" (call_expression "operator_delete(name_string._M_dataplus._M_p)" identifier (argument_list "(name_string._M_dataplus._M_p)" ( (field_expression "name_string._M_dataplus._M_p" (field_expression "name_string._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001db8f0(int param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    \n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    \n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001db8f0(int param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    \n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    \n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001db8f0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    \n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    \n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *local_80 [2];" primitive_type (pointer_declarator "*local_80 [2]" * (array_declarator "local_80 [2]" identifier [ number_literal ])) ;) (declaration "char local_78 [16];" primitive_type (array_declarator "local_78 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_68 [2];" type_identifier (pointer_declarator "*local_68 [2]" * (array_declarator "local_68 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_60 [16];" type_identifier (array_declarator "local_60 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined1 *local_4c [2];" type_identifier (pointer_declarator "*local_4c [2]" * (array_declarator "local_4c [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_44 [16];" type_identifier (array_declarator "local_44 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_80[0] = local_78;" (assignment_expression "local_80[0] = local_78" (subscript_expression "local_80[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000a8880(local_80,param_2,param_3 + param_2,0);" (call_expression "FUN_000a8880(local_80,param_2,param_3 + param_2,0)" identifier (argument_list "(local_80,param_2,param_3 + param_2,0)" ( identifier , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (if_statement "if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }" if (parenthesized_expression "(*local_80[0] != 'l')" ( (binary_expression "*local_80[0] != 'l'" (pointer_expression "*local_80[0]" * (subscript_expression "local_80[0]" identifier [ number_literal ])) != (char_literal "'l'" ' character ')) )) (compound_statement "{\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }" { (expression_statement "uVar1 = gettext("library name must be prefixed with -l");" (assignment_expression "uVar1 = gettext("library name must be prefixed with -l")" identifier = (call_expression "gettext("library name must be prefixed with -l")" identifier (argument_list "("library name must be prefixed with -l")" ( (string_literal ""library name must be prefixed with -l"" " string_content ") )))) ;) (expression_statement "FUN_000d1330(uVar1);" (call_expression "FUN_000d1330(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) })) (expression_statement "__s = local_80[0] + 1;" (assignment_expression "__s = local_80[0] + 1" identifier = (binary_expression "local_80[0] + 1" (subscript_expression "local_80[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_68[0] = local_60;" (assignment_expression "local_68[0] = local_60" (subscript_expression "local_68[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" { (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar2 = __s + sVar3;" (assignment_expression "pcVar2 = __s + sVar3" identifier = (binary_expression "__s + sVar3" identifier + identifier)) ;) })) (expression_statement "FUN_000a8880(local_68,__s,pcVar2,0);" (call_expression "FUN_000a8880(local_68,__s,pcVar2,0)" identifier (argument_list "(local_68,__s,pcVar2,0)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" identifier = number_literal) ;) (expression_statement "local_4c[0] = local_44;" (assignment_expression "local_4c[0] = local_44" (subscript_expression "local_4c[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000a8880(local_4c,"","",0);" (call_expression "FUN_000a8880(local_4c,"","",0)" identifier (argument_list "(local_4c,"","",0)" ( identifier , (string_literal """" " ") , (string_literal """" " ") , number_literal ))) ;) (expression_statement "local_30 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_30 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "local_28 = *(undefined4 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "local_24 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x4c);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x4c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" { (expression_statement "puVar5 = (undefined4 *)FUN_00246670(0x14);" (assignment_expression "puVar5 = (undefined4 *)FUN_00246670(0x14)" identifier = (cast_expression "(undefined4 *)FUN_00246670(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar5 + 3) = 0;" (assignment_expression "*(undefined2 *)(puVar5 + 3) = 0" (pointer_expression "*(undefined2 *)(puVar5 + 3)" * (cast_expression "(undefined2 *)(puVar5 + 3)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 3)" ( (binary_expression "puVar5 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar5[4] = 0;" (assignment_expression "puVar5[4] = 0" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar4 = FUN_0014d3a0(puVar5,local_68);" (assignment_expression "iVar4 = FUN_0014d3a0(puVar5,local_68)" identifier = (call_expression "FUN_0014d3a0(puVar5,local_68)" identifier (argument_list "(puVar5,local_68)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);" (assignment_expression "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50)" (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }" if (parenthesized_expression "(local_4c[0] != local_44)" ( (binary_expression "local_4c[0] != local_44" (subscript_expression "local_4c[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_4c[0]);\n  }" { (expression_statement "FUN_00248220(local_4c[0]);" (call_expression "FUN_00248220(local_4c[0])" identifier (argument_list "(local_4c[0])" ( (subscript_expression "local_4c[0]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }" if (parenthesized_expression "(local_68[0] != local_60)" ( (binary_expression "local_68[0] != local_60" (subscript_expression "local_68[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_68[0]);\n  }" { (expression_statement "FUN_00248220(local_68[0]);" (call_expression "FUN_00248220(local_68[0])" identifier (argument_list "(local_68[0])" ( (subscript_expression "local_68[0]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }" if (parenthesized_expression "(local_80[0] != local_78)" ( (binary_expression "local_80[0] != local_78" (subscript_expression "local_80[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_00248220(local_80[0]);\n  }" { (expression_statement "FUN_00248220(local_80[0]);" (call_expression "FUN_00248220(local_80[0])" identifier (argument_list "(local_80[0])" ( (subscript_expression "local_80[0]" identifier [ number_literal ]) ))) ;) })) (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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (subscript_expression IDENT [ LIT ])) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " ") , (string_literal " ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001db8f0(int param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    \n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    \n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001db8f0(int param_1,int param_2,int param_3)" (identifier "FUN_001db8f0") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  char *__s;\n  char *local_80 [2];\n  char local_78 [16];\n  undefined1 *local_68 [2];\n  undefined1 local_60 [16];\n  undefined4 local_50;\n  undefined1 *local_4c [2];\n  undefined1 local_44 [16];\n  undefined1 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_80[0] = local_78;\n  FUN_000a8880(local_80,param_2,param_3 + param_2,0);\n  if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }\n  __s = local_80[0] + 1;\n  pcVar2 = (char *)0xffffffff;\n  local_68[0] = local_60;\n  if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }\n  FUN_000a8880(local_68,__s,pcVar2,0);\n  local_50 = 1;\n  local_4c[0] = local_44;\n                    \n  FUN_000a8880(local_4c,"","",0);\n  local_30 = *(undefined4 *)(param_1 + 4);\n  local_34 = 0;\n  local_20 = 0;\n  local_2c = *(undefined4 *)(param_1 + 8);\n  local_28 = *(undefined4 *)(param_1 + 0xc);\n  local_24 = *(undefined4 *)(param_1 + 0x10);\n  puVar5 = *(undefined4 **)(param_1 + 0x4c);\n  if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }\n                    \n  iVar4 = FUN_0014d3a0(puVar5,local_68);\n  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);\n  if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }\n  if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }\n  if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *local_80 [2];" (primitive_type "char") (pointer_declarator "*local_80 [2]" (* "*") (array_declarator "local_80 [2]" (identifier "local_80") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "char local_78 [16];" (primitive_type "char") (array_declarator "local_78 [16]" (identifier "local_78") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 *local_68 [2];" (type_identifier "undefined1") (pointer_declarator "*local_68 [2]" (* "*") (array_declarator "local_68 [2]" (identifier "local_68") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_60 [16];" (type_identifier "undefined1") (array_declarator "local_60 [16]" (identifier "local_60") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "undefined1 *local_4c [2];" (type_identifier "undefined1") (pointer_declarator "*local_4c [2]" (* "*") (array_declarator "local_4c [2]" (identifier "local_4c") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_44 [16];" (type_identifier "undefined1") (array_declarator "local_44 [16]" (identifier "local_44") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 local_34;" (type_identifier "undefined1") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "local_80[0] = local_78;" (assignment_expression "local_80[0] = local_78" (subscript_expression "local_80[0]" (identifier "local_80") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_78")) (; ";")) (expression_statement "FUN_000a8880(local_80,param_2,param_3 + param_2,0);" (call_expression "FUN_000a8880(local_80,param_2,param_3 + param_2,0)" (identifier "FUN_000a8880") (argument_list "(local_80,param_2,param_3 + param_2,0)" (( "(") (identifier "local_80") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + param_2" (identifier "param_3") (+ "+") (identifier "param_2")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (*local_80[0] != 'l') {\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }" (if "if") (parenthesized_expression "(*local_80[0] != 'l')" (( "(") (binary_expression "*local_80[0] != 'l'" (pointer_expression "*local_80[0]" (* "*") (subscript_expression "local_80[0]" (identifier "local_80") ([ "[") (number_literal "0") (] "]"))) (!= "!=") (char_literal "'l'" (' "'") (character "l") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = gettext("library name must be prefixed with -l");\n                    \n    FUN_000d1330(uVar1);\n  }" ({ "{") (expression_statement "uVar1 = gettext("library name must be prefixed with -l");" (assignment_expression "uVar1 = gettext("library name must be prefixed with -l")" (identifier "uVar1") (= "=") (call_expression "gettext("library name must be prefixed with -l")" (identifier "gettext") (argument_list "("library name must be prefixed with -l")" (( "(") (string_literal ""library name must be prefixed with -l"" (" """) (string_content "library name must be prefixed with -l") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000d1330(uVar1);" (call_expression "FUN_000d1330(uVar1)" (identifier "FUN_000d1330") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "__s = local_80[0] + 1;" (assignment_expression "__s = local_80[0] + 1" (identifier "__s") (= "=") (binary_expression "local_80[0] + 1" (subscript_expression "local_80[0]" (identifier "local_80") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" (identifier "pcVar2") (= "=") (cast_expression "(char *)0xffffffff" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "local_68[0] = local_60;" (assignment_expression "local_68[0] = local_60" (subscript_expression "local_68[0]" (identifier "local_68") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_60")) (; ";")) (if_statement "if (__s != (char *)0x0) {\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" (if "if") (parenthesized_expression "(__s != (char *)0x0)" (( "(") (binary_expression "__s != (char *)0x0" (identifier "__s") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar3 = strlen(__s);\n    pcVar2 = __s + sVar3;\n  }" ({ "{") (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" (identifier "sVar3") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pcVar2 = __s + sVar3;" (assignment_expression "pcVar2 = __s + sVar3" (identifier "pcVar2") (= "=") (binary_expression "__s + sVar3" (identifier "__s") (+ "+") (identifier "sVar3"))) (; ";")) (} "}"))) (expression_statement "FUN_000a8880(local_68,__s,pcVar2,0);" (call_expression "FUN_000a8880(local_68,__s,pcVar2,0)" (identifier "FUN_000a8880") (argument_list "(local_68,__s,pcVar2,0)" (( "(") (identifier "local_68") (, ",") (identifier "__s") (, ",") (identifier "pcVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" (identifier "local_50") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_4c[0] = local_44;" (assignment_expression "local_4c[0] = local_44" (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "FUN_000a8880(local_4c,"","",0);" (call_expression "FUN_000a8880(local_4c,"","",0)" (identifier "FUN_000a8880") (argument_list "(local_4c,"","",0)" (( "(") (identifier "local_4c") (, ",") (string_literal """" (" """) (" """)) (, ",") (string_literal """" (" """) (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "local_30 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_30 = *(undefined4 *)(param_1 + 4)" (identifier "local_30") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 8)" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_28 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "local_28 = *(undefined4 *)(param_1 + 0xc)" (identifier "local_28") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_24 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "local_24 = *(undefined4 *)(param_1 + 0x10)" (identifier "local_24") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x4c);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x4c)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" (if "if") (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined4 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar5 = (undefined4 *)FUN_00246670(0x14);\n    *puVar5 = 0;\n    puVar5[1] = 0;\n    puVar5[2] = 0;\n    *(undefined2 *)(puVar5 + 3) = 0;\n    puVar5[4] = 0;\n    *(undefined4 **)(param_1 + 0x4c) = puVar5;\n  }" ({ "{") (expression_statement "puVar5 = (undefined4 *)FUN_00246670(0x14);" (assignment_expression "puVar5 = (undefined4 *)FUN_00246670(0x14)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)FUN_00246670(0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(0x14)" (identifier "FUN_00246670") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[2] = 0;" (assignment_expression "puVar5[2] = 0" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(puVar5 + 3) = 0;" (assignment_expression "*(undefined2 *)(puVar5 + 3) = 0" (pointer_expression "*(undefined2 *)(puVar5 + 3)" (* "*") (cast_expression "(undefined2 *)(puVar5 + 3)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 3)" (( "(") (binary_expression "puVar5 + 3" (identifier "puVar5") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[4] = 0;" (assignment_expression "puVar5[4] = 0" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar5;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar5" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_0014d3a0(puVar5,local_68);" (assignment_expression "iVar4 = FUN_0014d3a0(puVar5,local_68)" (identifier "iVar4") (= "=") (call_expression "FUN_0014d3a0(puVar5,local_68)" (identifier "FUN_0014d3a0") (argument_list "(puVar5,local_68)" (( "(") (identifier "puVar5") (, ",") (identifier "local_68") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);" (assignment_expression "*(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50)" (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x58)" (( "(") (binary_expression "iVar4 + 0x58" (identifier "iVar4") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (if_statement "if (local_4c[0] != local_44) {\n    FUN_00248220(local_4c[0]);\n  }" (if "if") (parenthesized_expression "(local_4c[0] != local_44)" (( "(") (binary_expression "local_4c[0] != local_44" (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "local_44")) () ")")) (compound_statement "{\n    FUN_00248220(local_4c[0]);\n  }" ({ "{") (expression_statement "FUN_00248220(local_4c[0]);" (call_expression "FUN_00248220(local_4c[0])" (identifier "FUN_00248220") (argument_list "(local_4c[0])" (( "(") (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (local_68[0] != local_60) {\n    FUN_00248220(local_68[0]);\n  }" (if "if") (parenthesized_expression "(local_68[0] != local_60)" (( "(") (binary_expression "local_68[0] != local_60" (subscript_expression "local_68[0]" (identifier "local_68") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "local_60")) () ")")) (compound_statement "{\n    FUN_00248220(local_68[0]);\n  }" ({ "{") (expression_statement "FUN_00248220(local_68[0]);" (call_expression "FUN_00248220(local_68[0])" (identifier "FUN_00248220") (argument_list "(local_68[0])" (( "(") (subscript_expression "local_68[0]" (identifier "local_68") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (local_80[0] != local_78) {\n    FUN_00248220(local_80[0]);\n  }" (if "if") (parenthesized_expression "(local_80[0] != local_78)" (( "(") (binary_expression "local_80[0] != local_78" (subscript_expression "local_80[0]" (identifier "local_80") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "local_78")) () ")")) (compound_statement "{\n    FUN_00248220(local_80[0]);\n  }" ({ "{") (expression_statement "FUN_00248220(local_80[0]);" (call_expression "FUN_00248220(local_80[0])" (identifier "FUN_00248220") (argument_list "(local_80[0])" (( "(") (subscript_expression "local_80[0]" (identifier "local_80") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void function_1(void *closurev,char *var_9,size_t var_10)

{
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_5;
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_6;
  char *pcVar3;
  size_t var_15;
  type_1 *pIVar5;
  type_2 *var_16;
  char *var_13;
  type_3 name_string;
  type_4 file;
  
  name_string._M_dataplus._M_p = (type_5)&name_string.field_2;
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_7<var_8*>(&name_string,var_9,var_9 + var_10,0);
  if (*name_string._M_dataplus._M_p != 'l') {
    pcVar3 = (char *)var_11("library name must be prefixed with -l");
                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */
    gold::var_12(pcVar3);
  }
  var_5 = &file.name_.field_2;
  var_13 = name_string._M_dataplus._M_p + 1;
  pcVar3 = (char *)0xffffffff;
  file.name_._M_dataplus._M_p = (type_5)var_5;
  if (var_13 != (char *)0x0) {
    var_15 = var_14(var_13);
    pcVar3 = var_13 + var_15;
  }
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_7<var_8*>(&file.name_,var_13,pcVar3,0);
  var_6 = &file.extra_search_path_.field_2;
  file.type_ = INPUT_FILE_TYPE_LIBRARY;
  file.extra_search_path_._M_dataplus._M_p = (type_5)var_6;
                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_7<var_8*>(&file.extra_search_path_,"","",0);
  file.options_._0_4_ = *(type_6 *)((int)closurev + 4);
  file.just_symbols_ = false;
  file.arg_serial_ = 0;
  file.options_.format_enum_ = *(type_7 *)((int)closurev + 8);
  file.options_._8_4_ = *(type_6 *)((int)closurev + 0xc);
  file.options_.incremental_disposition_ = *(type_8 *)((int)closurev + 0x10);
  var_16 = *(type_2 **)((int)closurev + 0x4c);
  if (var_16 == (type_2 *)0x0) {
    var_16 = (type_2 *)var_17(0x14);
    (var_16->input_argument_list_).
    super__Vector_base<gold::type_1,_std::var_1<gold::type_1>var_3>._M_impl._M_start
         = (type_5)0x0;
    (var_16->input_argument_list_).
    super__Vector_base<gold::type_1,_std::var_1<gold::type_1>var_3>._M_impl.
    _M_finish = (type_5)0x0;
    (var_16->input_argument_list_).
    super__Vector_base<gold::type_1,_std::var_1<gold::type_1>var_3>._M_impl.
    _M_end_of_storage = (type_5)0x0;
    var_16->in_group_ = false;
    var_16->in_lib_ = false;
    var_16->file_count_ = 0;
    *(type_2 **)((int)closurev + 0x4c) = var_16;
  }
                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */
  pIVar5 = gold::Input_arguments::var_18(var_16,&file);
  pIVar5->script_info_ = *(type_9 **)((int)closurev + 0x50);
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)file.extra_search_path_._M_dataplus._M_p != var_6) {
    var_19(file.extra_search_path_._M_dataplus._M_p);
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)file.name_._M_dataplus._M_p != var_5) {
    var_19(file.name_._M_dataplus._M_p);
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)name_string._M_dataplus._M_p != &name_string.field_2) {
    var_19(name_string._M_dataplus._M_p);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

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

{
  undefined4 uVar1;
  char *pcVar2;
  size_t sVar3;
  int iVar4;
  undefined4 *puVar5;
  char *__s;
  char *local_80 [2];
  char local_78 [16];
  undefined1 *local_68 [2];
  undefined1 local_60 [16];
  undefined4 local_50;
  undefined1 *local_4c [2];
  undefined1 local_44 [16];
  undefined1 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  local_80[0] = local_78;
  FUN_000a8880(local_80,param_2,param_3 + param_2,0);
  if (*local_80[0] != 'l') {
    uVar1 = gettext("library name must be prefixed with -l");
                    /* try { // try from 001db94a to 001db99e has its CatchHandler @ 001dbaa6 */
    FUN_000d1330(uVar1);
  }
  __s = local_80[0] + 1;
  pcVar2 = (char *)0xffffffff;
  local_68[0] = local_60;
  if (__s != (char *)0x0) {
    sVar3 = strlen(__s);
    pcVar2 = __s + sVar3;
  }
  FUN_000a8880(local_68,__s,pcVar2,0);
  local_50 = 1;
  local_4c[0] = local_44;
                    /* try { // try from 001db9c3 to 001db9c7 has its CatchHandler @ 001dba9f */
  FUN_000a8880(local_4c,"","",0);
  local_30 = *(undefined4 *)(param_1 + 4);
  local_34 = 0;
  local_20 = 0;
  local_2c = *(undefined4 *)(param_1 + 8);
  local_28 = *(undefined4 *)(param_1 + 0xc);
  local_24 = *(undefined4 *)(param_1 + 0x10);
  puVar5 = *(undefined4 **)(param_1 + 0x4c);
  if (puVar5 == (undefined4 *)0x0) {
    puVar5 = (undefined4 *)FUN_00246670(0x14);
    *puVar5 = 0;
    puVar5[1] = 0;
    puVar5[2] = 0;
    *(undefined2 *)(puVar5 + 3) = 0;
    puVar5[4] = 0;
    *(undefined4 **)(param_1 + 0x4c) = puVar5;
  }
                    /* try { // try from 001dba01 to 001dba6b has its CatchHandler @ 001dba98 */
  iVar4 = FUN_0014d3a0(puVar5,local_68);
  *(undefined4 *)(iVar4 + 0x58) = *(undefined4 *)(param_1 + 0x50);
  if (local_4c[0] != local_44) {
    FUN_00248220(local_4c[0]);
  }
  if (local_68[0] != local_60) {
    FUN_00248220(local_68[0]);
  }
  if (local_80[0] != local_78) {
    FUN_00248220(local_80[0]);
  }
  return;
}

