
/* DWARF original prototype: Input_merge_map * get_input_merge_map(Object_merge_map * this, uint
   shndx) */

Input_merge_map * __thiscall
gold::Object_merge_map::get_input_merge_map(Object_merge_map *this,uint shndx)

{
  uint uVar1;
  pointer ppVar2;
  pointer ppVar3;
  Object_merge_map *in_stack_fffffff4;
  uint in_stack_fffffff8;
  
  if (shndx == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);
  }
  ppVar3 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
           ._M_impl._M_start;
  ppVar2 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
           ._M_impl._M_finish;
  if (ppVar3 != ppVar2) {
    uVar1 = ppVar3->first;
    while( true ) {
      if (shndx == uVar1) {
        return ppVar3->second;
      }
      ppVar3 = ppVar3 + 1;
      if (ppVar2 == ppVar3) break;
      uVar1 = ppVar3->first;
    }
  }
  return (Input_merge_map *)0x0;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Removing unreachable block (ram,0x0015e67d) */
/* WARNING: Removing unreachable block (ram,0x0015e682) */
/* WARNING: Removing unreachable block (ram,0x0015e68f) */
/* WARNING: Removing unreachable block (ram,0x0015e693) */
/* WARNING: Removing unreachable block (ram,0x0015e6a0) */
/* WARNING: Removing unreachable block (ram,0x0015e6b3) */
/* WARNING: Removing unreachable block (ram,0x0015e6c0) */

undefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  int extraout_ECX;
  int unaff_EBX;
  undefined4 *puStack_8;
  
  if (param_2 != -1) {
    piVar2 = (int *)*param_1;
    if (piVar2 != (int *)param_1[1]) {
      iVar1 = *piVar2;
      while( true ) {
        if (param_2 == iVar1) {
          return (undefined4 *)piVar2[1];
        }
        piVar2 = piVar2 + 2;
        if ((int *)param_1[1] == piVar2) break;
        iVar1 = *piVar2;
      }
    }
    return (undefined4 *)0x0;
  }
  FUN_0015e4c0();
  if (unaff_EBX == -1) {
    FUN_0015e4c0();
    uVar4 = FUN_0015e490();
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);
  }
  piVar2 = (int *)*puStack_8;
  if (piVar2 == (int *)puStack_8[1]) {
LAB_0015e636:
    puVar3 = (undefined4 *)0x0;
  }
  else {
    iVar1 = *piVar2;
    while (unaff_EBX != iVar1) {
      piVar2 = piVar2 + 2;
      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;
      iVar1 = *piVar2;
    }
    puVar3 = (undefined4 *)piVar2[1];
    if (puVar3 != (undefined4 *)0x0) {
      return (undefined4 *)*puVar3;
    }
  }
  return puVar3;
}


