
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: ld_plugin_status get_view(Plugin_manager * this, uint handle, void * *
   viewp) */

ld_plugin_status __thiscall
gold::Plugin_manager::get_view(Plugin_manager *this,uint handle,void **viewp)

{
  pointer ppOVar1;
  Object *pOVar2;
  Input_file *pIVar3;
  uchar *puVar4;
  int iVar5;
  undefined4 uVar6;
  section_size_type size;
  undefined4 uVar7;
  
  if (this->in_claim_file_handler_ != false) {
    uVar6 = (undefined4)(this->plugin_input_file_).offset;
    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);
    size = (section_size_type)(this->plugin_input_file_).filesize;
    pIVar3 = this->input_file_;
LAB_0013b816:
    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);
    *viewp = puVar4;
    return LDPS_OK;
  }
  ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.
            _M_impl._M_start;
  if ((handle < (uint)((int)(this->objects_).
                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.
                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&
     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)) {
    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);
    if (iVar5 != 0) {
      uVar6 = *(undefined4 *)(iVar5 + 0x20);
      uVar7 = *(undefined4 *)(iVar5 + 0x24);
      size = *(section_size_type *)(iVar5 + 0x4c);
      pIVar3 = *(Input_file **)(iVar5 + 0x1c);
      if (pIVar3 == (Input_file *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");
      }
      goto LAB_0013b816;
    }
  }
  return LDPS_BAD_HANDLE;
}



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

undefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)

{
  int *piVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  
  if (*(char *)(param_1 + 99) != '\0') {
    uVar2 = *(undefined4 *)(param_1 + 0x34);
    uVar5 = *(undefined4 *)(param_1 + 0x38);
    uVar4 = *(undefined4 *)(param_1 + 0x3c);
    iVar3 = *(int *)(param_1 + 0x28);
LAB_0013b816:
    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);
    *param_3 = uVar2;
    return 0;
  }
  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&
     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {
    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);
    if (iVar3 != 0) {
      uVar2 = *(undefined4 *)(iVar3 + 0x20);
      uVar5 = *(undefined4 *)(iVar3 + 0x24);
      uVar4 = *(undefined4 *)(iVar3 + 0x4c);
      iVar3 = *(int *)(iVar3 + 0x1c);
      if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);
      }
      goto LAB_0013b816;
    }
  }
  return 2;
}


