
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_get_global_symbol_counts(Sized_relobj_file<64,_false> * this,
   Symbol_table * param_1, size_t * defined, size_t * used) */

void __thiscall
gold::Sized_relobj_file<64,_false>::do_get_global_symbol_counts
          (Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)

{
}



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

void FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  byte bVar4;
  
  iVar3 = 0;
  piVar2 = *(int **)(param_1 + 0xbc);
  *param_3 = *(undefined4 *)(param_1 + 200);
  if (piVar2 != *(int **)(param_1 + 0xc0)) {
    do {
      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||
             (param_1 != *(int *)(iVar1 + 8)))) {
        piVar2 = piVar2 + 1;
        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;
      }
      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {
        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));
        bVar4 = bVar4 ^ 1;
      }
      else {
        bVar4 = *(int *)(iVar1 + 0xc) != 0;
      }
      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);
      piVar2 = piVar2 + 1;
    } while (*(int **)(param_1 + 0xc0) != piVar2);
  }
LAB_00123f72:
  *param_4 = iVar3;
  return;
}


PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x2f00f5
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [EBP + 0xc8]
MOV ESI,dword ptr [EBP + 0xbc]
MOV dword ptr [EAX],EDX
CMP ESI,dword ptr [EBP + 0xc0]
JNZ 0x00123f43
JMP 0x00123f72
ADD ESI,0x4
CMP dword ptr [EBP + 0xc0],ESI
JZ 0x00123f72
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00123f38
TEST byte ptr [EAX + 0x2a],0x7
JNZ 0x00123f38
CMP EBP,dword ptr [EAX + 0x8]
JNZ 0x00123f38
MOV EDX,dword ptr [EAX + 0xc]
TEST byte ptr [EAX + 0x2b],0x20
JZ 0x00123f80
TEST EDX,EDX
SETNZ AL
CMP AL,0x1
SBB EDI,-0x1
ADD ESI,0x4
CMP dword ptr [EBP + 0xc0],ESI
JNZ 0x00123f43
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [EAX],EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDX
CALL 0x001e6ac0
ADD ESP,0x10
XOR EAX,0x1
JMP 0x00123f62
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}\n\n" comment (function_definition "void FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" primitive_type (function_declarator "FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0xbc);" (assignment_expression "piVar2 = *(int **)(param_1 + 0xbc)" identifier = (pointer_expression "*(int **)(param_1 + 0xbc)" * (cast_expression "(int **)(param_1 + 0xbc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 200);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 200)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 200)" * (cast_expression "(undefined4 *)(param_1 + 200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 200)" ( (binary_expression "param_1 + 200" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" if (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0xc0))" ( (binary_expression "piVar2 != *(int **)(param_1 + 0xc0)" identifier != (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" { (do_statement "do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);" do (compound_statement "{\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    }" { (while_statement "while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" while (parenthesized_expression "(((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))))" ( (parenthesized_expression "((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))" ( (binary_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))" (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0))" ( (comma_expression "iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (binary_expression "iVar1 == 0" identifier == number_literal) || (parenthesized_expression "((*(byte *)(iVar1 + 0x2a) & 7) != 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x2a) & 7) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar1 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar1 + 0x2a)" * (cast_expression "(byte *)(iVar1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a)" ( (binary_expression "iVar1 + 0x2a" identifier + number_literal) )))) & number_literal) )) != number_literal) )))) )) || (parenthesized_expression "(param_1 != *(int *)(iVar1 + 8))" ( (binary_expression "param_1 != *(int *)(iVar1 + 8)" identifier != (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ))) )) )) (compound_statement "{\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;" if (parenthesized_expression "(*(int **)(param_1 + 0xc0) == piVar2)" ( (binary_expression "*(int **)(param_1 + 0xc0) == piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_00123f72;" goto statement_identifier ;)) })) (if_statement "if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" if (parenthesized_expression "((*(byte *)(iVar1 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(iVar1 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar1 + 0x2b)" * (cast_expression "(byte *)(iVar1 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2b)" ( (binary_expression "iVar1 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }" { (expression_statement "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));" (assignment_expression "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc))" identifier = (call_expression "FUN_001e6ac0(*(int *)(iVar1 + 0xc))" identifier (argument_list "(*(int *)(iVar1 + 0xc))" ( (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) }) (else_clause "else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" else (compound_statement "{\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" { (expression_statement "bVar4 = *(int *)(iVar1 + 0xc) != 0;" (assignment_expression "bVar4 = *(int *)(iVar1 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal)) ;) }))) (expression_statement "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);" (assignment_expression "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0)" identifier = (binary_expression "(iVar3 + 1) - (uint)(bVar4 == 0)" (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )) - (call_expression "(uint)(bVar4 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) ))))) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0xc0) != piVar2)" ( (binary_expression "*(int **)(param_1 + 0xc0) != piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) != identifier) )) ;) })) (labeled_statement "LAB_00123f72:\n  *param_4 = iVar3;" statement_identifier : (expression_statement "*param_4 = iVar3;" (assignment_expression "*param_4 = iVar3" (pointer_expression "*param_4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void do_get_global_symbol_counts(Sized_relobj_file<64,_false> * this,\n   Symbol_table * param_1, size_t * defined, size_t * used) */\n\nvoid __thiscall\ngold::Sized_relobj_file<64,_false>::do_get_global_symbol_counts\n          (Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\ngold::Sized_relobj_file<64,_false>::do_get_global_symbol_counts\n          (Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_get_global_symbol_counts\n          (Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t *defined" primitive_type (pointer_declarator "*defined" * identifier)) , (parameter_declaration "size_t *used" primitive_type (pointer_declarator "*used" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}\n\n" (function_definition "void FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" primitive_type (function_declarator "FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0xbc);" (assignment_expression "piVar2 = *(int **)(param_1 + 0xbc)" identifier = (pointer_expression "*(int **)(param_1 + 0xbc)" * (cast_expression "(int **)(param_1 + 0xbc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 200);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 200)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 200)" * (cast_expression "(undefined4 *)(param_1 + 200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 200)" ( (binary_expression "param_1 + 200" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" if (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0xc0))" ( (binary_expression "piVar2 != *(int **)(param_1 + 0xc0)" identifier != (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" { (do_statement "do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);" do (compound_statement "{\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    }" { (while_statement "while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" while (parenthesized_expression "(((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))))" ( (parenthesized_expression "((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))" ( (binary_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))" (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0))" ( (comma_expression "iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (binary_expression "iVar1 == 0" identifier == number_literal) || (parenthesized_expression "((*(byte *)(iVar1 + 0x2a) & 7) != 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x2a) & 7) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar1 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar1 + 0x2a)" * (cast_expression "(byte *)(iVar1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a)" ( (binary_expression "iVar1 + 0x2a" identifier + number_literal) )))) & number_literal) )) != number_literal) )))) )) || (parenthesized_expression "(param_1 != *(int *)(iVar1 + 8))" ( (binary_expression "param_1 != *(int *)(iVar1 + 8)" identifier != (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ))) )) )) (compound_statement "{\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;" if (parenthesized_expression "(*(int **)(param_1 + 0xc0) == piVar2)" ( (binary_expression "*(int **)(param_1 + 0xc0) == piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_00123f72;" goto statement_identifier ;)) })) (if_statement "if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" if (parenthesized_expression "((*(byte *)(iVar1 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(iVar1 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar1 + 0x2b)" * (cast_expression "(byte *)(iVar1 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2b)" ( (binary_expression "iVar1 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }" { (expression_statement "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));" (assignment_expression "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc))" identifier = (call_expression "FUN_001e6ac0(*(int *)(iVar1 + 0xc))" identifier (argument_list "(*(int *)(iVar1 + 0xc))" ( (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) }) (else_clause "else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" else (compound_statement "{\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" { (expression_statement "bVar4 = *(int *)(iVar1 + 0xc) != 0;" (assignment_expression "bVar4 = *(int *)(iVar1 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal)) ;) }))) (expression_statement "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);" (assignment_expression "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0)" identifier = (binary_expression "(iVar3 + 1) - (uint)(bVar4 == 0)" (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )) - (call_expression "(uint)(bVar4 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) ))))) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0xc0) != piVar2)" ( (binary_expression "*(int **)(param_1 + 0xc0) != piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" * (cast_expression "(int **)(param_1 + 0xc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) != identifier) )) ;) })) (labeled_statement "LAB_00123f72:\n  *param_4 = iVar3;" statement_identifier : (expression_statement "*param_4 = iVar3;" (assignment_expression "*param_4 = iVar3" (pointer_expression "*param_4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )))) )) || (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00123f00(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" (identifier "FUN_00123f00") (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  byte bVar4;\n  \n  iVar3 = 0;\n  piVar2 = *(int **)(param_1 + 0xbc);\n  *param_3 = *(undefined4 *)(param_1 + 200);\n  if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }\nLAB_00123f72:\n  *param_4 = iVar3;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0xbc);" (assignment_expression "piVar2 = *(int **)(param_1 + 0xbc)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0xbc)" (* "*") (cast_expression "(int **)(param_1 + 0xbc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xbc)" (( "(") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) () ")"))))) (; ";")) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 200);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 200)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 200)" (* "*") (cast_expression "(undefined4 *)(param_1 + 200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 200)" (( "(") (binary_expression "param_1 + 200" (identifier "param_1") (+ "+") (number_literal "200")) () ")"))))) (; ";")) (if_statement "if (piVar2 != *(int **)(param_1 + 0xc0)) {\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" (if "if") (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0xc0))" (( "(") (binary_expression "piVar2 != *(int **)(param_1 + 0xc0)" (identifier "piVar2") (!= "!=") (pointer_expression "*(int **)(param_1 + 0xc0)" (* "*") (cast_expression "(int **)(param_1 + 0xc0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);\n  }" ({ "{") (do_statement "do {\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0xc0) != piVar2);" (do "do") (compound_statement "{\n      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }\n      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }\n      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);\n      piVar2 = piVar2 + 1;\n    }" ({ "{") (while_statement "while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))) {\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" (while "while") (parenthesized_expression "(((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))))" (( "(") (parenthesized_expression "((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8)))" (( "(") (binary_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||\n             (param_1 != *(int *)(iVar1 + 8))" (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0))" (( "(") (comma_expression "iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (, ",") (binary_expression "iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((*(byte *)(iVar1 + 0x2a) & 7) != 0)" (( "(") (binary_expression "(*(byte *)(iVar1 + 0x2a) & 7) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2a) & 7)" (( "(") (binary_expression "*(byte *)(iVar1 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar1 + 0x2a)" (* "*") (cast_expression "(byte *)(iVar1 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a)" (( "(") (binary_expression "iVar1 + 0x2a" (identifier "iVar1") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "0")) () ")")))) () ")")) (|| "||") (parenthesized_expression "(param_1 != *(int *)(iVar1 + 8))" (( "(") (binary_expression "param_1 != *(int *)(iVar1 + 8)" (identifier "param_1") (!= "!=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) () ")"))) () ")")) () ")")) (compound_statement "{\n        piVar2 = piVar2 + 1;\n        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;\n      }" ({ "{") (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0xc0) == piVar2)" (( "(") (binary_expression "*(int **)(param_1 + 0xc0) == piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" (* "*") (cast_expression "(int **)(param_1 + 0xc0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")")))) (== "==") (identifier "piVar2")) () ")")) (goto_statement "goto LAB_00123f72;" (goto "goto") (statement_identifier "LAB_00123f72") (; ";"))) (} "}"))) (if_statement "if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }\n      else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" (if "if") (parenthesized_expression "((*(byte *)(iVar1 + 0x2b) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(iVar1 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x2b) & 0x20)" (( "(") (binary_expression "*(byte *)(iVar1 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar1 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar1 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2b)" (( "(") (binary_expression "iVar1 + 0x2b" (identifier "iVar1") (+ "+") (number_literal "0x2b")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));\n        bVar4 = bVar4 ^ 1;\n      }" ({ "{") (expression_statement "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));" (assignment_expression "bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc))" (identifier "bVar4") (= "=") (call_expression "FUN_001e6ac0(*(int *)(iVar1 + 0xc))" (identifier "FUN_001e6ac0") (argument_list "(*(int *)(iVar1 + 0xc))" (( "(") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" (identifier "bVar4") (= "=") (binary_expression "bVar4 ^ 1" (identifier "bVar4") (^ "^") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" (else "else") (compound_statement "{\n        bVar4 = *(int *)(iVar1 + 0xc) != 0;\n      }" ({ "{") (expression_statement "bVar4 = *(int *)(iVar1 + 0xc) != 0;" (assignment_expression "bVar4 = *(int *)(iVar1 + 0xc) != 0" (identifier "bVar4") (= "=") (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (} "}")))) (expression_statement "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);" (assignment_expression "iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0)" (identifier "iVar3") (= "=") (binary_expression "(iVar3 + 1) - (uint)(bVar4 == 0)" (parenthesized_expression "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")) (- "-") (call_expression "(uint)(bVar4 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(bVar4 == 0)" (( "(") (binary_expression "bVar4 == 0" (identifier "bVar4") (== "==") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0xc0) != piVar2)" (( "(") (binary_expression "*(int **)(param_1 + 0xc0) != piVar2" (pointer_expression "*(int **)(param_1 + 0xc0)" (* "*") (cast_expression "(int **)(param_1 + 0xc0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")")))) (!= "!=") (identifier "piVar2")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00123f72:\n  *param_4 = iVar3;" (statement_identifier "LAB_00123f72") (: ":") (expression_statement "*param_4 = iVar3;" (assignment_expression "*param_4 = iVar3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "iVar3")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_get_global_symbol_counts(Sized_relobj_file<64,_false> * this,
   Symbol_table * param_1, size_t * defined, size_t * used) */

void __thiscall
gold::Sized_relobj_file<64,_false>::do_get_global_symbol_counts
          (Sized_relobj_file<64,_false> *this,Symbol_table *param_2,size_t *defined,size_t *used)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  byte bVar4;
  
  iVar3 = 0;
  piVar2 = *(int **)(param_1 + 0xbc);
  *param_3 = *(undefined4 *)(param_1 + 200);
  if (piVar2 != *(int **)(param_1 + 0xc0)) {
    do {
      while (((iVar1 = *piVar2, iVar1 == 0 || ((*(byte *)(iVar1 + 0x2a) & 7) != 0)) ||
             (param_1 != *(int *)(iVar1 + 8)))) {
        piVar2 = piVar2 + 1;
        if (*(int **)(param_1 + 0xc0) == piVar2) goto LAB_00123f72;
      }
      if ((*(byte *)(iVar1 + 0x2b) & 0x20) == 0) {
        bVar4 = FUN_001e6ac0(*(int *)(iVar1 + 0xc));
        bVar4 = bVar4 ^ 1;
      }
      else {
        bVar4 = *(int *)(iVar1 + 0xc) != 0;
      }
      iVar3 = (iVar3 + 1) - (uint)(bVar4 == 0);
      piVar2 = piVar2 + 1;
    } while (*(int **)(param_1 + 0xc0) != piVar2);
  }
LAB_00123f72:
  *param_4 = iVar3;
  return;
}