PUSH EBX
SUB ESP,0x8
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
CMP ECX,-0x1
JZ 0x0015e5f8
MOV EDX,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0x4]
CMP EDX,EBX
JZ 0x0015e5e6
LEA EAX,[EDX + 0x8]
CMP ECX,dword ptr [EDX]
JNZ 0x0015e5e0
JMP 0x0015e5f0
ADD EAX,0x8
CMP dword ptr [EAX + -0x8],ECX
JZ 0x0015e5f0
MOV EDX,EAX
CMP EBX,EAX
JNZ 0x0015e5d8
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
MOV EAX,dword ptr [EDX + 0x4]
ADD ESP,0x8
POP EBX
RET
CALL 0x0015e4c0
NOP
NOP
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Removing unreachable block (ram,0x0015e67d) */\n/* WARNING: Removing unreachable block (ram,0x0015e682) */\n/* WARNING: Removing unreachable block (ram,0x0015e68f) */\n/* WARNING: Removing unreachable block (ram,0x0015e693) */\n/* WARNING: Removing unreachable block (ram,0x0015e6a0) */\n/* WARNING: Removing unreachable block (ram,0x0015e6b3) */\n/* WARNING: Removing unreachable block (ram,0x0015e6c0) */\n\nundefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "undefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" type_identifier (pointer_declarator "* FUN_0015e5b0(undefined4 *param_1,int param_2)" * (function_declarator "FUN_0015e5b0(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *puStack_8;" type_identifier (pointer_declarator "*puStack_8" * identifier) ;) (if_statement "if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(param_2 != -1)" ( (binary_expression "param_2 != -1" identifier != number_literal) )) (compound_statement "{\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" { (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" if (parenthesized_expression "(piVar2 != (int *)param_1[1])" ( (binary_expression "piVar2 != (int *)param_1[1]" identifier != (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" { (if_statement "if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }" if (parenthesized_expression "(param_2 == iVar1)" ( (binary_expression "param_2 == iVar1" identifier == identifier) )) (compound_statement "{\n          return (undefined4 *)piVar2[1];\n        }" { (return_statement "return (undefined4 *)piVar2[1];" return (cast_expression "(undefined4 *)piVar2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) })) (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)param_1[1] == piVar2) break;" if (parenthesized_expression "((int *)param_1[1] == piVar2)" ( (binary_expression "(int *)param_1[1] == piVar2" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" if (parenthesized_expression "(unaff_EBX == -1)" ( (binary_expression "unaff_EBX == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" { (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = FUN_0015e490();" (assignment_expression "uVar4 = FUN_0015e490()" identifier = (call_expression "FUN_0015e490()" identifier (argument_list "()" ( )))) ;) comment (expression_statement "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);" (call_expression "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" identifier (argument_list "(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" ( (binary_expression "extraout_ECX + -0xe1487" identifier + number_literal) , number_literal , (binary_expression "extraout_ECX + -0xcb170" identifier + number_literal) , identifier ))) ;) })) (expression_statement "piVar2 = (int *)*puStack_8;" (assignment_expression "piVar2 = (int *)*puStack_8" identifier = (cast_expression "(int *)*puStack_8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puStack_8" * identifier))) ;) (if_statement "if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" if (parenthesized_expression "(piVar2 == (int *)puStack_8[1])" ( (binary_expression "piVar2 == (int *)puStack_8[1]" identifier == (cast_expression "(int *)puStack_8[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puStack_8[1]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }" { (labeled_statement "LAB_0015e636:\n    puVar3 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" else (compound_statement "{\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(unaff_EBX != iVar1)" ( (binary_expression "unaff_EBX != iVar1" identifier != identifier) )) (compound_statement "{\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;" if (parenthesized_expression "((int *)puStack_8[1] == piVar2)" ( (binary_expression "(int *)puStack_8[1] == piVar2" (cast_expression "(int *)puStack_8[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puStack_8[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0015e636;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "puVar3 = (undefined4 *)piVar2[1];" (assignment_expression "puVar3 = (undefined4 *)piVar2[1]" identifier = (cast_expression "(undefined4 *)piVar2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (undefined4 *)*puVar3;\n    }" { (return_statement "return (undefined4 *)*puVar3;" return (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) ;) })) }))) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: Input_merge_map * get_input_merge_map(Object_merge_map * this, uint\n   shndx) */\n\nInput_merge_map * __thiscall\ngold::Object_merge_map::get_input_merge_map(Object_merge_map *this,uint shndx)\n\n{\n  uint uVar1;\n  pointer ppVar2;\n  pointer ppVar3;\n  Object_merge_map *in_stack_fffffff4;\n  uint in_stack_fffffff8;\n  \n  if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);\n  }\n  ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;\n  ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;\n  if (ppVar3 != ppVar2) {\n    uVar1 = ppVar3->first;\n    while( true ) {\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }\n  }\n  return (Input_merge_map *)0x0;\n}\n\n" comment (ERROR "Input_merge_map * __thiscall\ngold::Object_merge_map::get_input_merge_map(Object_merge_map *this,uint shndx)" (binary_expression "Input_merge_map * __thiscall\ngold::Object_merge_map::get_input_merge_map(Object_merge_map *this" (binary_expression "Input_merge_map * __thiscall" identifier * identifier) (ERROR "gold::Object_merge_map::get_input_merge_map(Object_merge_map" identifier : : identifier : : identifier ( identifier) * identifier) , identifier identifier )) (compound_statement "{\n  uint uVar1;\n  pointer ppVar2;\n  pointer ppVar3;\n  Object_merge_map *in_stack_fffffff4;\n  uint in_stack_fffffff8;\n  \n  if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);\n  }\n  ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;\n  ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;\n  if (ppVar3 != ppVar2) {\n    uVar1 = ppVar3->first;\n    while( true ) {\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }\n  }\n  return (Input_merge_map *)0x0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "pointer ppVar2;" type_identifier identifier ;) (declaration "pointer ppVar3;" type_identifier identifier ;) (declaration "Object_merge_map *in_stack_fffffff4;" type_identifier (pointer_declarator "*in_stack_fffffff4" * identifier) ;) (declaration "uint in_stack_fffffff8;" type_identifier identifier ;) (if_statement "if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);\n  }" if (parenthesized_expression "(shndx == 0xffffffff)" ( (binary_expression "shndx == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);\n  }" { comment (expression_statement "get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8);" (call_expression "get_input_merge_map(in_stack_fffffff4,in_stack_fffffff8)" identifier (argument_list "(in_stack_fffffff4,in_stack_fffffff8)" ( identifier , identifier ))) ;) })) (ERROR "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::" (comma_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int" (assignment_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std" identifier = (binary_expression "(this->section_merge_maps_).\n           super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n           super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (ERROR "ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::" (comma_expression "ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int" (assignment_expression "ppVar2 = (this->section_merge_maps_).\n           super__Vector_base<std" identifier = (binary_expression "(this->section_merge_maps_).\n           super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n           super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppVar3 != ppVar2) {\n    uVar1 = ppVar3->first;\n    while( true ) {\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }\n  }" if (parenthesized_expression "(ppVar3 != ppVar2)" ( (binary_expression "ppVar3 != ppVar2" identifier != identifier) )) (compound_statement "{\n    uVar1 = ppVar3->first;\n    while( true ) {\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }\n  }" { (expression_statement "uVar1 = ppVar3->first;" (assignment_expression "uVar1 = ppVar3->first" identifier = (field_expression "ppVar3->first" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (shndx == uVar1) {\n        return ppVar3->second;\n      }\n      ppVar3 = ppVar3 + 1;\n      if (ppVar2 == ppVar3) break;\n      uVar1 = ppVar3->first;\n    }" { (if_statement "if (shndx == uVar1) {\n        return ppVar3->second;\n      }" if (parenthesized_expression "(shndx == uVar1)" ( (binary_expression "shndx == uVar1" identifier == identifier) )) (compound_statement "{\n        return ppVar3->second;\n      }" { (return_statement "return ppVar3->second;" return (field_expression "ppVar3->second" identifier -> field_identifier) ;) })) (expression_statement "ppVar3 = ppVar3 + 1;" (assignment_expression "ppVar3 = ppVar3 + 1" identifier = (binary_expression "ppVar3 + 1" identifier + number_literal)) ;) (if_statement "if (ppVar2 == ppVar3) break;" if (parenthesized_expression "(ppVar2 == ppVar3)" ( (binary_expression "ppVar2 == ppVar3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = ppVar3->first;" (assignment_expression "uVar1 = ppVar3->first" identifier = (field_expression "ppVar3->first" identifier -> field_identifier)) ;) })) })) (return_statement "return (Input_merge_map *)0x0;" return (cast_expression "(Input_merge_map *)0x0" ( (type_descriptor "Input_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}\n\n" (function_definition "undefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" type_identifier (pointer_declarator "* FUN_0015e5b0(undefined4 *param_1,int param_2)" * (function_declarator "FUN_0015e5b0(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *puStack_8;" type_identifier (pointer_declarator "*puStack_8" * identifier) ;) (if_statement "if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(param_2 != -1)" ( (binary_expression "param_2 != -1" identifier != number_literal) )) (compound_statement "{\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" { (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" if (parenthesized_expression "(piVar2 != (int *)param_1[1])" ( (binary_expression "piVar2 != (int *)param_1[1]" identifier != (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" { (if_statement "if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }" if (parenthesized_expression "(param_2 == iVar1)" ( (binary_expression "param_2 == iVar1" identifier == identifier) )) (compound_statement "{\n          return (undefined4 *)piVar2[1];\n        }" { (return_statement "return (undefined4 *)piVar2[1];" return (cast_expression "(undefined4 *)piVar2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) })) (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)param_1[1] == piVar2) break;" if (parenthesized_expression "((int *)param_1[1] == piVar2)" ( (binary_expression "(int *)param_1[1] == piVar2" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" if (parenthesized_expression "(unaff_EBX == -1)" ( (binary_expression "unaff_EBX == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" { (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = FUN_0015e490();" (assignment_expression "uVar4 = FUN_0015e490()" identifier = (call_expression "FUN_0015e490()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);" (call_expression "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" identifier (argument_list "(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" ( (binary_expression "extraout_ECX + -0xe1487" identifier + number_literal) , number_literal , (binary_expression "extraout_ECX + -0xcb170" identifier + number_literal) , identifier ))) ;) })) (expression_statement "piVar2 = (int *)*puStack_8;" (assignment_expression "piVar2 = (int *)*puStack_8" identifier = (cast_expression "(int *)*puStack_8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puStack_8" * identifier))) ;) (if_statement "if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" if (parenthesized_expression "(piVar2 == (int *)puStack_8[1])" ( (binary_expression "piVar2 == (int *)puStack_8[1]" identifier == (cast_expression "(int *)puStack_8[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puStack_8[1]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }" { (labeled_statement "LAB_0015e636:\n    puVar3 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" else (compound_statement "{\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(unaff_EBX != iVar1)" ( (binary_expression "unaff_EBX != iVar1" identifier != identifier) )) (compound_statement "{\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;" if (parenthesized_expression "((int *)puStack_8[1] == piVar2)" ( (binary_expression "(int *)puStack_8[1] == piVar2" (cast_expression "(int *)puStack_8[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puStack_8[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0015e636;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "puVar3 = (undefined4 *)piVar2[1];" (assignment_expression "puVar3 = (undefined4 *)piVar2[1]" identifier = (cast_expression "(undefined4 *)piVar2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (undefined4 *)*puVar3;\n    }" { (return_statement "return (undefined4 *)*puVar3;" return (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) ;) })) }))) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (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)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_0015e5b0(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_0015e5b0(undefined4 *param_1,int param_2)" (* "*") (function_declarator "FUN_0015e5b0(undefined4 *param_1,int param_2)" (identifier "FUN_0015e5b0") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  int extraout_ECX;\n  int unaff_EBX;\n  undefined4 *puStack_8;\n  \n  if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }\n  FUN_0015e4c0();\n  if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }\n  piVar2 = (int *)*puStack_8;\n  if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }\n  return puVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "undefined4 *puStack_8;" (type_identifier "undefined4") (pointer_declarator "*puStack_8" (* "*") (identifier "puStack_8")) (; ";")) (if_statement "if (param_2 != -1) {\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" (if "if") (parenthesized_expression "(param_2 != -1)" (( "(") (binary_expression "param_2 != -1" (identifier "param_2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    piVar2 = (int *)*param_1;\n    if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }\n    return (undefined4 *)0x0;\n  }" ({ "{") (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (piVar2 != (int *)param_1[1]) {\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" (if "if") (parenthesized_expression "(piVar2 != (int *)param_1[1])" (( "(") (binary_expression "piVar2 != (int *)param_1[1]" (identifier "piVar2") (!= "!=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n      iVar1 = *piVar2;\n      while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }\n    }" ({ "{") (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (while_statement "while( true ) {\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }\n        piVar2 = piVar2 + 2;\n        if ((int *)param_1[1] == piVar2) break;\n        iVar1 = *piVar2;\n      }" ({ "{") (if_statement "if (param_2 == iVar1) {\n          return (undefined4 *)piVar2[1];\n        }" (if "if") (parenthesized_expression "(param_2 == iVar1)" (( "(") (binary_expression "param_2 == iVar1" (identifier "param_2") (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n          return (undefined4 *)piVar2[1];\n        }" ({ "{") (return_statement "return (undefined4 *)piVar2[1];" (return "return") (cast_expression "(undefined4 *)piVar2[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((int *)param_1[1] == piVar2) break;" (if "if") (parenthesized_expression "((int *)param_1[1] == piVar2)" (( "(") (binary_expression "(int *)param_1[1] == piVar2" (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" (identifier "FUN_0015e4c0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (unaff_EBX == -1) {\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" (if "if") (parenthesized_expression "(unaff_EBX == -1)" (( "(") (binary_expression "unaff_EBX == -1" (identifier "unaff_EBX") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    FUN_0015e4c0();\n    uVar4 = FUN_0015e490();\n                    \n    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);\n  }" ({ "{") (expression_statement "FUN_0015e4c0();" (call_expression "FUN_0015e4c0()" (identifier "FUN_0015e4c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = FUN_0015e490();" (assignment_expression "uVar4 = FUN_0015e490()" (identifier "uVar4") (= "=") (call_expression "FUN_0015e490()" (identifier "FUN_0015e490") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);" (call_expression "FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" (identifier "FUN_0005f0b0") (argument_list "(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4)" (( "(") (binary_expression "extraout_ECX + -0xe1487" (identifier "extraout_ECX") (+ "+") (number_literal "-0xe1487")) (, ",") (number_literal "0xc0") (, ",") (binary_expression "extraout_ECX + -0xcb170" (identifier "extraout_ECX") (+ "+") (number_literal "-0xcb170")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*puStack_8;" (assignment_expression "piVar2 = (int *)*puStack_8" (identifier "piVar2") (= "=") (cast_expression "(int *)*puStack_8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puStack_8" (* "*") (identifier "puStack_8")))) (; ";")) (if_statement "if (piVar2 == (int *)puStack_8[1]) {\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }\n  else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)puStack_8[1])" (( "(") (binary_expression "piVar2 == (int *)puStack_8[1]" (identifier "piVar2") (== "==") (cast_expression "(int *)puStack_8[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puStack_8[1]" (identifier "puStack_8") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\nLAB_0015e636:\n    puVar3 = (undefined4 *)0x0;\n  }" ({ "{") (labeled_statement "LAB_0015e636:\n    puVar3 = (undefined4 *)0x0;" (statement_identifier "LAB_0015e636") (: ":") (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = *piVar2;\n    while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }\n    puVar3 = (undefined4 *)piVar2[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (while_statement "while (unaff_EBX != iVar1) {\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" (while "while") (parenthesized_expression "(unaff_EBX != iVar1)" (( "(") (binary_expression "unaff_EBX != iVar1" (identifier "unaff_EBX") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n      piVar2 = piVar2 + 2;\n      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;\n      iVar1 = *piVar2;\n    }" ({ "{") (expression_statement "piVar2 = piVar2 + 2;" (assignment_expression "piVar2 = piVar2 + 2" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;" (if "if") (parenthesized_expression "((int *)puStack_8[1] == piVar2)" (( "(") (binary_expression "(int *)puStack_8[1] == piVar2" (cast_expression "(int *)puStack_8[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puStack_8[1]" (identifier "puStack_8") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar2")) () ")")) (goto_statement "goto LAB_0015e636;" (goto "goto") (statement_identifier "LAB_0015e636") (; ";"))) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)piVar2[1];" (assignment_expression "puVar3 = (undefined4 *)piVar2[1]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)piVar2[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      return (undefined4 *)*puVar3;\n    }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return (undefined4 *)*puVar3;\n    }" ({ "{") (return_statement "return (undefined4 *)*puVar3;" (return "return") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}")))

/* DWARF original prototype: Input_merge_map * get_input_merge_map(Object_merge_map * this, uint
   shndx) */

type_4 * __thiscall
gold::type_3::var_2(type_3 *this,type_1 var_1)

{
  type_1 var_6;
  type_2 var_5;
  type_2 var_4;
  type_3 *in_stack_fffffff4;
  type_1 in_stack_fffffff8;
  
  if (var_1 == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    var_2(in_stack_fffffff4,in_stack_fffffff8);
  }
  var_4 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::type_3::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_3::type_4*>var_3>var_3>
           ._M_impl._M_start;
  var_5 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::type_3::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_3::type_4*>var_3>var_3>
           ._M_impl._M_finish;
  if (var_4 != var_5) {
    var_6 = var_4->first;
    while( true ) {
      if (var_1 == var_6) {
        return var_4->second;
      }
      var_4 = var_4 + 1;
      if (var_5 == var_4) break;
      var_6 = var_4->first;
    }
  }
  return (type_4 *)0x0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Removing unreachable block (ram,0x0015e67d) */
/* WARNING: Removing unreachable block (ram,0x0015e682) */
/* WARNING: Removing unreachable block (ram,0x0015e68f) */
/* WARNING: Removing unreachable block (ram,0x0015e693) */
/* WARNING: Removing unreachable block (ram,0x0015e6a0) */
/* WARNING: Removing unreachable block (ram,0x0015e6b3) */
/* WARNING: Removing unreachable block (ram,0x0015e6c0) */

undefined4 * MASKED(undefined4 *param_1,int param_2)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  int extraout_ECX;
  int unaff_EBX;
  undefined4 *puStack_8;
  
  if (param_2 != -1) {
    piVar2 = (int *)*param_1;
    if (piVar2 != (int *)param_1[1]) {
      iVar1 = *piVar2;
      while( true ) {
        if (param_2 == iVar1) {
          return (undefined4 *)piVar2[1];
        }
        piVar2 = piVar2 + 2;
        if ((int *)param_1[1] == piVar2) break;
        iVar1 = *piVar2;
      }
    }
    return (undefined4 *)0x0;
  }
  FUN_0015e4c0();
  if (unaff_EBX == -1) {
    FUN_0015e4c0();
    uVar4 = FUN_0015e490();
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0(extraout_ECX + -0xe1487,0xc0,extraout_ECX + -0xcb170,uVar4);
  }
  piVar2 = (int *)*puStack_8;
  if (piVar2 == (int *)puStack_8[1]) {
LAB_0015e636:
    puVar3 = (undefined4 *)0x0;
  }
  else {
    iVar1 = *piVar2;
    while (unaff_EBX != iVar1) {
      piVar2 = piVar2 + 2;
      if ((int *)puStack_8[1] == piVar2) goto LAB_0015e636;
      iVar1 = *piVar2;
    }
    puVar3 = (undefined4 *)piVar2[1];
    if (puVar3 != (undefined4 *)0x0) {
      return (undefined4 *)*puVar3;
    }
  }
  return puVar3;
}

