
/* 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,
          undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8,int param_9)

{
  uint *puVar1;
  char cVar2;
  int iVar3;
  undefined4 local_24;
  undefined4 uStack_20;
  int local_14;
  int local_10;
  
  puVar1 = param_8;
  local_10 = 0;
  _M_extract_num(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,
                 &local_10);
  param_3 = local_24;
  param_4 = uStack_20;
  if (local_10 == 0) {
    iVar3 = local_14 + -0x76c;
    if (local_14 < 0) {
      iVar3 = local_14 + 100;
    }
    *(int *)(param_9 + 0x14) = iVar3;
  }
  else {
    *puVar1 = *puVar1 | 4;
  }
  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal
                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,
                     (istreambuf_iterator *)&param_5);
  if (cVar2 != '\0') {
    *puVar1 = *puVar1 | 2;
  }
  *param_1 = param_3;
  param_1[1] = param_4;
  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_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)

{
  uint *puVar1;
  char cVar2;
  uint uVar3;
  undefined4 local_28;
  undefined4 local_24 [3];
  int local_18;
  int local_14 [2];
  
  puVar1 = param_8;
  local_14[1] = 0;
  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,
               local_14 + 1);
  param_2 = local_28;
  param_3 = local_24[0];
  if (local_14[0] == 0) {
    uVar3 = local_18 - 0x76c;
    if (local_18 < 0) {
      uVar3 = local_18 + 100;
    }
    param_8[5] = uVar3;
  }
  else {
    *puVar1 = *puVar1 | 4;
  }
  cVar2 = FUN_0019a960(&param_2,&param_4);
  if (cVar2 != '\0') {
    *puVar1 = *puVar1 | 2;
  }
  *param_1 = param_2;
  param_1[1] = param_3;
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x160f68
SUB ESP,0x20
LEA EDX,[ESP + 0x1c]
LEA EAX,[ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x1c],0x0
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH 0x4
PUSH 0x270f
PUSH 0x0
LEA EDX,[ESP + 0x2c]
PUSH EDX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EAX
CALL 0x00195ad0
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x64],EAX
MOV dword ptr [ESP + 0x68],EDX
ADD ESP,0x2c
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JNZ 0x001a1150
MOV EDX,dword ptr [ESP + 0x18]
LEA ECX,[EDX + 0x64]
LEA EAX,[EDX + 0xfffff894]
TEST EDX,EDX
MOV EDX,dword ptr [ESP + 0x50]
CMOVS EAX,ECX
MOV dword ptr [EDX + 0x14],EAX
SUB ESP,0x8
LEA EAX,[ESP + 0x48]
PUSH EAX
LEA EAX,[ESP + 0x44]
PUSH EAX
CALL 0x0019a960
ADD ESP,0x10
TEST AL,AL
JZ 0x001a1136
OR dword ptr [EDI],0x2
MOV EAX,dword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESI],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x4],EDX
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET 0x4
OR dword ptr [EDI],0x4
JMP 0x001a111a
(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_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)\n\n{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}\n\n" comment comment (function_definition "undefined4 *\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)\n\n{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" * (function_declarator "FUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) )))) (compound_statement "{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24 [3];" type_identifier (array_declarator "local_24 [3]" identifier [ number_literal ]) ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14 [2];" primitive_type (array_declarator "local_14 [2]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = param_8;" (assignment_expression "puVar1 = param_8" identifier = identifier) ;) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);" (call_expression "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , identifier , (binary_expression "local_14 + 1" identifier + number_literal) ))) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (if_statement "if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }" if (parenthesized_expression "(local_14[0] == 0)" ( (binary_expression "local_14[0] == 0" (subscript_expression "local_14[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }" { (expression_statement "uVar3 = local_18 - 0x76c;" (assignment_expression "uVar3 = local_18 - 0x76c" identifier = (binary_expression "local_18 - 0x76c" identifier - number_literal)) ;) (if_statement "if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }" if (parenthesized_expression "(local_18 < 0)" ( (binary_expression "local_18 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar3 = local_18 + 100;\n    }" { (expression_statement "uVar3 = local_18 + 100;" (assignment_expression "uVar3 = local_18 + 100" identifier = (binary_expression "local_18 + 100" identifier + number_literal)) ;) })) (expression_statement "param_8[5] = uVar3;" (assignment_expression "param_8[5] = uVar3" (subscript_expression "param_8[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *puVar1 = *puVar1 | 4;\n  }" else (compound_statement "{\n    *puVar1 = *puVar1 | 4;\n  }" { (expression_statement "*puVar1 = *puVar1 | 4;" (assignment_expression "*puVar1 = *puVar1 | 4" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 4" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) }))) (expression_statement "cVar2 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar2 = FUN_0019a960(&param_2,&param_4)" identifier = (call_expression "FUN_0019a960(&param_2,&param_4)" identifier (argument_list "(&param_2,&param_4)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_4" & identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar1 = *puVar1 | 2;\n  }" { (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (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,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8,int param_9)\n\n{\n  uint *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 local_24;\n  undefined4 uStack_20;\n  int local_14;\n  int local_10;\n  \n  puVar1 = param_8;\n  local_10 = 0;\n  _M_extract_num(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,\n                 &local_10);\n  param_3 = local_24;\n  param_4 = uStack_20;\n  if (local_10 == 0) {\n    iVar3 = local_14 + -0x76c;\n    if (local_14 < 0) {\n      iVar3 = local_14 + 100;\n    }\n    *(int *)(param_9 + 0x14) = iVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\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,\n          undefined4 param_5,undefined4 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,\n          undefined4 param_5,undefined4 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,\n          undefined4 param_5,undefined4 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,\n          undefined4 param_5,undefined4 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,\n          undefined4 param_5,undefined4 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,\n          undefined4 param_5,undefined4 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) , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , identifier (ERROR "param_7" identifier) , (binary_expression "uint *param_8" identifier * identifier) , (ERROR "int" identifier) identifier ))))) ;)) (compound_statement "{\n  uint *puVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 local_24;\n  undefined4 uStack_20;\n  int local_14;\n  int local_10;\n  \n  puVar1 = param_8;\n  local_10 = 0;\n  _M_extract_num(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,\n                 &local_10);\n  param_3 = local_24;\n  param_4 = uStack_20;\n  if (local_10 == 0) {\n    iVar3 = local_14 + -0x76c;\n    if (local_14 < 0) {\n      iVar3 = local_14 + 100;\n    }\n    *(int *)(param_9 + 0x14) = iVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return param_1;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "puVar1 = param_8;" (assignment_expression "puVar1 = param_8" identifier = identifier) ;) (expression_statement "local_10 = 0;" (assignment_expression "local_10 = 0" identifier = number_literal) ;) (expression_statement "_M_extract_num(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,\n                 &local_10);" (call_expression "_M_extract_num(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,\n                 &local_10)" identifier (argument_list "(&local_24,param_2,param_3,param_4,param_5,param_6,&local_14,0,9999,4,param_7,\n                 &local_10)" ( (pointer_expression "&local_24" & identifier) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_14" & identifier) , number_literal , number_literal , number_literal , identifier , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "param_3 = local_24;" (assignment_expression "param_3 = local_24" identifier = identifier) ;) (expression_statement "param_4 = uStack_20;" (assignment_expression "param_4 = uStack_20" identifier = identifier) ;) (if_statement "if (local_10 == 0) {\n    iVar3 = local_14 + -0x76c;\n    if (local_14 < 0) {\n      iVar3 = local_14 + 100;\n    }\n    *(int *)(param_9 + 0x14) = iVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }" if (parenthesized_expression "(local_10 == 0)" ( (binary_expression "local_10 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = local_14 + -0x76c;\n    if (local_14 < 0) {\n      iVar3 = local_14 + 100;\n    }\n    *(int *)(param_9 + 0x14) = iVar3;\n  }" { (expression_statement "iVar3 = local_14 + -0x76c;" (assignment_expression "iVar3 = local_14 + -0x76c" identifier = (binary_expression "local_14 + -0x76c" identifier + number_literal)) ;) (if_statement "if (local_14 < 0) {\n      iVar3 = local_14 + 100;\n    }" if (parenthesized_expression "(local_14 < 0)" ( (binary_expression "local_14 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar3 = local_14 + 100;\n    }" { (expression_statement "iVar3 = local_14 + 100;" (assignment_expression "iVar3 = local_14 + 100" identifier = (binary_expression "local_14 + 100" identifier + number_literal)) ;) })) (expression_statement "*(int *)(param_9 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_9 + 0x14) = iVar3" (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) ;) }) (else_clause "else {\n    *puVar1 = *puVar1 | 4;\n  }" else (compound_statement "{\n    *puVar1 = *puVar1 | 4;\n  }" { (expression_statement "*puVar1 = *puVar1 | 4;" (assignment_expression "*puVar1 = *puVar1 | 4" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 4" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) }))) (ERROR "cVar2 = istreambuf_iterator<char,std::" (comma_expression "cVar2 = istreambuf_iterator<char,std" (assignment_expression "cVar2 = istreambuf_iterator<char" identifier = (binary_expression "istreambuf_iterator<char" identifier < identifier)) , identifier) : :) (expression_statement "char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);" (binary_expression "char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier < (binary_expression "char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier >> (ERROR "::" : :) (call_expression "equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier (argument_list "((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" ( (binary_expression "(istreambuf_iterator<char,std::char_traits<char>> *)&param_3" (parenthesized_expression "(istreambuf_iterator<char,std::char_traits<char>> *)" ( (ERROR "istreambuf_iterator<char,std::" (comma_expression "istreambuf_iterator<char,std" (binary_expression "istreambuf_iterator<char" identifier < identifier) , identifier) : :) (binary_expression "char_traits<char>> *" identifier < (binary_expression "char>> *" identifier >> (pointer_expression "*" * identifier))) )) & identifier) , (cast_expression "(istreambuf_iterator *)&param_5" ( (type_descriptor "istreambuf_iterator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&param_5" & identifier)) ))))) ;) (if_statement "if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar1 = *puVar1 | 2;\n  }" { (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)\n\n{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)\n\n{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" * (function_declarator "FUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) )))) (compound_statement "{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24 [3];" type_identifier (array_declarator "local_24 [3]" identifier [ number_literal ]) ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14 [2];" primitive_type (array_declarator "local_14 [2]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = param_8;" (assignment_expression "puVar1 = param_8" identifier = identifier) ;) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);" (call_expression "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , identifier , (binary_expression "local_14 + 1" identifier + number_literal) ))) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (if_statement "if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }" if (parenthesized_expression "(local_14[0] == 0)" ( (binary_expression "local_14[0] == 0" (subscript_expression "local_14[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }" { (expression_statement "uVar3 = local_18 - 0x76c;" (assignment_expression "uVar3 = local_18 - 0x76c" identifier = (binary_expression "local_18 - 0x76c" identifier - number_literal)) ;) (if_statement "if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }" if (parenthesized_expression "(local_18 < 0)" ( (binary_expression "local_18 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar3 = local_18 + 100;\n    }" { (expression_statement "uVar3 = local_18 + 100;" (assignment_expression "uVar3 = local_18 + 100" identifier = (binary_expression "local_18 + 100" identifier + number_literal)) ;) })) (expression_statement "param_8[5] = uVar3;" (assignment_expression "param_8[5] = uVar3" (subscript_expression "param_8[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *puVar1 = *puVar1 | 4;\n  }" else (compound_statement "{\n    *puVar1 = *puVar1 | 4;\n  }" { (expression_statement "*puVar1 = *puVar1 | 4;" (assignment_expression "*puVar1 = *puVar1 | 4" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 4" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) }))) (expression_statement "cVar2 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar2 = FUN_0019a960(&param_2,&param_4)" identifier = (call_expression "FUN_0019a960(&param_2,&param_4)" identifier (argument_list "(&param_2,&param_4)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_4" & identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar1 = *puVar1 | 2;\n  }" { (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_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 IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (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 ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)\n\n{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" (* "*") (function_declarator "FUN_001a1090(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)" (identifier "FUN_001a1090") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *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 "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "uint *param_8" (type_identifier "uint") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")")))) (compound_statement "{\n  uint *puVar1;\n  char cVar2;\n  uint uVar3;\n  undefined4 local_28;\n  undefined4 local_24 [3];\n  int local_18;\n  int local_14 [2];\n  \n  puVar1 = param_8;\n  local_14[1] = 0;\n  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);\n  param_2 = local_28;\n  param_3 = local_24[0];\n  if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }\n  cVar2 = FUN_0019a960(&param_2,&param_4);\n  if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24 [3];" (type_identifier "undefined4") (array_declarator "local_24 [3]" (identifier "local_24") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14 [2];" (primitive_type "int") (array_declarator "local_14 [2]" (identifier "local_14") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "puVar1 = param_8;" (assignment_expression "puVar1 = param_8" (identifier "puVar1") (= "=") (identifier "param_8")) (; ";")) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" (identifier "local_14") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1);" (call_expression "FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" (identifier "FUN_00195ad0") (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,\n               local_14 + 1)" (( "(") (identifier "local_24") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "local_14") (, ",") (number_literal "0") (, ",") (number_literal "9999") (, ",") (number_literal "4") (, ",") (identifier "param_7") (, ",") (binary_expression "local_14 + 1" (identifier "local_14") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" (identifier "param_2") (= "=") (identifier "local_28")) (; ";")) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" (identifier "param_3") (= "=") (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (local_14[0] == 0) {\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }\n  else {\n    *puVar1 = *puVar1 | 4;\n  }" (if "if") (parenthesized_expression "(local_14[0] == 0)" (( "(") (binary_expression "local_14[0] == 0" (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = local_18 - 0x76c;\n    if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }\n    param_8[5] = uVar3;\n  }" ({ "{") (expression_statement "uVar3 = local_18 - 0x76c;" (assignment_expression "uVar3 = local_18 - 0x76c" (identifier "uVar3") (= "=") (binary_expression "local_18 - 0x76c" (identifier "local_18") (- "-") (number_literal "0x76c"))) (; ";")) (if_statement "if (local_18 < 0) {\n      uVar3 = local_18 + 100;\n    }" (if "if") (parenthesized_expression "(local_18 < 0)" (( "(") (binary_expression "local_18 < 0" (identifier "local_18") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = local_18 + 100;\n    }" ({ "{") (expression_statement "uVar3 = local_18 + 100;" (assignment_expression "uVar3 = local_18 + 100" (identifier "uVar3") (= "=") (binary_expression "local_18 + 100" (identifier "local_18") (+ "+") (number_literal "100"))) (; ";")) (} "}"))) (expression_statement "param_8[5] = uVar3;" (assignment_expression "param_8[5] = uVar3" (subscript_expression "param_8[5]" (identifier "param_8") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n    *puVar1 = *puVar1 | 4;\n  }" (else "else") (compound_statement "{\n    *puVar1 = *puVar1 | 4;\n  }" ({ "{") (expression_statement "*puVar1 = *puVar1 | 4;" (assignment_expression "*puVar1 = *puVar1 | 4" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 4" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "4"))) (; ";")) (} "}")))) (expression_statement "cVar2 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar2 = FUN_0019a960(&param_2,&param_4)" (identifier "cVar2") (= "=") (call_expression "FUN_0019a960(&param_2,&param_4)" (identifier "FUN_0019a960") (argument_list "(&param_2,&param_4)" (( "(") (pointer_expression "&param_2" (& "&") (identifier "param_2")) (, ",") (pointer_expression "&param_4" (& "&") (identifier "param_4")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n    *puVar1 = *puVar1 | 2;\n  }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *puVar1 = *puVar1 | 2;\n  }" ({ "{") (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (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::type_1<var_2,std::var_1<var_2>>>::var_3
          (var_4 *var_5,var_4 param_2,var_4 var_13,var_4 param_4,
          var_4 param_5,var_4 param_6,var_4 param_7,var_6 *var_7,int var_11)

{
  var_6 *puVar1;
  char var_14;
  int iVar3;
  var_4 local_24;
  var_4 uStack_20;
  int var_10;
  int var_9;
  
  puVar1 = var_7;
  var_9 = 0;
  var_8(&local_24,param_2,var_13,param_4,param_5,param_6,&var_10,0,9999,4,param_7,
                 &var_9);
  var_13 = local_24;
  param_4 = uStack_20;
  if (var_9 == 0) {
    iVar3 = var_10 + -0x76c;
    if (var_10 < 0) {
      iVar3 = var_10 + 100;
    }
    *(int *)(var_11 + 0x14) = iVar3;
  }
  else {
    *puVar1 = *puVar1 | 4;
  }
  var_14 = type_1<var_2,std::var_1<var_2>>::var_12
                    ((type_1<var_2,std::var_1<var_2>> *)&var_13,
                     (type_1 *)&param_5);
  if (var_14 != '\0') {
    *puVar1 = *puVar1 | 2;
  }
  *var_5 = var_13;
  var_5[1] = param_4;
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) 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: (identifier))) (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,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7,uint *param_8)

{
  uint *puVar1;
  char cVar2;
  uint uVar3;
  undefined4 local_28;
  undefined4 local_24 [3];
  int local_18;
  int local_14 [2];
  
  puVar1 = param_8;
  local_14[1] = 0;
  FUN_00195ad0(local_24,param_2,param_3,param_4,param_5,param_6,local_14,0,9999,4,param_7,
               local_14 + 1);
  param_2 = local_28;
  param_3 = local_24[0];
  if (local_14[0] == 0) {
    uVar3 = local_18 - 0x76c;
    if (local_18 < 0) {
      uVar3 = local_18 + 100;
    }
    param_8[5] = uVar3;
  }
  else {
    *puVar1 = *puVar1 | 4;
  }
  cVar2 = FUN_0019a960(&param_2,&param_4);
  if (cVar2 != '\0') {
    *puVar1 = *puVar1 | 2;
  }
  *param_1 = param_2;
  param_1[1] = param_3;
  return param_1;
}

