
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void
   do_adjust_output_section(Output_data_reloc_base<9,_true,_64,_false> * this, Output_section * os)
    */

void __thiscall
gold::Output_data_reloc_base<9,_true,_64,_false>::do_adjust_output_section
          (Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)

{
  Parameters *unaff_EBX;
  undefined4 unaff_ESI;
  Parameters *this_00;
  
  this_00 = (Parameters *)0xf91b7;
  if ((os->field_0x92 & 2) == 0) {
    Output_section::set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));
  }
  if (parameters->doing_static_link_valid_ != false) {
    if (parameters->doing_static_link_ != false) {
      return;
    }
    if ((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)) {
      if ((os->field_0x90 & 4) == 0) {
        os->field_0x90 = os->field_0x90 | 8;
        return;
      }
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym");
  }
                    /* WARNING: Subroutine does not return */
  Parameters::doing_static_link(this_00,unaff_EBX);
}



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

void FUN_000f91b0(undefined4 param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  
  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {
    FUN_000ecb90();
  }
  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {
    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {
      return;
    }
    uVar2 = DAT_0038f378;
    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {
      bVar1 = *(byte *)(param_2 + 0x90);
      uVar2 = (uint)bVar1;
      if ((bVar1 & 4) == 0) {
        *(byte *)(param_2 + 0x90) = bVar1 | 8;
        return;
      }
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000ec850();
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x295e49
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x14]
TEST byte ptr [ESI + 0x92],0x2
JNZ 0x000f91db
MOV EDX,0x10
XOR ECX,ECX
MOV EAX,ESI
CALL 0x000ecb90
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX + 0x10],0x0
JZ 0x000f9239
CMP byte ptr [EAX + 0x11],0x0
JZ 0x000f91f8
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV ECX,dword ptr [ESI + 0x3c]
TEST ECX,ECX
JNZ 0x000f9220
MOV EDX,dword ptr [ESI + 0x40]
TEST EDX,EDX
JNZ 0x000f9220
MOVZX EAX,byte ptr [ESI + 0x90]
TEST AL,0x4
JNZ 0x000f9220
OR EAX,0x8
MOV byte ptr [ESI + 0x90],AL
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff050b0]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xd25
PUSH EAX
CALL 0x00069d00
CALL 0x000ec850
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000f91b0(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000ec850();\n}\n\n" comment (function_definition "void FUN_000f91b0(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000ec850();\n}" primitive_type (function_declarator "FUN_000f91b0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000ec850();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x92) & 2) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x92) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x92) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x92) & 2" (pointer_expression "*(byte *)(param_2 + 0x92)" * (cast_expression "(byte *)(param_2 + 0x92)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x92)" ( (binary_expression "param_2 + 0x92" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    FUN_000ecb90();\n  }" { (expression_statement "FUN_000ecb90();" (call_expression "FUN_000ecb90()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" if (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_0038f378 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x10)" * (cast_expression "(char *)(DAT_0038f378 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0x10)" ( (binary_expression "DAT_0038f378 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" { (if_statement "if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }" if (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_0038f378 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x11)" * (cast_expression "(char *)(DAT_0038f378 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0x11)" ( (binary_expression "DAT_0038f378 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = DAT_0038f378;" (assignment_expression "uVar2 = DAT_0038f378" identifier = identifier) ;) (if_statement "if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0))" ( (binary_expression "(*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)" (parenthesized_expression "(*(int *)(param_2 + 0x3c) == 0)" ( (binary_expression "*(int *)(param_2 + 0x3c) == 0" (pointer_expression "*(int *)(param_2 + 0x3c)" * (cast_expression "(int *)(param_2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x40) == 0)" ( (binary_expression "*(int *)(param_2 + 0x40) == 0" (pointer_expression "*(int *)(param_2 + 0x40)" * (cast_expression "(int *)(param_2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" { (expression_statement "bVar1 = *(byte *)(param_2 + 0x90);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x90)" identifier = (pointer_expression "*(byte *)(param_2 + 0x90)" * (cast_expression "(byte *)(param_2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = (uint)bVar1;" (assignment_expression "uVar2 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" { (expression_statement "*(byte *)(param_2 + 0x90) = bVar1 | 8;" (assignment_expression "*(byte *)(param_2 + 0x90) = bVar1 | 8" (pointer_expression "*(byte *)(param_2 + 0x90)" * (cast_expression "(byte *)(param_2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) )))) = (binary_expression "bVar1 | 8" identifier | number_literal)) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" identifier (argument_list "("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_should_link_to_dynsym"" " string_content ") , identifier ))) ;) })) comment (expression_statement "FUN_000ec850();" (call_expression "FUN_000ec850()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void\n   do_adjust_output_section(Output_data_reloc_base<9,_true,_64,_false> * this, Output_section * os)\n    */\n\nvoid __thiscall\ngold::Output_data_reloc_base<9,_true,_64,_false>::do_adjust_output_section\n          (Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)\n\n{\n  Parameters *unaff_EBX;\n  undefined4 unaff_ESI;\n  Parameters *this_00;\n  \n  this_00 = (Parameters *)0xf91b7;\n  if ((os->field_0x92 & 2) == 0) {\n    Output_section::set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));\n  }\n  if (parameters->doing_static_link_valid_ != false) {\n    if (parameters->doing_static_link_ != false) {\n      return;\n    }\n    if ((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)) {\n      if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym");\n  }\n                    /* WARNING: Subroutine does not return */\n  Parameters::doing_static_link(this_00,unaff_EBX);\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Output_data_reloc_base<9,_true,_64,_false>::do_adjust_output_section\n          (Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)\n\n{\n  Parameters *unaff_EBX;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_false>::do_adjust_output_section\n          (Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)\n\n{\n  Parameters" identifier > : : (function_declarator "do_adjust_output_section\n          (Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)" identifier (parameter_list "(Output_data_reloc_base<9,_true,_64,_false> *this,Output_section *os)" ( (parameter_declaration "Output_data_reloc_base" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_64" type_identifier) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) ))) { identifier) (pointer_declarator "*unaff_EBX" * identifier) ;) (declaration "undefined4 unaff_ESI;" type_identifier identifier ;) (declaration "Parameters *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (expression_statement "this_00 = (Parameters *)0xf91b7;" (assignment_expression "this_00 = (Parameters *)0xf91b7" identifier = (cast_expression "(Parameters *)0xf91b7" ( (type_descriptor "Parameters *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((os->field_0x92 & 2) == 0) {\n    Output_section::set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));\n  }" if (parenthesized_expression "((os->field_0x92 & 2) == 0)" ( (binary_expression "(os->field_0x92 & 2) == 0" (parenthesized_expression "(os->field_0x92 & 2)" ( (binary_expression "os->field_0x92 & 2" (field_expression "os->field_0x92" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    Output_section::set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));\n  }" { (labeled_statement "Output_section::set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));" statement_identifier : (ERROR ":" :) (expression_statement "set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX));" (call_expression "set_entsize((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX))" identifier (argument_list "((Output_section *)0xf91b7,CONCAT44(unaff_ESI,unaff_EBX))" ( (cast_expression "(Output_section *)0xf91b7" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (call_expression "CONCAT44(unaff_ESI,unaff_EBX)" identifier (argument_list "(unaff_ESI,unaff_EBX)" ( identifier , identifier ))) ))) ;)) })) (if_statement "if (parameters->doing_static_link_valid_ != false) {\n    if (parameters->doing_static_link_ != false) {\n      return;\n    }\n    if ((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)) {\n      if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym");\n  }" if (parenthesized_expression "(parameters->doing_static_link_valid_ != false)" ( (binary_expression "parameters->doing_static_link_valid_ != false" (field_expression "parameters->doing_static_link_valid_" identifier -> field_identifier) != false) )) (compound_statement "{\n    if (parameters->doing_static_link_ != false) {\n      return;\n    }\n    if ((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)) {\n      if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym");\n  }" { (if_statement "if (parameters->doing_static_link_ != false) {\n      return;\n    }" if (parenthesized_expression "(parameters->doing_static_link_ != false)" ( (binary_expression "parameters->doing_static_link_ != false" (field_expression "parameters->doing_static_link_" identifier -> field_identifier) != false) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)) {\n      if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }\n    }" if (parenthesized_expression "((os->link_section_ == (Output_data *)0x0) && (os->link_ == 0))" ( (binary_expression "(os->link_section_ == (Output_data *)0x0) && (os->link_ == 0)" (parenthesized_expression "(os->link_section_ == (Output_data *)0x0)" ( (binary_expression "os->link_section_ == (Output_data *)0x0" (field_expression "os->link_section_" identifier -> field_identifier) == (cast_expression "(Output_data *)0x0" ( (type_descriptor "Output_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(os->link_ == 0)" ( (binary_expression "os->link_ == 0" (field_expression "os->link_" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n      if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }\n    }" { (if_statement "if ((os->field_0x90 & 4) == 0) {\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }" if (parenthesized_expression "((os->field_0x90 & 4) == 0)" ( (binary_expression "(os->field_0x90 & 4) == 0" (parenthesized_expression "(os->field_0x90 & 4)" ( (binary_expression "os->field_0x90 & 4" (field_expression "os->field_0x90" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        os->field_0x90 = os->field_0x90 | 8;\n        return;\n      }" { (expression_statement "os->field_0x90 = os->field_0x90 | 8;" (assignment_expression "os->field_0x90 = os->field_0x90 | 8" (field_expression "os->field_0x90" identifier -> field_identifier) = (binary_expression "os->field_0x90 | 8" (field_expression "os->field_0x90" identifier -> field_identifier) | number_literal)) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym");" (call_expression "do_gold_unreachable("../../gold/output.h",0xd25,"set_should_link_to_dynsym")" identifier (argument_list "("../../gold/output.h",0xd25,"set_should_link_to_dynsym")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_should_link_to_dynsym"" " string_content ") ))) ;) })) comment (labeled_statement "Parameters::doing_static_link(this_00,unaff_EBX);" statement_identifier : (ERROR ":" :) (expression_statement "doing_static_link(this_00,unaff_EBX);" (call_expression "doing_static_link(this_00,unaff_EBX)" identifier (argument_list "(this_00,unaff_EBX)" ( identifier , identifier ))) ;)) (ERROR "}" }))
(translation_unit "void FUN_000f91b0(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    \n  FUN_000ec850();\n}\n\n" (function_definition "void FUN_000f91b0(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    \n  FUN_000ec850();\n}" primitive_type (function_declarator "FUN_000f91b0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    \n  FUN_000ec850();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x92) & 2) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x92) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x92) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x92) & 2" (pointer_expression "*(byte *)(param_2 + 0x92)" * (cast_expression "(byte *)(param_2 + 0x92)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x92)" ( (binary_expression "param_2 + 0x92" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    FUN_000ecb90();\n  }" { (expression_statement "FUN_000ecb90();" (call_expression "FUN_000ecb90()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" if (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_0038f378 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x10)" * (cast_expression "(char *)(DAT_0038f378 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0x10)" ( (binary_expression "DAT_0038f378 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" { (if_statement "if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }" if (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_0038f378 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x11)" * (cast_expression "(char *)(DAT_0038f378 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0x11)" ( (binary_expression "DAT_0038f378 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = DAT_0038f378;" (assignment_expression "uVar2 = DAT_0038f378" identifier = identifier) ;) (if_statement "if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0))" ( (binary_expression "(*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)" (parenthesized_expression "(*(int *)(param_2 + 0x3c) == 0)" ( (binary_expression "*(int *)(param_2 + 0x3c) == 0" (pointer_expression "*(int *)(param_2 + 0x3c)" * (cast_expression "(int *)(param_2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x40) == 0)" ( (binary_expression "*(int *)(param_2 + 0x40) == 0" (pointer_expression "*(int *)(param_2 + 0x40)" * (cast_expression "(int *)(param_2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" { (expression_statement "bVar1 = *(byte *)(param_2 + 0x90);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x90)" identifier = (pointer_expression "*(byte *)(param_2 + 0x90)" * (cast_expression "(byte *)(param_2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = (uint)bVar1;" (assignment_expression "uVar2 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" { (expression_statement "*(byte *)(param_2 + 0x90) = bVar1 | 8;" (assignment_expression "*(byte *)(param_2 + 0x90) = bVar1 | 8" (pointer_expression "*(byte *)(param_2 + 0x90)" * (cast_expression "(byte *)(param_2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) )))) = (binary_expression "bVar1 | 8" identifier | number_literal)) ;) (return_statement "return;" return ;) })) })) (expression_statement "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" identifier (argument_list "("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_should_link_to_dynsym"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_000ec850();" (call_expression "FUN_000ec850()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 { (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 { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_000f91b0(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    \n  FUN_000ec850();\n}" (primitive_type "void") (function_declarator "FUN_000f91b0(undefined4 param_1,int param_2)" (identifier "FUN_000f91b0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  \n  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }\n  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }\n                    \n  FUN_000ec850();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x92) & 2) == 0) {\n    FUN_000ecb90();\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x92) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x92) & 2) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x92) & 2)" (( "(") (binary_expression "*(byte *)(param_2 + 0x92) & 2" (pointer_expression "*(byte *)(param_2 + 0x92)" (* "*") (cast_expression "(byte *)(param_2 + 0x92)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x92)" (( "(") (binary_expression "param_2 + 0x92" (identifier "param_2") (+ "+") (number_literal "0x92")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000ecb90();\n  }" ({ "{") (expression_statement "FUN_000ecb90();" (call_expression "FUN_000ecb90()" (identifier "FUN_000ecb90") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(DAT_0038f378 + 0x10) != '\0') {\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" (if "if") (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x10) != '\0')" (( "(") (binary_expression "*(char *)(DAT_0038f378 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x10)" (* "*") (cast_expression "(char *)(DAT_0038f378 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0x10)" (( "(") (binary_expression "DAT_0038f378 + 0x10" (identifier "DAT_0038f378") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }\n    uVar2 = DAT_0038f378;\n    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }\n                    \n    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);\n  }" ({ "{") (if_statement "if (*(char *)(DAT_0038f378 + 0x11) != '\0') {\n      return;\n    }" (if "if") (parenthesized_expression "(*(char *)(DAT_0038f378 + 0x11) != '\0')" (( "(") (binary_expression "*(char *)(DAT_0038f378 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_0038f378 + 0x11)" (* "*") (cast_expression "(char *)(DAT_0038f378 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0x11)" (( "(") (binary_expression "DAT_0038f378 + 0x11" (identifier "DAT_0038f378") (+ "+") (number_literal "0x11")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = DAT_0038f378;" (assignment_expression "uVar2 = DAT_0038f378" (identifier "uVar2") (= "=") (identifier "DAT_0038f378")) (; ";")) (if_statement "if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0))" (( "(") (binary_expression "(*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)" (parenthesized_expression "(*(int *)(param_2 + 0x3c) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x3c) == 0" (pointer_expression "*(int *)(param_2 + 0x3c)" (* "*") (cast_expression "(int *)(param_2 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 0x40) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x40) == 0" (pointer_expression "*(int *)(param_2 + 0x40)" (* "*") (cast_expression "(int *)(param_2 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x40)" (( "(") (binary_expression "param_2 + 0x40" (identifier "param_2") (+ "+") (number_literal "0x40")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      bVar1 = *(byte *)(param_2 + 0x90);\n      uVar2 = (uint)bVar1;\n      if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }\n    }" ({ "{") (expression_statement "bVar1 = *(byte *)(param_2 + 0x90);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x90)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_2 + 0x90)" (* "*") (cast_expression "(byte *)(param_2 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x90)" (( "(") (binary_expression "param_2 + 0x90" (identifier "param_2") (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (expression_statement "uVar2 = (uint)bVar1;" (assignment_expression "uVar2 = (uint)bVar1" (identifier "uVar2") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if ((bVar1 & 4) == 0) {\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" (if "if") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(byte *)(param_2 + 0x90) = bVar1 | 8;\n        return;\n      }" ({ "{") (expression_statement "*(byte *)(param_2 + 0x90) = bVar1 | 8;" (assignment_expression "*(byte *)(param_2 + 0x90) = bVar1 | 8" (pointer_expression "*(byte *)(param_2 + 0x90)" (* "*") (cast_expression "(byte *)(param_2 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x90)" (( "(") (binary_expression "param_2 + 0x90" (identifier "param_2") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (binary_expression "bVar1 | 8" (identifier "bVar1") (| "|") (number_literal "8"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xd25") (, ",") (string_literal ""set_should_link_to_dynsym"" (" """) (string_content "set_should_link_to_dynsym") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000ec850();" (call_expression "FUN_000ec850()" (identifier "FUN_000ec850") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void
   do_adjust_output_section(Output_data_reloc_base<9,_true,_64,_false> * this, Output_section * os)
    */

void __thiscall
gold::Output_data_reloc_base<9,_true,_64,_false>::do_adjust_output_section
          (Output_data_reloc_base<9,_true,_64,_false> *this,type_3 *os)

{
  type_2 *unaff_EBX;
  type_1 unaff_ESI;
  type_2 *this_00;
  
  this_00 = (type_2 *)0xf91b7;
  if ((os->field_0x92 & 2) == 0) {
    Output_section::var_1((type_3 *)0xf91b7,var_2(unaff_ESI,unaff_EBX));
  }
  if (parameters->doing_static_link_valid_ != false) {
    if (parameters->doing_static_link_ != false) {
      return;
    }
    if ((os->link_section_ == (type_4 *)0x0) && (os->link_ == 0)) {
      if ((os->field_0x90 & 4) == 0) {
        os->field_0x90 = os->field_0x90 | 8;
        return;
      }
    }
                    /* WARNING: Subroutine does not return */
    var_3("../../gold/output.h",0xd25,"set_should_link_to_dynsym");
  }
                    /* WARNING: Subroutine does not return */
  Parameters::var_4(this_00,unaff_EBX);
}


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

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

void MASKED(undefined4 param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  
  if ((*(byte *)(param_2 + 0x92) & 2) == 0) {
    FUN_000ecb90();
  }
  if (*(char *)(DAT_0038f378 + 0x10) != '\0') {
    if (*(char *)(DAT_0038f378 + 0x11) != '\0') {
      return;
    }
    uVar2 = DAT_0038f378;
    if ((*(int *)(param_2 + 0x3c) == 0) && (*(int *)(param_2 + 0x40) == 0)) {
      bVar1 = *(byte *)(param_2 + 0x90);
      uVar2 = (uint)bVar1;
      if ((bVar1 & 4) == 0) {
        *(byte *)(param_2 + 0x90) = bVar1 | 8;
        return;
      }
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xd25,"set_should_link_to_dynsym",uVar2);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000ec850();
}

