
/* 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 */

undefined1  [16]
std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year
          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)

{
  undefined1 auVar1 [16];
  char cVar2;
  int iVar3;
  undefined8 local_38;
  undefined8 local_30;
  undefined1 local_28 [12];
  undefined4 uStack_1c;
  int local_10;
  int local_c;
  
  local_28._8_4_ = (undefined4)param_3;
  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);
  local_c = 0;
  local_38 = param_4;
  local_30 = param_5;
  local_28._0_8_ = param_2;
  local_28 = _M_extract_num();
  if (local_c == 0) {
    iVar3 = local_10 + -0x76c;
    if (local_10 < 0) {
      iVar3 = local_10 + 100;
    }
    *(int *)(param_8 + 0x14) = iVar3;
  }
  else {
    *param_7 = *param_7 | 4;
  }
  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal
                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,
                     (istreambuf_iterator *)&local_38);
  if (cVar2 != '\0') {
    *param_7 = *param_7 | 2;
  }
  auVar1._12_4_ = uStack_1c;
  auVar1._0_12_ = local_28;
  return auVar1;
}



undefined1  [16]
FUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)

{
  undefined1 auVar1 [16];
  char cVar2;
  int iVar3;
  undefined8 local_38;
  undefined8 local_30;
  undefined1 local_28 [12];
  undefined4 uStack_1c;
  int local_10;
  int local_c;
  
  local_28._8_4_ = (undefined4)param_3;
  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);
  local_c = 0;
  local_38 = param_4;
  local_30 = param_5;
  local_28._0_8_ = param_2;
  local_28 = FUN_004b0030();
  if (local_c == 0) {
    iVar3 = local_10 + -0x76c;
    if (local_10 < 0) {
      iVar3 = local_10 + 100;
    }
    *(int *)(param_8 + 0x14) = iVar3;
  }
  else {
    *param_7 = *param_7 | 4;
  }
  cVar2 = FUN_004b4980(local_28,&local_38);
  if (cVar2 != '\0') {
    *param_7 = *param_7 | 2;
  }
  auVar1._12_4_ = uStack_1c;
  auVar1._0_12_ = local_28;
  return auVar1;
}


