
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint got_offset(Mips_output_data_got<32,_true> * this, Symbol * gsym,
   uint got_type, Mips_relobj<32,_true> * object) */

uint __thiscall
anon_unknown.dwarf_d7d43e::Mips_output_data_got<32,_true>::got_offset
          (Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,
          Mips_relobj<32,_true> *object)

{
}



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

void __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  if (*(int *)(param_1 + 0x80) == 0) {
    piVar2 = (int *)(param_2 + 0x1c);
    if (piVar2 == (int *)0x0) goto LAB_0017fddb;
    iVar1 = *(int *)(param_2 + 0x1c);
    while (param_3 != iVar1) {
      piVar2 = (int *)piVar2[2];
      if (piVar2 == (int *)0x0) goto LAB_0017fddb;
      iVar1 = *piVar2;
    }
  }
  else {
    if (*(int *)(param_4 + 0x1e8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);
    }
    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);
    iVar3 = iVar1 + 0x403;
    if (param_3 != 1) {
      iVar3 = iVar1 + 3;
      if (param_3 == 2) {
        iVar3 = iVar1 + 0x803;
      }
    }
    piVar2 = (int *)(param_2 + 0x1c);
    if (piVar2 == (int *)0x0) goto LAB_0017fddb;
    iVar1 = *(int *)(param_2 + 0x1c);
    while (iVar1 != iVar3) {
      piVar2 = (int *)piVar2[2];
      if (piVar2 == (int *)0x0) goto LAB_0017fddb;
      iVar1 = *piVar2;
    }
  }
  if (piVar2[1] != -1) {
    return;
  }
LAB_0017fddb:
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);
}


PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x46a289
SUB ESP,0x4
MOV ESI,dword ptr [EAX + 0x80]
TEST ESI,ESI
JZ 0x0017fe10
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x1e8]
TEST EAX,EAX
JZ 0x0017fe2d
MOV EAX,dword ptr [EAX + 0x94]
LEA ESI,[EAX + 0x403]
CMP ECX,0x1
JZ 0x0017fdbf
LEA ESI,[EAX + 0x3]
ADD EAX,0x803
CMP ECX,0x2
CMOVZ ESI,EAX
MOV EAX,EDX
ADD EAX,0x1c
JZ 0x0017fddb
CMP dword ptr [EDX + 0x1c],ESI
JNZ 0x0017fdd4
JMP 0x0017fdf8
CMP dword ptr [EAX],ESI
JZ 0x0017fdf8
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x0017fdd0
LEA EAX,[EBX + 0xffe90820]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffe633e0]
PUSH 0x1b7
PUSH EAX
CALL 0x002446e0
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,-0x1
JZ 0x0017fddb
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV EAX,EDX
ADD EAX,0x1c
JZ 0x0017fddb
CMP ECX,dword ptr [EDX + 0x1c]
JNZ 0x0017fe24
JMP 0x0017fdf8
CMP ECX,dword ptr [EAX]
JZ 0x0017fdf8
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x0017fe20
JMP 0x0017fddb
PUSH EAX
LEA EAX,[EBX + 0xffe8ed68]
PUSH EAX
LEA EAX,[EBX + 0xffe871ea]
PUSH 0x856
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}\n\n" comment (function_definition "void __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x80) == 0)" ( (binary_expression "*(int *)(param_1 + 0x80) == 0" (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" { (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (while_statement "while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(param_3 != iVar1)" ( (binary_expression "param_3 != iVar1" identifier != identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) }) (else_clause "else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" else (compound_statement "{\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" { (if_statement "if (*(int *)(param_4 + 0x1e8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" if (parenthesized_expression "(*(int *)(param_4 + 0x1e8) == 0)" ( (binary_expression "*(int *)(param_4 + 0x1e8) == 0" (pointer_expression "*(int *)(param_4 + 0x1e8)" * (cast_expression "(int *)(param_4 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1e8)" ( (binary_expression "param_4 + 0x1e8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0)" identifier (argument_list "("../../gold/mips.cc",0x856,"got_offset",0)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" identifier = (pointer_expression "*(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" * (cast_expression "(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x1e8) + 0x94)" ( (binary_expression "*(int *)(param_4 + 0x1e8) + 0x94" (pointer_expression "*(int *)(param_4 + 0x1e8)" * (cast_expression "(int *)(param_4 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1e8)" ( (binary_expression "param_4 + 0x1e8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = iVar1 + 0x403;" (assignment_expression "iVar3 = iVar1 + 0x403" identifier = (binary_expression "iVar1 + 0x403" identifier + number_literal)) ;) (if_statement "if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" if (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) (compound_statement "{\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" { (expression_statement "iVar3 = iVar1 + 3;" (assignment_expression "iVar3 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }" if (parenthesized_expression "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) )) (compound_statement "{\n        iVar3 = iVar1 + 0x803;\n      }" { (expression_statement "iVar3 = iVar1 + 0x803;" (assignment_expression "iVar3 = iVar1 + 0x803" identifier = (binary_expression "iVar1 + 0x803" identifier + number_literal)) ;) })) })) (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (while_statement "while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(iVar1 != iVar3)" ( (binary_expression "iVar1 != iVar3" identifier != identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) }))) (if_statement "if (piVar2[1] != -1) {\n    return;\n  }" if (parenthesized_expression "(piVar2[1] != -1)" ( (binary_expression "piVar2[1] != -1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0017fddb:\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" statement_identifier : comment (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2)" identifier (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",param_2)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , identifier ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint got_offset(Mips_output_data_got<32,_true> * this, Symbol * gsym,\n   uint got_type, Mips_relobj<32,_true> * object) */\n\nuint __thiscall\nanon_unknown.dwarf_d7d43e::Mips_output_data_got<32,_true>::got_offset\n          (Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,\n          Mips_relobj<32,_true> *object)\n\n{\n}\n\n" comment comment comment (ERROR "uint __thiscall\nanon_unknown.dwarf_d7d43e::Mips_output_data_got<32,_true>::got_offset\n          (Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,\n          Mips_relobj<32,_true> *object)" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_d7d43e::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::" identifier > : :) (function_declarator "got_offset\n          (Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,\n          Mips_relobj<32,_true> *object)" identifier (parameter_list "(Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,\n          Mips_relobj<32,_true> *object)" ( (parameter_declaration "Mips_output_data_got" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "Mips_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *object" type_identifier (ERROR ">" >) (pointer_declarator "*object" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}\n\n" (function_definition "void __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x80) == 0)" ( (binary_expression "*(int *)(param_1 + 0x80) == 0" (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" { (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (while_statement "while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(param_3 != iVar1)" ( (binary_expression "param_3 != iVar1" identifier != identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) }) (else_clause "else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" else (compound_statement "{\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" { (if_statement "if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" if (parenthesized_expression "(*(int *)(param_4 + 0x1e8) == 0)" ( (binary_expression "*(int *)(param_4 + 0x1e8) == 0" (pointer_expression "*(int *)(param_4 + 0x1e8)" * (cast_expression "(int *)(param_4 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1e8)" ( (binary_expression "param_4 + 0x1e8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" { (expression_statement "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0)" identifier (argument_list "("../../gold/mips.cc",0x856,"got_offset",0)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" identifier = (pointer_expression "*(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" * (cast_expression "(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x1e8) + 0x94)" ( (binary_expression "*(int *)(param_4 + 0x1e8) + 0x94" (pointer_expression "*(int *)(param_4 + 0x1e8)" * (cast_expression "(int *)(param_4 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1e8)" ( (binary_expression "param_4 + 0x1e8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = iVar1 + 0x403;" (assignment_expression "iVar3 = iVar1 + 0x403" identifier = (binary_expression "iVar1 + 0x403" identifier + number_literal)) ;) (if_statement "if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" if (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) (compound_statement "{\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" { (expression_statement "iVar3 = iVar1 + 3;" (assignment_expression "iVar3 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }" if (parenthesized_expression "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) )) (compound_statement "{\n        iVar3 = iVar1 + 0x803;\n      }" { (expression_statement "iVar3 = iVar1 + 0x803;" (assignment_expression "iVar3 = iVar1 + 0x803" identifier = (binary_expression "iVar1 + 0x803" identifier + number_literal)) ;) })) })) (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (while_statement "while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(iVar1 != iVar3)" ( (binary_expression "iVar1 != iVar3" identifier != identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0017fddb;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) }))) (if_statement "if (piVar2[1] != -1) {\n    return;\n  }" if (parenthesized_expression "(piVar2[1] != -1)" ( (binary_expression "piVar2[1] != -1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" statement_identifier : (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2)" identifier (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",param_2)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , identifier ))) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }) (else_clause else (compound_statement { (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 ))) ;) })) (expression_statement (assignment_expression IDENT = (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) ))))) ;) (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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })))
(function_definition "void __regparm3 FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0017fd70(int param_1,int param_2,int param_3,int param_4)" (identifier "FUN_0017fd70") (parameter_list "(int param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  if (piVar2[1] != -1) {\n    return;\n  }\nLAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (*(int *)(param_1 + 0x80) == 0) {\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }\n  else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x80) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x80) == 0" (pointer_expression "*(int *)(param_1 + 0x80)" (* "*") (cast_expression "(int *)(param_1 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" ({ "{") (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" (identifier "piVar2") (= "=") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0017fddb;" (goto "goto") (statement_identifier "LAB_0017fddb") (; ";"))) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (while_statement "while (param_3 != iVar1) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" (while "while") (parenthesized_expression "(param_3 != iVar1)" (( "(") (binary_expression "param_3 != iVar1" (identifier "param_3") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" ({ "{") (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0017fddb;" (goto "goto") (statement_identifier "LAB_0017fddb") (; ";"))) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" (else "else") (compound_statement "{\n    if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }\n    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);\n    iVar3 = iVar1 + 0x403;\n    if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }\n    piVar2 = (int *)(param_2 + 0x1c);\n    if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n    iVar1 = *(int *)(param_2 + 0x1c);\n    while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_4 + 0x1e8) == 0) {\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_4 + 0x1e8) == 0)" (( "(") (binary_expression "*(int *)(param_4 + 0x1e8) == 0" (pointer_expression "*(int *)(param_4 + 0x1e8)" (* "*") (cast_expression "(int *)(param_4 + 0x1e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1e8)" (( "(") (binary_expression "param_4 + 0x1e8" (identifier "param_4") (+ "+") (number_literal "0x1e8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0)" (identifier "FUN_002446e0") (argument_list "("../../gold/mips.cc",0x856,"got_offset",0)" (( "(") (string_literal ""../../gold/mips.cc"" (" """) (string_content "../../gold/mips.cc") (" """)) (, ",") (number_literal "0x856") (, ",") (string_literal ""got_offset"" (" """) (string_content "got_offset") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" (* "*") (cast_expression "(int *)(*(int *)(param_4 + 0x1e8) + 0x94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_4 + 0x1e8) + 0x94)" (( "(") (binary_expression "*(int *)(param_4 + 0x1e8) + 0x94" (pointer_expression "*(int *)(param_4 + 0x1e8)" (* "*") (cast_expression "(int *)(param_4 + 0x1e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1e8)" (( "(") (binary_expression "param_4 + 0x1e8" (identifier "param_4") (+ "+") (number_literal "0x1e8")) () ")")))) (+ "+") (number_literal "0x94")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar1 + 0x403;" (assignment_expression "iVar3 = iVar1 + 0x403" (identifier "iVar3") (= "=") (binary_expression "iVar1 + 0x403" (identifier "iVar1") (+ "+") (number_literal "0x403"))) (; ";")) (if_statement "if (param_3 != 1) {\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" (if "if") (parenthesized_expression "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      iVar3 = iVar1 + 3;\n      if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }\n    }" ({ "{") (expression_statement "iVar3 = iVar1 + 3;" (assignment_expression "iVar3 = iVar1 + 3" (identifier "iVar3") (= "=") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (param_3 == 2) {\n        iVar3 = iVar1 + 0x803;\n      }" (if "if") (parenthesized_expression "(param_3 == 2)" (( "(") (binary_expression "param_3 == 2" (identifier "param_3") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        iVar3 = iVar1 + 0x803;\n      }" ({ "{") (expression_statement "iVar3 = iVar1 + 0x803;" (assignment_expression "iVar3 = iVar1 + 0x803" (identifier "iVar3") (= "=") (binary_expression "iVar1 + 0x803" (identifier "iVar1") (+ "+") (number_literal "0x803"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar2 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar2 = (int *)(param_2 + 0x1c)" (identifier "piVar2") (= "=") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0017fddb;" (goto "goto") (statement_identifier "LAB_0017fddb") (; ";"))) (expression_statement "iVar1 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (while_statement "while (iVar1 != iVar3) {\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" (while "while") (parenthesized_expression "(iVar1 != iVar3)" (( "(") (binary_expression "iVar1 != iVar3" (identifier "iVar1") (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n      piVar2 = (int *)piVar2[2];\n      if (piVar2 == (int *)0x0) goto LAB_0017fddb;\n      iVar1 = *piVar2;\n    }" ({ "{") (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0017fddb;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0017fddb;" (goto "goto") (statement_identifier "LAB_0017fddb") (; ";"))) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (piVar2[1] != -1) {\n    return;\n  }" (if "if") (parenthesized_expression "(piVar2[1] != -1)" (( "(") (binary_expression "piVar2[1] != -1" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0017fddb:\n                    \n  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" (statement_identifier "LAB_0017fddb") (: ":") (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2)" (identifier "FUN_002446e0") (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",param_2)" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x1b7") (, ",") (string_literal ""got_offset"" (" """) (string_content "got_offset") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint got_offset(Mips_output_data_got<32,_true> * this, Symbol * gsym,
   uint got_type, Mips_relobj<32,_true> * object) */

uint __thiscall
anon_unknown.dwarf_d7d43e::Mips_output_data_got<32,_true>::got_offset
          (Mips_output_data_got<32,_true> *this,Symbol *gsym,uint got_type,
          Mips_relobj<32,_true> *object)

{
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (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 (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (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))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) alternative: (else_clause (compound_statement (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)))))) (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: (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))))))) (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: (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: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (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))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier))))))))

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

void __regparm3 MASKED(int param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  if (*(int *)(param_1 + 0x80) == 0) {
    piVar2 = (int *)(param_2 + 0x1c);
    if (piVar2 == (int *)0x0) goto LAB_0017fddb;
    iVar1 = *(int *)(param_2 + 0x1c);
    while (param_3 != iVar1) {
      piVar2 = (int *)piVar2[2];
      if (piVar2 == (int *)0x0) goto LAB_0017fddb;
      iVar1 = *piVar2;
    }
  }
  else {
    if (*(int *)(param_4 + 0x1e8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/mips.cc",0x856,"got_offset",0);
    }
    iVar1 = *(int *)(*(int *)(param_4 + 0x1e8) + 0x94);
    iVar3 = iVar1 + 0x403;
    if (param_3 != 1) {
      iVar3 = iVar1 + 3;
      if (param_3 == 2) {
        iVar3 = iVar1 + 0x803;
      }
    }
    piVar2 = (int *)(param_2 + 0x1c);
    if (piVar2 == (int *)0x0) goto LAB_0017fddb;
    iVar1 = *(int *)(param_2 + 0x1c);
    while (iVar1 != iVar3) {
      piVar2 = (int *)piVar2[2];
      if (piVar2 == (int *)0x0) goto LAB_0017fddb;
      iVar1 = *piVar2;
    }
  }
  if (piVar2[1] != -1) {
    return;
  }
LAB_0017fddb:
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/symtab.h",0x1b7,"got_offset",param_2);
}

