
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: bool do_find_special_sections(Sized_relobj_file<32,_false> * this,
   Read_symbols_data * sd) */

bool __thiscall
gold::Sized_relobj_file<32,_false>::do_find_special_sections
          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)

{
  uchar *pshdrs;
  uchar *names;
  General_options *pGVar1;
  size_t __haystacklen;
  bool bVar2;
  Compressed_section_map *pCVar3;
  void *pvVar4;
  char cVar5;
  
  pshdrs = sd->section_headers->data_;
  names = sd->section_names->data_;
  bVar2 = find_eh_frame(this,pshdrs,(char *)names,sd->section_names_size);
  if (bVar2) {
    this->has_eh_frame_ = true;
  }
  pCVar3 = build_compressed_section_map<32,_false>
                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,
                      (char *)names,sd->section_names_size,(Object *)this,true);
  if (pCVar3 != (Compressed_section_map *)0x0) {
    (this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3;
  }
  cVar5 = this->has_eh_frame_;
  if ((bool)cVar5 == false) {
    pGVar1 = parameters->options_;
    if (pGVar1 == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    if (((pGVar1->relocatable_).value == false) &&
       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)) {
      __haystacklen = sd->section_names_size;
      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);
      if (pvVar4 == (void *)0x0) {
        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);
        cVar5 = pvVar4 != (void *)0x0;
      }
    }
  }
  return (bool)cVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

char FUN_000d5940(int param_1,int *param_2)

{
  undefined4 uVar1;
  size_t __haystacklen;
  char cVar2;
  int iVar3;
  void *pvVar4;
  void *pvVar5;
  
  uVar1 = *(undefined4 *)(*param_2 + 8);
  pvVar5 = *(void **)(param_2[1] + 8);
  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);
  if (cVar2 != '\0') {
    *(undefined1 *)(param_1 + 0x11c) = 1;
  }
  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);
  if (iVar3 != 0) {
    *(int *)(param_1 + 0x34) = iVar3;
  }
  cVar2 = *(char *)(param_1 + 0x11c);
  if (cVar2 == '\0') {
    iVar3 = *(int *)(DAT_0033f2f0 + 8);
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);
    }
    if (*(char *)(iVar3 + 0x318d) == '\0') {
      cVar2 = *(char *)(iVar3 + 0x192d);
      if (cVar2 != '\0') {
        __haystacklen = param_2[2];
        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);
        if (pvVar4 == (void *)0x0) {
          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);
          cVar2 = pvVar5 != (void *)0x0;
        }
      }
    }
  }
  return cVar2;
}


