
/* DWARF original prototype: uint adjust_shndx(Sized_dynobj<64,_false> * this, uint shndx) */

uint __thiscall
gold::Sized_dynobj<64,_false>::adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)

{
  if (shndx < 0xff00) {
    return shndx;
  }
  elfcpp::Elf_file<64,_false,_gold::Object>::initialize_shnum(&this->elf_file_);
  return shndx + (this->elf_file_).large_shndx_offset_;
}



uint FUN_001b9d80(int param_1,uint param_2)

{
  if (param_2 < 0xff00) {
    return param_2;
  }
  FUN_000cfd70(param_1 + 0x60);
  return param_2 + *(int *)(param_1 + 0x74);
}


PUSH EBX
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x14]
CMP EBX,0xfeff
JA 0x001b9da0
ADD ESP,0x8
MOV EAX,EBX
POP EBX
RET
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x1c]
ADD EAX,0x60
PUSH EAX
CALL 0x000cfd70
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0x10
ADD EBX,dword ptr [EAX + 0x74]
ADD ESP,0x8
MOV EAX,EBX
POP EBX
RET
(translation_unit "uint FUN_001b9d80(int param_1,uint param_2)\n\n{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}\n\n" (function_definition "uint FUN_001b9d80(int param_1,uint param_2)\n\n{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" type_identifier (function_declarator "FUN_001b9d80(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" { (if_statement "if (param_2 < 0xff00) {\n    return param_2;\n  }" if (parenthesized_expression "(param_2 < 0xff00)" ( (binary_expression "param_2 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "FUN_000cfd70(param_1 + 0x60);" (call_expression "FUN_000cfd70(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (return_statement "return param_2 + *(int *)(param_1 + 0x74);" return (binary_expression "param_2 + *(int *)(param_1 + 0x74)" identifier + (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) })))
(translation_unit "/* DWARF original prototype: uint adjust_shndx(Sized_dynobj<64,_false> * this, uint shndx) */\n\nuint __thiscall\ngold::Sized_dynobj<64,_false>::adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)\n\n{\n  if (shndx < 0xff00) {\n    return shndx;\n  }\n  elfcpp::Elf_file<64,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n  return shndx + (this->elf_file_).large_shndx_offset_;\n}\n\n" comment (declaration "uint __thiscall\ngold::Sized_dynobj<64,_false>::adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)\n\n{\n  if (shndx < 0xff00) {\n    return shndx;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)\n\n{\n  if (shndx < 0xff00) {\n    return" identifier > : : (function_declarator "adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)\n\n{\n  if (shndx < 0xff00)" (function_declarator "adjust_shndx(Sized_dynobj<64,_false> *this,uint shndx)" identifier (parameter_list "(Sized_dynobj<64,_false> *this,uint shndx)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) (ERROR "{\n  if" { if) (parameter_list "(shndx < 0xff00)" ( (parameter_declaration "shndx" type_identifier) (ERROR "< 0xff00" < number_literal) ))) { return) identifier ;) (ERROR "}" }) (labeled_statement "elfcpp::Elf_file<64,_false,_gold::Object>::initialize_shnum(&this->elf_file_);" statement_identifier (ERROR "::Elf_file<64,_false,_gold::Object>:" : : (comma_expression "Elf_file<64,_false,_gold" (binary_expression "Elf_file<64" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(&this->elf_file_);" (call_expression "initialize_shnum(&this->elf_file_)" identifier (argument_list "(&this->elf_file_)" ( (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier)) ))) ;)) (return_statement "return shndx + (this->elf_file_).large_shndx_offset_;" return (binary_expression "shndx + (this->elf_file_).large_shndx_offset_" identifier + (field_expression "(this->elf_file_).large_shndx_offset_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier)) ;) (ERROR "}" }))
(translation_unit "uint FUN_001b9d80(int param_1,uint param_2)\n\n{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}\n\n" (function_definition "uint FUN_001b9d80(int param_1,uint param_2)\n\n{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" type_identifier (function_declarator "FUN_001b9d80(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" { (if_statement "if (param_2 < 0xff00) {\n    return param_2;\n  }" if (parenthesized_expression "(param_2 < 0xff00)" ( (binary_expression "param_2 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "FUN_000cfd70(param_1 + 0x60);" (call_expression "FUN_000cfd70(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (return_statement "return param_2 + *(int *)(param_1 + 0x74);" return (binary_expression "param_2 + *(int *)(param_1 + 0x74)" identifier + (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "uint FUN_001b9d80(int param_1,uint param_2)\n\n{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" (type_identifier "uint") (function_declarator "FUN_001b9d80(int param_1,uint param_2)" (identifier "FUN_001b9d80") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 < 0xff00) {\n    return param_2;\n  }\n  FUN_000cfd70(param_1 + 0x60);\n  return param_2 + *(int *)(param_1 + 0x74);\n}" ({ "{") (if_statement "if (param_2 < 0xff00) {\n    return param_2;\n  }" (if "if") (parenthesized_expression "(param_2 < 0xff00)" (( "(") (binary_expression "param_2 < 0xff00" (identifier "param_2") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n    return param_2;\n  }" ({ "{") (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (expression_statement "FUN_000cfd70(param_1 + 0x60);" (call_expression "FUN_000cfd70(param_1 + 0x60)" (identifier "FUN_000cfd70") (argument_list "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))) (; ";")) (return_statement "return param_2 + *(int *)(param_1 + 0x74);" (return "return") (binary_expression "param_2 + *(int *)(param_1 + 0x74)" (identifier "param_2") (+ "+") (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (} "}")))

/* DWARF original prototype: uint adjust_shndx(Sized_dynobj<64,_false> * this, uint shndx) */

type_1 __thiscall
gold::Sized_dynobj<64,_false>::adjust_shndx(Sized_dynobj<64,_false> *this,type_1 var_2)

{
  if (var_2 < 0xff00) {
    return var_2;
  }
  elfcpp::Elf_file<64,_false,_gold::Object>::var_1(&this->elf_file_);
  return var_2 + (this->elf_file_).large_shndx_offset_;
}


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

uint MASKED(int param_1,uint param_2)

{
  if (param_2 < 0xff00) {
    return param_2;
  }
  FUN_000cfd70(param_1 + 0x60);
  return param_2 + *(int *)(param_1 + 0x74);
}

