
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::do_get_year(std::istreambuf_iterator<char, std::char_traits<char> >,
   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)
   const */

undefined4 *
std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year
          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5
          ,int param_6,undefined4 param_7,uint *param_8,int param_9)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  int *local_34;
  int iStack_30;
  int local_24;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x2627d9;
  local_20[0] = 0;
  _M_extract_num(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,
                 local_20);
  if (local_20[0] == 0) {
    iVar1 = local_24 + 100;
    if (-1 < local_24) {
      iVar1 = local_24 + -0x76c;
    }
    bVar3 = iStack_30 == -1;
    *(int *)(param_9 + 0x14) = iVar1;
    bVar2 = local_34 != (int *)0x0 && bVar3;
    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  else {
    *param_8 = *param_8 | 4;
    bVar3 = iStack_30 == -1;
    bVar2 = local_34 != (int *)0x0 && bVar3;
    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  bVar3 = false;
  if ((uint)local_34[3] <= (uint)local_34[2]) {
    iVar1 = (**(code **)(*local_34 + 0x24))(local_34);
    bVar3 = false;
    if (iVar1 == -1) {
      local_34 = (int *)0x0;
      bVar3 = bVar2;
    }
  }
LAB_00262862:
  bVar2 = param_6 == -1;
  if (((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]))
  {
    iVar1 = (**(code **)(*param_5 + 0x24))(param_5);
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_8 = *param_8 | 2;
  }
  *param_1 = local_34;
  param_1[1] = iStack_30;
  return param_1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined4 *
FUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
            undefined4 param_6,uint *param_7,int param_8)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  int *local_38;
  int local_34 [3];
  int local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x2627d9;
  local_24[1] = 0;
  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,
               local_24 + 1);
  if (local_24[0] == 0) {
    iVar1 = local_28 + 100;
    if (-1 < local_28) {
      iVar1 = local_28 + -0x76c;
    }
    bVar3 = local_34[0] == -1;
    *(int *)(param_8 + 0x14) = iVar1;
    bVar2 = local_38 != (int *)0x0 && bVar3;
    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  else {
    *param_7 = *param_7 | 4;
    bVar3 = local_34[0] == -1;
    bVar2 = local_38 != (int *)0x0 && bVar3;
    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  bVar3 = false;
  if ((uint)local_38[3] <= (uint)local_38[2]) {
    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);
    bVar3 = false;
    if (iVar1 == -1) {
      local_38 = (int *)0x0;
      bVar3 = bVar2;
    }
  }
LAB_00262862:
  bVar2 = param_5 == -1;
  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))
  {
    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *param_1 = local_38;
  param_1[1] = local_34[0];
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x12c827
SUB ESP,0x2c
LEA EDX,[ESP + 0x1c]
LEA EAX,[ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x1c],0x0
PUSH EDX
PUSH dword ptr [ESP + 0x5c]
PUSH 0x4
PUSH 0x270f
PUSH 0x0
LEA EDX,[ESP + 0x2c]
PUSH EDX
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH EAX
CALL 0x002624d0
MOV EBX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x38]
ADD ESP,0x2c
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JNZ 0x002628c8
MOV EDX,dword ptr [ESP + 0x18]
LEA ECX,[EDX + 0xfffff894]
TEST EDX,EDX
LEA EAX,[EDX + 0x64]
MOV EDX,dword ptr [ESP + 0x60]
CMOVNS EAX,ECX
CMP EBP,-0x1
MOV dword ptr [EDX + 0x14],EAX
SETZ DL
TEST EBX,EBX
SETNZ CL
AND CL,DL
JNZ 0x002628de
MOV ECX,dword ptr [ESP + 0x50]
CMP dword ptr [ESP + 0x54],-0x1
SETZ AL
TEST ECX,ECX
JZ 0x00262876
TEST AL,AL
JNZ 0x00262898
CMP DL,AL
JNZ 0x00262881
MOV EAX,dword ptr [ESP + 0x5c]
OR dword ptr [EAX],0x2
MOV dword ptr [ESI],EBX
MOV EAX,ESI
MOV dword ptr [ESI + 0x4],EBP
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
XOR EAX,EAX
MOV EDI,dword ptr [ECX + 0xc]
CMP dword ptr [ECX + 0x8],EDI
JC 0x00262876
MOV byte ptr [ESP + 0x6],DL
SUB ESP,0xc
MOV EAX,dword ptr [ECX]
PUSH dword ptr [ESP + 0x5c]
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x16]
ADD ESP,0x10
CMP EAX,-0x1
SETZ AL
JMP 0x00262876
MOV EAX,dword ptr [ESP + 0x5c]
OR dword ptr [EAX],0x4
CMP EBP,-0x1
SETZ DL
TEST EBX,EBX
SETNZ CL
AND CL,DL
JZ 0x00262862
XOR EDX,EDX
MOV EAX,dword ptr [EBX + 0xc]
CMP dword ptr [EBX + 0x8],EAX
JC 0x00262862
MOV byte ptr [ESP + 0x7],CL
SUB ESP,0xc
MOV EAX,dword ptr [EBX]
MOV byte ptr [ESP + 0x12],DL
PUSH EBX
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x16]
MOVZX ECX,byte ptr [ESP + 0x17]
ADD ESP,0x10
CMP EAX,-0x1
MOV EAX,0x0
CMOVZ EDX,ECX
CMOVZ EBX,EAX
JMP 0x00262862
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n\nundefined4 *\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}\n\n" comment comment (function_definition "undefined4 *\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" * (function_declarator "FUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34 [3];" primitive_type (array_declarator "local_34 [3]" identifier [ number_literal ]) ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2627d9;" (assignment_expression "uStack_14 = 0x2627d9" identifier = number_literal) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);" (call_expression "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , identifier , (binary_expression "local_24 + 1" identifier + number_literal) ))) ;) (if_statement "if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" if (parenthesized_expression "(local_24[0] == 0)" ( (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "iVar1 = local_28 + 100;" (assignment_expression "iVar1 = local_28 + 100" identifier = (binary_expression "local_28 + 100" identifier + number_literal)) ;) (if_statement "if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }" if (parenthesized_expression "(-1 < local_28)" ( (binary_expression "-1 < local_28" number_literal < identifier) )) (compound_statement "{\n      iVar1 = local_28 + -0x76c;\n    }" { (expression_statement "iVar1 = local_28 + -0x76c;" (assignment_expression "iVar1 = local_28 + -0x76c" identifier = (binary_expression "local_28 + -0x76c" identifier + number_literal)) ;) })) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "*(int *)(param_8 + 0x14) = iVar1;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar1" (pointer_expression "*(int *)(param_8 + 0x14)" * (cast_expression "(int *)(param_8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x14)" ( (binary_expression "param_8 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" identifier = (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" ( (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }) (else_clause "else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" else (compound_statement "{\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 4" (pointer_expression "*param_7" * identifier) | number_literal)) ;) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" identifier = (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" ( (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" if (parenthesized_expression "((uint)local_38[3] <= (uint)local_38[2])" ( (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_38[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar1 = (**(code **)(*local_38 + 0x24))(local_38)" identifier = (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" ( (pointer_expression "**(code **)(*local_38 + 0x24)" * (pointer_expression "*(code **)(*local_38 + 0x24)" * (cast_expression "(code **)(*local_38 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_38 + 0x24)" ( (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" * identifier) + number_literal) ))))) )) (argument_list "(local_38)" ( identifier )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" { (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar3 = bVar2;" (assignment_expression "bVar3 = bVar2" identifier = identifier) ;) })) })) (labeled_statement "LAB_00262862:\n  bVar2 = param_5 == -1;" statement_identifier : (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" identifier = (binary_expression "param_5 == -1" identifier == number_literal)) ;)) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" if (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" ( (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" ( (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) && (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" ( (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_4[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" ( (pointer_expression "**(code **)(*param_4 + 0x24)" * (pointer_expression "*(code **)(*param_4 + 0x24)" * (cast_expression "(code **)(*param_4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x24)" ( (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" identifier = (binary_expression "iVar1 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar3 == bVar2)" ( (binary_expression "bVar3 == bVar2" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ 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/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >\n   >::do_get_year(std::istreambuf_iterator<char, std::char_traits<char> >,\n   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)\n   const */\n\nundefined4 *\nstd::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_34;\n  int iStack_30;\n  int local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_20[0] = 0;\n  _M_extract_num(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,\n                 local_20);\n  if (local_20[0] == 0) {\n    iVar1 = local_24 + 100;\n    if (-1 < local_24) {\n      iVar1 = local_24 + -0x76c;\n    }\n    bVar3 = iStack_30 == -1;\n    *(int *)(param_9 + 0x14) = iVar1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_8 = *param_8 | 4;\n    bVar3 = iStack_30 == -1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_34[3] <= (uint)local_34[2]) {\n    iVar1 = (**(code **)(*local_34 + 0x24))(local_34);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar1 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_8 = *param_8 | 2;\n  }\n  *param_1 = local_34;\n  param_1[1] = iStack_30;\n  return param_1;\n}\n\n" comment comment (ERROR "undefined4 *\nstd::time_get<char," (binary_expression "undefined4 *\nstd::time_get<char" (binary_expression "undefined4 *\nstd" identifier * identifier) (ERROR "::time_get" : : identifier) < identifier) ,) (labeled_statement "std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" statement_identifier (ERROR "::istreambuf_iterator<char,std:" : : (comma_expression "istreambuf_iterator<char,std" (binary_expression "istreambuf_iterator<char" identifier < identifier) , identifier) :) : (expression_statement "char_traits<char>>>::do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" (binary_expression "char_traits<char>>>::do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" identifier < (binary_expression "char>>>::do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" identifier >> (ERROR ">::" > : :) (call_expression "do_get_year\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" identifier (argument_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5\n          ,int param_6,undefined4 param_7,uint *param_8,int param_9)" ( (binary_expression "undefined4 *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) , identifier (ERROR "param_4" identifier) , (binary_expression "int *param_5" identifier * identifier) , (ERROR "int" identifier) identifier , identifier (ERROR "param_7" identifier) , (binary_expression "uint *param_8" identifier * identifier) , (ERROR "int" identifier) identifier ))))) ;)) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_34;\n  int iStack_30;\n  int local_24;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_20[0] = 0;\n  _M_extract_num(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,\n                 local_20);\n  if (local_20[0] == 0) {\n    iVar1 = local_24 + 100;\n    if (-1 < local_24) {\n      iVar1 = local_24 + -0x76c;\n    }\n    bVar3 = iStack_30 == -1;\n    *(int *)(param_9 + 0x14) = iVar1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_8 = *param_8 | 4;\n    bVar3 = iStack_30 == -1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_34[3] <= (uint)local_34[2]) {\n    iVar1 = (**(code **)(*local_34 + 0x24))(local_34);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar1 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_8 = *param_8 | 2;\n  }\n  *param_1 = local_34;\n  param_1[1] = iStack_30;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int iStack_30;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2627d9;" (assignment_expression "uStack_14 = 0x2627d9" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "_M_extract_num(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,\n                 local_20);" (call_expression "_M_extract_num(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,\n                 local_20)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,&local_24,0,9999,4,param_7,\n                 local_20)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_24" & identifier) , number_literal , number_literal , number_literal , identifier , identifier ))) ;) (if_statement "if (local_20[0] == 0) {\n    iVar1 = local_24 + 100;\n    if (-1 < local_24) {\n      iVar1 = local_24 + -0x76c;\n    }\n    bVar3 = iStack_30 == -1;\n    *(int *)(param_9 + 0x14) = iVar1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_8 = *param_8 | 4;\n    bVar3 = iStack_30 == -1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" if (parenthesized_expression "(local_20[0] == 0)" ( (binary_expression "local_20[0] == 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar1 = local_24 + 100;\n    if (-1 < local_24) {\n      iVar1 = local_24 + -0x76c;\n    }\n    bVar3 = iStack_30 == -1;\n    *(int *)(param_9 + 0x14) = iVar1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "iVar1 = local_24 + 100;" (assignment_expression "iVar1 = local_24 + 100" identifier = (binary_expression "local_24 + 100" identifier + number_literal)) ;) (if_statement "if (-1 < local_24) {\n      iVar1 = local_24 + -0x76c;\n    }" if (parenthesized_expression "(-1 < local_24)" ( (binary_expression "-1 < local_24" number_literal < identifier) )) (compound_statement "{\n      iVar1 = local_24 + -0x76c;\n    }" { (expression_statement "iVar1 = local_24 + -0x76c;" (assignment_expression "iVar1 = local_24 + -0x76c" identifier = (binary_expression "local_24 + -0x76c" identifier + number_literal)) ;) })) (expression_statement "bVar3 = iStack_30 == -1;" (assignment_expression "bVar3 = iStack_30 == -1" identifier = (binary_expression "iStack_30 == -1" identifier == number_literal)) ;) (expression_statement "*(int *)(param_9 + 0x14) = iVar1;" (assignment_expression "*(int *)(param_9 + 0x14) = iVar1" (pointer_expression "*(int *)(param_9 + 0x14)" * (cast_expression "(int *)(param_9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_9 + 0x14)" ( (binary_expression "param_9 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar2 = local_34 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_34 != (int *)0x0 && bVar3" identifier = (binary_expression "local_34 != (int *)0x0 && bVar3" (binary_expression "local_34 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_34 == (int *)0x0 || !bVar3)" ( (binary_expression "local_34 == (int *)0x0 || !bVar3" (binary_expression "local_34 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }) (else_clause "else {\n    *param_8 = *param_8 | 4;\n    bVar3 = iStack_30 == -1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" else (compound_statement "{\n    *param_8 = *param_8 | 4;\n    bVar3 = iStack_30 == -1;\n    bVar2 = local_34 != (int *)0x0 && bVar3;\n    if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "*param_8 = *param_8 | 4;" (assignment_expression "*param_8 = *param_8 | 4" (pointer_expression "*param_8" * identifier) = (binary_expression "*param_8 | 4" (pointer_expression "*param_8" * identifier) | number_literal)) ;) (expression_statement "bVar3 = iStack_30 == -1;" (assignment_expression "bVar3 = iStack_30 == -1" identifier = (binary_expression "iStack_30 == -1" identifier == number_literal)) ;) (expression_statement "bVar2 = local_34 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_34 != (int *)0x0 && bVar3" identifier = (binary_expression "local_34 != (int *)0x0 && bVar3" (binary_expression "local_34 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_34 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_34 == (int *)0x0 || !bVar3)" ( (binary_expression "local_34 == (int *)0x0 || !bVar3" (binary_expression "local_34 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uint)local_34[3] <= (uint)local_34[2]) {\n    iVar1 = (**(code **)(*local_34 + 0x24))(local_34);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" if (parenthesized_expression "((uint)local_34[3] <= (uint)local_34[2])" ( (binary_expression "(uint)local_34[3] <= (uint)local_34[2]" (cast_expression "(uint)local_34[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_34[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_34[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    iVar1 = (**(code **)(*local_34 + 0x24))(local_34);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(*local_34 + 0x24))(local_34);" (assignment_expression "iVar1 = (**(code **)(*local_34 + 0x24))(local_34)" identifier = (call_expression "(**(code **)(*local_34 + 0x24))(local_34)" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" ( (pointer_expression "**(code **)(*local_34 + 0x24)" * (pointer_expression "*(code **)(*local_34 + 0x24)" * (cast_expression "(code **)(*local_34 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_34 + 0x24)" ( (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" * identifier) + number_literal) ))))) )) (argument_list "(local_34)" ( identifier )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if (iVar1 == -1) {\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_34 = (int *)0x0;\n      bVar3 = bVar2;\n    }" { (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar3 = bVar2;" (assignment_expression "bVar3 = bVar2" identifier = identifier) ;) })) })) (labeled_statement "LAB_00262862:\n  bVar2 = param_6 == -1;" statement_identifier : (expression_statement "bVar2 = param_6 == -1;" (assignment_expression "bVar2 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;)) (if_statement "if (((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar1 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar2 = iVar1 == -1;\n  }" if (parenthesized_expression "(((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]))" ( (binary_expression "((param_5 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_5[3] <= (uint)param_5[2])" (parenthesized_expression "((param_5 != (int *)0x0) && (bVar2))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) && (parenthesized_expression "(bVar2 = false, (uint)param_5[3] <= (uint)param_5[2])" ( (comma_expression "bVar2 = false, (uint)param_5[3] <= (uint)param_5[2]" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "(uint)param_5[3] <= (uint)param_5[2]" (cast_expression "(uint)param_5[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_5[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar2 = iVar1 == -1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar1 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" identifier = (binary_expression "iVar1 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar3 == bVar2) {\n    *param_8 = *param_8 | 2;\n  }" if (parenthesized_expression "(bVar3 == bVar2)" ( (binary_expression "bVar3 == bVar2" identifier == identifier) )) (compound_statement "{\n    *param_8 = *param_8 | 2;\n  }" { (expression_statement "*param_8 = *param_8 | 2;" (assignment_expression "*param_8 = *param_8 | 2" (pointer_expression "*param_8" * identifier) = (binary_expression "*param_8 | 2" (pointer_expression "*param_8" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = iStack_30;" (assignment_expression "param_1[1] = iStack_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" * (function_declarator "FUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34 [3];" primitive_type (array_declarator "local_34 [3]" identifier [ number_literal ]) ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2627d9;" (assignment_expression "uStack_14 = 0x2627d9" identifier = number_literal) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);" (call_expression "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , identifier , (binary_expression "local_24 + 1" identifier + number_literal) ))) ;) (if_statement "if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" if (parenthesized_expression "(local_24[0] == 0)" ( (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "iVar1 = local_28 + 100;" (assignment_expression "iVar1 = local_28 + 100" identifier = (binary_expression "local_28 + 100" identifier + number_literal)) ;) (if_statement "if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }" if (parenthesized_expression "(-1 < local_28)" ( (binary_expression "-1 < local_28" number_literal < identifier) )) (compound_statement "{\n      iVar1 = local_28 + -0x76c;\n    }" { (expression_statement "iVar1 = local_28 + -0x76c;" (assignment_expression "iVar1 = local_28 + -0x76c" identifier = (binary_expression "local_28 + -0x76c" identifier + number_literal)) ;) })) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "*(int *)(param_8 + 0x14) = iVar1;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar1" (pointer_expression "*(int *)(param_8 + 0x14)" * (cast_expression "(int *)(param_8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x14)" ( (binary_expression "param_8 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" identifier = (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" ( (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }) (else_clause "else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" else (compound_statement "{\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" { (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 4" (pointer_expression "*param_7" * identifier) | number_literal)) ;) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" identifier = (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" if (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" ( (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar3" ! identifier)) )) (goto_statement "goto LAB_00262862;" goto statement_identifier ;)) }))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" if (parenthesized_expression "((uint)local_38[3] <= (uint)local_38[2])" ( (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_38[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar1 = (**(code **)(*local_38 + 0x24))(local_38)" identifier = (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" ( (pointer_expression "**(code **)(*local_38 + 0x24)" * (pointer_expression "*(code **)(*local_38 + 0x24)" * (cast_expression "(code **)(*local_38 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_38 + 0x24)" ( (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" * identifier) + number_literal) ))))) )) (argument_list "(local_38)" ( identifier )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" { (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar3 = bVar2;" (assignment_expression "bVar3 = bVar2" identifier = identifier) ;) })) })) (labeled_statement "LAB_00262862:\n  bVar2 = param_5 == -1;" statement_identifier : (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" identifier = (binary_expression "param_5 == -1" identifier == number_literal)) ;)) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" if (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" ( (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" ( (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) && (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" ( (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_4[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" ( (pointer_expression "**(code **)(*param_4 + 0x24)" * (pointer_expression "*(code **)(*param_4 + 0x24)" * (cast_expression "(code **)(*param_4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x24)" ( (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" identifier = (binary_expression "iVar1 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar3 == bVar2)" ( (binary_expression "bVar3 == bVar2" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ 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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , LIT , LIT , LIT , IDENT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ;) (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 IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (unary_expression ! IDENT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (unary_expression ! IDENT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" (* "*") (function_declarator "FUN_002627d0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" (identifier "FUN_002627d0") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n            undefined4 param_6,uint *param_7,int param_8)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "uint *param_7" (type_identifier "uint") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) () ")")))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int *local_38;\n  int local_34 [3];\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2627d9;\n  local_24[1] = 0;\n  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);\n  if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  bVar3 = false;\n  if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }\nLAB_00262862:\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "int *local_38;" (primitive_type "int") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "int local_34 [3];" (primitive_type "int") (array_declarator "local_34 [3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24 [4];" (primitive_type "int") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2627d9;" (assignment_expression "uStack_14 = 0x2627d9" (identifier "uStack_14") (= "=") (number_literal "0x2627d9")) (; ";")) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" (identifier "local_24") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1);" (call_expression "FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" (identifier "FUN_002624d0") (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,\n               local_24 + 1)" (( "(") (identifier "local_34") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "local_24") (, ",") (number_literal "0") (, ",") (number_literal "9999") (, ",") (number_literal "4") (, ",") (identifier "param_7") (, ",") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1")) () ")"))) (; ";")) (if_statement "if (local_24[0] == 0) {\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" (if "if") (parenthesized_expression "(local_24[0] == 0)" (( "(") (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = local_28 + 100;\n    if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }\n    bVar3 = local_34[0] == -1;\n    *(int *)(param_8 + 0x14) = iVar1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" ({ "{") (expression_statement "iVar1 = local_28 + 100;" (assignment_expression "iVar1 = local_28 + 100" (identifier "iVar1") (= "=") (binary_expression "local_28 + 100" (identifier "local_28") (+ "+") (number_literal "100"))) (; ";")) (if_statement "if (-1 < local_28) {\n      iVar1 = local_28 + -0x76c;\n    }" (if "if") (parenthesized_expression "(-1 < local_28)" (( "(") (binary_expression "-1 < local_28" (number_literal "-1") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n      iVar1 = local_28 + -0x76c;\n    }" ({ "{") (expression_statement "iVar1 = local_28 + -0x76c;" (assignment_expression "iVar1 = local_28 + -0x76c" (identifier "iVar1") (= "=") (binary_expression "local_28 + -0x76c" (identifier "local_28") (+ "+") (number_literal "-0x76c"))) (; ";")) (} "}"))) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" (identifier "bVar3") (= "=") (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(param_8 + 0x14) = iVar1;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar1" (pointer_expression "*(int *)(param_8 + 0x14)" (* "*") (cast_expression "(int *)(param_8 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x14)" (( "(") (binary_expression "param_8 + 0x14" (identifier "param_8") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" (identifier "bVar2") (= "=") (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" (identifier "local_38") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar3"))) (; ";")) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" (if "if") (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" (( "(") (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" (identifier "local_38") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (unary_expression "!bVar3" (! "!") (identifier "bVar3"))) () ")")) (goto_statement "goto LAB_00262862;" (goto "goto") (statement_identifier "LAB_00262862") (; ";"))) (} "}")) (else_clause "else {\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" (else "else") (compound_statement "{\n    *param_7 = *param_7 | 4;\n    bVar3 = local_34[0] == -1;\n    bVar2 = local_38 != (int *)0x0 && bVar3;\n    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 4" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "4"))) (; ";")) (expression_statement "bVar3 = local_34[0] == -1;" (assignment_expression "bVar3 = local_34[0] == -1" (identifier "bVar3") (= "=") (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar2 = local_38 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_38 != (int *)0x0 && bVar3" (identifier "bVar2") (= "=") (binary_expression "local_38 != (int *)0x0 && bVar3" (binary_expression "local_38 != (int *)0x0" (identifier "local_38") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar3"))) (; ";")) (if_statement "if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;" (if "if") (parenthesized_expression "(local_38 == (int *)0x0 || !bVar3)" (( "(") (binary_expression "local_38 == (int *)0x0 || !bVar3" (binary_expression "local_38 == (int *)0x0" (identifier "local_38") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (unary_expression "!bVar3" (! "!") (identifier "bVar3"))) () ")")) (goto_statement "goto LAB_00262862;" (goto "goto") (statement_identifier "LAB_00262862") (; ";"))) (} "}")))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (if_statement "if ((uint)local_38[3] <= (uint)local_38[2]) {\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" (if "if") (parenthesized_expression "((uint)local_38[3] <= (uint)local_38[2])" (( "(") (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_38[3]" (identifier "local_38") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)local_38[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_38[2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);\n    bVar3 = false;\n    if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar1 = (**(code **)(*local_38 + 0x24))(local_38)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_38 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_38 + 0x24)" (* "*") (cast_expression "(code **)(*local_38 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_38 + 0x24)" (( "(") (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" (* "*") (identifier "local_38")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_38)" (( "(") (identifier "local_38") () ")")))) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (if_statement "if (iVar1 == -1) {\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      local_38 = (int *)0x0;\n      bVar3 = bVar2;\n    }" ({ "{") (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" (identifier "local_38") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "bVar3 = bVar2;" (assignment_expression "bVar3 = bVar2" (identifier "bVar3") (= "=") (identifier "bVar2")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00262862:\n  bVar2 = param_5 == -1;" (statement_identifier "LAB_00262862") (: ":") (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" (identifier "bVar2") (= "=") (binary_expression "param_5 == -1" (identifier "param_5") (== "==") (number_literal "-1"))) (; ";"))) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" (if "if") (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" (( "(") (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" (( "(") (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (( "(") (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (, ",") (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)param_4[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_4 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_4 + 0x24)" (* "*") (cast_expression "(code **)(*param_4 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_4 + 0x24)" (( "(") (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" (identifier "bVar2") (= "=") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" (if "if") (parenthesized_expression "(bVar3 == bVar2)" (( "(") (binary_expression "bVar3 == bVar2" (identifier "bVar3") (== "==") (identifier "bVar2")) () ")")) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (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 */
/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::do_get_year(std::istreambuf_iterator<char, std::char_traits<char> >,
   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)
   const */

var_4 *
std::time_get<var_2,std::istreambuf_iterator<var_2,std::var_1<var_2>>>::var_3
          (var_4 *var_5,var_4 param_2,var_4 param_3,var_4 param_4,var_6 *var_7
          ,var_6 var_17,var_4 param_7,var_8 *var_9,var_6 var_13)

{
  int var_16;
  bool var_18;
  bool var_15;
  int *var_14;
  int var_12;
  int var_11;
  int local_20 [3];
  var_4 uStack_14;
  
  uStack_14 = 0x2627d9;
  local_20[0] = 0;
  var_10(&var_14,param_2,param_3,param_4,var_7,var_17,&var_11,0,9999,4,param_7,
                 local_20);
  if (local_20[0] == 0) {
    var_16 = var_11 + 100;
    if (-1 < var_11) {
      var_16 = var_11 + -0x76c;
    }
    var_15 = var_12 == -1;
    *(int *)(var_13 + 0x14) = var_16;
    var_18 = var_14 != (int *)0x0 && var_15;
    if (var_14 == (int *)0x0 || !var_15) goto LAB_00262862;
  }
  else {
    *var_9 = *var_9 | 4;
    var_15 = var_12 == -1;
    var_18 = var_14 != (int *)0x0 && var_15;
    if (var_14 == (int *)0x0 || !var_15) goto LAB_00262862;
  }
  var_15 = false;
  if ((var_8)var_14[3] <= (var_8)var_14[2]) {
    var_16 = (**(type_1 **)(*var_14 + 0x24))(var_14);
    var_15 = false;
    if (var_16 == -1) {
      var_14 = (int *)0x0;
      var_15 = var_18;
    }
  }
LAB_00262862:
  var_18 = var_17 == -1;
  if (((var_7 != (int *)0x0) && (var_18)) && (var_18 = false, (var_8)var_7[3] <= (var_8)var_7[2]))
  {
    var_16 = (**(type_1 **)(*var_7 + 0x24))(var_7);
    var_18 = var_16 == -1;
  }
  if (var_15 == var_18) {
    *var_9 = *var_9 | 2;
  }
  *var_5 = var_14;
  var_5[1] = var_12;
  return var_5;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined4 *
MASKED(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
            undefined4 param_6,uint *param_7,int param_8)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  int *local_38;
  int local_34 [3];
  int local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x2627d9;
  local_24[1] = 0;
  FUN_002624d0(local_34,param_2,param_3,param_4,param_5,param_6,local_24,0,9999,4,param_7,
               local_24 + 1);
  if (local_24[0] == 0) {
    iVar1 = local_28 + 100;
    if (-1 < local_28) {
      iVar1 = local_28 + -0x76c;
    }
    bVar3 = local_34[0] == -1;
    *(int *)(param_8 + 0x14) = iVar1;
    bVar2 = local_38 != (int *)0x0 && bVar3;
    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  else {
    *param_7 = *param_7 | 4;
    bVar3 = local_34[0] == -1;
    bVar2 = local_38 != (int *)0x0 && bVar3;
    if (local_38 == (int *)0x0 || !bVar3) goto LAB_00262862;
  }
  bVar3 = false;
  if ((uint)local_38[3] <= (uint)local_38[2]) {
    iVar1 = (**(code **)(*local_38 + 0x24))(local_38);
    bVar3 = false;
    if (iVar1 == -1) {
      local_38 = (int *)0x0;
      bVar3 = bVar2;
    }
  }
LAB_00262862:
  bVar2 = param_5 == -1;
  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))
  {
    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *param_1 = local_38;
  param_1[1] = local_34[0];
  return param_1;
}