CALL 0x00058c42
ADD EAX,0x2696bb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EDI]
MOV EBX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EDI + 0x4]
MOV EBP,dword ptr [EAX + 0x8]
PUSH dword ptr [EDI + 0x8]
PUSH EBP
PUSH EBX
PUSH ESI
CALL 0x000c2600
ADD ESP,0x10
TEST AL,AL
JZ 0x000d5981
MOV byte ptr [ESI + 0x11c],0x1
SUB ESP,0x8
PUSH 0x1
PUSH ESI
PUSH dword ptr [EDI + 0x8]
PUSH EBP
PUSH dword ptr [ESI + 0x28]
PUSH EBX
CALL 0x000d5620
ADD ESP,0x20
TEST EAX,EAX
JZ 0x000d599e
MOV dword ptr [ESI + 0x34],EAX
MOVZX EDX,byte ptr [ESI + 0x11c]
TEST DL,DL
JNZ 0x000d59f7
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + 0x2f0]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000d5a26
CMP byte ptr [EAX + 0x318d],0x0
JNZ 0x000d59f7
MOVZX EDX,byte ptr [EAX + 0x192d]
TEST DL,DL
JZ 0x000d59f7
MOV byte ptr [ESP + 0xf],DL
MOV ESI,dword ptr [EDI + 0x8]
PUSH 0xb
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff14cbe]
PUSH EAX
PUSH ESI
PUSH EBP
CALL 0x000286f0
ADD ESP,0x10
MOVZX EDX,byte ptr [ESP + 0xf]
TEST EAX,EAX
JZ 0x000d5a08
ADD ESP,0x1c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH 0xc
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff14cca]
PUSH EAX
PUSH ESI
PUSH EBP
CALL 0x000286f0
ADD ESP,0x10
TEST EAX,EAX
SETNZ DL
JMP 0x000d59f7
PUSH EAX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff18b1c]
PUSH EAX
LEA EAX,[EBX + 0xfff0726d]
PUSH 0x5c
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nchar FUN_000d5940(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}\n\n" comment (function_definition "char FUN_000d5940(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" primitive_type (function_declarator "FUN_000d5940(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "size_t __haystacklen;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(*param_2 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(*param_2 + 8)" * (cast_expression "(undefined4 *)(*param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "pvVar5 = *(void **)(param_2[1] + 8);" (assignment_expression "pvVar5 = *(void **)(param_2[1] + 8)" identifier = (pointer_expression "*(void **)(param_2[1] + 8)" * (cast_expression "(void **)(param_2[1] + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[1] + 8)" ( (binary_expression "param_2[1] + 8" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);" (assignment_expression "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" identifier = (call_expression "FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" identifier (argument_list "(param_1,uVar1,pvVar5,param_2[2])" ( identifier , identifier , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x11c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x11c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x11c)" * (cast_expression "(undefined1 *)(param_1 + 0x11c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);" (assignment_expression "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" identifier = (call_expression "FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" identifier (argument_list "(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" { (expression_statement "*(int *)(param_1 + 0x34) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x34) = iVar3" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "cVar2 = *(char *)(param_1 + 0x11c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x11c)" identifier = (pointer_expression "*(char *)(param_1 + 0x11c)" * (cast_expression "(char *)(param_1 + 0x11c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) ))))) ;) (if_statement "if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" { (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" { comment (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar3 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar3 + 0x318d)" * (cast_expression "(char *)(iVar3 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x318d)" ( (binary_expression "iVar3 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" { (expression_statement "cVar2 = *(char *)(iVar3 + 0x192d);" (assignment_expression "cVar2 = *(char *)(iVar3 + 0x192d)" identifier = (pointer_expression "*(char *)(iVar3 + 0x192d)" * (cast_expression "(char *)(iVar3 + 0x192d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x192d)" ( (binary_expression "iVar3 + 0x192d" identifier + number_literal) ))))) ;) (if_statement "if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" { (expression_statement "__haystacklen = param_2[2];" (assignment_expression "__haystacklen = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);" (assignment_expression "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb)" identifier = (call_expression "memmem(pvVar5,__haystacklen,"debug_info",0xb)" identifier (argument_list "(pvVar5,__haystacklen,"debug_info",0xb)" ( identifier , identifier , (string_literal ""debug_info"" " string_content ") , number_literal )))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" { (expression_statement "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);" (assignment_expression "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc)" identifier = (call_expression "memmem(pvVar5,__haystacklen,"debug_types",0xc)" identifier (argument_list "(pvVar5,__haystacklen,"debug_types",0xc)" ( identifier , identifier , (string_literal ""debug_types"" " string_content ") , number_literal )))) ;) (expression_statement "cVar2 = pvVar5 != (void *)0x0;" (assignment_expression "cVar2 = pvVar5 != (void *)0x0" identifier = (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) })) })) })) (return_statement "return cVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: bool do_find_special_sections(Sized_relobj_file<32,_false> * this,\n   Read_symbols_data * sd) */\n\nbool __thiscall\ngold::Sized_relobj_file<32,_false>::do_find_special_sections\n          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar *pshdrs;\n  uchar *names;\n  General_options *pGVar1;\n  size_t __haystacklen;\n  bool bVar2;\n  Compressed_section_map *pCVar3;\n  void *pvVar4;\n  char cVar5;\n  \n  pshdrs = sd->section_headers->data_;\n  names = sd->section_names->data_;\n  bVar2 = find_eh_frame(this,pshdrs,(char *)names,sd->section_names_size);\n  if (bVar2) {\n    this->has_eh_frame_ = true;\n  }\n  pCVar3 = build_compressed_section_map<32,_false>\n                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true);\n  if (pCVar3 != (Compressed_section_map *)0x0) {\n    (this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3;\n  }\n  cVar5 = this->has_eh_frame_;\n  if ((bool)cVar5 == false) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if (((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)) {\n      __haystacklen = sd->section_names_size;\n      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);\n      if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }\n    }\n  }\n  return (bool)cVar5;\n}\n\n" comment comment comment comment (declaration "bool __thiscall\ngold::Sized_relobj_file<32,_false>::do_find_special_sections\n          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar *pshdrs;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_find_special_sections\n          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar" identifier > : : (function_declarator "do_find_special_sections\n          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) ))) { identifier) (pointer_declarator "*pshdrs" * identifier) ;) (declaration "uchar *names;" type_identifier (pointer_declarator "*names" * identifier) ;) (declaration "General_options *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (declaration "size_t __haystacklen;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "Compressed_section_map *pCVar3;" type_identifier (pointer_declarator "*pCVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "char cVar5;" primitive_type identifier ;) (expression_statement "pshdrs = sd->section_headers->data_;" (assignment_expression "pshdrs = sd->section_headers->data_" identifier = (field_expression "sd->section_headers->data_" (field_expression "sd->section_headers" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "names = sd->section_names->data_;" (assignment_expression "names = sd->section_names->data_" identifier = (field_expression "sd->section_names->data_" (field_expression "sd->section_names" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "bVar2 = find_eh_frame(this,pshdrs,(char *)names,sd->section_names_size);" (assignment_expression "bVar2 = find_eh_frame(this,pshdrs,(char *)names,sd->section_names_size)" identifier = (call_expression "find_eh_frame(this,pshdrs,(char *)names,sd->section_names_size)" identifier (argument_list "(this,pshdrs,(char *)names,sd->section_names_size)" ( identifier , identifier , (cast_expression "(char *)names" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (field_expression "sd->section_names_size" identifier -> field_identifier) )))) ;) (if_statement "if (bVar2) {\n    this->has_eh_frame_ = true;\n  }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    this->has_eh_frame_ = true;\n  }" { (expression_statement "this->has_eh_frame_ = true;" (assignment_expression "this->has_eh_frame_ = true" (field_expression "this->has_eh_frame_" identifier -> field_identifier) = true) ;) })) (expression_statement "pCVar3 = build_compressed_section_map<32,_false>\n                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true);" (update_expression "pCVar3 = build_compressed_section_map<32,_false>\n                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true)" (binary_expression "pCVar3 = build_compressed_section_map<32,_false>\n                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true)" (assignment_expression "pCVar3 = build_compressed_section_map<32" identifier = (binary_expression "build_compressed_section_map<32" identifier < number_literal)) (ERROR ",_false" , identifier) > (parenthesized_expression "(pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true)" ( (comma_expression "pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true" identifier , (comma_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,\n                      (char *)names,sd->section_names_size,(Object *)this,true" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) , (comma_expression "(char *)names,sd->section_names_size,(Object *)this,true" (cast_expression "(char *)names" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (comma_expression "sd->section_names_size,(Object *)this,true" (field_expression "sd->section_names_size" identifier -> field_identifier) , (comma_expression "(Object *)this,true" (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , true))))) ))) --) ;) (if_statement "if (pCVar3 != (Compressed_section_map *)0x0) {\n    (this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3;\n  }" if (parenthesized_expression "(pCVar3 != (Compressed_section_map *)0x0)" ( (binary_expression "pCVar3 != (Compressed_section_map *)0x0" identifier != (cast_expression "(Compressed_section_map *)0x0" ( (type_descriptor "Compressed_section_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3;\n  }" { (expression_statement "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3;" (assignment_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = pCVar3" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) })) (expression_statement "cVar5 = this->has_eh_frame_;" (assignment_expression "cVar5 = this->has_eh_frame_" identifier = (field_expression "this->has_eh_frame_" identifier -> field_identifier)) ;) (if_statement "if ((bool)cVar5 == false) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if (((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)) {\n      __haystacklen = sd->section_names_size;\n      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);\n      if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "((bool)cVar5 == false)" ( (binary_expression "(bool)cVar5 == false" (cast_expression "(bool)cVar5" ( (type_descriptor "bool" primitive_type) ) identifier) == false) )) (compound_statement "{\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if (((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)) {\n      __haystacklen = sd->section_names_size;\n      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);\n      if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }\n    }\n  }" { (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if (((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)) {\n      __haystacklen = sd->section_names_size;\n      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);\n      if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }\n    }" if (parenthesized_expression "(((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false))" ( (binary_expression "((pGVar1->relocatable_).value == false) &&\n       (cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)" (parenthesized_expression "((pGVar1->relocatable_).value == false)" ( (binary_expression "(pGVar1->relocatable_).value == false" (field_expression "(pGVar1->relocatable_).value" (parenthesized_expression "(pGVar1->relocatable_)" ( (field_expression "pGVar1->relocatable_" identifier -> field_identifier) )) . field_identifier) == false) )) && (parenthesized_expression "(cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false)" ( (comma_expression "cVar5 = (pGVar1->gdb_index_).value, (bool)cVar5 != false" (assignment_expression "cVar5 = (pGVar1->gdb_index_).value" identifier = (field_expression "(pGVar1->gdb_index_).value" (parenthesized_expression "(pGVar1->gdb_index_)" ( (field_expression "pGVar1->gdb_index_" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "(bool)cVar5 != false" (cast_expression "(bool)cVar5" ( (type_descriptor "bool" primitive_type) ) identifier) != false)) ))) )) (compound_statement "{\n      __haystacklen = sd->section_names_size;\n      pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);\n      if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }\n    }" { (expression_statement "__haystacklen = sd->section_names_size;" (assignment_expression "__haystacklen = sd->section_names_size" identifier = (field_expression "sd->section_names_size" identifier -> field_identifier)) ;) (expression_statement "pvVar4 = memmem(names,__haystacklen,"debug_info",0xb);" (assignment_expression "pvVar4 = memmem(names,__haystacklen,"debug_info",0xb)" identifier = (call_expression "memmem(names,__haystacklen,"debug_info",0xb)" identifier (argument_list "(names,__haystacklen,"debug_info",0xb)" ( identifier , identifier , (string_literal ""debug_info"" " string_content ") , number_literal )))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);\n        cVar5 = pvVar4 != (void *)0x0;\n      }" { (expression_statement "pvVar4 = memmem(names,__haystacklen,"debug_types",0xc);" (assignment_expression "pvVar4 = memmem(names,__haystacklen,"debug_types",0xc)" identifier = (call_expression "memmem(names,__haystacklen,"debug_types",0xc)" identifier (argument_list "(names,__haystacklen,"debug_types",0xc)" ( identifier , identifier , (string_literal ""debug_types"" " string_content ") , number_literal )))) ;) (expression_statement "cVar5 = pvVar4 != (void *)0x0;" (assignment_expression "cVar5 = pvVar4 != (void *)0x0" identifier = (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) })) })) (return_statement "return (bool)cVar5;" return (cast_expression "(bool)cVar5" ( (type_descriptor "bool" primitive_type) ) identifier) ;) (ERROR "}" }))
(translation_unit "char FUN_000d5940(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}\n\n" (function_definition "char FUN_000d5940(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" primitive_type (function_declarator "FUN_000d5940(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "size_t __haystacklen;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(*param_2 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(*param_2 + 8)" * (cast_expression "(undefined4 *)(*param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "pvVar5 = *(void **)(param_2[1] + 8);" (assignment_expression "pvVar5 = *(void **)(param_2[1] + 8)" identifier = (pointer_expression "*(void **)(param_2[1] + 8)" * (cast_expression "(void **)(param_2[1] + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[1] + 8)" ( (binary_expression "param_2[1] + 8" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);" (assignment_expression "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" identifier = (call_expression "FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" identifier (argument_list "(param_1,uVar1,pvVar5,param_2[2])" ( identifier , identifier , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x11c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x11c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x11c)" * (cast_expression "(undefined1 *)(param_1 + 0x11c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);" (assignment_expression "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" identifier = (call_expression "FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" identifier (argument_list "(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , identifier , (subscript_expression "param_2[2]" identifier [ number_literal ]) , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" { (expression_statement "*(int *)(param_1 + 0x34) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x34) = iVar3" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "cVar2 = *(char *)(param_1 + 0x11c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x11c)" identifier = (pointer_expression "*(char *)(param_1 + 0x11c)" * (cast_expression "(char *)(param_1 + 0x11c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) ))))) ;) (if_statement "if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" { (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" { (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar3 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar3 + 0x318d)" * (cast_expression "(char *)(iVar3 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x318d)" ( (binary_expression "iVar3 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" { (expression_statement "cVar2 = *(char *)(iVar3 + 0x192d);" (assignment_expression "cVar2 = *(char *)(iVar3 + 0x192d)" identifier = (pointer_expression "*(char *)(iVar3 + 0x192d)" * (cast_expression "(char *)(iVar3 + 0x192d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x192d)" ( (binary_expression "iVar3 + 0x192d" identifier + number_literal) ))))) ;) (if_statement "if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" { (expression_statement "__haystacklen = param_2[2];" (assignment_expression "__haystacklen = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);" (assignment_expression "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb)" identifier = (call_expression "memmem(pvVar5,__haystacklen,"debug_info",0xb)" identifier (argument_list "(pvVar5,__haystacklen,"debug_info",0xb)" ( identifier , identifier , (string_literal ""debug_info"" " string_content ") , number_literal )))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" { (expression_statement "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);" (assignment_expression "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc)" identifier = (call_expression "memmem(pvVar5,__haystacklen,"debug_types",0xc)" identifier (argument_list "(pvVar5,__haystacklen,"debug_types",0xc)" ( identifier , identifier , (string_literal ""debug_types"" " string_content ") , number_literal )))) ;) (expression_statement "cVar2 = pvVar5 != (void *)0x0;" (assignment_expression "cVar2 = pvVar5 != (void *)0x0" identifier = (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) })) })) })) (return_statement "return cVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_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 (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (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 IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , 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 = (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) })) })) })) })) (return_statement return IDENT ;) })))
(function_definition "char FUN_000d5940(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" (primitive_type "char") (function_declarator "FUN_000d5940(int param_1,int *param_2)" (identifier "FUN_000d5940") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  size_t __haystacklen;\n  char cVar2;\n  int iVar3;\n  void *pvVar4;\n  void *pvVar5;\n  \n  uVar1 = *(undefined4 *)(*param_2 + 8);\n  pvVar5 = *(void **)(param_2[1] + 8);\n  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);\n  if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }\n  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);\n  if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }\n  cVar2 = *(char *)(param_1 + 0x11c);\n  if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }\n  return cVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "size_t __haystacklen;" (primitive_type "size_t") (identifier "__haystacklen") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "void *pvVar5;" (primitive_type "void") (pointer_declarator "*pvVar5" (* "*") (identifier "pvVar5")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(*param_2 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*param_2 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(*param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "pvVar5 = *(void **)(param_2[1] + 8);" (assignment_expression "pvVar5 = *(void **)(param_2[1] + 8)" (identifier "pvVar5") (= "=") (pointer_expression "*(void **)(param_2[1] + 8)" (* "*") (cast_expression "(void **)(param_2[1] + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2[1] + 8)" (( "(") (binary_expression "param_2[1] + 8" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);" (assignment_expression "cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" (identifier "cVar2") (= "=") (call_expression "FUN_000c2600(param_1,uVar1,pvVar5,param_2[2])" (identifier "FUN_000c2600") (argument_list "(param_1,uVar1,pvVar5,param_2[2])" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "pvVar5") (, ",") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11c) = 1;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x11c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x11c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x11c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x11c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x11c)" (( "(") (binary_expression "param_1 + 0x11c" (identifier "param_1") (+ "+") (number_literal "0x11c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);" (assignment_expression "iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" (identifier "iVar3") (= "=") (call_expression "FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" (identifier "FUN_000d5620") (argument_list "(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1)" (( "(") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (identifier "pvVar5") (, ",") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x34) = iVar3;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x34) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x34) = iVar3" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (expression_statement "cVar2 = *(char *)(param_1 + 0x11c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x11c)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(param_1 + 0x11c)" (* "*") (cast_expression "(char *)(param_1 + 0x11c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x11c)" (( "(") (binary_expression "param_1 + 0x11c" (identifier "param_1") (+ "+") (number_literal "0x11c")) () ")"))))) (; ";")) (if_statement "if (cVar2 == '\0') {\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 8)" (( "(") (binary_expression "DAT_0033f2f0 + 8" (identifier "DAT_0033f2f0") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);\n    }" ({ "{") (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",0)" (identifier "FUN_0008b620") (argument_list "("../../gold/parameters.h",0x5c,"options",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar3 + 0x318d) == '\0') {\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0x318d) == '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar3 + 0x318d)" (* "*") (cast_expression "(char *)(iVar3 + 0x318d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x318d)" (( "(") (binary_expression "iVar3 + 0x318d" (identifier "iVar3") (+ "+") (number_literal "0x318d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      cVar2 = *(char *)(iVar3 + 0x192d);\n      if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }\n    }" ({ "{") (expression_statement "cVar2 = *(char *)(iVar3 + 0x192d);" (assignment_expression "cVar2 = *(char *)(iVar3 + 0x192d)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar3 + 0x192d)" (* "*") (cast_expression "(char *)(iVar3 + 0x192d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x192d)" (( "(") (binary_expression "iVar3 + 0x192d" (identifier "iVar3") (+ "+") (number_literal "0x192d")) () ")"))))) (; ";")) (if_statement "if (cVar2 != '\0') {\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        __haystacklen = param_2[2];\n        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);\n        if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }\n      }" ({ "{") (expression_statement "__haystacklen = param_2[2];" (assignment_expression "__haystacklen = param_2[2]" (identifier "__haystacklen") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);" (assignment_expression "pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb)" (identifier "pvVar4") (= "=") (call_expression "memmem(pvVar5,__haystacklen,"debug_info",0xb)" (identifier "memmem") (argument_list "(pvVar5,__haystacklen,"debug_info",0xb)" (( "(") (identifier "pvVar5") (, ",") (identifier "__haystacklen") (, ",") (string_literal ""debug_info"" (" """) (string_content "debug_info") (" """)) (, ",") (number_literal "0xb") () ")")))) (; ";")) (if_statement "if (pvVar4 == (void *)0x0) {\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" (if "if") (parenthesized_expression "(pvVar4 == (void *)0x0)" (( "(") (binary_expression "pvVar4 == (void *)0x0" (identifier "pvVar4") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);\n          cVar2 = pvVar5 != (void *)0x0;\n        }" ({ "{") (expression_statement "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);" (assignment_expression "pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc)" (identifier "pvVar5") (= "=") (call_expression "memmem(pvVar5,__haystacklen,"debug_types",0xc)" (identifier "memmem") (argument_list "(pvVar5,__haystacklen,"debug_types",0xc)" (( "(") (identifier "pvVar5") (, ",") (identifier "__haystacklen") (, ",") (string_literal ""debug_types"" (" """) (string_content "debug_types") (" """)) (, ",") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "cVar2 = pvVar5 != (void *)0x0;" (assignment_expression "cVar2 = pvVar5 != (void *)0x0" (identifier "cVar2") (= "=") (binary_expression "pvVar5 != (void *)0x0" (identifier "pvVar5") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return cVar2;" (return "return") (identifier "cVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: bool do_find_special_sections(Sized_relobj_file<32,_false> * this,
   Read_symbols_data * sd) */

bool __thiscall
gold::Sized_relobj_file<32,_false>::do_find_special_sections
          (Sized_relobj_file<32,_false> *this,Read_symbols_data *sd)

{
  type_1 *pshdrs;
  type_1 *names;
  type_2 *var_4;
  size_t __haystacklen;
  bool bVar2;
  type_3 *var_3;
  void *var_7;
  char cVar5;
  
  pshdrs = sd->section_headers->data_;
  names = sd->section_names->data_;
  bVar2 = var_1(this,pshdrs,(char *)names,sd->section_names_size);
  if (bVar2) {
    this->has_eh_frame_ = true;
  }
  var_3 = var_2<32,_false>
                     (pshdrs,(this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.shnum_,
                      (char *)names,sd->section_names_size,(type_4 *)this,true);
  if (var_3 != (type_3 *)0x0) {
    (this->super_Sized_relobj<32,_false>).super_Relobj.super_Object.compressed_sections_ = var_3;
  }
  cVar5 = this->has_eh_frame_;
  if ((bool)cVar5 == false) {
    var_4 = parameters->options_;
    if (var_4 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_5("../../gold/parameters.h",0x5c,"options");
    }
    if (((var_4->relocatable_).value == false) &&
       (cVar5 = (var_4->gdb_index_).value, (bool)cVar5 != false)) {
      __haystacklen = sd->section_names_size;
      var_7 = var_6(names,__haystacklen,"debug_info",0xb);
      if (var_7 == (void *)0x0) {
        var_7 = var_6(names,__haystacklen,"debug_types",0xc);
        cVar5 = var_7 != (void *)0x0;
      }
    }
  }
  return (bool)cVar5;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

char MASKED(int param_1,int *param_2)

{
  undefined4 uVar1;
  size_t __haystacklen;
  char cVar2;
  int iVar3;
  void *pvVar4;
  void *pvVar5;
  
  uVar1 = *(undefined4 *)(*param_2 + 8);
  pvVar5 = *(void **)(param_2[1] + 8);
  cVar2 = FUN_000c2600(param_1,uVar1,pvVar5,param_2[2]);
  if (cVar2 != '\0') {
    *(undefined1 *)(param_1 + 0x11c) = 1;
  }
  iVar3 = FUN_000d5620(uVar1,*(undefined4 *)(param_1 + 0x28),pvVar5,param_2[2],param_1,1);
  if (iVar3 != 0) {
    *(int *)(param_1 + 0x34) = iVar3;
  }
  cVar2 = *(char *)(param_1 + 0x11c);
  if (cVar2 == '\0') {
    iVar3 = *(int *)(DAT_0033f2f0 + 8);
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/parameters.h",0x5c,"options",0);
    }
    if (*(char *)(iVar3 + 0x318d) == '\0') {
      cVar2 = *(char *)(iVar3 + 0x192d);
      if (cVar2 != '\0') {
        __haystacklen = param_2[2];
        pvVar4 = memmem(pvVar5,__haystacklen,"debug_info",0xb);
        if (pvVar4 == (void *)0x0) {
          pvVar5 = memmem(pvVar5,__haystacklen,"debug_types",0xc);
          cVar2 = pvVar5 != (void *)0x0;
        }
      }
    }
  }
  return cVar2;
}

