
/* DWARF original prototype: bool do_find_special_sections(Powerpc_relobj<32,_false> * this,
   Read_symbols_data * sd) */

bool __thiscall
anon_unknown.dwarf_6a1ea8::Powerpc_relobj<32,_false>::do_find_special_sections
          (Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)

{
  uchar *pshdrs;
  bool bVar1;
  uchar *puVar2;
  
  pshdrs = sd->section_headers->data_;
  puVar2 = gold::Object::find_shdr<32,_false>
                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,
                      sd->section_names_size,(uchar *)0x0);
  if (puVar2 != (uchar *)0x0) {
    this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28);
  }
  bVar1 = gold::Sized_relobj_file<32,_false>::do_find_special_sections
                    (&this->super_Sized_relobj_file<32,_false>,sd);
  return bVar1;
}



void FUN_00227a20(long param_1,long *param_2)

{
  long lVar1;
  long lVar2;
  
  lVar1 = *(long *)(*param_2 + 0x10);
  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);
  if (lVar2 != 0) {
    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);
  }
  FUN_003b66a0(param_1,param_2);
  return;
}


PUSH R12
XOR R9D,R9D
LEA RDX,[0x54cf9f]
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV RAX,qword ptr [RSI]
MOV RBX,RSI
MOV R8,qword ptr [RSI + 0x10]
MOV R12,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RSI + 0x8]
MOV RCX,qword ptr [RAX + 0x10]
MOV RSI,R12
CALL 0x00396390
TEST RAX,RAX
JZ 0x00227a7b
MOV RDX,0x6666666666666667
SUB RAX,R12
MOV RCX,RAX
IMUL RDX
MOV RAX,RCX
SAR RAX,0x3f
SAR RDX,0x4
SUB RDX,RAX
MOV dword ptr [RBP + 0x224],EDX
MOV RSI,RBX
MOV RDI,RBP
POP RBX
POP RBP
POP R12
JMP 0x003b66a0
(translation_unit "void FUN_00227a20(long param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00227a20(long param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00227a20(long param_1,long *param_2)" identifier (parameter_list "(long param_1,long *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(*param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(*param_2 + 0x10)" identifier = (pointer_expression "*(long *)(*param_2 + 0x10)" * (cast_expression "(long *)(*param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);" (assignment_expression "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" identifier = (call_expression "FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" identifier (argument_list "(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" ( identifier , identifier , (string_literal "".got2"" " string_content ") , (pointer_expression "*(undefined8 *)(param_2[1] + 0x10)" * (cast_expression "(undefined8 *)(param_2[1] + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + 0x10)" ( (binary_expression "param_2[1] + 0x10" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) )))) , (subscript_expression "param_2[2]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" { (expression_statement "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);" (assignment_expression "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28)" (pointer_expression "*(int *)(param_1 + 0x224)" * (cast_expression "(int *)(param_1 + 0x224)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x224)" ( (binary_expression "param_1 + 0x224" identifier + number_literal) )))) = (cast_expression "(int)((lVar2 - lVar1) / 0x28)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((lVar2 - lVar1) / 0x28)" ( (binary_expression "(lVar2 - lVar1) / 0x28" (parenthesized_expression "(lVar2 - lVar1)" ( (binary_expression "lVar2 - lVar1" identifier - identifier) )) / number_literal) )))) ;) })) (expression_statement "FUN_003b66a0(param_1,param_2);" (call_expression "FUN_003b66a0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: bool do_find_special_sections(Powerpc_relobj<32,_false> * this,\n   Read_symbols_data * sd) */\n\nbool __thiscall\nanon_unknown.dwarf_6a1ea8::Powerpc_relobj<32,_false>::do_find_special_sections\n          (Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar *pshdrs;\n  bool bVar1;\n  uchar *puVar2;\n  \n  pshdrs = sd->section_headers->data_;\n  puVar2 = gold::Object::find_shdr<32,_false>\n                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0);\n  if (puVar2 != (uchar *)0x0) {\n    this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28);\n  }\n  bVar1 = gold::Sized_relobj_file<32,_false>::do_find_special_sections\n                    (&this->super_Sized_relobj_file<32,_false>,sd);\n  return bVar1;\n}\n\n" comment (declaration "bool __thiscall\nanon_unknown.dwarf_6a1ea8::Powerpc_relobj<32,_false>::do_find_special_sections\n          (Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar *pshdrs;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_6a1ea8::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_find_special_sections\n          (Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)\n\n{\n  uchar" identifier > : : (function_declarator "do_find_special_sections\n          (Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)" identifier (parameter_list "(Powerpc_relobj<32,_false> *this,Read_symbols_data *sd)" ( (parameter_declaration "Powerpc_relobj" 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 "bool bVar1;" primitive_type identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * 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)) ;) (ERROR "puVar2 = gold::" (assignment_expression "puVar2 = gold" identifier = identifier) : :) (labeled_statement "Object::find_shdr<32,_false>\n                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "find_shdr<32,_false>\n                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0);" (comma_expression "find_shdr<32,_false>\n                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0)" (binary_expression "find_shdr<32" identifier < number_literal) , (binary_expression "_false>\n                     ((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0)" identifier > (parenthesized_expression "((Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0)" ( (comma_expression "(Object *)this,pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0" (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (comma_expression "pshdrs,".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0" identifier , (comma_expression "".got2",(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0" (string_literal "".got2"" " string_content ") , (comma_expression "(char *)sd->section_names->data_,\n                      sd->section_names_size,(uchar *)0x0" (cast_expression "(char *)sd->section_names->data_" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "sd->section_names->data_" (field_expression "sd->section_names" identifier -> field_identifier) -> field_identifier)) , (comma_expression "sd->section_names_size,(uchar *)0x0" (field_expression "sd->section_names_size" identifier -> field_identifier) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))))) )))) ;)) (if_statement "if (puVar2 != (uchar *)0x0) {\n    this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28);\n  }" if (parenthesized_expression "(puVar2 != (uchar *)0x0)" ( (binary_expression "puVar2 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28);\n  }" { (expression_statement "this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28);" (assignment_expression "this->special_ = (uint)(((long)puVar2 - (long)pshdrs) / 0x28)" (field_expression "this->special_" identifier -> field_identifier) = (call_expression "(uint)(((long)puVar2 - (long)pshdrs) / 0x28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((long)puVar2 - (long)pshdrs) / 0x28)" ( (binary_expression "((long)puVar2 - (long)pshdrs) / 0x28" (parenthesized_expression "((long)puVar2 - (long)pshdrs)" ( (binary_expression "(long)puVar2 - (long)pshdrs" (cast_expression "(long)puVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)pshdrs" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) / number_literal) )))) ;) })) (ERROR "bVar1 = gold::Sized_relobj_file<32,_false>::do_find_special_sections\n                    (&this->super_Sized_relobj_file<32,_false>,sd)" (assignment_expression "bVar1 = gold" identifier = identifier) : : (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_false>::do_find_special_sections\n                    (&this->super_Sized_relobj_file<32,_false>,sd)" identifier > (ERROR "::" : :) (call_expression "do_find_special_sections\n                    (&this->super_Sized_relobj_file<32,_false>,sd)" identifier (argument_list "(&this->super_Sized_relobj_file<32,_false>,sd)" ( (binary_expression "&this->super_Sized_relobj_file<32" (pointer_expression "&this->super_Sized_relobj_file" & (field_expression "this->super_Sized_relobj_file" identifier -> field_identifier)) < number_literal) , identifier (ERROR ">" >) , identifier ))))) (expression_statement ";" ;) (return_statement "return bVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "void FUN_00227a20(long param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00227a20(long param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00227a20(long param_1,long *param_2)" identifier (parameter_list "(long param_1,long *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(*param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(*param_2 + 0x10)" identifier = (pointer_expression "*(long *)(*param_2 + 0x10)" * (cast_expression "(long *)(*param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);" (assignment_expression "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" identifier = (call_expression "FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" identifier (argument_list "(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" ( identifier , identifier , (string_literal "".got2"" " string_content ") , (pointer_expression "*(undefined8 *)(param_2[1] + 0x10)" * (cast_expression "(undefined8 *)(param_2[1] + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + 0x10)" ( (binary_expression "param_2[1] + 0x10" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) )))) , (subscript_expression "param_2[2]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" { (expression_statement "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);" (assignment_expression "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28)" (pointer_expression "*(int *)(param_1 + 0x224)" * (cast_expression "(int *)(param_1 + 0x224)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x224)" ( (binary_expression "param_1 + 0x224" identifier + number_literal) )))) = (cast_expression "(int)((lVar2 - lVar1) / 0x28)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((lVar2 - lVar1) / 0x28)" ( (binary_expression "(lVar2 - lVar1) / 0x28" (parenthesized_expression "(lVar2 - lVar1)" ( (binary_expression "lVar2 - lVar1" identifier - identifier) )) / number_literal) )))) ;) })) (expression_statement "FUN_003b66a0(param_1,param_2);" (call_expression "FUN_003b66a0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , 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) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00227a20(long param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00227a20(long param_1,long *param_2)" (identifier "FUN_00227a20") (parameter_list "(long param_1,long *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar1 = *(long *)(*param_2 + 0x10);\n  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);\n  if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }\n  FUN_003b66a0(param_1,param_2);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar1 = *(long *)(*param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(*param_2 + 0x10)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*param_2 + 0x10)" (* "*") (cast_expression "(long *)(*param_2 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x10)" (( "(") (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);" (assignment_expression "lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" (identifier "lVar2") (= "=") (call_expression "FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" (identifier "FUN_00396390") (argument_list "(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0)" (( "(") (identifier "param_1") (, ",") (identifier "lVar1") (, ",") (string_literal "".got2"" (" """) (string_content ".got2") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_2[1] + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_2[1] + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + 0x10)" (( "(") (binary_expression "param_2[1] + 0x10" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0x10")) () ")")))) (, ",") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (lVar2 != 0) {\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);" (assignment_expression "*(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28)" (pointer_expression "*(int *)(param_1 + 0x224)" (* "*") (cast_expression "(int *)(param_1 + 0x224)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x224)" (( "(") (binary_expression "param_1 + 0x224" (identifier "param_1") (+ "+") (number_literal "0x224")) () ")")))) (= "=") (cast_expression "(int)((lVar2 - lVar1) / 0x28)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((lVar2 - lVar1) / 0x28)" (( "(") (binary_expression "(lVar2 - lVar1) / 0x28" (parenthesized_expression "(lVar2 - lVar1)" (( "(") (binary_expression "lVar2 - lVar1" (identifier "lVar2") (- "-") (identifier "lVar1")) () ")")) (/ "/") (number_literal "0x28")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_003b66a0(param_1,param_2);" (call_expression "FUN_003b66a0(param_1,param_2)" (identifier "FUN_003b66a0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: bool do_find_special_sections(Powerpc_relobj<32,_false> * this,
   Read_symbols_data * sd) */

bool __thiscall
anon_unknown.dwarf_6a1ea8::Powerpc_relobj<32,var_2>::do_find_special_sections
          (Powerpc_relobj<32,var_2> *this,Read_symbols_data *sd)

{
  type_1 *pshdrs;
  bool bVar1;
  type_1 *var_3;
  
  pshdrs = sd->section_headers->data_;
  var_3 = gold::Object::var_1<32,var_2>
                     ((type_2 *)this,pshdrs,".got2",(char *)sd->section_names->data_,
                      sd->section_names_size,(type_1 *)0x0);
  if (var_3 != (type_1 *)0x0) {
    this->special_ = (uint)(((long)var_3 - (long)pshdrs) / 0x28);
  }
  bVar1 = gold::Sized_relobj_file<32,var_2>::do_find_special_sections
                    (&this->super_Sized_relobj_file<32,var_2>,sd);
  return bVar1;
}


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

void MASKED(long param_1,long *param_2)

{
  long lVar1;
  long lVar2;
  
  lVar1 = *(long *)(*param_2 + 0x10);
  lVar2 = FUN_00396390(param_1,lVar1,".got2",*(undefined8 *)(param_2[1] + 0x10),param_2[2],0);
  if (lVar2 != 0) {
    *(int *)(param_1 + 0x224) = (int)((lVar2 - lVar1) / 0x28);
  }
  FUN_003b66a0(param_1,param_2);
  return;
}

