
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_abiversion(Powerpc_dynobj<64,_false> * this, int ver) */

void __thiscall
anon_unknown.dwarf_2af53c::Powerpc_dynobj<64,_false>::set_abiversion
          (Powerpc_dynobj<64,_false> *this,int ver)

{
}



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

void __regparm3 FUN_00053590(int param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  
  param_2 = param_2 | *(uint *)(param_1 + 0x90);
  *(uint *)(param_1 + 0x90) = param_2;
  param_2 = param_2 & 3;
  if (param_2 != 0) {
    iVar1 = *(int *)(DAT_004144e8 + 0xc);
    if (iVar1 == 0) {
      uVar3 = FUN_000534d0();
      if (*(int *)(DAT_004144e8 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000da200("../../gold/parameters.h",0x69,"target",0);
      }
      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);
    }
    uVar4 = *(uint *)(iVar1 + 8) & 3;
    if (uVar4 == 0) {
      *(undefined1 *)(iVar1 + 0xc) = 1;
      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;
    }
    else if (uVar4 != param_2) {
      uVar3 = *(undefined4 *)(param_1 + 4);
      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");
      FUN_000d1330(uVar2,uVar3,param_2,uVar4);
      return;
    }
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x3c0a68
SUB ESP,0x10
OR EDX,dword ptr [EAX + 0x90]
MOV dword ptr [EAX + 0x90],EDX
AND EDX,0x3
JZ 0x000535d7
LEA ECX,[EBX + 0x4e8]
MOV ECX,dword ptr [ECX]
MOV EDI,dword ptr [ECX + 0xc]
TEST EDI,EDI
JZ 0x00053614
MOV ECX,dword ptr [EDI + 0x8]
MOV ESI,ECX
AND ESI,0x3
JNZ 0x000535e0
AND ECX,0xfffffffc
MOV byte ptr [EDI + 0xc],0x1
OR EDX,ECX
MOV dword ptr [EDI + 0x8],EDX
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
CMP ESI,EDX
MOV dword ptr [ESP + 0xc],EDX
JZ 0x000535d7
MOV EDI,dword ptr [EAX + 0x4]
SUB ESP,0xc
LEA EAX,[EBX + 0xffee3658]
PUSH EAX
CALL 0x0002c440
ADD ESP,0x10
PUSH ESI
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x000d1330
ADD ESP,0x10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
CALL 0x000534d0
NOP
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00053590(int param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00053590(int param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00053590(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  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "param_2 = param_2 | *(uint *)(param_1 + 0x90);" (assignment_expression "param_2 = param_2 | *(uint *)(param_1 + 0x90)" identifier = (binary_expression "param_2 | *(uint *)(param_1 + 0x90)" identifier | (pointer_expression "*(uint *)(param_1 + 0x90)" * (cast_expression "(uint *)(param_1 + 0x90)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x90) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x90) = param_2" (pointer_expression "*(uint *)(param_1 + 0x90)" * (cast_expression "(uint *)(param_1 + 0x90)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = param_2 & 3;" (assignment_expression "param_2 = param_2 & 3" identifier = (binary_expression "param_2 & 3" identifier & number_literal)) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" { (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 0xc);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" { (expression_statement "uVar3 = FUN_000534d0();" (assignment_expression "uVar3 = FUN_000534d0()" identifier = (call_expression "FUN_000534d0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" { comment (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })) (if_statement "if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }" if (parenthesized_expression "(**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40)" ( (binary_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40" (pointer_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) + number_literal) ))))) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);" (call_expression "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(iVar1 + 8) & 3;" (assignment_expression "uVar4 = *(uint *)(iVar1 + 8) & 3" identifier = (binary_expression "*(uint *)(iVar1 + 8) & 3" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }" { (expression_statement "*(undefined1 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xc)" * (cast_expression "(undefined1 *)(iVar1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;" (assignment_expression "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" identifier | (binary_expression "*(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal))) ;) }) (else_clause "else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" else (if_statement "if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" if (parenthesized_expression "(uVar4 != param_2)" ( (binary_expression "uVar4 != param_2" identifier != identifier) )) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");" (assignment_expression "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output")" identifier = (call_expression "gettext("%s: ABI version %d is not compatible with ABI version %d output")" identifier (argument_list "("%s: ABI version %d is not compatible with ABI version %d output")" ( (string_literal ""%s: ABI version %d is not compatible with ABI version %d output"" " string_content ") )))) ;) (expression_statement "FUN_000d1330(uVar2,uVar3,param_2,uVar4);" (call_expression "FUN_000d1330(uVar2,uVar3,param_2,uVar4)" identifier (argument_list "(uVar2,uVar3,param_2,uVar4)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_abiversion(Powerpc_dynobj<64,_false> * this, int ver) */\n\nvoid __thiscall\nanon_unknown.dwarf_2af53c::Powerpc_dynobj<64,_false>::set_abiversion\n          (Powerpc_dynobj<64,_false> *this,int ver)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_2af53c::Powerpc_dynobj<64,_false>::set_abiversion\n          (Powerpc_dynobj<64,_false> *this,int ver)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2af53c::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "set_abiversion\n          (Powerpc_dynobj<64,_false> *this,int ver)" identifier (parameter_list "(Powerpc_dynobj<64,_false> *this,int ver)" ( (parameter_declaration "Powerpc_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int ver" primitive_type identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm3 FUN_00053590(int param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00053590(int param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00053590(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  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "param_2 = param_2 | *(uint *)(param_1 + 0x90);" (assignment_expression "param_2 = param_2 | *(uint *)(param_1 + 0x90)" identifier = (binary_expression "param_2 | *(uint *)(param_1 + 0x90)" identifier | (pointer_expression "*(uint *)(param_1 + 0x90)" * (cast_expression "(uint *)(param_1 + 0x90)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x90) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x90) = param_2" (pointer_expression "*(uint *)(param_1 + 0x90)" * (cast_expression "(uint *)(param_1 + 0x90)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = param_2 & 3;" (assignment_expression "param_2 = param_2 & 3" identifier = (binary_expression "param_2 & 3" identifier & number_literal)) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" { (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 0xc);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" { (expression_statement "uVar3 = FUN_000534d0();" (assignment_expression "uVar3 = FUN_000534d0()" identifier = (call_expression "FUN_000534d0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" { (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })) (if_statement "if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }" if (parenthesized_expression "(**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40)" ( (binary_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40" (pointer_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) + number_literal) ))))) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);" (call_expression "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(iVar1 + 8) & 3;" (assignment_expression "uVar4 = *(uint *)(iVar1 + 8) & 3" identifier = (binary_expression "*(uint *)(iVar1 + 8) & 3" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }" { (expression_statement "*(undefined1 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xc)" * (cast_expression "(undefined1 *)(iVar1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;" (assignment_expression "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" identifier | (binary_expression "*(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal))) ;) }) (else_clause "else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" else (if_statement "if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" if (parenthesized_expression "(uVar4 != param_2)" ( (binary_expression "uVar4 != param_2" identifier != identifier) )) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");" (assignment_expression "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output")" identifier = (call_expression "gettext("%s: ABI version %d is not compatible with ABI version %d output")" identifier (argument_list "("%s: ABI version %d is not compatible with ABI version %d output")" ( (string_literal ""%s: ABI version %d is not compatible with ABI version %d output"" " string_content ") )))) ;) (expression_statement "FUN_000d1330(uVar2,uVar3,param_2,uVar4);" (call_expression "FUN_000d1330(uVar2,uVar3,param_2,uVar4)" identifier (argument_list "(uVar2,uVar3,param_2,uVar4)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (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 IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (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 = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00053590(int param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00053590(int param_1,uint param_2)" (identifier "FUN_00053590") (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  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  param_2 = param_2 | *(uint *)(param_1 + 0x90);\n  *(uint *)(param_1 + 0x90) = param_2;\n  param_2 = param_2 & 3;\n  if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "param_2 = param_2 | *(uint *)(param_1 + 0x90);" (assignment_expression "param_2 = param_2 | *(uint *)(param_1 + 0x90)" (identifier "param_2") (= "=") (binary_expression "param_2 | *(uint *)(param_1 + 0x90)" (identifier "param_2") (| "|") (pointer_expression "*(uint *)(param_1 + 0x90)" (* "*") (cast_expression "(uint *)(param_1 + 0x90)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x90) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x90) = param_2" (pointer_expression "*(uint *)(param_1 + 0x90)" (* "*") (cast_expression "(uint *)(param_1 + 0x90)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_2 = param_2 & 3;" (assignment_expression "param_2 = param_2 & 3" (identifier "param_2") (= "=") (binary_expression "param_2 & 3" (identifier "param_2") (& "&") (number_literal "3"))) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 0xc);\n    if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }\n    uVar4 = *(uint *)(iVar1 + 8) & 3;\n    if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 0xc);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 0xc)" (( "(") (binary_expression "DAT_004144e8 + 0xc" (identifier "DAT_004144e8") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = FUN_000534d0();\n      if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }\n      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }\n                    \n      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);\n    }" ({ "{") (expression_statement "uVar3 = FUN_000534d0();" (assignment_expression "uVar3 = FUN_000534d0()" (identifier "uVar3") (= "=") (call_expression "FUN_000534d0()" (identifier "FUN_000534d0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) == 0) {\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" (if "if") (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 0xc) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 0xc)" (( "(") (binary_expression "DAT_004144e8 + 0xc" (identifier "DAT_004144e8") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_000da200("../../gold/parameters.h",0x69,"target",0);\n      }" ({ "{") (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",0)" (identifier "FUN_000da200") (argument_list "("../../gold/parameters.h",0x69,"target",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (if_statement "if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {\n        return;\n      }" (if "if") (parenthesized_expression "(**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40)" (( "(") (binary_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40" (pointer_expression "**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" (* "*") (pointer_expression "*(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_004144e8 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 0xc)" (( "(") (binary_expression "DAT_004144e8 + 0xc" (identifier "DAT_004144e8") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);" (call_expression "FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" (identifier "FUN_000da200") (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3)" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x7f4") (, ",") (string_literal ""get_sized_symbol"" (" """) (string_content "get_sized_symbol") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(uint *)(iVar1 + 8) & 3;" (assignment_expression "uVar4 = *(uint *)(iVar1 + 8) & 3" (identifier "uVar4") (= "=") (binary_expression "*(uint *)(iVar1 + 8) & 3" (pointer_expression "*(uint *)(iVar1 + 8)" (* "*") (cast_expression "(uint *)(iVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "3"))) (; ";")) (if_statement "if (uVar4 == 0) {\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }\n    else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)(iVar1 + 0xc) = 1;\n      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;\n    }" ({ "{") (expression_statement "*(undefined1 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined1 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;" (assignment_expression "*(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" (* "*") (cast_expression "(uint *)(iVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc" (identifier "param_2") (| "|") (binary_expression "*(uint *)(iVar1 + 8) & 0xfffffffc" (pointer_expression "*(uint *)(iVar1 + 8)" (* "*") (cast_expression "(uint *)(iVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0xfffffffc")))) (; ";")) (} "}")) (else_clause "else if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" (else "else") (if_statement "if (uVar4 != param_2) {\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" (if "if") (parenthesized_expression "(uVar4 != param_2)" (( "(") (binary_expression "uVar4 != param_2" (identifier "uVar4") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 4);\n      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");\n      FUN_000d1330(uVar2,uVar3,param_2,uVar4);\n      return;\n    }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");" (assignment_expression "uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output")" (identifier "uVar2") (= "=") (call_expression "gettext("%s: ABI version %d is not compatible with ABI version %d output")" (identifier "gettext") (argument_list "("%s: ABI version %d is not compatible with ABI version %d output")" (( "(") (string_literal ""%s: ABI version %d is not compatible with ABI version %d output"" (" """) (string_content "%s: ABI version %d is not compatible with ABI version %d output") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000d1330(uVar2,uVar3,param_2,uVar4);" (call_expression "FUN_000d1330(uVar2,uVar3,param_2,uVar4)" (identifier "FUN_000d1330") (argument_list "(uVar2,uVar3,param_2,uVar4)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar3") (, ",") (identifier "param_2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_abiversion(Powerpc_dynobj<64,_false> * this, int ver) */

void __thiscall
anon_unknown.dwarf_2af53c::Powerpc_dynobj<64,_false>::set_abiversion
          (Powerpc_dynobj<64,_false> *this,int ver)

{
}


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

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

void __regparm3 MASKED(int param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  
  param_2 = param_2 | *(uint *)(param_1 + 0x90);
  *(uint *)(param_1 + 0x90) = param_2;
  param_2 = param_2 & 3;
  if (param_2 != 0) {
    iVar1 = *(int *)(DAT_004144e8 + 0xc);
    if (iVar1 == 0) {
      uVar3 = FUN_000534d0();
      if (*(int *)(DAT_004144e8 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000da200("../../gold/parameters.h",0x69,"target",0);
      }
      if (**(int **)(*(int *)(DAT_004144e8 + 0xc) + 4) == 0x40) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/symtab.h",0x7f4,"get_sized_symbol",uVar3);
    }
    uVar4 = *(uint *)(iVar1 + 8) & 3;
    if (uVar4 == 0) {
      *(undefined1 *)(iVar1 + 0xc) = 1;
      *(uint *)(iVar1 + 8) = param_2 | *(uint *)(iVar1 + 8) & 0xfffffffc;
    }
    else if (uVar4 != param_2) {
      uVar3 = *(undefined4 *)(param_1 + 4);
      uVar2 = gettext("%s: ABI version %d is not compatible with ABI version %d output");
      FUN_000d1330(uVar2,uVar3,param_2,uVar4);
      return;
    }
  }
  return;
}

