
/* DWARF original prototype: Section_type section_type(Output_section_definition * this) */

Section_type __thiscall
gold::Output_section_definition::section_type(Output_section_definition *this)

{
  Section_type SVar1;
  Output_section_definition *in_stack_fffffff4;
  
  SVar1 = this->script_section_type_;
  if ((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)) {
    if (5 < SVar1) {
                    /* WARNING: Subroutine does not return */
      section_type(in_stack_fffffff4);
    }
    SVar1 = ST_NONE;
  }
  return SVar1;
}



uint FUN_0015be00(int param_1)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 100);
  if ((uVar1 != 1) && (uVar1 != 0)) {
    if (5 < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_0015a900();
    }
    uVar1 = 0;
  }
  return uVar1;
}


SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x64]
CMP EAX,0x1
JZ 0x0015be1a
TEST EAX,EAX
JZ 0x0015be1a
CMP EAX,0x5
JA 0x0015be1e
XOR EAX,EAX
ADD ESP,0xc
RET
CALL 0x0015a900
(translation_unit "uint FUN_0015be00(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0015be00(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0015be00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 100);" (assignment_expression "uVar1 = *(uint *)(param_1 + 100)" identifier = (pointer_expression "*(uint *)(param_1 + 100)" * (cast_expression "(uint *)(param_1 + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" if (parenthesized_expression "((uVar1 != 1) && (uVar1 != 0))" ( (binary_expression "(uVar1 != 1) && (uVar1 != 0)" (parenthesized_expression "(uVar1 != 1)" ( (binary_expression "uVar1 != 1" identifier != number_literal) )) && (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" { (if_statement "if (5 < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }" if (parenthesized_expression "(5 < uVar1)" ( (binary_expression "5 < uVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0015a900();\n    }" { comment (expression_statement "FUN_0015a900();" (call_expression "FUN_0015a900()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: Section_type section_type(Output_section_definition * this) */\n\nSection_type __thiscall\ngold::Output_section_definition::section_type(Output_section_definition *this)\n\n{\n  Section_type SVar1;\n  Output_section_definition *in_stack_fffffff4;\n  \n  SVar1 = this->script_section_type_;\n  if ((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)) {\n    if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }\n    SVar1 = ST_NONE;\n  }\n  return SVar1;\n}\n\n" comment (function_definition "Section_type __thiscall\ngold::Output_section_definition::section_type(Output_section_definition *this)\n\n{\n  Section_type SVar1;\n  Output_section_definition *in_stack_fffffff4;\n  \n  SVar1 = this->script_section_type_;\n  if ((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)) {\n    if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }\n    SVar1 = ST_NONE;\n  }\n  return SVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "section_type(Output_section_definition *this)" identifier (parameter_list "(Output_section_definition *this)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Section_type SVar1;\n  Output_section_definition *in_stack_fffffff4;\n  \n  SVar1 = this->script_section_type_;\n  if ((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)) {\n    if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }\n    SVar1 = ST_NONE;\n  }\n  return SVar1;\n}" { (declaration "Section_type SVar1;" type_identifier identifier ;) (declaration "Output_section_definition *in_stack_fffffff4;" type_identifier (pointer_declarator "*in_stack_fffffff4" * identifier) ;) (expression_statement "SVar1 = this->script_section_type_;" (assignment_expression "SVar1 = this->script_section_type_" identifier = (field_expression "this->script_section_type_" identifier -> field_identifier)) ;) (if_statement "if ((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)) {\n    if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }\n    SVar1 = ST_NONE;\n  }" if (parenthesized_expression "((SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE))" ( (binary_expression "(SVar1 != ST_NOLOAD) && (SVar1 != ST_NONE)" (parenthesized_expression "(SVar1 != ST_NOLOAD)" ( (binary_expression "SVar1 != ST_NOLOAD" identifier != identifier) )) && (parenthesized_expression "(SVar1 != ST_NONE)" ( (binary_expression "SVar1 != ST_NONE" identifier != identifier) ))) )) (compound_statement "{\n    if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }\n    SVar1 = ST_NONE;\n  }" { (if_statement "if (5 < SVar1) {\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }" if (parenthesized_expression "(5 < SVar1)" ( (binary_expression "5 < SVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      section_type(in_stack_fffffff4);\n    }" { comment (expression_statement "section_type(in_stack_fffffff4);" (call_expression "section_type(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))) ;) })) (expression_statement "SVar1 = ST_NONE;" (assignment_expression "SVar1 = ST_NONE" identifier = identifier) ;) })) (return_statement "return SVar1;" return identifier ;) })))
(translation_unit "uint FUN_0015be00(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0015be00(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0015be00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 100);" (assignment_expression "uVar1 = *(uint *)(param_1 + 100)" identifier = (pointer_expression "*(uint *)(param_1 + 100)" * (cast_expression "(uint *)(param_1 + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" if (parenthesized_expression "((uVar1 != 1) && (uVar1 != 0))" ( (binary_expression "(uVar1 != 1) && (uVar1 != 0)" (parenthesized_expression "(uVar1 != 1)" ( (binary_expression "uVar1 != 1" identifier != number_literal) )) && (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" { (if_statement "if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }" if (parenthesized_expression "(5 < uVar1)" ( (binary_expression "5 < uVar1" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0015a900();\n    }" { (expression_statement "FUN_0015a900();" (call_expression "FUN_0015a900()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0015be00(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0015be00(int param_1)" (identifier "FUN_0015be00") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 100);\n  if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 100);" (assignment_expression "uVar1 = *(uint *)(param_1 + 100)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 100)" (* "*") (cast_expression "(uint *)(param_1 + 100)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")"))))) (; ";")) (if_statement "if ((uVar1 != 1) && (uVar1 != 0)) {\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" (if "if") (parenthesized_expression "((uVar1 != 1) && (uVar1 != 0))" (( "(") (binary_expression "(uVar1 != 1) && (uVar1 != 0)" (parenthesized_expression "(uVar1 != 1)" (( "(") (binary_expression "uVar1 != 1" (identifier "uVar1") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }\n    uVar1 = 0;\n  }" ({ "{") (if_statement "if (5 < uVar1) {\n                    \n      FUN_0015a900();\n    }" (if "if") (parenthesized_expression "(5 < uVar1)" (( "(") (binary_expression "5 < uVar1" (number_literal "5") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n                    \n      FUN_0015a900();\n    }" ({ "{") (expression_statement "FUN_0015a900();" (call_expression "FUN_0015a900()" (identifier "FUN_0015a900") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* DWARF original prototype: Section_type section_type(Output_section_definition * this) */

type_1 __thiscall
gold::type_2::function_1(type_2 *this)

{
  type_1 var_1;
  type_2 *in_stack_fffffff4;
  
  var_1 = this->script_section_type_;
  if ((var_1 != var_2) && (var_1 != var_3)) {
    if (5 < var_1) {
                    /* WARNING: Subroutine does not return */
      function_1(in_stack_fffffff4);
    }
    var_1 = var_3;
  }
  return var_1;
}


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

uint MASKED(int param_1)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 100);
  if ((uVar1 != 1) && (uVar1 != 0)) {
    if (5 < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_0015a900();
    }
    uVar1 = 0;
  }
  return uVar1;
}

