
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace_unique<std::pair<unsigned int, gold::Sized_relobj_file<32,
   true>::Kept_comdat_section> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>
   _M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>
   * this, pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>
 __thiscall
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>
::
_M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>
          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>
           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>
                 *__args_0)

{
}



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

int * FUN_002984e0(int *param_1,int param_2,uint *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  bool bVar7;
  
  iVar2 = FUN_003ac4d0(0x28);
  uVar1 = *param_3;
  *(uint *)(iVar2 + 0x10) = uVar1;
  *(uint *)(iVar2 + 0x14) = param_3[1];
  *(uint *)(iVar2 + 0x18) = param_3[2];
  *(uint *)(iVar2 + 0x1c) = param_3[3];
  *(uint *)(iVar2 + 0x20) = param_3[4];
  *(uint *)(iVar2 + 0x24) = param_3[5];
  iVar3 = param_2 + 4;
  iVar4 = iVar3;
  iVar5 = *(int *)(param_2 + 8);
  if (*(int *)(param_2 + 8) == 0) {
LAB_002985d4:
    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;
    iVar5 = FUN_003af6c0(iVar4);
    uVar6 = *(uint *)(iVar5 + 0x10);
  }
  else {
    do {
      iVar4 = iVar5;
      uVar6 = *(uint *)(iVar4 + 0x10);
      if (uVar1 < uVar6) {
        iVar5 = *(int *)(iVar4 + 8);
      }
      else {
        iVar5 = *(int *)(iVar4 + 0xc);
      }
    } while (iVar5 != 0);
    iVar5 = iVar4;
    if (uVar1 < uVar6) goto LAB_002985d4;
  }
  if (uVar6 < uVar1) {
    if (iVar4 != 0) {
joined_r0x00298575:
      bVar7 = true;
      if (iVar3 != iVar4) {
        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);
      }
      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar5 = 0;
  }
  FUN_003ae080(iVar2);
  *param_1 = iVar5;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x351b17
SUB ESP,0x28
MOV ESI,dword ptr [ESP + 0x44]
PUSH 0x28
CALL 0x003ac4d0
MOV EBP,dword ptr [ESI]
MOV EDI,EAX
MOV dword ptr [EAX + 0x10],EBP
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EDI + 0x14],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x18],EAX
MOV EAX,dword ptr [ESI + 0xc]
MOV dword ptr [EDI + 0x1c],EAX
MOV EAX,dword ptr [ESI + 0x10]
MOV dword ptr [EDI + 0x20],EAX
MOV EAX,dword ptr [ESI + 0x14]
MOV dword ptr [EDI + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [EAX + 0x8]
ADD EAX,0x4
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x0029854e
JMP 0x002985d0
MOV EAX,dword ptr [ESI + 0x8]
MOV ECX,0x1
TEST EAX,EAX
JZ 0x0029855e
MOV ESI,EAX
MOV EDX,dword ptr [ESI + 0x10]
CMP EDX,EBP
JA 0x00298540
MOV EAX,dword ptr [ESI + 0xc]
XOR ECX,ECX
TEST EAX,EAX
JNZ 0x0029854c
MOV EAX,ESI
TEST CL,CL
JNZ 0x002985d4
CMP EBP,EDX
JBE 0x002985ac
TEST EAX,EAX
JZ 0x002985aa
MOV EDX,0x1
CMP dword ptr [ESP + 0xc],EAX
JNZ 0x00298611
PUSH dword ptr [ESP + 0xc]
PUSH EAX
PUSH EDI
PUSH EDX
CALL 0x003af7a0
MOV EAX,dword ptr [ESP + 0x44]
ADD dword ptr [EAX + 0x14],0x1
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV dword ptr [EAX],EDI
MOV byte ptr [EAX + 0x4],0x1
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
XOR ESI,ESI
SUB ESP,0xc
PUSH EDI
CALL 0x003ae080
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV dword ptr [EAX],ESI
MOV byte ptr [EAX + 0x4],0x0
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV ESI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x34]
CMP dword ptr [EAX + 0xc],ESI
JZ 0x00298600
SUB ESP,0xc
PUSH ESI
CALL 0x003af6c0
ADD ESP,0x10
MOV ECX,EAX
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,ESI
MOV ESI,ECX
JMP 0x00298564
MOV EAX,ESI
MOV EDX,0x1
CMP dword ptr [ESP + 0xc],EAX
JZ 0x0029857b
XOR EDX,EDX
CMP EBP,dword ptr [EAX + 0x10]
SETC DL
JMP 0x0029857b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_002984e0(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_002984e0(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002984e0(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_002984e0(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_003ac4d0(0x28);" (assignment_expression "iVar2 = FUN_003ac4d0(0x28)" identifier = (call_expression "FUN_003ac4d0(0x28)" identifier (argument_list "(0x28)" ( number_literal )))) ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x14) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[2];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x1c) = param_3[3];" (assignment_expression "*(uint *)(iVar2 + 0x1c) = param_3[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x20) = param_3[4];" (assignment_expression "*(uint *)(iVar2 + 0x20) = param_3[4]" (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x24) = param_3[5];" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_3[5]" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }" { (labeled_statement "LAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) == identifier) )) (goto_statement "goto joined_r0x00298575;" goto statement_identifier ;))) (expression_statement "iVar5 = FUN_003af6c0(iVar4);" (assignment_expression "iVar5 = FUN_003af6c0(iVar4)" identifier = (call_expression "FUN_003af6c0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" else (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" { (do_statement "do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" do (compound_statement "{\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" { (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" if (parenthesized_expression "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" else (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) }))) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (uVar1 < uVar6) goto LAB_002985d4;" if (parenthesized_expression "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )) (goto_statement "goto LAB_002985d4;" goto statement_identifier ;)) }))) (if_statement "if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" if (parenthesized_expression "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) )) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" { (if_statement "if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x00298575:\n      bVar7 = true;" statement_identifier : (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;)) (if_statement "if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" if (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) (compound_statement "{\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" { (expression_statement "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);" (assignment_expression "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10)" identifier = (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) ;) })) (expression_statement "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);" (call_expression "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3)" identifier (argument_list "(bVar7,iVar2,iVar4,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: _M_emplace_unique<std::pair<unsigned int, gold::Sized_relobj_file<32,\n   true>::Kept_comdat_section> >\n   DWARF original prototype:\n   pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>\n   _M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n   * this, pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section> * __args#0) */\n\npair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>\n __thiscall\nstd::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>\n          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)\n\n{\n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const," (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (binary_expression "pair<unsigned_int_const" identifier < identifier) ,) (labeled_statement "_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>\n __thiscall" statement_identifier : (ERROR ":" :) (expression_statement "Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>\n __thiscall" (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>\n __thiscall" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>_>,_bool>\n __thiscall" (binary_expression "_true>::Kept_comdat_section>_>,_bool" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > (ERROR "," ,) identifier) > identifier)) ;)) (labeled_statement "std::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>\n          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)" statement_identifier (ERROR "::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique<std::pair<unsigned_int,_gold:" : : (comma_expression "_Rb_tree<unsigned_int,_std" (binary_expression "_Rb_tree<unsigned_int" identifier < identifier) , identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>,_std" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>,_std" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > (ERROR "," ,) identifier)) : : (binary_expression "_Select1st<std" identifier < identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>_>,_std" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > (ERROR "," ,) identifier)) : : (binary_expression "less<unsigned_int>,_std" (binary_expression "less<unsigned_int" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique<std" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique<std" (binary_expression "_true>::Kept_comdat_section>_>_>\n::\n_M_emplace_unique" (binary_expression "_true>::Kept_comdat_section>_>_" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > identifier) > (ERROR "::" : :) identifier) < identifier)) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Sized_relobj_file<32,_true>::Kept_comdat_section>_>\n          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)" (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>\n          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>_>\n          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > (parenthesized_expression "(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0)" ( (ERROR "_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold::" (comma_expression "_Rb_tree<unsigned_int,_std" (binary_expression "_Rb_tree<unsigned_int" identifier < identifier) , identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>,_std" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>,_std" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > (ERROR "," ,) identifier)) : : (binary_expression "_Select1st<std" identifier < identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>_>,_std" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > (ERROR "," ,) identifier)) : : (binary_expression "less<unsigned_int>,_std" (binary_expression "less<unsigned_int" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int_const,_gold" (binary_expression "pair<unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (comma_expression "_true>::Kept_comdat_section>_>_>\n           *this,pair<unsigned_int,_gold" (binary_expression "_true>::Kept_comdat_section>_>_>\n           *this" (binary_expression "_true>::Kept_comdat_section>_>_" (binary_expression "_true>::Kept_comdat_section>_" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > identifier) > identifier) > (pointer_expression "*this" * identifier)) , (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier))) : :) (comma_expression "Sized_relobj_file<32,_true>::Kept_comdat_section>\n                 *__args_0" (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true>::Kept_comdat_section>\n                 *__args_0" (binary_expression "_true>::Kept_comdat_section" identifier > (ERROR "::" : :) identifier) > (pointer_expression "*__args_0" * identifier))) )))) ;)) (compound_statement "{\n}" { }))
(translation_unit "int * FUN_002984e0(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" (function_definition "int * FUN_002984e0(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002984e0(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_002984e0(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_003ac4d0(0x28);" (assignment_expression "iVar2 = FUN_003ac4d0(0x28)" identifier = (call_expression "FUN_003ac4d0(0x28)" identifier (argument_list "(0x28)" ( number_literal )))) ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x14) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[2];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x1c) = param_3[3];" (assignment_expression "*(uint *)(iVar2 + 0x1c) = param_3[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x20) = param_3[4];" (assignment_expression "*(uint *)(iVar2 + 0x20) = param_3[4]" (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x24) = param_3[5];" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_3[5]" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }" { (labeled_statement "LAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) == identifier) )) (goto_statement "goto joined_r0x00298575;" goto statement_identifier ;))) (expression_statement "iVar5 = FUN_003af6c0(iVar4);" (assignment_expression "iVar5 = FUN_003af6c0(iVar4)" identifier = (call_expression "FUN_003af6c0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" else (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" { (do_statement "do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" do (compound_statement "{\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" { (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" if (parenthesized_expression "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" else (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) }))) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (uVar1 < uVar6) goto LAB_002985d4;" if (parenthesized_expression "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )) (goto_statement "goto LAB_002985d4;" goto statement_identifier ;)) }))) (if_statement "if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" if (parenthesized_expression "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) )) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" { (if_statement "if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x00298575:\n      bVar7 = true;" statement_identifier : (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;)) (if_statement "if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" if (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) (compound_statement "{\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" { (expression_statement "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);" (assignment_expression "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10)" identifier = (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) ;) })) (expression_statement "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);" (call_expression "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3)" identifier (argument_list "(bVar7,iVar2,iVar4,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_002984e0(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_002984e0(int *param_1,int param_2,uint *param_3)" (* "*") (function_declarator "FUN_002984e0(int *param_1,int param_2,uint *param_3)" (identifier "FUN_002984e0") (parameter_list "(int *param_1,int param_2,uint *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar2 = FUN_003ac4d0(0x28);\n  uVar1 = *param_3;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x14) = param_3[1];\n  *(uint *)(iVar2 + 0x18) = param_3[2];\n  *(uint *)(iVar2 + 0x1c) = param_3[3];\n  *(uint *)(iVar2 + 0x20) = param_3[4];\n  *(uint *)(iVar2 + 0x24) = param_3[5];\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }\n  if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_003ae080(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (expression_statement "iVar2 = FUN_003ac4d0(0x28);" (assignment_expression "iVar2 = FUN_003ac4d0(0x28)" (identifier "iVar2") (= "=") (call_expression "FUN_003ac4d0(0x28)" (identifier "FUN_003ac4d0") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")")))) (; ";")) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" (identifier "uVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (pointer_expression "*(uint *)(iVar2 + 0x10)" (* "*") (cast_expression "(uint *)(iVar2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x14) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x14) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[2];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x1c) = param_3[3];" (assignment_expression "*(uint *)(iVar2 + 0x1c) = param_3[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x20) = param_3[4];" (assignment_expression "*(uint *)(iVar2 + 0x20) = param_3[4]" (pointer_expression "*(uint *)(iVar2 + 0x20)" (* "*") (cast_expression "(uint *)(iVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x24) = param_3[5];" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_3[5]" (pointer_expression "*(uint *)(iVar2 + 0x24)" (* "*") (cast_expression "(uint *)(iVar2 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" (identifier "iVar3") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(int *)(param_2 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;\n    iVar5 = FUN_003af6c0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n  }" ({ "{") (labeled_statement "LAB_002985d4:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" (statement_identifier "LAB_002985d4") (: ":") (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "iVar4")) () ")")) (goto_statement "goto joined_r0x00298575;" (goto "goto") (statement_identifier "joined_r0x00298575") (; ";")))) (expression_statement "iVar5 = FUN_003af6c0(iVar4);" (assignment_expression "iVar5 = FUN_003af6c0(iVar4)" (identifier "iVar5") (= "=") (call_expression "FUN_003af6c0(iVar4)" (identifier "FUN_003af6c0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x10)" (* "*") (cast_expression "(uint *)(iVar5 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" (else "else") (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (uVar1 < uVar6) goto LAB_002985d4;\n  }" ({ "{") (do_statement "do {\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" (do "do") (compound_statement "{\n      iVar4 = iVar5;\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" ({ "{") (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" (identifier "iVar4") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (uVar1 < uVar6) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" (if "if") (parenthesized_expression "(uVar1 < uVar6)" (( "(") (binary_expression "uVar1 < uVar6" (identifier "uVar1") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" (else "else") (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (uVar1 < uVar6) goto LAB_002985d4;" (if "if") (parenthesized_expression "(uVar1 < uVar6)" (( "(") (binary_expression "uVar1 < uVar6" (identifier "uVar1") (< "<") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_002985d4;" (goto "goto") (statement_identifier "LAB_002985d4") (; ";"))) (} "}")))) (if_statement "if (uVar6 < uVar1) {\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" (if "if") (parenthesized_expression "(uVar6 < uVar1)" (( "(") (binary_expression "uVar6 < uVar1" (identifier "uVar6") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" ({ "{") (if_statement "if (iVar4 != 0) {\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\njoined_r0x00298575:\n      bVar7 = true;\n      if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }\n      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" ({ "{") (labeled_statement "joined_r0x00298575:\n      bVar7 = true;" (statement_identifier "joined_r0x00298575") (: ":") (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";"))) (if_statement "if (iVar3 != iVar4) {\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" (if "if") (parenthesized_expression "(iVar3 != iVar4)" (( "(") (binary_expression "iVar3 != iVar4" (identifier "iVar3") (!= "!=") (identifier "iVar4")) () ")")) (compound_statement "{\n        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);\n      }" ({ "{") (expression_statement "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);" (assignment_expression "bVar7 = uVar1 < *(uint *)(iVar4 + 0x10)" (identifier "bVar7") (= "=") (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" (identifier "uVar1") (< "<") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))))) (; ";")) (} "}"))) (expression_statement "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);" (call_expression "FUN_003af7a0(bVar7,iVar2,iVar4,iVar3)" (identifier "FUN_003af7a0") (argument_list "(bVar7,iVar2,iVar4,iVar3)" (( "(") (identifier "bVar7") (, ",") (identifier "iVar2") (, ",") (identifier "iVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "FUN_003ae080(iVar2);" (call_expression "FUN_003ae080(iVar2)" (identifier "FUN_003ae080") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace_unique<std::pair<unsigned int, gold::Sized_relobj_file<32,
   true>::Kept_comdat_section> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_bool>
   _M_emplace_unique<std::pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section>_>_>
   * this, pair<unsigned_int,_gold::Sized_relobj_file<32,_true>::Kept_comdat_section> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>var_4>,var_5>
 var_6
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>,_std::_Select1st<std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>var_4>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>var_4>var_4>
::
_M_emplace_unique<std::pair<unsigned_int,_gold::var_1<32,var_2>::var_3>var_4>
          (_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>,_std::_Select1st<std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>var_4>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::var_1<32,var_2>::var_3>var_4>var_4>
           *this,pair<unsigned_int,_gold::var_1<32,var_2>::var_3>
                 *__args_0)

{
}


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

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

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

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  bool bVar7;
  
  iVar2 = FUN_003ac4d0(0x28);
  uVar1 = *param_3;
  *(uint *)(iVar2 + 0x10) = uVar1;
  *(uint *)(iVar2 + 0x14) = param_3[1];
  *(uint *)(iVar2 + 0x18) = param_3[2];
  *(uint *)(iVar2 + 0x1c) = param_3[3];
  *(uint *)(iVar2 + 0x20) = param_3[4];
  *(uint *)(iVar2 + 0x24) = param_3[5];
  iVar3 = param_2 + 4;
  iVar4 = iVar3;
  iVar5 = *(int *)(param_2 + 8);
  if (*(int *)(param_2 + 8) == 0) {
LAB_002985d4:
    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00298575;
    iVar5 = FUN_003af6c0(iVar4);
    uVar6 = *(uint *)(iVar5 + 0x10);
  }
  else {
    do {
      iVar4 = iVar5;
      uVar6 = *(uint *)(iVar4 + 0x10);
      if (uVar1 < uVar6) {
        iVar5 = *(int *)(iVar4 + 8);
      }
      else {
        iVar5 = *(int *)(iVar4 + 0xc);
      }
    } while (iVar5 != 0);
    iVar5 = iVar4;
    if (uVar1 < uVar6) goto LAB_002985d4;
  }
  if (uVar6 < uVar1) {
    if (iVar4 != 0) {
joined_r0x00298575:
      bVar7 = true;
      if (iVar3 != iVar4) {
        bVar7 = uVar1 < *(uint *)(iVar4 + 0x10);
      }
      FUN_003af7a0(bVar7,iVar2,iVar4,iVar3);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar5 = 0;
  }
  FUN_003ae080(iVar2);
  *param_1 = iVar5;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}

