
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void set_final_data_size(Output_data_plt_sparc<32,_true> * this) */

void __thiscall
anon_unknown.dwarf_484c35::Output_data_plt_sparc<32,_true>::set_final_data_size
          (Output_data_plt_sparc<32,_true> *this)

{
  int iVar1;
  byte bVar2;
  
  iVar1 = ((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4;
  bVar2 = this->field_0x1c;
  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {
    *(int *)&this->field_0xc = iVar1;
    *(int *)&this->field_0x10 = iVar1 >> 0x1f;
    this->field_0x1c = bVar2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_00096c50(int param_1)

{
  int iVar1;
  byte bVar2;
  
  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;
  bVar2 = *(byte *)(param_1 + 0x1c);
  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar1;
    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;
    *(byte *)(param_1 + 0x1c) = bVar2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);
}


PUSH ESI
CALL 0x00063c76
ADD ESI,0x5533aa
PUSH EBX
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x38]
ADD EDX,dword ptr [EAX + 0x34]
LEA EDX,[EDX + EDX*0x2 + 0xc]
LEA ECX,[EDX*0x4 + 0x4]
MOVZX EDX,byte ptr [EAX + 0x1c]
MOV EBX,ECX
SAR EBX,0x1f
TEST DL,0x2
JNZ 0x00096c9a
TEST DL,0x8
JNZ 0x00096c9a
OR EDX,0x2
MOV dword ptr [EAX + 0xc],ECX
MOV dword ptr [EAX + 0x10],EBX
MOV byte ptr [EAX + 0x1c],DL
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[ESI + 0xffe6c190]
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xffe6335d]
PUSH 0x218
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_00096c50(int param_1)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}\n\n" comment (function_definition "void FUN_00096c50(int param_1)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" primitive_type (function_declarator "FUN_00096c50(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;" (assignment_expression "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" identifier = (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4" (parenthesized_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc)" ( (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc" (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3" (parenthesized_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34))" ( (binary_expression "*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) )) * number_literal) + number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "bVar2 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar2 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar2 & 2) == 0) && ((bVar2 & 8) == 0))" ( (binary_expression "((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)" (parenthesized_expression "((bVar2 & 2) == 0)" ( (binary_expression "(bVar2 & 2) == 0" (parenthesized_expression "(bVar2 & 2)" ( (binary_expression "bVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar2 & 8) == 0)" ( (binary_expression "(bVar2 & 8) == 0" (parenthesized_expression "(bVar2 & 8)" ( (binary_expression "bVar2 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar2 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar2 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar2 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* DWARF original prototype: void set_final_data_size(Output_data_plt_sparc<32,_true> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_484c35::Output_data_plt_sparc<32,_true>::set_final_data_size\n          (Output_data_plt_sparc<32,_true> *this)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4;\n  bVar2 = this->field_0x1c;\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar1;\n    *(int *)&this->field_0x10 = iVar1 >> 0x1f;\n    this->field_0x1c = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}\n\n" comment comment (declaration "void __thiscall\nanon_unknown.dwarf_484c35::Output_data_plt_sparc<32,_true>::set_final_data_size\n          (Output_data_plt_sparc<32,_true> *this)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_484c35::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::set_final_data_size\n          (Output_data_plt_sparc<32,_true> *this)\n\n{\n  int" identifier > : : (function_declarator "set_final_data_size\n          (Output_data_plt_sparc<32,_true> *this)" identifier (parameter_list "(Output_data_plt_sparc<32,_true> *this)" ( (parameter_declaration "Output_data_plt_sparc" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "iVar1 = ((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4;" (assignment_expression "iVar1 = ((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4" identifier = (binary_expression "((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4" (binary_expression "((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4" (parenthesized_expression "((this->ifunc_count_ + this->count_) * 3 + 0xc)" ( (binary_expression "(this->ifunc_count_ + this->count_) * 3 + 0xc" (binary_expression "(this->ifunc_count_ + this->count_) * 3" (parenthesized_expression "(this->ifunc_count_ + this->count_)" ( (binary_expression "this->ifunc_count_ + this->count_" (field_expression "this->ifunc_count_" identifier -> field_identifier) + (field_expression "this->count_" identifier -> field_identifier)) )) * number_literal) + number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "bVar2 = this->field_0x1c;" (assignment_expression "bVar2 = this->field_0x1c" identifier = (field_expression "this->field_0x1c" identifier -> field_identifier)) ;) (if_statement "if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar1;\n    *(int *)&this->field_0x10 = iVar1 >> 0x1f;\n    this->field_0x1c = bVar2 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar2 & 2) == 0) && ((bVar2 & 8) == 0))" ( (binary_expression "((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)" (parenthesized_expression "((bVar2 & 2) == 0)" ( (binary_expression "(bVar2 & 2) == 0" (parenthesized_expression "(bVar2 & 2)" ( (binary_expression "bVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar2 & 8) == 0)" ( (binary_expression "(bVar2 & 8) == 0" (parenthesized_expression "(bVar2 & 8)" ( (binary_expression "bVar2 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)&this->field_0xc = iVar1;\n    *(int *)&this->field_0x10 = iVar1 >> 0x1f;\n    this->field_0x1c = bVar2 | 2;\n    return;\n  }" { (expression_statement "*(int *)&this->field_0xc = iVar1;" (assignment_expression "*(int *)&this->field_0xc = iVar1" (pointer_expression "*(int *)&this->field_0xc" * (cast_expression "(int *)&this->field_0xc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0xc" & (field_expression "this->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(int *)&this->field_0x10 = iVar1 >> 0x1f;" (assignment_expression "*(int *)&this->field_0x10 = iVar1 >> 0x1f" (pointer_expression "*(int *)&this->field_0x10" * (cast_expression "(int *)&this->field_0x10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x10" & (field_expression "this->field_0x10" identifier -> field_identifier)))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "this->field_0x1c = bVar2 | 2;" (assignment_expression "this->field_0x1c = bVar2 | 2" (field_expression "this->field_0x1c" identifier -> field_identifier) = (binary_expression "bVar2 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (labeled_statement "gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;)) (ERROR "}" }))
(translation_unit "void FUN_00096c50(int param_1)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}\n\n" (function_definition "void FUN_00096c50(int param_1)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" primitive_type (function_declarator "FUN_00096c50(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;" (assignment_expression "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" identifier = (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4" (parenthesized_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc)" ( (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc" (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3" (parenthesized_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34))" ( (binary_expression "*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) )) * number_literal) + number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "bVar2 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar2 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar2 & 2) == 0) && ((bVar2 & 8) == 0))" ( (binary_expression "((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)" (parenthesized_expression "((bVar2 & 2) == 0)" ( (binary_expression "(bVar2 & 2) == 0" (parenthesized_expression "(bVar2 & 2)" ( (binary_expression "bVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar2 & 8) == 0)" ( (binary_expression "(bVar2 & 8) == 0" (parenthesized_expression "(bVar2 & 8)" ( (binary_expression "bVar2 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar2 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar2 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar2 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) * LIT) + LIT) )) * LIT) + LIT)) ;) (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT >> LIT)) ;) (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 ))) ;) })))
(function_definition "void FUN_00096c50(int param_1)\n\n{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" (primitive_type "void") (function_declarator "FUN_00096c50(int param_1)" (identifier "FUN_00096c50") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  \n  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;\n  bVar2 = *(byte *)(param_1 + 0x1c);\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (expression_statement "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;" (assignment_expression "iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" (identifier "iVar1") (= "=") (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4" (binary_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4" (parenthesized_expression "((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc)" (( "(") (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc" (binary_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3" (parenthesized_expression "(*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34))" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (* "*") (number_literal "3")) (+ "+") (number_literal "0xc")) () ")")) (* "*") (number_literal "4")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "bVar2 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar2 = *(byte *)(param_1 + 0x1c)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar2 & 2) == 0) && ((bVar2 & 8) == 0))" (( "(") (binary_expression "((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)" (parenthesized_expression "((bVar2 & 2) == 0)" (( "(") (binary_expression "(bVar2 & 2) == 0" (parenthesized_expression "(bVar2 & 2)" (( "(") (binary_expression "bVar2 & 2" (identifier "bVar2") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar2 & 8) == 0)" (( "(") (binary_expression "(bVar2 & 8) == 0" (parenthesized_expression "(bVar2 & 8)" (( "(") (binary_expression "bVar2 & 8" (identifier "bVar2") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1;\n    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;\n    *(byte *)(param_1 + 0x1c) = bVar2 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar2 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar2 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "bVar2 | 2" (identifier "bVar2") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0x218,"set_data_size",param_1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_data_size"" (" """) (string_content "set_data_size") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void set_final_data_size(Output_data_plt_sparc<32,_true> * this) */

void __thiscall
anon_unknown.dwarf_484c35::Output_data_plt_sparc<32,_true>::set_final_data_size
          (Output_data_plt_sparc<32,_true> *this)

{
  int var_2;
  type_1 var_1;
  
  var_2 = ((this->ifunc_count_ + this->count_) * 3 + 0xc) * 4 + 4;
  var_1 = this->field_0x1c;
  if (((var_1 & 2) == 0) && ((var_1 & 8) == 0)) {
    *(int *)&this->field_0xc = var_2;
    *(int *)&this->field_0x10 = var_2 >> 0x1f;
    this->field_0x1c = var_1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::var_3("../../gold/output.h",0x218,"set_data_size");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (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: (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: (number_literal))) right: (number_literal)) right: (number_literal)))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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: (binary_expression left: (identifier) right: (number_literal)))) (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)))))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(int param_1)

{
  int iVar1;
  byte bVar2;
  
  iVar1 = ((*(int *)(param_1 + 0x38) + *(int *)(param_1 + 0x34)) * 3 + 0xc) * 4 + 4;
  bVar2 = *(byte *)(param_1 + 0x1c);
  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar1;
    *(int *)(param_1 + 0x10) = iVar1 >> 0x1f;
    *(byte *)(param_1 + 0x1c) = bVar2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0x218,"set_data_size",param_1);
}