PUSH ESI
CALL 0x000559ea
ADD ESI,0x25380a
PUSH EBX
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x63],0x0
JZ 0x0013b840
MOV ECX,dword ptr [EAX + 0x34]
MOV EBX,dword ptr [EAX + 0x38]
MOV EDX,dword ptr [EAX + 0x3c]
MOV EAX,dword ptr [EAX + 0x28]
ADD EAX,0x1c
PUSH 0x0
PUSH 0x0
PUSH EDX
PUSH 0x0
PUSH 0x0
PUSH EBX
MOV EBX,ESI
PUSH ECX
PUSH EAX
CALL 0x000687f0
MOV EDX,dword ptr [ESP + 0x38]
ADD ESP,0x20
MOV dword ptr [EDX],EAX
ADD ESP,0x4
XOR EAX,EAX
POP EBX
POP ESI
RET
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x14]
SUB EAX,EDX
SAR EAX,0x2
CMP dword ptr [ESP + 0x14],EAX
JNC 0x0013b8a0
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EDX + EAX*0x4]
TEST EAX,EAX
JZ 0x0013b8a0
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x14]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0013b8a0
MOV ECX,dword ptr [EAX + 0x20]
MOV EBX,dword ptr [EAX + 0x24]
MOV EDX,dword ptr [EAX + 0x4c]
MOV EAX,dword ptr [EAX + 0x1c]
TEST EAX,EAX
JNZ 0x0013b816
PUSH EAX
LEA EAX,[ESI + 0xfff0670c]
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xffef101a]
PUSH 0x1e3
PUSH EAX
CALL 0x00069d00
ADD ESP,0x4
MOV EAX,0x2
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}\n\n" comment (function_definition "undefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 99) != '\0')" ( (binary_expression "*(char *)(param_1 + 99) != '\0'" (pointer_expression "*(char *)(param_1 + 99)" * (cast_expression "(char *)(param_1 + 99)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" statement_identifier : (expression_statement "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" (assignment_expression "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" identifier = (call_expression "FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" identifier (argument_list "(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) , identifier , identifier , number_literal , number_literal , identifier , number_literal , number_literal )))) ;)) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" if (parenthesized_expression "((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0))" ( (binary_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" (parenthesized_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2))" ( (binary_expression "param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" identifier < (call_expression "(uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2" (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) >> number_literal) )))) )) && (parenthesized_expression "(piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" ( (comma_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" * (cast_expression "(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + param_2 * 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) , (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" { (expression_statement "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" { (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x24);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" * (cast_expression "(undefined4 *)(iVar3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x4c);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x4c)" * (cast_expression "(undefined4 *)(iVar3 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4c)" ( (binary_expression "iVar3 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") , number_literal ))) ;) })) (goto_statement "goto LAB_0013b816;" goto statement_identifier ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: ld_plugin_status get_view(Plugin_manager * this, uint handle, void * *\n   viewp) */\n\nld_plugin_status __thiscall\ngold::Plugin_manager::get_view(Plugin_manager *this,uint handle,void **viewp)\n\n{\n  pointer ppOVar1;\n  Object *pOVar2;\n  Input_file *pIVar3;\n  uchar *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  section_size_type size;\n  undefined4 uVar7;\n  \n  if (this->in_claim_file_handler_ != false) {\n    uVar6 = (undefined4)(this->plugin_input_file_).offset;\n    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);\n    size = (section_size_type)(this->plugin_input_file_).filesize;\n    pIVar3 = this->input_file_;\nLAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);\n    *viewp = puVar4;\n    return LDPS_OK;\n  }\n  ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if ((handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)) {\n    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);\n    if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}\n\n" comment comment comment (function_definition "ld_plugin_status __thiscall\ngold::Plugin_manager::get_view(Plugin_manager *this,uint handle,void **viewp)\n\n{\n  pointer ppOVar1;\n  Object *pOVar2;\n  Input_file *pIVar3;\n  uchar *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  section_size_type size;\n  undefined4 uVar7;\n  \n  if (this->in_claim_file_handler_ != false) {\n    uVar6 = (undefined4)(this->plugin_input_file_).offset;\n    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);\n    size = (section_size_type)(this->plugin_input_file_).filesize;\n    pIVar3 = this->input_file_;\nLAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);\n    *viewp = puVar4;\n    return LDPS_OK;\n  }\n  ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if ((handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)) {\n    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);\n    if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "get_view(Plugin_manager *this,uint handle,void **viewp)" identifier (parameter_list "(Plugin_manager *this,uint handle,void **viewp)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint handle" type_identifier identifier) , (parameter_declaration "void **viewp" primitive_type (pointer_declarator "**viewp" * (pointer_declarator "*viewp" * identifier))) ))) (compound_statement "{\n  pointer ppOVar1;\n  Object *pOVar2;\n  Input_file *pIVar3;\n  uchar *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  section_size_type size;\n  undefined4 uVar7;\n  \n  if (this->in_claim_file_handler_ != false) {\n    uVar6 = (undefined4)(this->plugin_input_file_).offset;\n    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);\n    size = (section_size_type)(this->plugin_input_file_).filesize;\n    pIVar3 = this->input_file_;\nLAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);\n    *viewp = puVar4;\n    return LDPS_OK;\n  }\n  ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if ((handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)) {\n    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);\n    if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}" { (declaration "pointer ppOVar1;" type_identifier identifier ;) (declaration "Object *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "Input_file *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "section_size_type size;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (if_statement "if (this->in_claim_file_handler_ != false) {\n    uVar6 = (undefined4)(this->plugin_input_file_).offset;\n    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);\n    size = (section_size_type)(this->plugin_input_file_).filesize;\n    pIVar3 = this->input_file_;\nLAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);\n    *viewp = puVar4;\n    return LDPS_OK;\n  }" if (parenthesized_expression "(this->in_claim_file_handler_ != false)" ( (binary_expression "this->in_claim_file_handler_ != false" (field_expression "this->in_claim_file_handler_" identifier -> field_identifier) != false) )) (compound_statement "{\n    uVar6 = (undefined4)(this->plugin_input_file_).offset;\n    uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);\n    size = (section_size_type)(this->plugin_input_file_).filesize;\n    pIVar3 = this->input_file_;\nLAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);\n    *viewp = puVar4;\n    return LDPS_OK;\n  }" { (expression_statement "uVar6 = (undefined4)(this->plugin_input_file_).offset;" (assignment_expression "uVar6 = (undefined4)(this->plugin_input_file_).offset" identifier = (field_expression "(undefined4)(this->plugin_input_file_).offset" (call_expression "(undefined4)(this->plugin_input_file_)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "(this->plugin_input_file_)" ( (field_expression "this->plugin_input_file_" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4);" (assignment_expression "uVar7 = *(undefined4 *)((int)&(this->plugin_input_file_).offset + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&(this->plugin_input_file_).offset + 4)" * (cast_expression "(undefined4 *)((int)&(this->plugin_input_file_).offset + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->plugin_input_file_).offset + 4)" ( (binary_expression "(int)&(this->plugin_input_file_).offset + 4" (cast_expression "(int)&(this->plugin_input_file_).offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->plugin_input_file_).offset" & (field_expression "(this->plugin_input_file_).offset" (parenthesized_expression "(this->plugin_input_file_)" ( (field_expression "this->plugin_input_file_" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "size = (section_size_type)(this->plugin_input_file_).filesize;" (assignment_expression "size = (section_size_type)(this->plugin_input_file_).filesize" identifier = (field_expression "(section_size_type)(this->plugin_input_file_).filesize" (call_expression "(section_size_type)(this->plugin_input_file_)" (parenthesized_expression "(section_size_type)" ( identifier )) (argument_list "(this->plugin_input_file_)" ( (field_expression "this->plugin_input_file_" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "pIVar3 = this->input_file_;" (assignment_expression "pIVar3 = this->input_file_" identifier = (field_expression "this->input_file_" identifier -> field_identifier)) ;) (labeled_statement "LAB_0013b816:\n    puVar4 = File_read::get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);" statement_identifier : (ERROR "puVar4 = File_read::" (assignment_expression "puVar4 = File_read" identifier = identifier) : :) (expression_statement "get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false);" (call_expression "get_view(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false)" identifier (argument_list "(&pIVar3->file_,CONCAT44(uVar7,uVar6),0,size,false,false)" ( (pointer_expression "&pIVar3->file_" & (field_expression "pIVar3->file_" identifier -> field_identifier)) , (call_expression "CONCAT44(uVar7,uVar6)" identifier (argument_list "(uVar7,uVar6)" ( identifier , identifier ))) , number_literal , identifier , false , false ))) ;)) (expression_statement "*viewp = puVar4;" (assignment_expression "*viewp = puVar4" (pointer_expression "*viewp" * identifier) = identifier) ;) (return_statement "return LDPS_OK;" return identifier ;) })) (expression_statement "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start" (field_expression "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl" (binary_expression "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_" (binary_expression "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold" (binary_expression "ppOVar1 = (this->objects_).super__Vector_base<gold::Object*,_std" (assignment_expression "ppOVar1 = (this->objects_).super__Vector_base<gold" identifier = (binary_expression "(this->objects_).super__Vector_base<gold" (field_expression "(this->objects_).super__Vector_base" (parenthesized_expression "(this->objects_)" ( (field_expression "this->objects_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Object" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Object" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)) {\n    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);\n    if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }\n  }" if (parenthesized_expression "((handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0))" ( (binary_expression "(handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&\n     (pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)" (parenthesized_expression "(handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2))" ( (binary_expression "handle < (uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)" identifier < (call_expression "(uint)((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2)" ( (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1 >> 2" (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish - (int)ppOVar1" (field_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl._M_finish" (field_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n                            _M_impl" (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_" (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std::allocator<gold" (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold::Object*,_std" (binary_expression "(int)(this->objects_).\n                            super__Vector_base<gold" (cast_expression "(int)(this->objects_).\n                            super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->objects_).\n                            super__Vector_base" (parenthesized_expression "(this->objects_)" ( (field_expression "this->objects_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Object" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Object" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)ppOVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) && (parenthesized_expression "(pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0)" ( (comma_expression "pOVar2 = ppOVar1[handle], pOVar2 != (Object *)0x0" (assignment_expression "pOVar2 = ppOVar1[handle]" identifier = (subscript_expression "ppOVar1[handle]" identifier [ identifier ])) , (binary_expression "pOVar2 != (Object *)0x0" identifier != (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);\n    if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }\n  }" { (expression_statement "iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2);" (assignment_expression "iVar5 = (*pOVar2->_vptr_Object[5])(pOVar2)" identifier = (call_expression "(*pOVar2->_vptr_Object[5])(pOVar2)" (parenthesized_expression "(*pOVar2->_vptr_Object[5])" ( (pointer_expression "*pOVar2->_vptr_Object[5]" * (subscript_expression "pOVar2->_vptr_Object[5]" (field_expression "pOVar2->_vptr_Object" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar2)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar6 = *(undefined4 *)(iVar5 + 0x20);\n      uVar7 = *(undefined4 *)(iVar5 + 0x24);\n      size = *(section_size_type *)(iVar5 + 0x4c);\n      pIVar3 = *(Input_file **)(iVar5 + 0x1c);\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }\n      goto LAB_0013b816;\n    }" { (expression_statement "uVar6 = *(undefined4 *)(iVar5 + 0x20);" (assignment_expression "uVar6 = *(undefined4 *)(iVar5 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0x20)" * (cast_expression "(undefined4 *)(iVar5 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x20)" ( (binary_expression "iVar5 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(undefined4 *)(iVar5 + 0x24);" (assignment_expression "uVar7 = *(undefined4 *)(iVar5 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0x24)" * (cast_expression "(undefined4 *)(iVar5 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "size = *(section_size_type *)(iVar5 + 0x4c);" (assignment_expression "size = *(section_size_type *)(iVar5 + 0x4c)" identifier = (pointer_expression "*(section_size_type *)(iVar5 + 0x4c)" * (cast_expression "(section_size_type *)(iVar5 + 0x4c)" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x4c)" ( (binary_expression "iVar5 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "pIVar3 = *(Input_file **)(iVar5 + 0x1c);" (assignment_expression "pIVar3 = *(Input_file **)(iVar5 + 0x1c)" identifier = (pointer_expression "*(Input_file **)(iVar5 + 0x1c)" * (cast_expression "(Input_file **)(iVar5 + 0x1c)" ( (type_descriptor "Input_file **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }" if (parenthesized_expression "(pIVar3 == (Input_file *)0x0)" ( (binary_expression "pIVar3 == (Input_file *)0x0" identifier == (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");" (call_expression "do_gold_unreachable("../../gold/object.h",0x1e3,"input_file")" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") ))) ;) })) (goto_statement "goto LAB_0013b816;" goto statement_identifier ;) })) })) (return_statement "return LDPS_BAD_HANDLE;" return identifier ;) })))
(translation_unit "undefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 99) != '\0')" ( (binary_expression "*(char *)(param_1 + 99) != '\0'" (pointer_expression "*(char *)(param_1 + 99)" * (cast_expression "(char *)(param_1 + 99)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" statement_identifier : (expression_statement "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" (assignment_expression "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" identifier = (call_expression "FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" identifier (argument_list "(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) , identifier , identifier , number_literal , number_literal , identifier , number_literal , number_literal )))) ;)) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" if (parenthesized_expression "((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0))" ( (binary_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" (parenthesized_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2))" ( (binary_expression "param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" identifier < (call_expression "(uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2" (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) >> number_literal) )))) )) && (parenthesized_expression "(piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" ( (comma_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" * (cast_expression "(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + param_2 * 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) , (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" { (expression_statement "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" { (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x24);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" * (cast_expression "(undefined4 *)(iVar3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x4c);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x4c)" * (cast_expression "(undefined4 *)(iVar3 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4c)" ( (binary_expression "iVar3 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" { (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") , number_literal ))) ;) })) (goto_statement "goto LAB_0013b816;" goto statement_identifier ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , LIT , IDENT , LIT , LIT )))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (goto_statement goto statement_identifier ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0013b7f0(int param_1,uint param_2,undefined4 *param_3)" (identifier "FUN_0013b7f0") (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }\n  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (if_statement "if (*(char *)(param_1 + 99) != '\0') {\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 99) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 99) != '\0'" (pointer_expression "*(char *)(param_1 + 99)" (* "*") (cast_expression "(char *)(param_1 + 99)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 99)" (( "(") (binary_expression "param_1 + 99" (identifier "param_1") (+ "+") (number_literal "99")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar2 = *(undefined4 *)(param_1 + 0x34);\n    uVar5 = *(undefined4 *)(param_1 + 0x38);\n    uVar4 = *(undefined4 *)(param_1 + 0x3c);\n    iVar3 = *(int *)(param_1 + 0x28);\nLAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);\n    *param_3 = uVar2;\n    return 0;\n  }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x34)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x38)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x3c)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x28)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (labeled_statement "LAB_0013b816:\n    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" (statement_identifier "LAB_0013b816") (: ":") (expression_statement "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);" (assignment_expression "uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" (identifier "FUN_000687f0") (argument_list "(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) (, ",") (identifier "uVar2") (, ",") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar4") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";"))) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" (if "if") (parenthesized_expression "((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0))" (( "(") (binary_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&\n     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" (parenthesized_expression "(param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2))" (( "(") (binary_expression "param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" (identifier "param_2") (< "<") (call_expression "(uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2" (binary_expression "*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (>> ">>") (number_literal "2")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)" (( "(") (comma_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" (* "*") (cast_expression "(int **)(*(int *)(param_1 + 0x10) + param_2 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + param_2 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")"))))) (, ",") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }\n  }" ({ "{") (expression_statement "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x14)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x14)" (* "*") (cast_expression "(code **)(*piVar1 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x14)" (( "(") (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = *(undefined4 *)(iVar3 + 0x20);\n      uVar5 = *(undefined4 *)(iVar3 + 0x24);\n      uVar4 = *(undefined4 *)(iVar3 + 0x4c);\n      iVar3 = *(int *)(iVar3 + 0x1c);\n      if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }\n      goto LAB_0013b816;\n    }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x20)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x24);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x24)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(iVar3 + 0x4c);" (assignment_expression "uVar4 = *(undefined4 *)(iVar3 + 0x4c)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4c)" (( "(") (binary_expression "iVar3 + 0x4c" (identifier "iVar3") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x1c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x1e3") (, ",") (string_literal ""input_file"" (" """) (string_content "input_file") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0013b816;" (goto "goto") (statement_identifier "LAB_0013b816") (; ";")) (} "}"))) (} "}"))) (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: ld_plugin_status get_view(Plugin_manager * this, uint handle, void * *
   viewp) */

type_1 __thiscall
var_2::type_2::function_1(type_2 *this,type_3 var_5,void **viewp)

{
  type_4 ppOVar1;
  type_5 *var_6;
  type_6 *var_8;
  type_7 *puVar4;
  int var_7;
  type_8 uVar6;
  type_9 size;
  type_8 uVar7;
  
  if (this->in_claim_file_handler_ != false) {
    uVar6 = (type_8)(this->plugin_input_file_).offset;
    uVar7 = *(type_8 *)((int)&(this->plugin_input_file_).offset + 4);
    size = (type_9)(this->plugin_input_file_).filesize;
    var_8 = this->input_file_;
LAB_0013b816:
    puVar4 = File_read::function_1(&var_8->file_,var_1(uVar7,uVar6),0,size,false,false);
    *viewp = puVar4;
    return LDPS_OK;
  }
  ppOVar1 = (this->objects_).super__Vector_base<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>.
            _M_impl._M_start;
  if ((var_5 < (type_3)((int)(this->objects_).
                            super__Vector_base<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>.
                            _M_impl._M_finish - (int)ppOVar1 >> 2)) &&
     (var_6 = ppOVar1[var_5], var_6 != (type_5 *)0x0)) {
    var_7 = (*var_6->_vptr_Object[5])(var_6);
    if (var_7 != 0) {
      uVar6 = *(type_8 *)(var_7 + 0x20);
      uVar7 = *(type_8 *)(var_7 + 0x24);
      size = *(type_9 *)(var_7 + 0x4c);
      var_8 = *(type_6 **)(var_7 + 0x1c);
      if (var_8 == (type_6 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_9("../../gold/object.h",0x1e3,"input_file");
      }
      goto LAB_0013b816;
    }
  }
  return LDPS_BAD_HANDLE;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (number_literal) (number_literal) (identifier) (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))) (goto_statement label: (statement_identifier)))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1,uint param_2,undefined4 *param_3)

{
  int *piVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  
  if (*(char *)(param_1 + 99) != '\0') {
    uVar2 = *(undefined4 *)(param_1 + 0x34);
    uVar5 = *(undefined4 *)(param_1 + 0x38);
    uVar4 = *(undefined4 *)(param_1 + 0x3c);
    iVar3 = *(int *)(param_1 + 0x28);
LAB_0013b816:
    uVar2 = FUN_000687f0(iVar3 + 0x1c,uVar2,uVar5,0,0,uVar4,0,0);
    *param_3 = uVar2;
    return 0;
  }
  if ((param_2 < (uint)(*(int *)(param_1 + 0x14) - *(int *)(param_1 + 0x10) >> 2)) &&
     (piVar1 = *(int **)(*(int *)(param_1 + 0x10) + param_2 * 4), piVar1 != (int *)0x0)) {
    iVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);
    if (iVar3 != 0) {
      uVar2 = *(undefined4 *)(iVar3 + 0x20);
      uVar5 = *(undefined4 *)(iVar3 + 0x24);
      uVar4 = *(undefined4 *)(iVar3 + 0x4c);
      iVar3 = *(int *)(iVar3 + 0x1c);
      if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);
      }
      goto LAB_0013b816;
    }
  }
  return 2;
}