PUSH RBX
SUB RSP,0x48
LEA RAX,[RSP + 0x44]
MOV qword ptr [RSP + 0x28],RSI
MOV RBX,qword ptr [RSP + 0x58]
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x18],RCX
MOV qword ptr [RSP + 0x20],R8
MOV dword ptr [RSP + 0x44],0x0
PUSH RAX
PUSH R9
PUSH 0x4
PUSH 0x270f
PUSH 0x0
LEA R9,[RSP + 0x68]
CALL 0x004b0030
MOV qword ptr [RSP + 0x30],RAX
MOV qword ptr [RSP + 0x38],RDX
MOV qword ptr [RSP + 0x50],RAX
MOV EAX,dword ptr [RSP + 0x38]
MOV dword ptr [RSP + 0x58],EAX
ADD RSP,0x30
MOV EAX,dword ptr [RSP + 0x3c]
TEST EAX,EAX
JNZ 0x004bb368
MOV EDX,dword ptr [RSP + 0x38]
LEA ECX,[RDX + 0x64]
LEA EAX,[RDX + -0x76c]
TEST EDX,EDX
MOV RDX,qword ptr [RSP + 0x58]
CMOVS EAX,ECX
MOV dword ptr [RDX + 0x14],EAX
LEA RSI,[RSP + 0x10]
LEA RDI,[RSP + 0x20]
CALL 0x004b4980
TEST AL,AL
JZ 0x004bb354
OR dword ptr [RBX],0x2
MOV RAX,qword ptr [RSP + 0x20]
MOV RDX,qword ptr [RSP + 0x28]
ADD RSP,0x40
POP RBX
RET
OR dword ptr [RBX],0x4
JMP 0x004bb33e
(translation_unit "undefined1  [16]\nFUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];\n  char cVar2;\n  int iVar3;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined1 local_28 [12];\n  undefined4 uStack_1c;\n  int local_10;\n  int local_c;\n  \n  local_28._8_4_ = (undefined4)param_3;\n  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);\n  local_c = 0;\n  local_38 = param_4;\n  local_30 = param_5;\n  local_28._0_8_ = param_2;\n  local_28 = FUN_004b0030();\n  if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }\n  cVar2 = FUN_004b4980(local_28,&local_38);\n  if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }\n  auVar1._12_4_ = uStack_1c;\n  auVar1._0_12_ = local_28;\n  return auVar1;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];" (macro_type_specifier "FUN_004bb2c0(undefined8" identifier ( (type_descriptor "undefined8" type_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) , (ERROR "uint" identifier) (pointer_declarator "*param_7" * identifier) , (ERROR "long param_8)\n\n{\n  undefined1" identifier identifier ) { identifier) (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined1 local_28 [12];" type_identifier (array_declarator "local_28 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_1c;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_28._8_4_ = (undefined4)param_3;" (assignment_expression "local_28._8_4_ = (undefined4)param_3" (field_expression "local_28._8_4_" identifier . field_identifier) = (cast_expression "(undefined4)param_3" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uStack_1c = (undefined4)((ulong)param_3 >> 0x20);" (assignment_expression "uStack_1c = (undefined4)((ulong)param_3 >> 0x20)" identifier = (call_expression "(undefined4)((ulong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulong)param_3 >> 0x20)" ( (binary_expression "(ulong)param_3 >> 0x20" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_c = 0;" (assignment_expression "local_c = 0" identifier = number_literal) ;) (expression_statement "local_38 = param_4;" (assignment_expression "local_38 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_28._0_8_ = param_2;" (assignment_expression "local_28._0_8_ = param_2" (field_expression "local_28._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "local_28 = FUN_004b0030();" (assignment_expression "local_28 = FUN_004b0030()" identifier = (call_expression "FUN_004b0030()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }" if (parenthesized_expression "(local_c == 0)" ( (binary_expression "local_c == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }" { (expression_statement "iVar3 = local_10 + -0x76c;" (assignment_expression "iVar3 = local_10 + -0x76c" identifier = (binary_expression "local_10 + -0x76c" identifier + number_literal)) ;) (if_statement "if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }" if (parenthesized_expression "(local_10 < 0)" ( (binary_expression "local_10 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar3 = local_10 + 100;\n    }" { (expression_statement "iVar3 = local_10 + 100;" (assignment_expression "iVar3 = local_10 + 100" identifier = (binary_expression "local_10 + 100" identifier + number_literal)) ;) })) (expression_statement "*(int *)(param_8 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar3" (pointer_expression "*(int *)(param_8 + 0x14)" * (cast_expression "(int *)(param_8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x14)" ( (binary_expression "param_8 + 0x14" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *param_7 = *param_7 | 4;\n  }" else (compound_statement "{\n    *param_7 = *param_7 | 4;\n  }" { (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 4" (pointer_expression "*param_7" * identifier) | number_literal)) ;) }))) (expression_statement "cVar2 = FUN_004b4980(local_28,&local_38);" (assignment_expression "cVar2 = FUN_004b4980(local_28,&local_38)" identifier = (call_expression "FUN_004b4980(local_28,&local_38)" identifier (argument_list "(local_28,&local_38)" ( identifier , (pointer_expression "&local_38" & identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (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 "auVar1._12_4_ = uStack_1c;" (assignment_expression "auVar1._12_4_ = uStack_1c" (field_expression "auVar1._12_4_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar1._0_12_ = local_28;" (assignment_expression "auVar1._0_12_ = local_28" (field_expression "auVar1._0_12_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "/* 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\nundefined1  [16]\nstd::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];\n  char cVar2;\n  int iVar3;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined1 local_28 [12];\n  undefined4 uStack_1c;\n  int local_10;\n  int local_c;\n  \n  local_28._8_4_ = (undefined4)param_3;\n  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);\n  local_c = 0;\n  local_38 = param_4;\n  local_30 = param_5;\n  local_28._0_8_ = param_2;\n  local_28 = _M_extract_num();\n  if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }\n  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38);\n  if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }\n  auVar1._12_4_ = uStack_1c;\n  auVar1._0_12_ = local_28;\n  return auVar1;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (labeled_statement "std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" statement_identifier (ERROR "::time_get<char,std::istreambuf_iterator<char,std:" : : (comma_expression "time_get<char,std" (binary_expression "time_get<char" identifier < identifier) , identifier) : : (comma_expression "istreambuf_iterator<char,std" (binary_expression "istreambuf_iterator<char" identifier < identifier) , identifier) :) : (expression_statement "char_traits<char>>>::do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" (binary_expression "char_traits<char>>>::do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" identifier < (binary_expression "char>>>::do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" identifier >> (ERROR ">::" > : :) (call_expression "do_get_year\n          (undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" identifier (argument_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n          undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)" ( identifier (ERROR "param_1" 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) , (binary_expression "uint *param_7" identifier * identifier) , (ERROR "long" identifier) identifier ))))) ;)) (compound_statement "{\n  undefined1 auVar1 [16];\n  char cVar2;\n  int iVar3;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined1 local_28 [12];\n  undefined4 uStack_1c;\n  int local_10;\n  int local_c;\n  \n  local_28._8_4_ = (undefined4)param_3;\n  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);\n  local_c = 0;\n  local_38 = param_4;\n  local_30 = param_5;\n  local_28._0_8_ = param_2;\n  local_28 = _M_extract_num();\n  if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }\n  cVar2 = istreambuf_iterator<char,std::char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38);\n  if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }\n  auVar1._12_4_ = uStack_1c;\n  auVar1._0_12_ = local_28;\n  return auVar1;\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined1 local_28 [12];" type_identifier (array_declarator "local_28 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_1c;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_28._8_4_ = (undefined4)param_3;" (assignment_expression "local_28._8_4_ = (undefined4)param_3" (field_expression "local_28._8_4_" identifier . field_identifier) = (cast_expression "(undefined4)param_3" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uStack_1c = (undefined4)((ulong)param_3 >> 0x20);" (assignment_expression "uStack_1c = (undefined4)((ulong)param_3 >> 0x20)" identifier = (call_expression "(undefined4)((ulong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulong)param_3 >> 0x20)" ( (binary_expression "(ulong)param_3 >> 0x20" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_c = 0;" (assignment_expression "local_c = 0" identifier = number_literal) ;) (expression_statement "local_38 = param_4;" (assignment_expression "local_38 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_28._0_8_ = param_2;" (assignment_expression "local_28._0_8_ = param_2" (field_expression "local_28._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "local_28 = _M_extract_num();" (assignment_expression "local_28 = _M_extract_num()" identifier = (call_expression "_M_extract_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }" if (parenthesized_expression "(local_c == 0)" ( (binary_expression "local_c == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }" { (expression_statement "iVar3 = local_10 + -0x76c;" (assignment_expression "iVar3 = local_10 + -0x76c" identifier = (binary_expression "local_10 + -0x76c" identifier + number_literal)) ;) (if_statement "if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }" if (parenthesized_expression "(local_10 < 0)" ( (binary_expression "local_10 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar3 = local_10 + 100;\n    }" { (expression_statement "iVar3 = local_10 + 100;" (assignment_expression "iVar3 = local_10 + 100" identifier = (binary_expression "local_10 + 100" identifier + number_literal)) ;) })) (expression_statement "*(int *)(param_8 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar3" (pointer_expression "*(int *)(param_8 + 0x14)" * (cast_expression "(int *)(param_8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x14)" ( (binary_expression "param_8 + 0x14" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *param_7 = *param_7 | 4;\n  }" else (compound_statement "{\n    *param_7 = *param_7 | 4;\n  }" { (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 4" (pointer_expression "*param_7" * identifier) | number_literal)) ;) }))) (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>> *)local_28,\n                     (istreambuf_iterator *)&local_38);" (binary_expression "char_traits<char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38)" identifier < (binary_expression "char>>::equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38)" identifier >> (ERROR "::" : :) (call_expression "equal\n                    ((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38)" identifier (argument_list "((istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38)" ( (parenthesized_expression "(istreambuf_iterator<char,std::char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38)" ( (ERROR "istreambuf_iterator<char,std::" (comma_expression "istreambuf_iterator<char,std" (binary_expression "istreambuf_iterator<char" identifier < identifier) , identifier) : :) (comma_expression "char_traits<char>> *)local_28,\n                     (istreambuf_iterator *)&local_38" (binary_expression "char_traits<char>> *)local_28" identifier < (binary_expression "char>> *)local_28" identifier >> (pointer_expression "*)local_28" * (ERROR ")" )) identifier))) , (cast_expression "(istreambuf_iterator *)&local_38" ( (type_descriptor "istreambuf_iterator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_38" & identifier))) )) ))))) ;) (if_statement "if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (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 "auVar1._12_4_ = uStack_1c;" (assignment_expression "auVar1._12_4_ = uStack_1c" (field_expression "auVar1._12_4_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar1._0_12_ = local_28;" (assignment_expression "auVar1._0_12_ = local_28" (field_expression "auVar1._0_12_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar1;" return identifier ;) }))
(translation_unit "undefined1  [16]\nFUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];\n  char cVar2;\n  int iVar3;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined1 local_28 [12];\n  undefined4 uStack_1c;\n  int local_10;\n  int local_c;\n  \n  local_28._8_4_ = (undefined4)param_3;\n  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);\n  local_c = 0;\n  local_38 = param_4;\n  local_30 = param_5;\n  local_28._0_8_ = param_2;\n  local_28 = FUN_004b0030();\n  if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }\n  cVar2 = FUN_004b4980(local_28,&local_38);\n  if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }\n  auVar1._12_4_ = uStack_1c;\n  auVar1._0_12_ = local_28;\n  return auVar1;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];" (macro_type_specifier "FUN_004bb2c0(undefined8" identifier ( (type_descriptor "undefined8" type_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) , (ERROR "uint" identifier) (pointer_declarator "*param_7" * identifier) , (ERROR "long param_8)\n\n{\n  undefined1" identifier identifier ) { identifier) (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined1 local_28 [12];" type_identifier (array_declarator "local_28 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_1c;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_28._8_4_ = (undefined4)param_3;" (assignment_expression "local_28._8_4_ = (undefined4)param_3" (field_expression "local_28._8_4_" identifier . field_identifier) = (cast_expression "(undefined4)param_3" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uStack_1c = (undefined4)((ulong)param_3 >> 0x20);" (assignment_expression "uStack_1c = (undefined4)((ulong)param_3 >> 0x20)" identifier = (call_expression "(undefined4)((ulong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulong)param_3 >> 0x20)" ( (binary_expression "(ulong)param_3 >> 0x20" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_c = 0;" (assignment_expression "local_c = 0" identifier = number_literal) ;) (expression_statement "local_38 = param_4;" (assignment_expression "local_38 = param_4" identifier = identifier) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_28._0_8_ = param_2;" (assignment_expression "local_28._0_8_ = param_2" (field_expression "local_28._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "local_28 = FUN_004b0030();" (assignment_expression "local_28 = FUN_004b0030()" identifier = (call_expression "FUN_004b0030()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }" if (parenthesized_expression "(local_c == 0)" ( (binary_expression "local_c == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }" { (expression_statement "iVar3 = local_10 + -0x76c;" (assignment_expression "iVar3 = local_10 + -0x76c" identifier = (binary_expression "local_10 + -0x76c" identifier + number_literal)) ;) (if_statement "if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }" if (parenthesized_expression "(local_10 < 0)" ( (binary_expression "local_10 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar3 = local_10 + 100;\n    }" { (expression_statement "iVar3 = local_10 + 100;" (assignment_expression "iVar3 = local_10 + 100" identifier = (binary_expression "local_10 + 100" identifier + number_literal)) ;) })) (expression_statement "*(int *)(param_8 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar3" (pointer_expression "*(int *)(param_8 + 0x14)" * (cast_expression "(int *)(param_8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x14)" ( (binary_expression "param_8 + 0x14" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *param_7 = *param_7 | 4;\n  }" else (compound_statement "{\n    *param_7 = *param_7 | 4;\n  }" { (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 4" (pointer_expression "*param_7" * identifier) | number_literal)) ;) }))) (expression_statement "cVar2 = FUN_004b4980(local_28,&local_38);" (assignment_expression "cVar2 = FUN_004b4980(local_28,&local_38)" identifier = (call_expression "FUN_004b4980(local_28,&local_38)" identifier (argument_list "(local_28,&local_38)" ( identifier , (pointer_expression "&local_38" & identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (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 "auVar1._12_4_ = uStack_1c;" (assignment_expression "auVar1._12_4_ = uStack_1c" (field_expression "auVar1._12_4_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar1._0_12_ = local_28;" (assignment_expression "auVar1._0_12_ = local_28" (field_expression "auVar1._0_12_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar1;" return identifier ;) (ERROR "}" }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (declaration (macro_type_specifier IDENT ( (type_descriptor TYPE) )) IDENT , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , (ERROR IDENT) (pointer_declarator * IDENT) , (ERROR IDENT IDENT ) { IDENT) (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ( 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 (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (return_statement return IDENT ;) (ERROR }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (declaration "FUN_004bb2c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)\n\n{\n  undefined1 auVar1 [16];" (macro_type_specifier "FUN_004bb2c0(undefined8" (identifier "FUN_004bb2c0") (( "(") (type_descriptor "undefined8" (type_identifier "undefined8")) () "")) (identifier "param_1") (, ",") (identifier "undefined8") (ERROR "param_2" (identifier "param_2")) (, ",") (identifier "undefined8") (ERROR "param_3" (identifier "param_3")) (, ",") (identifier "undefined8") (ERROR "param_4" (identifier "param_4")) (, ",") (identifier "undefined8") (ERROR "param_5" (identifier "param_5")) (, ",") (identifier "undefined8") (ERROR "param_6" (identifier "param_6")) (, ",") (ERROR "uint" (identifier "uint")) (pointer_declarator "*param_7" (* "*") (identifier "param_7")) (, ",") (ERROR "long param_8)\n\n{\n  undefined1" (identifier "long") (identifier "param_8") () ")") ({ "{") (identifier "undefined1")) (array_declarator "auVar1 [16]" (identifier "auVar1") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined8 local_38;" (type_identifier "undefined8") (identifier "local_38") (; ";")) (declaration "undefined8 local_30;" (type_identifier "undefined8") (identifier "local_30") (; ";")) (declaration "undefined1 local_28 [12];" (type_identifier "undefined1") (array_declarator "local_28 [12]" (identifier "local_28") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 uStack_1c;" (type_identifier "undefined4") (identifier "uStack_1c") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_28._8_4_ = (undefined4)param_3;" (assignment_expression "local_28._8_4_ = (undefined4)param_3" (field_expression "local_28._8_4_" (identifier "local_28") (. ".") (field_identifier "_8_4_")) (= "=") (cast_expression "(undefined4)param_3" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "param_3"))) (; ";")) (expression_statement "uStack_1c = (undefined4)((ulong)param_3 >> 0x20);" (assignment_expression "uStack_1c = (undefined4)((ulong)param_3 >> 0x20)" (identifier "uStack_1c") (= "=") (call_expression "(undefined4)((ulong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulong)param_3 >> 0x20)" (( "(") (binary_expression "(ulong)param_3 >> 0x20" (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_c = 0;" (assignment_expression "local_c = 0" (identifier "local_c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = param_4;" (assignment_expression "local_38 = param_4" (identifier "local_38") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" (identifier "local_30") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_28._0_8_ = param_2;" (assignment_expression "local_28._0_8_ = param_2" (field_expression "local_28._0_8_" (identifier "local_28") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_28 = FUN_004b0030();" (assignment_expression "local_28 = FUN_004b0030()" (identifier "local_28") (= "=") (call_expression "FUN_004b0030()" (identifier "FUN_004b0030") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (local_c == 0) {\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }\n  else {\n    *param_7 = *param_7 | 4;\n  }" (if "if") (parenthesized_expression "(local_c == 0)" (( "(") (binary_expression "local_c == 0" (identifier "local_c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = local_10 + -0x76c;\n    if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }\n    *(int *)(param_8 + 0x14) = iVar3;\n  }" ({ "{") (expression_statement "iVar3 = local_10 + -0x76c;" (assignment_expression "iVar3 = local_10 + -0x76c" (identifier "iVar3") (= "=") (binary_expression "local_10 + -0x76c" (identifier "local_10") (+ "+") (number_literal "-0x76c"))) (; ";")) (if_statement "if (local_10 < 0) {\n      iVar3 = local_10 + 100;\n    }" (if "if") (parenthesized_expression "(local_10 < 0)" (( "(") (binary_expression "local_10 < 0" (identifier "local_10") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = local_10 + 100;\n    }" ({ "{") (expression_statement "iVar3 = local_10 + 100;" (assignment_expression "iVar3 = local_10 + 100" (identifier "iVar3") (= "=") (binary_expression "local_10 + 100" (identifier "local_10") (+ "+") (number_literal "100"))) (; ";")) (} "}"))) (expression_statement "*(int *)(param_8 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_8 + 0x14) = iVar3" (pointer_expression "*(int *)(param_8 + 0x14)" (* "*") (cast_expression "(int *)(param_8 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x14)" (( "(") (binary_expression "param_8 + 0x14" (identifier "param_8") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n    *param_7 = *param_7 | 4;\n  }" (else "else") (compound_statement "{\n    *param_7 = *param_7 | 4;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 | 4;" (assignment_expression "*param_7 = *param_7 | 4" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 4" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "4"))) (; ";")) (} "}")))) (expression_statement "cVar2 = FUN_004b4980(local_28,&local_38);" (assignment_expression "cVar2 = FUN_004b4980(local_28,&local_38)" (identifier "cVar2") (= "=") (call_expression "FUN_004b4980(local_28,&local_38)" (identifier "FUN_004b4980") (argument_list "(local_28,&local_38)" (( "(") (identifier "local_28") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n    *param_7 = *param_7 | 2;\n  }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (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 "auVar1._12_4_ = uStack_1c;" (assignment_expression "auVar1._12_4_ = uStack_1c" (field_expression "auVar1._12_4_" (identifier "auVar1") (. ".") (field_identifier "_12_4_")) (= "=") (identifier "uStack_1c")) (; ";")) (expression_statement "auVar1._0_12_ = local_28;" (assignment_expression "auVar1._0_12_ = local_28" (field_expression "auVar1._0_12_" (identifier "auVar1") (. ".") (field_identifier "_0_12_")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return auVar1;" (return "return") (identifier "auVar1") (; ";")) (ERROR "}" (} "}"))

/* 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 */

type_1  [16]
std::time_get<var_2,std::type_5<var_2,std::var_1<var_2>>>::var_3
          (type_2 param_1,type_2 param_2,type_2 param_3,type_2 param_4,
          type_2 param_5,type_2 param_6,var_4 *var_5,long var_9)

{
  type_1 auVar1 [16];
  char var_11;
  int iVar3;
  type_2 local_38;
  type_2 local_30;
  type_1 local_28 [12];
  type_3 uStack_1c;
  int var_8;
  int var_7;
  
  local_28._8_4_ = (type_3)param_3;
  uStack_1c = (type_3)((type_4)param_3 >> 0x20);
  var_7 = 0;
  local_38 = param_4;
  local_30 = param_5;
  local_28._0_8_ = param_2;
  local_28 = var_6();
  if (var_7 == 0) {
    iVar3 = var_8 + -0x76c;
    if (var_8 < 0) {
      iVar3 = var_8 + 100;
    }
    *(int *)(var_9 + 0x14) = iVar3;
  }
  else {
    *var_5 = *var_5 | 4;
  }
  var_11 = type_5<var_2,std::var_1<var_2>>::var_10
                    ((type_5<var_2,std::var_1<var_2>> *)local_28,
                     (type_5 *)&local_38);
  if (var_11 != '\0') {
    *var_5 = *var_5 | 2;
  }
  auVar1._12_4_ = uStack_1c;
  auVar1._0_12_ = local_28;
  return auVar1;
}


(translation_unit (expression_statement (subscript_expression argument: (identifier) index: (number_literal)) (MISSING ";")) (declaration type: (macro_type_specifier name: (identifier) type: (type_descriptor type: (type_identifier)) (MISSING ")")) declarator: (identifier) declarator: (identifier) (ERROR (identifier)) declarator: (identifier) (ERROR (identifier)) declarator: (identifier) (ERROR (identifier)) declarator: (identifier) (ERROR (identifier)) declarator: (identifier) (ERROR (identifier)) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier) (identifier) (identifier)) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) 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 (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: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (return_statement (identifier)) (ERROR))

undefined1  [16]
MASKED(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
            undefined8 param_5,undefined8 param_6,uint *param_7,long param_8)

{
  undefined1 auVar1 [16];
  char cVar2;
  int iVar3;
  undefined8 local_38;
  undefined8 local_30;
  undefined1 local_28 [12];
  undefined4 uStack_1c;
  int local_10;
  int local_c;
  
  local_28._8_4_ = (undefined4)param_3;
  uStack_1c = (undefined4)((ulong)param_3 >> 0x20);
  local_c = 0;
  local_38 = param_4;
  local_30 = param_5;
  local_28._0_8_ = param_2;
  local_28 = FUN_004b0030();
  if (local_c == 0) {
    iVar3 = local_10 + -0x76c;
    if (local_10 < 0) {
      iVar3 = local_10 + 100;
    }
    *(int *)(param_8 + 0x14) = iVar3;
  }
  else {
    *param_7 = *param_7 | 4;
  }
  cVar2 = FUN_004b4980(local_28,&local_38);
  if (cVar2 != '\0') {
    *param_7 = *param_7 | 2;
  }
  auVar1._12_4_ = uStack_1c;
  auVar1._0_12_ = local_28;
  return auVar1;
}

