
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void count_local_symbols(Layout * this, Task * task, Input_objects *
   input_objects) */

void __thiscall
gold::Layout::count_local_symbols(Layout *this,Task *task,Input_objects *input_objects)

{
  _func_int_varargs **pp_Var1;
  _func_int_varargs *p_Var2;
  Relobj *pRVar3;
  Input_file *pIVar4;
  int iVar5;
  pointer ppRVar6;
  uint n;
  Relobj *pRVar7;
  
  n = 0;
  ppRVar6 = (input_objects->relobj_list_).
            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;
  if (ppRVar6 !=
      (input_objects->relobj_list_).
      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {
    do {
      while( true ) {
        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;
        p_Var2 = pp_Var1[0x23];
        if (p_Var2 == Relobj::local_symbol_count) break;
        iVar5 = (*p_Var2)();
        ppRVar6 = ppRVar6 + 1;
        n = n + iVar5;
        if ((input_objects->relobj_list_).
            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==
            ppRVar6) goto LAB_00187e74;
      }
      iVar5 = (*pp_Var1[0x2f])();
      ppRVar6 = ppRVar6 + 1;
      n = n + iVar5;
    } while ((input_objects->relobj_list_).
             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=
             ppRVar6);
LAB_00187e74:
    n = n >> 1;
  }
  Stringpool_template<char>::reserve(&this->sympool_,n);
  Stringpool_template<char>::reserve(&this->dynpool_,n);
  ppRVar6 = (input_objects->relobj_list_).
            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;
  if (ppRVar6 !=
      (input_objects->relobj_list_).
      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {
    do {
      pRVar3 = *ppRVar6;
      pIVar4 = (pRVar3->super_Object).input_file_;
      pRVar7 = pRVar3;
      if (pIVar4 != (Input_file *)0x0) {
        File_read::lock(&pIVar4->file_,task);
        pRVar7 = *ppRVar6;
      }
                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */
      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);
      pIVar4 = (pRVar3->super_Object).input_file_;
      if (pIVar4 != (Input_file *)0x0) {
        File_read::unlock(&pIVar4->file_,task);
      }
      ppRVar6 = ppRVar6 + 1;
    } while ((input_objects->relobj_list_).
             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=
             ppRVar6);
  }
  return;
}



void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)

{
  code *pcVar1;
  long *plVar2;
  int iVar3;
  undefined8 *puVar4;
  long *plVar5;
  uint uVar6;
  long *plVar7;
  
  uVar6 = 0;
  puVar4 = (undefined8 *)*param_3;
  if (puVar4 != (undefined8 *)param_3[1]) {
    do {
      while( true ) {
        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);
        if (pcVar1 == FUN_0014c030) break;
        iVar3 = (*pcVar1)();
        puVar4 = puVar4 + 1;
        uVar6 = uVar6 + iVar3;
        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;
      }
      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();
      puVar4 = puVar4 + 1;
      uVar6 = uVar6 + iVar3;
    } while ((undefined8 *)param_3[1] != puVar4);
LAB_00187e74:
    uVar6 = uVar6 >> 1;
  }
  FUN_0021a7a0(param_1 + 0xa0,uVar6);
  FUN_0021a7a0(param_1 + 0x130,uVar6);
  plVar5 = (long *)*param_3;
  if (plVar5 != (long *)param_3[1]) {
    do {
      plVar2 = (long *)*plVar5;
      plVar7 = plVar2;
      if (plVar2[5] != 0) {
        FUN_0016a270(plVar2[5] + 0x28,param_2);
        plVar7 = (long *)*plVar5;
      }
                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */
      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);
      if (plVar2[5] != 0) {
        FUN_0016ae30(plVar2[5] + 0x28,param_2);
      }
      plVar5 = plVar5 + 1;
    } while ((long *)param_3[1] != plVar5);
  }
  return;
}


