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

void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_date
               (void)

{
}



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

void FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  undefined4 *unaff_retaddr;
  int *local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x2b80d9;
  iVar1 = FUN_0029ef60(param_7 + 0x1b);
  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,
               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));
  bVar3 = local_24[0] == -1;
  bVar2 = local_28 != (int *)0x0 && bVar3;
  if (bVar2) {
    if ((int *)local_28[2] < (int *)local_28[3]) {
      iVar1 = *(int *)local_28[2];
    }
    else {
      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);
    }
    if (iVar1 == -1) {
      local_28 = (int *)0x0;
    }
    bVar3 = iVar1 == -1 && bVar2;
  }
  bVar2 = param_5 == -1;
  if ((param_4 != (int *)0x0) && (bVar2)) {
    if ((int *)param_4[2] < (int *)param_4[3]) {
      iVar1 = *(int *)param_4[2];
    }
    else {
      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    }
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_28;
  unaff_retaddr[1] = local_24[0];
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x15bf27
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x54]
MOV ESI,dword ptr [ESP + 0x44]
MOV EDI,dword ptr [ESP + 0x48]
LEA EAX,[EBP + 0x6c]
PUSH EAX
CALL 0x0029ef60
LEA EDX,[ESP + 0x18]
ADD ESP,0x8
MOV EAX,dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EBP
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EDI
PUSH ESI
PUSH dword ptr [ESP + 0x5c]
PUSH EDX
CALL 0x002b7210
MOV EDI,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x34]
ADD ESP,0x2c
CMP EDI,-0x1
MOV EBP,ESI
SETZ BL
TEST ESI,ESI
SETNZ DL
AND DL,BL
JNZ 0x002b8190
CMP dword ptr [ESP + 0x44],-0x1
MOV EDX,dword ptr [ESP + 0x40]
SETZ AL
MOV ECX,EAX
TEST EDX,EDX
JZ 0x002b8153
TEST AL,AL
JNZ 0x002b8178
CMP BL,CL
JNZ 0x002b815e
MOV EAX,dword ptr [ESP + 0x4c]
OR dword ptr [EAX],0x2
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX],EBP
MOV dword ptr [EAX + 0x4],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [EDX + 0x8]
CMP EAX,dword ptr [EDX + 0xc]
JNC 0x002b81b0
MOV EAX,dword ptr [EAX]
CMP EAX,-0x1
SETZ CL
JMP 0x002b8153
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,dword ptr [ESI + 0xc]
JNC 0x002b81c8
MOV EAX,dword ptr [EAX]
CMP EAX,-0x1
MOV EBX,0x0
MOV EAX,0x0
CMOVZ EBX,EDX
CMOVZ EBP,EAX
JMP 0x002b813d
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH dword ptr [ESP + 0x4c]
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
JMP 0x002b8182
MOV byte ptr [ESP + 0x7],DL
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x17]
ADD ESP,0x10
JMP 0x002b819a
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}\n\n" comment (function_definition "void FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" primitive_type (function_declarator "FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" 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,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier 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 "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * 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 = 0x2b80d9;" (assignment_expression "uStack_14 = 0x2b80d9" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0029ef60(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_0029ef60(param_7 + 0x1b)" identifier = (call_expression "FUN_0029ef60(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) )))) ;) (expression_statement "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));" (call_expression "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 8) + 8)" ( (binary_expression "*(int *)(iVar1 + 8) + 8" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" identifier = (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" identifier = (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" { (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" if (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" ( (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_28[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *(int *)local_28[2];\n    }" { (expression_statement "iVar1 = *(int *)local_28[2];" (assignment_expression "iVar1 = *(int *)local_28[2]" identifier = (pointer_expression "*(int *)local_28[2]" * (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" else (compound_statement "{\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" { (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" { (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" identifier = (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" identifier == number_literal) && 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)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" if (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 ))) )) (compound_statement "{\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" { (if_statement "if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" if (parenthesized_expression "((int *)param_4[2] < (int *)param_4[3])" ( (binary_expression "(int *)param_4[2] < (int *)param_4[3]" (cast_expression "(int *)param_4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_4[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *(int *)param_4[2];\n    }" { (expression_statement "iVar1 = *(int *)param_4[2];" (assignment_expression "iVar1 = *(int *)param_4[2]" identifier = (pointer_expression "*(int *)param_4[2]" * (cast_expression "(int *)param_4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" else (compound_statement "{\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\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 "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::do_get_date(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,\n   std::_Ios_Iostate&, tm*) const */\n\nvoid std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_date\n               (void)\n\n{\n}\n\n" comment comment (ERROR "void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_date\n               (void)" primitive_type (ERROR "std::time_get<" identifier : : identifier <) identifier , (ERROR "std::istreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::" identifier : : identifier < identifier >> > : :) (function_declarator "do_get_date\n               (void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}\n\n" (function_definition "void FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" primitive_type (function_declarator "FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" 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,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier 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 "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * 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 = 0x2b80d9;" (assignment_expression "uStack_14 = 0x2b80d9" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0029ef60(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_0029ef60(param_7 + 0x1b)" identifier = (call_expression "FUN_0029ef60(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) )))) ;) (expression_statement "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));" (call_expression "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 8) + 8)" ( (binary_expression "*(int *)(iVar1 + 8) + 8" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" identifier = (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" identifier = (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" { (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" if (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" ( (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_28[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *(int *)local_28[2];\n    }" { (expression_statement "iVar1 = *(int *)local_28[2];" (assignment_expression "iVar1 = *(int *)local_28[2]" identifier = (pointer_expression "*(int *)local_28[2]" * (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" else (compound_statement "{\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" { (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" { (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" identifier = (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" identifier == number_literal) && 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)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" if (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 ))) )) (compound_statement "{\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" { (if_statement "if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" if (parenthesized_expression "((int *)param_4[2] < (int *)param_4[3])" ( (binary_expression "(int *)param_4[2] < (int *)param_4[3]" (cast_expression "(int *)param_4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_4[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = *(int *)param_4[2];\n    }" { (expression_statement "iVar1 = *(int *)param_4[2];" (assignment_expression "iVar1 = *(int *)param_4[2]" identifier = (pointer_expression "*(int *)param_4[2]" * (cast_expression "(int *)param_4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" else (compound_statement "{\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\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 "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (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 ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (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 )))) ;) }))) (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 = (binary_expression (binary_expression IDENT == LIT) && IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (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 ;) })))
(function_definition "void FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002b80d0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" (identifier "FUN_002b80d0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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 "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b80d9;\n  iVar1 = FUN_0029ef60(param_7 + 0x1b);\n  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if ((param_4 != (int *)0x0) && (bVar2)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\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 "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (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 = 0x2b80d9;" (assignment_expression "uStack_14 = 0x2b80d9" (identifier "uStack_14") (= "=") (number_literal "0x2b80d9")) (; ";")) (expression_statement "iVar1 = FUN_0029ef60(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_0029ef60(param_7 + 0x1b)" (identifier "iVar1") (= "=") (call_expression "FUN_0029ef60(param_7 + 0x1b)" (identifier "FUN_0029ef60") (argument_list "(param_7 + 0x1b)" (( "(") (binary_expression "param_7 + 0x1b" (identifier "param_7") (+ "+") (number_literal "0x1b")) () ")")))) (; ";")) (expression_statement "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));" (call_expression "FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" (identifier "FUN_002b7210") (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 8))" (( "(") (identifier "local_24") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (identifier "param_9") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 8) + 8)" (( "(") (binary_expression "*(int *)(iVar1 + 8) + 8" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" (identifier "bVar3") (= "=") (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" (identifier "bVar2") (= "=") (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar3"))) (; ";")) (if_statement "if (bVar2) {\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" ({ "{") (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar1 = *(int *)local_28[2];\n    }\n    else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" (if "if") (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" (( "(") (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)local_28[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[3]" (identifier "local_28") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar1 = *(int *)local_28[2];\n    }" ({ "{") (expression_statement "iVar1 = *(int *)local_28[2];" (assignment_expression "iVar1 = *(int *)local_28[2]" (identifier "iVar1") (= "=") (pointer_expression "*(int *)local_28[2]" (* "*") (cast_expression "(int *)local_28[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" (else "else") (compound_statement "{\n      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" ({ "{") (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_28 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_28 + 0x24)" (* "*") (cast_expression "(code **)(*local_28 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_28 + 0x24)" (( "(") (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" ({ "{") (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" (identifier "local_28") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" (identifier "bVar3") (= "=") (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) (&& "&&") (identifier "bVar2"))) (; ";")) (} "}"))) (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)) {\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" (if "if") (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") () ")"))) () ")")) (compound_statement "{\n    if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }\n    bVar2 = iVar1 == -1;\n  }" ({ "{") (if_statement "if ((int *)param_4[2] < (int *)param_4[3]) {\n      iVar1 = *(int *)param_4[2];\n    }\n    else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" (if "if") (parenthesized_expression "((int *)param_4[2] < (int *)param_4[3])" (( "(") (binary_expression "(int *)param_4[2] < (int *)param_4[3]" (cast_expression "(int *)param_4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)param_4[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar1 = *(int *)param_4[2];\n    }" ({ "{") (expression_statement "iVar1 = *(int *)param_4[2];" (assignment_expression "iVar1 = *(int *)param_4[2]" (identifier "iVar1") (= "=") (pointer_expression "*(int *)param_4[2]" (* "*") (cast_expression "(int *)param_4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    }" (else "else") (compound_statement "{\n      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\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 "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_date
               (void)

{
}


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

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

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

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  undefined4 *unaff_retaddr;
  int *local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x2b80d9;
  iVar1 = FUN_0029ef60(param_7 + 0x1b);
  FUN_002b7210(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,
               *(undefined4 *)(*(int *)(iVar1 + 8) + 8));
  bVar3 = local_24[0] == -1;
  bVar2 = local_28 != (int *)0x0 && bVar3;
  if (bVar2) {
    if ((int *)local_28[2] < (int *)local_28[3]) {
      iVar1 = *(int *)local_28[2];
    }
    else {
      iVar1 = (**(code **)(*local_28 + 0x24))(local_28);
    }
    if (iVar1 == -1) {
      local_28 = (int *)0x0;
    }
    bVar3 = iVar1 == -1 && bVar2;
  }
  bVar2 = param_5 == -1;
  if ((param_4 != (int *)0x0) && (bVar2)) {
    if ((int *)param_4[2] < (int *)param_4[3]) {
      iVar1 = *(int *)param_4[2];
    }
    else {
      iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    }
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_28;
  unaff_retaddr[1] = local_24[0];
  return;
}

