
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void count_got_entry(Mips_got_info<32,_false> * this,
   Mips_got_entry<32,_false> * entry) */

void __thiscall
anon_unknown.dwarf_d7d43e::Mips_got_info<32,_false>::count_got_entry
          (Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)

{
}



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

void __regparm3 FUN_00175650(int *param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  
  bVar1 = *(byte *)(param_2 + 0xc);
  if (bVar1 != 0) {
    if (bVar1 < 3) {
      iVar2 = 2;
    }
    else {
      if (bVar1 != 4) {
                    /* WARNING: Subroutine does not return */
        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);
      }
      iVar2 = 1;
    }
    param_1[4] = param_1[4] + iVar2;
    return;
  }
  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {
    param_1[2] = param_1[2] + 1;
    return;
  }
  *param_1 = *param_1 + 1;
  return;
}


PUSH EBX
CALL 0x00050b50
ADD EBX,0x4749aa
SUB ESP,0x8
MOVZX ECX,byte ptr [EDX + 0xc]
TEST CL,CL
JNZ 0x00175690
CMP dword ptr [EDX + 0x4],-0x1
JZ 0x00175678
ADD dword ptr [EAX],0x1
ADD ESP,0x8
POP EBX
RET
MOV EDX,dword ptr [EDX + 0x8]
CMP dword ptr [EDX + 0x4c],0x2
JZ 0x0017566d
ADD dword ptr [EAX + 0x8],0x1
ADD ESP,0x8
POP EBX
RET
CMP CL,0x2
JBE 0x001756b0
CMP CL,0x4
JNZ 0x001756b7
MOV EDX,0x1
ADD dword ptr [EAX + 0x10],EDX
ADD ESP,0x8
POP EBX
RET
MOV EDX,0x2
JMP 0x0017569f
PUSH EAX
LEA EAX,[EBX + 0xffe8f20c]
PUSH EAX
LEA EAX,[EBX + 0xffe871ea]
PUSH 0x38c
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00175650(int *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00175650(int *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00175650(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_2 + 0xc);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0xc)" identifier = (pointer_expression "*(byte *)(param_2 + 0xc)" * (cast_expression "(byte *)(param_2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" { (if_statement "if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n      iVar2 = 2;\n    }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" else (compound_statement "{\n      if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" { (if_statement "if (bVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" if (parenthesized_expression "(bVar1 != 4)" ( (binary_expression "bVar1 != 4" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" { comment (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" identifier (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""mips_tls_got_entries"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2))" ( (binary_expression "(*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" (parenthesized_expression "(*(int *)(param_2 + 4) == -1)" ( (binary_expression "*(int *)(param_2 + 4) == -1" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" ( (binary_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x4c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x4c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" { (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (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 count_got_entry(Mips_got_info<32,_false> * this,\n   Mips_got_entry<32,_false> * entry) */\n\nvoid __thiscall\nanon_unknown.dwarf_d7d43e::Mips_got_info<32,_false>::count_got_entry\n          (Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_d7d43e::Mips_got_info<32,_false>::count_got_entry\n          (Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_d7d43e::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "count_got_entry\n          (Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)" identifier (parameter_list "(Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)" ( (parameter_declaration "Mips_got_info" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Mips_got_entry" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *entry" type_identifier (ERROR ">" >) (pointer_declarator "*entry" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm3 FUN_00175650(int *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00175650(int *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00175650(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_2 + 0xc);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0xc)" identifier = (pointer_expression "*(byte *)(param_2 + 0xc)" * (cast_expression "(byte *)(param_2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" { (if_statement "if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n      iVar2 = 2;\n    }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" else (compound_statement "{\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" { (if_statement "if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" if (parenthesized_expression "(bVar1 != 4)" ( (binary_expression "bVar1 != 4" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" { (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" identifier (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""mips_tls_got_entries"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2))" ( (binary_expression "(*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" (parenthesized_expression "(*(int *)(param_2 + 4) == -1)" ( (binary_expression "*(int *)(param_2 + 4) == -1" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" ( (binary_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x4c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x4c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" { (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00175650(int *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00175650(int *param_1,int param_2)" (identifier "FUN_00175650") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  bVar1 = *(byte *)(param_2 + 0xc);\n  if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }\n  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }\n  *param_1 = *param_1 + 1;\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "bVar1 = *(byte *)(param_2 + 0xc);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0xc)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_2 + 0xc)" (* "*") (cast_expression "(byte *)(param_2 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (bVar1 != 0) {\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" (if "if") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }\n    param_1[4] = param_1[4] + iVar2;\n    return;\n  }" ({ "{") (if_statement "if (bVar1 < 3) {\n      iVar2 = 2;\n    }\n    else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" (if "if") (parenthesized_expression "(bVar1 < 3)" (( "(") (binary_expression "bVar1 < 3" (identifier "bVar1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      iVar2 = 2;\n    }" ({ "{") (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" (identifier "iVar2") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" (else "else") (compound_statement "{\n      if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }\n      iVar2 = 1;\n    }" ({ "{") (if_statement "if (bVar1 != 4) {\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" (if "if") (parenthesized_expression "(bVar1 != 4)" (( "(") (binary_expression "bVar1 != 4" (identifier "bVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n                    \n        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n      }" ({ "{") (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" (( "(") (string_literal ""../../gold/mips.cc"" (" """) (string_content "../../gold/mips.cc") (" """)) (, ",") (number_literal "0x38c") (, ",") (string_literal ""mips_tls_got_entries"" (" """) (string_content "mips_tls_got_entries") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (identifier "iVar2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2))" (( "(") (binary_expression "(*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" (parenthesized_expression "(*(int *)(param_2 + 4) == -1)" (( "(") (binary_expression "*(int *)(param_2 + 4) == -1" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)" (( "(") (binary_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 8) + 0x4c)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 8) + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + 0x4c)" (( "(") (binary_expression "*(int *)(param_2 + 8) + 0x4c" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    param_1[2] = param_1[2] + 1;\n    return;\n  }" ({ "{") (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void count_got_entry(Mips_got_info<32,_false> * this,
   Mips_got_entry<32,_false> * entry) */

void __thiscall
anon_unknown.dwarf_d7d43e::Mips_got_info<32,_false>::count_got_entry
          (Mips_got_info<32,_false> *this,Mips_got_entry<32,_false> *entry)

{
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (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: (number_literal))) right: (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: (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 (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement))))

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

void __regparm3 MASKED(int *param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  
  bVar1 = *(byte *)(param_2 + 0xc);
  if (bVar1 != 0) {
    if (bVar1 < 3) {
      iVar2 = 2;
    }
    else {
      if (bVar1 != 4) {
                    /* WARNING: Subroutine does not return */
        FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);
      }
      iVar2 = 1;
    }
    param_1[4] = param_1[4] + iVar2;
    return;
  }
  if ((*(int *)(param_2 + 4) == -1) && (*(int *)(*(int *)(param_2 + 8) + 0x4c) != 2)) {
    param_1[2] = param_1[2] + 1;
    return;
  }
  *param_1 = *param_1 + 1;
  return;
}