PUSH R15
PUSH R14
MOV R14,RDI
PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RDX
PUSH RBP
XOR EBP,EBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDX]
CMP RBX,qword ptr [RDX + 0x8]
JZ 0x00187e76
LEA R15,[0x14c030]
JMP 0x00187e53
CALL qword ptr [RAX + 0x178]
ADD RBX,0x8
ADD EBP,EAX
CMP qword ptr [R12 + 0x8],RBX
JZ 0x00187e74
MOV RDI,qword ptr [RBX]
MOV RAX,qword ptr [RDI]
MOV RDX,qword ptr [RAX + 0x118]
CMP RDX,R15
JZ 0x00187e40
CALL RDX
ADD RBX,0x8
ADD EBP,EAX
CMP qword ptr [R12 + 0x8],RBX
JNZ 0x00187e53
SHR EBP,0x1
LEA R15,[R14 + 0xa0]
MOV ESI,EBP
ADD R14,0x130
MOV RDI,R15
CALL 0x0021a7a0
MOV ESI,EBP
MOV RDI,R14
CALL 0x0021a7a0
MOV RBX,qword ptr [R12]
CMP RBX,qword ptr [R12 + 0x8]
JZ 0x00187ef5
NOP dword ptr [RAX + RAX*0x1]
MOV RBP,qword ptr [RBX]
MOV RAX,qword ptr [RBP + 0x28]
MOV RDI,RBP
TEST RAX,RAX
JZ 0x00187ec6
LEA RDI,[RAX + 0x28]
MOV RSI,R13
CALL 0x0016a270
MOV RDI,qword ptr [RBX]
MOV RAX,qword ptr [RDI]
MOV RDX,R14
MOV RSI,R15
CALL qword ptr [RAX + 0x190]
MOV RDI,qword ptr [RBP + 0x28]
TEST RDI,RDI
JZ 0x00187eea
ADD RDI,0x28
MOV RSI,R13
CALL 0x0016ae30
ADD RBX,0x8
CMP qword ptr [R12 + 0x8],RBX
JNZ 0x00187ea8
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00187e10(long param_1,undefined8 param_2,long *param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "long *plVar7;" (sized_type_specifier "long" long) (pointer_declarator "*plVar7" * identifier) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined8 *)*param_3;" (assignment_expression "puVar4 = (undefined8 *)*param_3" identifier = (cast_expression "(undefined8 *)*param_3" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" if (parenthesized_expression "(puVar4 != (undefined8 *)param_3[1])" ( (binary_expression "puVar4 != (undefined8 *)param_3[1]" identifier != (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" { (do_statement "do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);" do (compound_statement "{\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    }" { (while_statement "while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" { (expression_statement "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);" (assignment_expression "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118)" identifier = (pointer_expression "*(code **)(*(long *)*puVar4 + 0x118)" * (cast_expression "(code **)(*(long *)*puVar4 + 0x118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)*puVar4 + 0x118)" ( (binary_expression "*(long *)*puVar4 + 0x118" (pointer_expression "*(long *)*puVar4" * (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) + number_literal) ))))) ;) (if_statement "if (pcVar1 == FUN_0014c030) break;" if (parenthesized_expression "(pcVar1 == FUN_0014c030)" ( (binary_expression "pcVar1 == FUN_0014c030" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" identifier = (binary_expression "uVar6 + iVar3" identifier + identifier)) ;) (if_statement "if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;" if (parenthesized_expression "((undefined8 *)param_3[1] == puVar4)" ( (binary_expression "(undefined8 *)param_3[1] == puVar4" (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_00187e74;" goto statement_identifier ;)) })) (expression_statement "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();" (assignment_expression "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))()" identifier = (call_expression "(**(code **)(*(long *)*puVar4 + 0x178))()" (parenthesized_expression "(**(code **)(*(long *)*puVar4 + 0x178))" ( (pointer_expression "**(code **)(*(long *)*puVar4 + 0x178)" * (pointer_expression "*(code **)(*(long *)*puVar4 + 0x178)" * (cast_expression "(code **)(*(long *)*puVar4 + 0x178)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)*puVar4 + 0x178)" ( (binary_expression "*(long *)*puVar4 + 0x178" (pointer_expression "*(long *)*puVar4" * (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" identifier = (binary_expression "uVar6 + iVar3" identifier + identifier)) ;) }) while (parenthesized_expression "((undefined8 *)param_3[1] != puVar4)" ( (binary_expression "(undefined8 *)param_3[1] != puVar4" (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) (labeled_statement "LAB_00187e74:\n    uVar6 = uVar6 >> 1;" statement_identifier : (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;)) })) (expression_statement "FUN_0021a7a0(param_1 + 0xa0,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0xa0,uVar6)" identifier (argument_list "(param_1 + 0xa0,uVar6)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_0021a7a0(param_1 + 0x130,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0x130,uVar6)" identifier (argument_list "(param_1 + 0x130,uVar6)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) , identifier ))) ;) (expression_statement "plVar5 = (long *)*param_3;" (assignment_expression "plVar5 = (long *)*param_3" identifier = (cast_expression "(long *)*param_3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" if (parenthesized_expression "(plVar5 != (long *)param_3[1])" ( (binary_expression "plVar5 != (long *)param_3[1]" identifier != (cast_expression "(long *)param_3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" { (do_statement "do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);" do (compound_statement "{\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    }" { (expression_statement "plVar2 = (long *)*plVar5;" (assignment_expression "plVar2 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "plVar7 = plVar2;" (assignment_expression "plVar7 = plVar2" identifier = identifier) ;) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" if (parenthesized_expression "(plVar2[5] != 0)" ( (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" { (expression_statement "FUN_0016a270(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016a270(plVar2[5] + 0x28,param_2)" identifier (argument_list "(plVar2[5] + 0x28,param_2)" ( (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" identifier [ number_literal ]) + number_literal) , identifier ))) ;) (expression_statement "plVar7 = (long *)*plVar5;" (assignment_expression "plVar7 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) })) comment (expression_statement "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);" (call_expression "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130)" (parenthesized_expression "(**(code **)(*plVar7 + 400))" ( (pointer_expression "**(code **)(*plVar7 + 400)" * (pointer_expression "*(code **)(*plVar7 + 400)" * (cast_expression "(code **)(*plVar7 + 400)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar7 + 400)" ( (binary_expression "*plVar7 + 400" (pointer_expression "*plVar7" * identifier) + number_literal) ))))) )) (argument_list "(plVar7,param_1 + 0xa0,param_1 + 0x130)" ( identifier , (binary_expression "param_1 + 0xa0" identifier + number_literal) , (binary_expression "param_1 + 0x130" identifier + number_literal) ))) ;) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" if (parenthesized_expression "(plVar2[5] != 0)" ( (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" { (expression_statement "FUN_0016ae30(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016ae30(plVar2[5] + 0x28,param_2)" identifier (argument_list "(plVar2[5] + 0x28,param_2)" ( (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" identifier [ number_literal ]) + number_literal) , identifier ))) ;) })) (expression_statement "plVar5 = plVar5 + 1;" (assignment_expression "plVar5 = plVar5 + 1" identifier = (binary_expression "plVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((long *)param_3[1] != plVar5)" ( (binary_expression "(long *)param_3[1] != plVar5" (cast_expression "(long *)param_3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void count_local_symbols(Layout * this, Task * task, Input_objects *\n   input_objects) */\n\nvoid __thiscall\ngold::Layout::count_local_symbols(Layout *this,Task *task,Input_objects *input_objects)\n\n{\n  _func_int_varargs **pp_Var1;\n  _func_int_varargs *p_Var2;\n  Relobj *pRVar3;\n  Input_file *pIVar4;\n  int iVar5;\n  pointer ppRVar6;\n  uint n;\n  Relobj *pRVar7;\n  \n  n = 0;\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\nLAB_00187e74:\n    n = n >> 1;\n  }\n  Stringpool_template<char>::reserve(&this->sympool_,n);\n  Stringpool_template<char>::reserve(&this->dynpool_,n);\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Layout::count_local_symbols(Layout *this,Task *task,Input_objects *input_objects)\n\n{\n  _func_int_varargs **pp_Var1;\n  _func_int_varargs *p_Var2;\n  Relobj *pRVar3;\n  Input_file *pIVar4;\n  int iVar5;\n  pointer ppRVar6;\n  uint n;\n  Relobj *pRVar7;\n  \n  n = 0;\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\nLAB_00187e74:\n    n = n >> 1;\n  }\n  Stringpool_template<char>::reserve(&this->sympool_,n);\n  Stringpool_template<char>::reserve(&this->dynpool_,n);\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "count_local_symbols(Layout *this,Task *task,Input_objects *input_objects)" identifier (parameter_list "(Layout *this,Task *task,Input_objects *input_objects)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Task *task" type_identifier (pointer_declarator "*task" * identifier)) , (parameter_declaration "Input_objects *input_objects" type_identifier (pointer_declarator "*input_objects" * identifier)) ))) (compound_statement "{\n  _func_int_varargs **pp_Var1;\n  _func_int_varargs *p_Var2;\n  Relobj *pRVar3;\n  Input_file *pIVar4;\n  int iVar5;\n  pointer ppRVar6;\n  uint n;\n  Relobj *pRVar7;\n  \n  n = 0;\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\nLAB_00187e74:\n    n = n >> 1;\n  }\n  Stringpool_template<char>::reserve(&this->sympool_,n);\n  Stringpool_template<char>::reserve(&this->dynpool_,n);\n  ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;\n  if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\n  }\n  return;\n}" { (declaration "_func_int_varargs **pp_Var1;" type_identifier (pointer_declarator "**pp_Var1" * (pointer_declarator "*pp_Var1" * identifier)) ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "Relobj *pRVar3;" type_identifier (pointer_declarator "*pRVar3" * identifier) ;) (declaration "Input_file *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "pointer ppRVar6;" type_identifier identifier ;) (declaration "uint n;" type_identifier identifier ;) (declaration "Relobj *pRVar7;" type_identifier (pointer_declarator "*pRVar7" * identifier) ;) (expression_statement "n = 0;" (assignment_expression "n = 0" identifier = number_literal) ;) (expression_statement "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;" (field_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start" (field_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std" (assignment_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n            super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\nLAB_00187e74:\n    n = n >> 1;\n  }" if (parenthesized_expression "(ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish)" ( (field_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish" (field_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(input_objects->relobj_list_).\n      super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n      super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\nLAB_00187e74:\n    n = n >> 1;\n  }" { (do_statement "do {\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);" do (compound_statement "{\n      while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }\n      iVar5 = (*pp_Var1[0x2f])();\n      ppRVar6 = ppRVar6 + 1;\n      n = n + iVar5;\n    }" { (while_statement "while( true ) {\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;\n        p_Var2 = pp_Var1[0x23];\n        if (p_Var2 == Relobj::local_symbol_count) break;\n        iVar5 = (*p_Var2)();\n        ppRVar6 = ppRVar6 + 1;\n        n = n + iVar5;\n        if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;\n      }" { (expression_statement "pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object;" (assignment_expression "pp_Var1 = ((*ppRVar6)->super_Object)._vptr_Object" identifier = (field_expression "((*ppRVar6)->super_Object)._vptr_Object" (parenthesized_expression "((*ppRVar6)->super_Object)" ( (field_expression "(*ppRVar6)->super_Object" (parenthesized_expression "(*ppRVar6)" ( (pointer_expression "*ppRVar6" * identifier) )) -> field_identifier) )) . field_identifier)) ;) (expression_statement "p_Var2 = pp_Var1[0x23];" (assignment_expression "p_Var2 = pp_Var1[0x23]" identifier = (subscript_expression "pp_Var1[0x23]" identifier [ number_literal ])) ;) (if_statement "if (p_Var2 == Relobj::local_symbol_count) break;" if (parenthesized_expression "(p_Var2 == Relobj::local_symbol_count)" ( (ERROR "p_Var2 == Relobj::" (binary_expression "p_Var2 == Relobj" identifier == identifier) : :) identifier )) (break_statement "break;" break ;)) (expression_statement "iVar5 = (*p_Var2)();" (assignment_expression "iVar5 = (*p_Var2)()" identifier = (call_expression "(*p_Var2)()" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "ppRVar6 = ppRVar6 + 1;" (assignment_expression "ppRVar6 = ppRVar6 + 1" identifier = (binary_expression "ppRVar6 + 1" identifier + number_literal)) ;) (expression_statement "n = n + iVar5;" (assignment_expression "n = n + iVar5" identifier = (binary_expression "n + iVar5" identifier + identifier)) ;) (if_statement "if ((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6) goto LAB_00187e74;" if (parenthesized_expression "((input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6)" ( (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish ==\n            ppRVar6" (field_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish" (field_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std" (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n            super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (goto_statement "goto LAB_00187e74;" goto statement_identifier ;)) })) (expression_statement "iVar5 = (*pp_Var1[0x2f])();" (assignment_expression "iVar5 = (*pp_Var1[0x2f])()" identifier = (call_expression "(*pp_Var1[0x2f])()" (parenthesized_expression "(*pp_Var1[0x2f])" ( (pointer_expression "*pp_Var1[0x2f]" * (subscript_expression "pp_Var1[0x2f]" identifier [ number_literal ])) )) (argument_list "()" ( )))) ;) (expression_statement "ppRVar6 = ppRVar6 + 1;" (assignment_expression "ppRVar6 = ppRVar6 + 1" identifier = (binary_expression "ppRVar6 + 1" identifier + number_literal)) ;) (expression_statement "n = n + iVar5;" (assignment_expression "n = n + iVar5" identifier = (binary_expression "n + iVar5" identifier + identifier)) ;) }) while (parenthesized_expression "((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6)" ( (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) (labeled_statement "LAB_00187e74:\n    n = n >> 1;" statement_identifier : (expression_statement "n = n >> 1;" (assignment_expression "n = n >> 1" identifier = (binary_expression "n >> 1" identifier >> number_literal)) ;)) })) (expression_statement "Stringpool_template<char>::reserve(&this->sympool_,n);" (binary_expression "Stringpool_template<char>::reserve(&this->sympool_,n)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "reserve(&this->sympool_,n)" identifier (argument_list "(&this->sympool_,n)" ( (pointer_expression "&this->sympool_" & (field_expression "this->sympool_" identifier -> field_identifier)) , identifier )))) ;) (expression_statement "Stringpool_template<char>::reserve(&this->dynpool_,n);" (binary_expression "Stringpool_template<char>::reserve(&this->dynpool_,n)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "reserve(&this->dynpool_,n)" identifier (argument_list "(&this->dynpool_,n)" ( (pointer_expression "&this->dynpool_" & (field_expression "this->dynpool_" identifier -> field_identifier)) , identifier )))) ;) (expression_statement "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start;" (field_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_start" (field_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold::Relobj*,_std" (assignment_expression "ppRVar6 = (input_objects->relobj_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(input_objects->relobj_list_).\n            super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n            super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish) {\n    do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\n  }" if (parenthesized_expression "(ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish)" ( (field_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish" (field_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold::Relobj*,_std" (binary_expression "ppRVar6 !=\n      (input_objects->relobj_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(input_objects->relobj_list_).\n      super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n      super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);\n  }" { (do_statement "do {\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    } while ((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6);" do (compound_statement "{\n      pRVar3 = *ppRVar6;\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      pRVar7 = pRVar3;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }\n                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */\n      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);\n      pIVar4 = (pRVar3->super_Object).input_file_;\n      if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }\n      ppRVar6 = ppRVar6 + 1;\n    }" { (expression_statement "pRVar3 = *ppRVar6;" (assignment_expression "pRVar3 = *ppRVar6" identifier = (pointer_expression "*ppRVar6" * identifier)) ;) (expression_statement "pIVar4 = (pRVar3->super_Object).input_file_;" (assignment_expression "pIVar4 = (pRVar3->super_Object).input_file_" identifier = (field_expression "(pRVar3->super_Object).input_file_" (parenthesized_expression "(pRVar3->super_Object)" ( (field_expression "pRVar3->super_Object" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pRVar7 = pRVar3;" (assignment_expression "pRVar7 = pRVar3" identifier = identifier) ;) (if_statement "if (pIVar4 != (Input_file *)0x0) {\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }" if (parenthesized_expression "(pIVar4 != (Input_file *)0x0)" ( (binary_expression "pIVar4 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        File_read::lock(&pIVar4->file_,task);\n        pRVar7 = *ppRVar6;\n      }" { (labeled_statement "File_read::lock(&pIVar4->file_,task);" statement_identifier : (ERROR ":" :) (expression_statement "lock(&pIVar4->file_,task);" (call_expression "lock(&pIVar4->file_,task)" identifier (argument_list "(&pIVar4->file_,task)" ( (pointer_expression "&pIVar4->file_" & (field_expression "pIVar4->file_" identifier -> field_identifier)) , identifier ))) ;)) (expression_statement "pRVar7 = *ppRVar6;" (assignment_expression "pRVar7 = *ppRVar6" identifier = (pointer_expression "*ppRVar6" * identifier)) ;) })) comment (expression_statement "(*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);" (call_expression "(*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_)" (parenthesized_expression "(*(pRVar7->super_Object)._vptr_Object[0x32])" ( (pointer_expression "*(pRVar7->super_Object)._vptr_Object[0x32]" * (subscript_expression "(pRVar7->super_Object)._vptr_Object[0x32]" (field_expression "(pRVar7->super_Object)._vptr_Object" (parenthesized_expression "(pRVar7->super_Object)" ( (field_expression "pRVar7->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(pRVar7,&this->sympool_,&this->dynpool_)" ( identifier , (pointer_expression "&this->sympool_" & (field_expression "this->sympool_" identifier -> field_identifier)) , (pointer_expression "&this->dynpool_" & (field_expression "this->dynpool_" identifier -> field_identifier)) ))) ;) (expression_statement "pIVar4 = (pRVar3->super_Object).input_file_;" (assignment_expression "pIVar4 = (pRVar3->super_Object).input_file_" identifier = (field_expression "(pRVar3->super_Object).input_file_" (parenthesized_expression "(pRVar3->super_Object)" ( (field_expression "pRVar3->super_Object" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pIVar4 != (Input_file *)0x0) {\n        File_read::unlock(&pIVar4->file_,task);\n      }" if (parenthesized_expression "(pIVar4 != (Input_file *)0x0)" ( (binary_expression "pIVar4 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        File_read::unlock(&pIVar4->file_,task);\n      }" { (labeled_statement "File_read::unlock(&pIVar4->file_,task);" statement_identifier : (ERROR ":" :) (expression_statement "unlock(&pIVar4->file_,task);" (call_expression "unlock(&pIVar4->file_,task)" identifier (argument_list "(&pIVar4->file_,task)" ( (pointer_expression "&pIVar4->file_" & (field_expression "pIVar4->file_" identifier -> field_identifier)) , identifier ))) ;)) })) (expression_statement "ppRVar6 = ppRVar6 + 1;" (assignment_expression "ppRVar6 = ppRVar6 + 1" identifier = (binary_expression "ppRVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6)" ( (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish !=\n             ppRVar6" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl._M_finish" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_>._M_impl" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold::Relobj*>_" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std::allocator<gold" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold::Relobj*,_std" (binary_expression "(input_objects->relobj_list_).\n             super__Vector_base<gold" (field_expression "(input_objects->relobj_list_).\n             super__Vector_base" (parenthesized_expression "(input_objects->relobj_list_)" ( (field_expression "input_objects->relobj_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00187e10(long param_1,undefined8 param_2,long *param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "long *plVar7;" (sized_type_specifier "long" long) (pointer_declarator "*plVar7" * identifier) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined8 *)*param_3;" (assignment_expression "puVar4 = (undefined8 *)*param_3" identifier = (cast_expression "(undefined8 *)*param_3" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" if (parenthesized_expression "(puVar4 != (undefined8 *)param_3[1])" ( (binary_expression "puVar4 != (undefined8 *)param_3[1]" identifier != (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" { (do_statement "do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);" do (compound_statement "{\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    }" { (while_statement "while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" { (expression_statement "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);" (assignment_expression "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118)" identifier = (pointer_expression "*(code **)(*(long *)*puVar4 + 0x118)" * (cast_expression "(code **)(*(long *)*puVar4 + 0x118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)*puVar4 + 0x118)" ( (binary_expression "*(long *)*puVar4 + 0x118" (pointer_expression "*(long *)*puVar4" * (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) + number_literal) ))))) ;) (if_statement "if (pcVar1 == FUN_0014c030) break;" if (parenthesized_expression "(pcVar1 == FUN_0014c030)" ( (binary_expression "pcVar1 == FUN_0014c030" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" identifier = (binary_expression "uVar6 + iVar3" identifier + identifier)) ;) (if_statement "if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;" if (parenthesized_expression "((undefined8 *)param_3[1] == puVar4)" ( (binary_expression "(undefined8 *)param_3[1] == puVar4" (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_00187e74;" goto statement_identifier ;)) })) (expression_statement "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();" (assignment_expression "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))()" identifier = (call_expression "(**(code **)(*(long *)*puVar4 + 0x178))()" (parenthesized_expression "(**(code **)(*(long *)*puVar4 + 0x178))" ( (pointer_expression "**(code **)(*(long *)*puVar4 + 0x178)" * (pointer_expression "*(code **)(*(long *)*puVar4 + 0x178)" * (cast_expression "(code **)(*(long *)*puVar4 + 0x178)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)*puVar4 + 0x178)" ( (binary_expression "*(long *)*puVar4 + 0x178" (pointer_expression "*(long *)*puVar4" * (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" identifier = (binary_expression "uVar6 + iVar3" identifier + identifier)) ;) }) while (parenthesized_expression "((undefined8 *)param_3[1] != puVar4)" ( (binary_expression "(undefined8 *)param_3[1] != puVar4" (cast_expression "(undefined8 *)param_3[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) (labeled_statement "LAB_00187e74:\n    uVar6 = uVar6 >> 1;" statement_identifier : (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;)) })) (expression_statement "FUN_0021a7a0(param_1 + 0xa0,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0xa0,uVar6)" identifier (argument_list "(param_1 + 0xa0,uVar6)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_0021a7a0(param_1 + 0x130,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0x130,uVar6)" identifier (argument_list "(param_1 + 0x130,uVar6)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) , identifier ))) ;) (expression_statement "plVar5 = (long *)*param_3;" (assignment_expression "plVar5 = (long *)*param_3" identifier = (cast_expression "(long *)*param_3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" if (parenthesized_expression "(plVar5 != (long *)param_3[1])" ( (binary_expression "plVar5 != (long *)param_3[1]" identifier != (cast_expression "(long *)param_3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" { (do_statement "do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);" do (compound_statement "{\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    }" { (expression_statement "plVar2 = (long *)*plVar5;" (assignment_expression "plVar2 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "plVar7 = plVar2;" (assignment_expression "plVar7 = plVar2" identifier = identifier) ;) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" if (parenthesized_expression "(plVar2[5] != 0)" ( (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" { (expression_statement "FUN_0016a270(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016a270(plVar2[5] + 0x28,param_2)" identifier (argument_list "(plVar2[5] + 0x28,param_2)" ( (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" identifier [ number_literal ]) + number_literal) , identifier ))) ;) (expression_statement "plVar7 = (long *)*plVar5;" (assignment_expression "plVar7 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) })) (expression_statement "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);" (call_expression "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130)" (parenthesized_expression "(**(code **)(*plVar7 + 400))" ( (pointer_expression "**(code **)(*plVar7 + 400)" * (pointer_expression "*(code **)(*plVar7 + 400)" * (cast_expression "(code **)(*plVar7 + 400)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar7 + 400)" ( (binary_expression "*plVar7 + 400" (pointer_expression "*plVar7" * identifier) + number_literal) ))))) )) (argument_list "(plVar7,param_1 + 0xa0,param_1 + 0x130)" ( identifier , (binary_expression "param_1 + 0xa0" identifier + number_literal) , (binary_expression "param_1 + 0x130" identifier + number_literal) ))) ;) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" if (parenthesized_expression "(plVar2[5] != 0)" ( (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" { (expression_statement "FUN_0016ae30(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016ae30(plVar2[5] + 0x28,param_2)" identifier (argument_list "(plVar2[5] + 0x28,param_2)" ( (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" identifier [ number_literal ]) + number_literal) , identifier ))) ;) })) (expression_statement "plVar5 = plVar5 + 1;" (assignment_expression "plVar5 = plVar5 + 1" identifier = (binary_expression "plVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((long *)param_3[1] != plVar5)" ( (binary_expression "(long *)param_3[1] != plVar5" (cast_expression "(long *)param_3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (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 = (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;)) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (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 , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00187e10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00187e10(long param_1,undefined8 param_2,long *param_3)" (identifier "FUN_00187e10") (parameter_list "(long param_1,undefined8 param_2,long *param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  long *plVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  long *plVar5;\n  uint uVar6;\n  long *plVar7;\n  \n  uVar6 = 0;\n  puVar4 = (undefined8 *)*param_3;\n  if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }\n  FUN_0021a7a0(param_1 + 0xa0,uVar6);\n  FUN_0021a7a0(param_1 + 0x130,uVar6);\n  plVar5 = (long *)*param_3;\n  if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "long *plVar5;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar5" (* "*") (identifier "plVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "long *plVar7;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar7" (* "*") (identifier "plVar7")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined8 *)*param_3;" (assignment_expression "puVar4 = (undefined8 *)*param_3" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)*param_3" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if (puVar4 != (undefined8 *)param_3[1]) {\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" (if "if") (parenthesized_expression "(puVar4 != (undefined8 *)param_3[1])" (( "(") (binary_expression "puVar4 != (undefined8 *)param_3[1]" (identifier "puVar4") (!= "!=") (cast_expression "(undefined8 *)param_3[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);\nLAB_00187e74:\n    uVar6 = uVar6 >> 1;\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    } while ((undefined8 *)param_3[1] != puVar4);" (do "do") (compound_statement "{\n      while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }\n      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();\n      puVar4 = puVar4 + 1;\n      uVar6 = uVar6 + iVar3;\n    }" ({ "{") (while_statement "while( true ) {\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);\n        if (pcVar1 == FUN_0014c030) break;\n        iVar3 = (*pcVar1)();\n        puVar4 = puVar4 + 1;\n        uVar6 = uVar6 + iVar3;\n        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;\n      }" ({ "{") (expression_statement "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);" (assignment_expression "pcVar1 = *(code **)(*(long *)*puVar4 + 0x118)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(*(long *)*puVar4 + 0x118)" (* "*") (cast_expression "(code **)(*(long *)*puVar4 + 0x118)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)*puVar4 + 0x118)" (( "(") (binary_expression "*(long *)*puVar4 + 0x118" (pointer_expression "*(long *)*puVar4" (* "*") (cast_expression "(long *)*puVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (+ "+") (number_literal "0x118")) () ")"))))) (; ";")) (if_statement "if (pcVar1 == FUN_0014c030) break;" (if "if") (parenthesized_expression "(pcVar1 == FUN_0014c030)" (( "(") (binary_expression "pcVar1 == FUN_0014c030" (identifier "pcVar1") (== "==") (identifier "FUN_0014c030")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" (identifier "iVar3") (= "=") (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" (identifier "uVar6") (= "=") (binary_expression "uVar6 + iVar3" (identifier "uVar6") (+ "+") (identifier "iVar3"))) (; ";")) (if_statement "if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;" (if "if") (parenthesized_expression "((undefined8 *)param_3[1] == puVar4)" (( "(") (binary_expression "(undefined8 *)param_3[1] == puVar4" (cast_expression "(undefined8 *)param_3[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "puVar4")) () ")")) (goto_statement "goto LAB_00187e74;" (goto "goto") (statement_identifier "LAB_00187e74") (; ";"))) (} "}"))) (expression_statement "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();" (assignment_expression "iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))()" (identifier "iVar3") (= "=") (call_expression "(**(code **)(*(long *)*puVar4 + 0x178))()" (parenthesized_expression "(**(code **)(*(long *)*puVar4 + 0x178))" (( "(") (pointer_expression "**(code **)(*(long *)*puVar4 + 0x178)" (* "*") (pointer_expression "*(code **)(*(long *)*puVar4 + 0x178)" (* "*") (cast_expression "(code **)(*(long *)*puVar4 + 0x178)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)*puVar4 + 0x178)" (( "(") (binary_expression "*(long *)*puVar4 + 0x178" (pointer_expression "*(long *)*puVar4" (* "*") (cast_expression "(long *)*puVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (+ "+") (number_literal "0x178")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar6 + iVar3;" (assignment_expression "uVar6 = uVar6 + iVar3" (identifier "uVar6") (= "=") (binary_expression "uVar6 + iVar3" (identifier "uVar6") (+ "+") (identifier "iVar3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined8 *)param_3[1] != puVar4)" (( "(") (binary_expression "(undefined8 *)param_3[1] != puVar4" (cast_expression "(undefined8 *)param_3[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar4")) () ")")) (; ";")) (labeled_statement "LAB_00187e74:\n    uVar6 = uVar6 >> 1;" (statement_identifier "LAB_00187e74") (: ":") (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 1" (identifier "uVar6") (>> ">>") (number_literal "1"))) (; ";"))) (} "}"))) (expression_statement "FUN_0021a7a0(param_1 + 0xa0,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0xa0,uVar6)" (identifier "FUN_0021a7a0") (argument_list "(param_1 + 0xa0,uVar6)" (( "(") (binary_expression "param_1 + 0xa0" (identifier "param_1") (+ "+") (number_literal "0xa0")) (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "FUN_0021a7a0(param_1 + 0x130,uVar6);" (call_expression "FUN_0021a7a0(param_1 + 0x130,uVar6)" (identifier "FUN_0021a7a0") (argument_list "(param_1 + 0x130,uVar6)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "plVar5 = (long *)*param_3;" (assignment_expression "plVar5 = (long *)*param_3" (identifier "plVar5") (= "=") (cast_expression "(long *)*param_3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if (plVar5 != (long *)param_3[1]) {\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" (if "if") (parenthesized_expression "(plVar5 != (long *)param_3[1])" (( "(") (binary_expression "plVar5 != (long *)param_3[1]" (identifier "plVar5") (!= "!=") (cast_expression "(long *)param_3[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);\n  }" ({ "{") (do_statement "do {\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    } while ((long *)param_3[1] != plVar5);" (do "do") (compound_statement "{\n      plVar2 = (long *)*plVar5;\n      plVar7 = plVar2;\n      if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }\n                    \n      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);\n      if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }\n      plVar5 = plVar5 + 1;\n    }" ({ "{") (expression_statement "plVar2 = (long *)*plVar5;" (assignment_expression "plVar2 = (long *)*plVar5" (identifier "plVar2") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (expression_statement "plVar7 = plVar2;" (assignment_expression "plVar7 = plVar2" (identifier "plVar7") (= "=") (identifier "plVar2")) (; ";")) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" (if "if") (parenthesized_expression "(plVar2[5] != 0)" (( "(") (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" (identifier "plVar2") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0016a270(plVar2[5] + 0x28,param_2);\n        plVar7 = (long *)*plVar5;\n      }" ({ "{") (expression_statement "FUN_0016a270(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016a270(plVar2[5] + 0x28,param_2)" (identifier "FUN_0016a270") (argument_list "(plVar2[5] + 0x28,param_2)" (( "(") (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" (identifier "plVar2") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x28")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "plVar7 = (long *)*plVar5;" (assignment_expression "plVar7 = (long *)*plVar5" (identifier "plVar7") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);" (call_expression "(**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130)" (parenthesized_expression "(**(code **)(*plVar7 + 400))" (( "(") (pointer_expression "**(code **)(*plVar7 + 400)" (* "*") (pointer_expression "*(code **)(*plVar7 + 400)" (* "*") (cast_expression "(code **)(*plVar7 + 400)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar7 + 400)" (( "(") (binary_expression "*plVar7 + 400" (pointer_expression "*plVar7" (* "*") (identifier "plVar7")) (+ "+") (number_literal "400")) () ")"))))) () ")")) (argument_list "(plVar7,param_1 + 0xa0,param_1 + 0x130)" (( "(") (identifier "plVar7") (, ",") (binary_expression "param_1 + 0xa0" (identifier "param_1") (+ "+") (number_literal "0xa0")) (, ",") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))) (; ";")) (if_statement "if (plVar2[5] != 0) {\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" (if "if") (parenthesized_expression "(plVar2[5] != 0)" (( "(") (binary_expression "plVar2[5] != 0" (subscript_expression "plVar2[5]" (identifier "plVar2") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0016ae30(plVar2[5] + 0x28,param_2);\n      }" ({ "{") (expression_statement "FUN_0016ae30(plVar2[5] + 0x28,param_2);" (call_expression "FUN_0016ae30(plVar2[5] + 0x28,param_2)" (identifier "FUN_0016ae30") (argument_list "(plVar2[5] + 0x28,param_2)" (( "(") (binary_expression "plVar2[5] + 0x28" (subscript_expression "plVar2[5]" (identifier "plVar2") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x28")) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "plVar5 = plVar5 + 1;" (assignment_expression "plVar5 = plVar5 + 1" (identifier "plVar5") (= "=") (binary_expression "plVar5 + 1" (identifier "plVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((long *)param_3[1] != plVar5)" (( "(") (binary_expression "(long *)param_3[1] != plVar5" (cast_expression "(long *)param_3[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "plVar5")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void count_local_symbols(Layout * this, Task * task, Input_objects *
   input_objects) */

void __thiscall
var_1::type_1::function_1(type_1 *this,type_2 *task,type_3 *input_objects)

{
  type_4 **pp_Var1;
  type_4 *p_Var2;
  type_5 *pRVar3;
  type_6 *var_10;
  int var_6;
  type_7 var_4;
  type_8 var_5;
  type_5 *pRVar7;
  
  var_5 = 0;
  var_4 = (input_objects->relobj_list_).
            super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_start;
  if (var_4 !=
      (input_objects->relobj_list_).
      super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_finish) {
    do {
      while( true ) {
        pp_Var1 = ((*var_4)->super_Object)._vptr_Object;
        p_Var2 = pp_Var1[0x23];
        if (p_Var2 == type_5::local_symbol_count) break;
        var_6 = (*p_Var2)();
        var_4 = var_4 + 1;
        var_5 = var_5 + var_6;
        if ((input_objects->relobj_list_).
            super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_finish ==
            var_4) goto LAB_00187e74;
      }
      var_6 = (*pp_Var1[0x2f])();
      var_4 = var_4 + 1;
      var_5 = var_5 + var_6;
    } while ((input_objects->relobj_list_).
             super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_finish !=
             var_4);
LAB_00187e74:
    var_5 = var_5 >> 1;
  }
  var_7<var_8>::var_9(&this->sympool_,var_5);
  var_7<var_8>::var_9(&this->dynpool_,var_5);
  var_4 = (input_objects->relobj_list_).
            super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_start;
  if (var_4 !=
      (input_objects->relobj_list_).
      super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_finish) {
    do {
      pRVar3 = *var_4;
      var_10 = (pRVar3->super_Object).input_file_;
      pRVar7 = pRVar3;
      if (var_10 != (type_6 *)0x0) {
        File_read::var_11(&var_10->file_,task);
        pRVar7 = *var_4;
      }
                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */
      (*(pRVar7->super_Object)._vptr_Object[0x32])(pRVar7,&this->sympool_,&this->dynpool_);
      var_10 = (pRVar3->super_Object).input_file_;
      if (var_10 != (type_6 *)0x0) {
        File_read::var_12(&var_10->file_,task);
      }
      var_4 = var_4 + 1;
    } while ((input_objects->relobj_list_).
             super__Vector_base<var_1::type_5*,var_2::allocator<var_1::type_5*>var_3>._M_impl._M_finish !=
             var_4);
  }
  return;
}


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

void MASKED(long param_1,undefined8 param_2,long *param_3)

{
  code *pcVar1;
  long *plVar2;
  int iVar3;
  undefined8 *puVar4;
  long *plVar5;
  uint uVar6;
  long *plVar7;
  
  uVar6 = 0;
  puVar4 = (undefined8 *)*param_3;
  if (puVar4 != (undefined8 *)param_3[1]) {
    do {
      while( true ) {
        pcVar1 = *(code **)(*(long *)*puVar4 + 0x118);
        if (pcVar1 == FUN_0014c030) break;
        iVar3 = (*pcVar1)();
        puVar4 = puVar4 + 1;
        uVar6 = uVar6 + iVar3;
        if ((undefined8 *)param_3[1] == puVar4) goto LAB_00187e74;
      }
      iVar3 = (**(code **)(*(long *)*puVar4 + 0x178))();
      puVar4 = puVar4 + 1;
      uVar6 = uVar6 + iVar3;
    } while ((undefined8 *)param_3[1] != puVar4);
LAB_00187e74:
    uVar6 = uVar6 >> 1;
  }
  FUN_0021a7a0(param_1 + 0xa0,uVar6);
  FUN_0021a7a0(param_1 + 0x130,uVar6);
  plVar5 = (long *)*param_3;
  if (plVar5 != (long *)param_3[1]) {
    do {
      plVar2 = (long *)*plVar5;
      plVar7 = plVar2;
      if (plVar2[5] != 0) {
        FUN_0016a270(plVar2[5] + 0x28,param_2);
        plVar7 = (long *)*plVar5;
      }
                    /* try { // try from 00187ecf to 00187ed4 has its CatchHandler @ 00187f04 */
      (**(code **)(*plVar7 + 400))(plVar7,param_1 + 0xa0,param_1 + 0x130);
      if (plVar2[5] != 0) {
        FUN_0016ae30(plVar2[5] + 0x28,param_2);
      }
      plVar5 = plVar5 + 1;
    } while ((long *)param_3[1] != plVar5);
  }
  return;
}

