
/* 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_weekday(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_weekday
          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
          undefined4 param_5,undefined4 param_6,int param_7,uint *param_8,int param_9)

{
  int iVar1;
  int iVar2;
  uint *puVar3;
  char cVar4;
  __timepunct *p_Var5;
  undefined4 local_64;
  undefined4 local_60;
  undefined4 local_5c;
  int local_58;
  undefined4 local_54;
  undefined4 local_50;
  undefined4 local_4c;
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  puVar3 = param_8;
  iVar2 = param_7;
  uStack_14 = 0x1a1169;
  p_Var5 = use_facet<std::__timepunct<char>>((locale *)(param_7 + 0x6c));
  local_58 = 0;
  iVar1 = *(int *)(p_Var5 + 8);
  local_54 = *(undefined4 *)(iVar1 + 0x48);
  local_50 = *(undefined4 *)(iVar1 + 0x4c);
  local_4c = *(undefined4 *)(iVar1 + 0x50);
  local_48 = *(undefined4 *)(iVar1 + 0x54);
  local_44 = *(undefined4 *)(iVar1 + 0x58);
  local_40 = *(undefined4 *)(iVar1 + 0x5c);
  local_3c = *(undefined4 *)(iVar1 + 0x60);
  local_38 = *(undefined4 *)(iVar1 + 0x2c);
  local_34 = *(undefined4 *)(iVar1 + 0x30);
  local_30 = *(undefined4 *)(iVar1 + 0x34);
  local_2c = *(undefined4 *)(iVar1 + 0x38);
  local_28 = *(undefined4 *)(iVar1 + 0x3c);
  local_24 = *(undefined4 *)(iVar1 + 0x40);
  local_20 = *(undefined4 *)(iVar1 + 0x44);
  _M_extract_wday_or_month
            (&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58
            );
  param_3 = local_64;
  param_4 = local_60;
  if (local_58 == 0) {
    *(undefined4 *)(param_9 + 0x18) = local_5c;
  }
  else {
    *puVar3 = *puVar3 | 4;
  }
  cVar4 = istreambuf_iterator<char,std::char_traits<char>>::equal
                    ((istreambuf_iterator<char,std::char_traits<char>> *)&param_3,
                     (istreambuf_iterator *)&param_5);
  if (cVar4 != '\0') {
    *puVar3 = *puVar3 | 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_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)

{
  int iVar1;
  uint *puVar2;
  char cVar3;
  int iVar4;
  undefined4 local_68;
  undefined4 local_64;
  uint local_60;
  int local_5c [3];
  undefined4 local_50;
  undefined4 local_4c;
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  puVar2 = param_8;
  iVar1 = param_7;
  uStack_14 = 0x1a1169;
  iVar4 = FUN_00197170(param_7 + 0x6c);
  local_5c[1] = 0;
  iVar4 = *(int *)(iVar4 + 8);
  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);
  local_50 = *(undefined4 *)(iVar4 + 0x4c);
  local_4c = *(undefined4 *)(iVar4 + 0x50);
  local_48 = *(undefined4 *)(iVar4 + 0x54);
  local_44 = *(undefined4 *)(iVar4 + 0x58);
  local_40 = *(undefined4 *)(iVar4 + 0x5c);
  local_3c = *(undefined4 *)(iVar4 + 0x60);
  local_38 = *(undefined4 *)(iVar4 + 0x2c);
  local_34 = *(undefined4 *)(iVar4 + 0x30);
  local_30 = *(undefined4 *)(iVar4 + 0x34);
  local_2c = *(undefined4 *)(iVar4 + 0x38);
  local_28 = *(undefined4 *)(iVar4 + 0x3c);
  local_24 = *(undefined4 *)(iVar4 + 0x40);
  local_20 = *(undefined4 *)(iVar4 + 0x44);
  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,
               local_5c + 1);
  param_2 = local_68;
  param_3 = local_64;
  if (local_5c[0] == 0) {
    param_8[6] = local_60;
  }
  else {
    *puVar2 = *puVar2 | 4;
  }
  cVar3 = FUN_0019a960(&param_2,&param_4);
  if (cVar3 != '\0') {
    *puVar2 = *puVar2 | 2;
  }
  *param_1 = param_2;
  param_1[1] = param_3;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x160e97
SUB ESP,0x68
MOV EBP,dword ptr [ESP + 0x94]
MOV ESI,dword ptr [ESP + 0x7c]
MOV EDI,dword ptr [ESP + 0x98]
LEA EAX,[EBP + 0x6c]
PUSH EAX
CALL 0x00197170
MOV dword ptr [ESP + 0x24],0x0
MOV EAX,dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EAX + 0x48]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [EAX + 0x4c]
MOV dword ptr [ESP + 0x2c],EDX
MOV EDX,dword ptr [EAX + 0x50]
MOV dword ptr [ESP + 0x30],EDX
MOV EDX,dword ptr [EAX + 0x54]
MOV dword ptr [ESP + 0x34],EDX
MOV EDX,dword ptr [EAX + 0x58]
MOV dword ptr [ESP + 0x38],EDX
MOV EDX,dword ptr [EAX + 0x5c]
MOV dword ptr [ESP + 0x3c],EDX
MOV EDX,dword ptr [EAX + 0x60]
MOV dword ptr [ESP + 0x40],EDX
MOV EDX,dword ptr [EAX + 0x2c]
MOV dword ptr [ESP + 0x44],EDX
MOV EDX,dword ptr [EAX + 0x30]
MOV dword ptr [ESP + 0x48],EDX
MOV EDX,dword ptr [EAX + 0x34]
MOV dword ptr [ESP + 0x4c],EDX
MOV EDX,dword ptr [EAX + 0x38]
MOV dword ptr [ESP + 0x50],EDX
MOV EDX,dword ptr [EAX + 0x3c]
MOV dword ptr [ESP + 0x54],EDX
MOV EDX,dword ptr [EAX + 0x40]
MOV EAX,dword ptr [EAX + 0x44]
MOV dword ptr [ESP + 0x58],EDX
MOV dword ptr [ESP + 0x5c],EAX
LEA EAX,[ESP + 0x18]
ADD ESP,0xc
LEA EDX,[ESP + 0x18]
PUSH EDX
PUSH EBP
PUSH 0x7
LEA EDX,[ESP + 0x28]
PUSH EDX
LEA EDX,[ESP + 0x24]
PUSH EDX
PUSH dword ptr [ESP + 0x9c]
PUSH dword ptr [ESP + 0x9c]
PUSH dword ptr [ESP + 0x9c]
PUSH dword ptr [ESP + 0x9c]
PUSH dword ptr [ESP + 0x9c]
PUSH EAX
CALL 0x0019ae30
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0xa4],EAX
MOV dword ptr [ESP + 0xa8],EDX
ADD ESP,0x2c
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JNZ 0x001a12b0
MOV EAX,dword ptr [ESP + 0x90]
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX + 0x18],EDX
SUB ESP,0x8
LEA EAX,[ESP + 0x88]
PUSH EAX
LEA EAX,[ESP + 0x84]
PUSH EAX
CALL 0x0019a960
ADD ESP,0x10
TEST AL,AL
JZ 0x001a128d
OR dword ptr [EDI],0x2
MOV EAX,dword ptr [ESP + 0x78]
MOV EDX,dword ptr [ESP + 0x7c]
MOV dword ptr [ESI],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x4],EDX
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
OR dword ptr [EDI],0x4
JMP 0x001a126b
(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_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 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_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)" * (function_declarator "FUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int 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,int 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 "int param_7" primitive_type identifier) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "uint local_60;" type_identifier identifier ;) (declaration "int local_5c [3];" primitive_type (array_declarator "local_5c [3]" identifier [ number_literal ]) ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar2 = param_8;" (assignment_expression "puVar2 = param_8" identifier = identifier) ;) (expression_statement "iVar1 = param_7;" (assignment_expression "iVar1 = param_7" identifier = identifier) ;) (expression_statement "uStack_14 = 0x1a1169;" (assignment_expression "uStack_14 = 0x1a1169" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_00197170(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_00197170(param_7 + 0x6c)" identifier = (call_expression "FUN_00197170(param_7 + 0x6c)" identifier (argument_list "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "local_5c[1] = 0;" (assignment_expression "local_5c[1] = 0" (subscript_expression "local_5c[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar4 + 8);" (assignment_expression "iVar4 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_5c[2] = *(undefined4 *)(iVar4 + 0x48);" (assignment_expression "local_5c[2] = *(undefined4 *)(iVar4 + 0x48)" (subscript_expression "local_5c[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar4 + 0x48)" * (cast_expression "(undefined4 *)(iVar4 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(undefined4 *)(iVar4 + 0x4c);" (assignment_expression "local_50 = *(undefined4 *)(iVar4 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x4c)" * (cast_expression "(undefined4 *)(iVar4 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x4c)" ( (binary_expression "iVar4 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(undefined4 *)(iVar4 + 0x50);" (assignment_expression "local_4c = *(undefined4 *)(iVar4 + 0x50)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" * (cast_expression "(undefined4 *)(iVar4 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x50)" ( (binary_expression "iVar4 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "local_48 = *(undefined4 *)(iVar4 + 0x54);" (assignment_expression "local_48 = *(undefined4 *)(iVar4 + 0x54)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" * (cast_expression "(undefined4 *)(iVar4 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_44 = *(undefined4 *)(iVar4 + 0x58);" (assignment_expression "local_44 = *(undefined4 *)(iVar4 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_40 = *(undefined4 *)(iVar4 + 0x5c);" (assignment_expression "local_40 = *(undefined4 *)(iVar4 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x5c)" * (cast_expression "(undefined4 *)(iVar4 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x5c)" ( (binary_expression "iVar4 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "local_3c = *(undefined4 *)(iVar4 + 0x60);" (assignment_expression "local_3c = *(undefined4 *)(iVar4 + 0x60)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x60)" * (cast_expression "(undefined4 *)(iVar4 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x60)" ( (binary_expression "iVar4 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "local_38 = *(undefined4 *)(iVar4 + 0x2c);" (assignment_expression "local_38 = *(undefined4 *)(iVar4 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" * (cast_expression "(undefined4 *)(iVar4 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_34 = *(undefined4 *)(iVar4 + 0x30);" (assignment_expression "local_34 = *(undefined4 *)(iVar4 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *(undefined4 *)(iVar4 + 0x34);" (assignment_expression "local_30 = *(undefined4 *)(iVar4 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x38);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(iVar4 + 0x3c);" (assignment_expression "local_28 = *(undefined4 *)(iVar4 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" * (cast_expression "(undefined4 *)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(iVar4 + 0x40);" (assignment_expression "local_24 = *(undefined4 *)(iVar4 + 0x40)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x40)" * (cast_expression "(undefined4 *)(iVar4 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(iVar4 + 0x44);" (assignment_expression "local_20 = *(undefined4 *)(iVar4 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x44)" * (cast_expression "(undefined4 *)(iVar4 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);" (call_expression "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" identifier (argument_list "(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" ( (pointer_expression "&local_64" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "local_5c + 2" identifier + number_literal) , number_literal , identifier , (binary_expression "local_5c + 1" identifier + number_literal) ))) ;) (expression_statement "param_2 = local_68;" (assignment_expression "param_2 = local_68" identifier = identifier) ;) (expression_statement "param_3 = local_64;" (assignment_expression "param_3 = local_64" identifier = identifier) ;) (if_statement "if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }" if (parenthesized_expression "(local_5c[0] == 0)" ( (binary_expression "local_5c[0] == 0" (subscript_expression "local_5c[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    param_8[6] = local_60;\n  }" { (expression_statement "param_8[6] = local_60;" (assignment_expression "param_8[6] = local_60" (subscript_expression "param_8[6]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *puVar2 = *puVar2 | 4;\n  }" else (compound_statement "{\n    *puVar2 = *puVar2 | 4;\n  }" { (expression_statement "*puVar2 = *puVar2 | 4;" (assignment_expression "*puVar2 = *puVar2 | 4" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 4" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) }))) (expression_statement "cVar3 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar3 = 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 (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar2 = *puVar2 | 2;\n  }" { (expression_statement "*puVar2 = *puVar2 | 2;" (assignment_expression "*puVar2 = *puVar2 | 2" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 2" (pointer_expression "*puVar2" * 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_weekday(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_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int param_7,uint *param_8,int param_9)\n\n{\n  int iVar1;\n  int iVar2;\n  uint *puVar3;\n  char cVar4;\n  __timepunct *p_Var5;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  int local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar3 = param_8;\n  iVar2 = param_7;\n  uStack_14 = 0x1a1169;\n  p_Var5 = use_facet<std::__timepunct<char>>((locale *)(param_7 + 0x6c));\n  local_58 = 0;\n  iVar1 = *(int *)(p_Var5 + 8);\n  local_54 = *(undefined4 *)(iVar1 + 0x48);\n  local_50 = *(undefined4 *)(iVar1 + 0x4c);\n  local_4c = *(undefined4 *)(iVar1 + 0x50);\n  local_48 = *(undefined4 *)(iVar1 + 0x54);\n  local_44 = *(undefined4 *)(iVar1 + 0x58);\n  local_40 = *(undefined4 *)(iVar1 + 0x5c);\n  local_3c = *(undefined4 *)(iVar1 + 0x60);\n  local_38 = *(undefined4 *)(iVar1 + 0x2c);\n  local_34 = *(undefined4 *)(iVar1 + 0x30);\n  local_30 = *(undefined4 *)(iVar1 + 0x34);\n  local_2c = *(undefined4 *)(iVar1 + 0x38);\n  local_28 = *(undefined4 *)(iVar1 + 0x3c);\n  local_24 = *(undefined4 *)(iVar1 + 0x40);\n  local_20 = *(undefined4 *)(iVar1 + 0x44);\n  _M_extract_wday_or_month\n            (&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58\n            );\n  param_3 = local_64;\n  param_4 = local_60;\n  if (local_58 == 0) {\n    *(undefined4 *)(param_9 + 0x18) = local_5c;\n  }\n  else {\n    *puVar3 = *puVar3 | 4;\n  }\n  cVar4 = 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 (cVar4 != '\0') {\n    *puVar3 = *puVar3 | 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_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int 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_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int param_7,uint *param_8,int param_9)" (binary_expression "char_traits<char>>>::do_get_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int param_7,uint *param_8,int param_9)" identifier < (binary_expression "char>>>::do_get_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int param_7,uint *param_8,int param_9)" identifier >> (ERROR ">::" > : :) (call_expression "do_get_weekday\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,int 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,int 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) , (ERROR "int" identifier) identifier , (binary_expression "uint *param_8" identifier * identifier) , (ERROR "int" identifier) identifier ))))) ;)) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint *puVar3;\n  char cVar4;\n  __timepunct *p_Var5;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  int local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar3 = param_8;\n  iVar2 = param_7;\n  uStack_14 = 0x1a1169;\n  p_Var5 = use_facet<std::__timepunct<char>>((locale *)(param_7 + 0x6c));\n  local_58 = 0;\n  iVar1 = *(int *)(p_Var5 + 8);\n  local_54 = *(undefined4 *)(iVar1 + 0x48);\n  local_50 = *(undefined4 *)(iVar1 + 0x4c);\n  local_4c = *(undefined4 *)(iVar1 + 0x50);\n  local_48 = *(undefined4 *)(iVar1 + 0x54);\n  local_44 = *(undefined4 *)(iVar1 + 0x58);\n  local_40 = *(undefined4 *)(iVar1 + 0x5c);\n  local_3c = *(undefined4 *)(iVar1 + 0x60);\n  local_38 = *(undefined4 *)(iVar1 + 0x2c);\n  local_34 = *(undefined4 *)(iVar1 + 0x30);\n  local_30 = *(undefined4 *)(iVar1 + 0x34);\n  local_2c = *(undefined4 *)(iVar1 + 0x38);\n  local_28 = *(undefined4 *)(iVar1 + 0x3c);\n  local_24 = *(undefined4 *)(iVar1 + 0x40);\n  local_20 = *(undefined4 *)(iVar1 + 0x44);\n  _M_extract_wday_or_month\n            (&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58\n            );\n  param_3 = local_64;\n  param_4 = local_60;\n  if (local_58 == 0) {\n    *(undefined4 *)(param_9 + 0x18) = local_5c;\n  }\n  else {\n    *puVar3 = *puVar3 | 4;\n  }\n  cVar4 = 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 (cVar4 != '\0') {\n    *puVar3 = *puVar3 | 2;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "__timepunct *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar3 = param_8;" (assignment_expression "puVar3 = param_8" identifier = identifier) ;) (expression_statement "iVar2 = param_7;" (assignment_expression "iVar2 = param_7" identifier = identifier) ;) (expression_statement "uStack_14 = 0x1a1169;" (assignment_expression "uStack_14 = 0x1a1169" identifier = number_literal) ;) (expression_statement "p_Var5 = use_facet<std::__timepunct<char>>((locale *)(param_7 + 0x6c));" (binary_expression "p_Var5 = use_facet<std::__timepunct<char>>((locale *)(param_7 + 0x6c))" (assignment_expression "p_Var5 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::__timepunct" : : identifier) < (binary_expression "char>>((locale *)(param_7 + 0x6c))" identifier >> (parenthesized_expression "((locale *)(param_7 + 0x6c))" ( (cast_expression "(locale *)(param_7 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) ))) )))) ;) (expression_statement "local_58 = 0;" (assignment_expression "local_58 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(p_Var5 + 8);" (assignment_expression "iVar1 = *(int *)(p_Var5 + 8)" identifier = (pointer_expression "*(int *)(p_Var5 + 8)" * (cast_expression "(int *)(p_Var5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var5 + 8)" ( (binary_expression "p_Var5 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_54 = *(undefined4 *)(iVar1 + 0x48);" (assignment_expression "local_54 = *(undefined4 *)(iVar1 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x48)" * (cast_expression "(undefined4 *)(iVar1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x48)" ( (binary_expression "iVar1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(undefined4 *)(iVar1 + 0x4c);" (assignment_expression "local_50 = *(undefined4 *)(iVar1 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x4c)" * (cast_expression "(undefined4 *)(iVar1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(undefined4 *)(iVar1 + 0x50);" (assignment_expression "local_4c = *(undefined4 *)(iVar1 + 0x50)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x50)" * (cast_expression "(undefined4 *)(iVar1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x50)" ( (binary_expression "iVar1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "local_48 = *(undefined4 *)(iVar1 + 0x54);" (assignment_expression "local_48 = *(undefined4 *)(iVar1 + 0x54)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x54)" * (cast_expression "(undefined4 *)(iVar1 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x54)" ( (binary_expression "iVar1 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_44 = *(undefined4 *)(iVar1 + 0x58);" (assignment_expression "local_44 = *(undefined4 *)(iVar1 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" * (cast_expression "(undefined4 *)(iVar1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x58)" ( (binary_expression "iVar1 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_40 = *(undefined4 *)(iVar1 + 0x5c);" (assignment_expression "local_40 = *(undefined4 *)(iVar1 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x5c)" * (cast_expression "(undefined4 *)(iVar1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x5c)" ( (binary_expression "iVar1 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "local_3c = *(undefined4 *)(iVar1 + 0x60);" (assignment_expression "local_3c = *(undefined4 *)(iVar1 + 0x60)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x60)" * (cast_expression "(undefined4 *)(iVar1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x60)" ( (binary_expression "iVar1 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "local_38 = *(undefined4 *)(iVar1 + 0x2c);" (assignment_expression "local_38 = *(undefined4 *)(iVar1 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x2c)" * (cast_expression "(undefined4 *)(iVar1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_34 = *(undefined4 *)(iVar1 + 0x30);" (assignment_expression "local_34 = *(undefined4 *)(iVar1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *(undefined4 *)(iVar1 + 0x34);" (assignment_expression "local_30 = *(undefined4 *)(iVar1 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x34)" * (cast_expression "(undefined4 *)(iVar1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(undefined4 *)(iVar1 + 0x38);" (assignment_expression "local_2c = *(undefined4 *)(iVar1 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x38)" * (cast_expression "(undefined4 *)(iVar1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(iVar1 + 0x3c);" (assignment_expression "local_28 = *(undefined4 *)(iVar1 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x3c)" * (cast_expression "(undefined4 *)(iVar1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3c)" ( (binary_expression "iVar1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(iVar1 + 0x40);" (assignment_expression "local_24 = *(undefined4 *)(iVar1 + 0x40)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x40)" * (cast_expression "(undefined4 *)(iVar1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x40)" ( (binary_expression "iVar1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(iVar1 + 0x44);" (assignment_expression "local_20 = *(undefined4 *)(iVar1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x44)" * (cast_expression "(undefined4 *)(iVar1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x44)" ( (binary_expression "iVar1 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "_M_extract_wday_or_month\n            (&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58\n            );" (call_expression "_M_extract_wday_or_month\n            (&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58\n            )" identifier (argument_list "(&local_64,param_2,param_3,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&local_58\n            )" ( (pointer_expression "&local_64" & identifier) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_5c" & identifier) , (pointer_expression "&local_54" & identifier) , number_literal , identifier , (pointer_expression "&local_58" & identifier) ))) ;) (expression_statement "param_3 = local_64;" (assignment_expression "param_3 = local_64" identifier = identifier) ;) (expression_statement "param_4 = local_60;" (assignment_expression "param_4 = local_60" identifier = identifier) ;) (if_statement "if (local_58 == 0) {\n    *(undefined4 *)(param_9 + 0x18) = local_5c;\n  }\n  else {\n    *puVar3 = *puVar3 | 4;\n  }" if (parenthesized_expression "(local_58 == 0)" ( (binary_expression "local_58 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_9 + 0x18) = local_5c;\n  }" { (expression_statement "*(undefined4 *)(param_9 + 0x18) = local_5c;" (assignment_expression "*(undefined4 *)(param_9 + 0x18) = local_5c" (pointer_expression "*(undefined4 *)(param_9 + 0x18)" * (cast_expression "(undefined4 *)(param_9 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_9 + 0x18)" ( (binary_expression "param_9 + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *puVar3 = *puVar3 | 4;\n  }" else (compound_statement "{\n    *puVar3 = *puVar3 | 4;\n  }" { (expression_statement "*puVar3 = *puVar3 | 4;" (assignment_expression "*puVar3 = *puVar3 | 4" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 | 4" (pointer_expression "*puVar3" * identifier) | number_literal)) ;) }))) (ERROR "cVar4 = istreambuf_iterator<char,std::" (comma_expression "cVar4 = istreambuf_iterator<char,std" (assignment_expression "cVar4 = 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 (cVar4 != '\0') {\n    *puVar3 = *puVar3 | 2;\n  }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar3 = *puVar3 | 2;\n  }" { (expression_statement "*puVar3 = *puVar3 | 2;" (assignment_expression "*puVar3 = *puVar3 | 2" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 | 2" (pointer_expression "*puVar3" * 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_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)" * (function_declarator "FUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int 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,int 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 "int param_7" primitive_type identifier) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "uint local_60;" type_identifier identifier ;) (declaration "int local_5c [3];" primitive_type (array_declarator "local_5c [3]" identifier [ number_literal ]) ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar2 = param_8;" (assignment_expression "puVar2 = param_8" identifier = identifier) ;) (expression_statement "iVar1 = param_7;" (assignment_expression "iVar1 = param_7" identifier = identifier) ;) (expression_statement "uStack_14 = 0x1a1169;" (assignment_expression "uStack_14 = 0x1a1169" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_00197170(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_00197170(param_7 + 0x6c)" identifier = (call_expression "FUN_00197170(param_7 + 0x6c)" identifier (argument_list "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "local_5c[1] = 0;" (assignment_expression "local_5c[1] = 0" (subscript_expression "local_5c[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar4 + 8);" (assignment_expression "iVar4 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_5c[2] = *(undefined4 *)(iVar4 + 0x48);" (assignment_expression "local_5c[2] = *(undefined4 *)(iVar4 + 0x48)" (subscript_expression "local_5c[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar4 + 0x48)" * (cast_expression "(undefined4 *)(iVar4 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(undefined4 *)(iVar4 + 0x4c);" (assignment_expression "local_50 = *(undefined4 *)(iVar4 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x4c)" * (cast_expression "(undefined4 *)(iVar4 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x4c)" ( (binary_expression "iVar4 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(undefined4 *)(iVar4 + 0x50);" (assignment_expression "local_4c = *(undefined4 *)(iVar4 + 0x50)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" * (cast_expression "(undefined4 *)(iVar4 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x50)" ( (binary_expression "iVar4 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "local_48 = *(undefined4 *)(iVar4 + 0x54);" (assignment_expression "local_48 = *(undefined4 *)(iVar4 + 0x54)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" * (cast_expression "(undefined4 *)(iVar4 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_44 = *(undefined4 *)(iVar4 + 0x58);" (assignment_expression "local_44 = *(undefined4 *)(iVar4 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_40 = *(undefined4 *)(iVar4 + 0x5c);" (assignment_expression "local_40 = *(undefined4 *)(iVar4 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x5c)" * (cast_expression "(undefined4 *)(iVar4 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x5c)" ( (binary_expression "iVar4 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "local_3c = *(undefined4 *)(iVar4 + 0x60);" (assignment_expression "local_3c = *(undefined4 *)(iVar4 + 0x60)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x60)" * (cast_expression "(undefined4 *)(iVar4 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x60)" ( (binary_expression "iVar4 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "local_38 = *(undefined4 *)(iVar4 + 0x2c);" (assignment_expression "local_38 = *(undefined4 *)(iVar4 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" * (cast_expression "(undefined4 *)(iVar4 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_34 = *(undefined4 *)(iVar4 + 0x30);" (assignment_expression "local_34 = *(undefined4 *)(iVar4 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *(undefined4 *)(iVar4 + 0x34);" (assignment_expression "local_30 = *(undefined4 *)(iVar4 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x38);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(iVar4 + 0x3c);" (assignment_expression "local_28 = *(undefined4 *)(iVar4 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" * (cast_expression "(undefined4 *)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(iVar4 + 0x40);" (assignment_expression "local_24 = *(undefined4 *)(iVar4 + 0x40)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x40)" * (cast_expression "(undefined4 *)(iVar4 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(iVar4 + 0x44);" (assignment_expression "local_20 = *(undefined4 *)(iVar4 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x44)" * (cast_expression "(undefined4 *)(iVar4 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);" (call_expression "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" identifier (argument_list "(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" ( (pointer_expression "&local_64" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "local_5c + 2" identifier + number_literal) , number_literal , identifier , (binary_expression "local_5c + 1" identifier + number_literal) ))) ;) (expression_statement "param_2 = local_68;" (assignment_expression "param_2 = local_68" identifier = identifier) ;) (expression_statement "param_3 = local_64;" (assignment_expression "param_3 = local_64" identifier = identifier) ;) (if_statement "if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }" if (parenthesized_expression "(local_5c[0] == 0)" ( (binary_expression "local_5c[0] == 0" (subscript_expression "local_5c[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    param_8[6] = local_60;\n  }" { (expression_statement "param_8[6] = local_60;" (assignment_expression "param_8[6] = local_60" (subscript_expression "param_8[6]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    *puVar2 = *puVar2 | 4;\n  }" else (compound_statement "{\n    *puVar2 = *puVar2 | 4;\n  }" { (expression_statement "*puVar2 = *puVar2 | 4;" (assignment_expression "*puVar2 = *puVar2 | 4" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 4" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) }))) (expression_statement "cVar3 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar3 = 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 (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *puVar2 = *puVar2 | 2;\n  }" { (expression_statement "*puVar2 = *puVar2 | 2;" (assignment_expression "*puVar2 = *puVar2 | 2" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 2" (pointer_expression "*puVar2" * 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) , LIT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (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_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)" (* "*") (function_declarator "FUN_001a1160(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,uint *param_8)" (identifier "FUN_001a1160") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,int 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 "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "uint *param_8" (type_identifier "uint") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")")))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  uint local_60;\n  int local_5c [3];\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  undefined4 local_44;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x1a1169;\n  iVar4 = FUN_00197170(param_7 + 0x6c);\n  local_5c[1] = 0;\n  iVar4 = *(int *)(iVar4 + 8);\n  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);\n  local_50 = *(undefined4 *)(iVar4 + 0x4c);\n  local_4c = *(undefined4 *)(iVar4 + 0x50);\n  local_48 = *(undefined4 *)(iVar4 + 0x54);\n  local_44 = *(undefined4 *)(iVar4 + 0x58);\n  local_40 = *(undefined4 *)(iVar4 + 0x5c);\n  local_3c = *(undefined4 *)(iVar4 + 0x60);\n  local_38 = *(undefined4 *)(iVar4 + 0x2c);\n  local_34 = *(undefined4 *)(iVar4 + 0x30);\n  local_30 = *(undefined4 *)(iVar4 + 0x34);\n  local_2c = *(undefined4 *)(iVar4 + 0x38);\n  local_28 = *(undefined4 *)(iVar4 + 0x3c);\n  local_24 = *(undefined4 *)(iVar4 + 0x40);\n  local_20 = *(undefined4 *)(iVar4 + 0x44);\n  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);\n  param_2 = local_68;\n  param_3 = local_64;\n  if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }\n  cVar3 = FUN_0019a960(&param_2,&param_4);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }\n  *param_1 = param_2;\n  param_1[1] = param_3;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "uint local_60;" (type_identifier "uint") (identifier "local_60") (; ";")) (declaration "int local_5c [3];" (primitive_type "int") (array_declarator "local_5c [3]" (identifier "local_5c") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "undefined4 local_44;" (type_identifier "undefined4") (identifier "local_44") (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "puVar2 = param_8;" (assignment_expression "puVar2 = param_8" (identifier "puVar2") (= "=") (identifier "param_8")) (; ";")) (expression_statement "iVar1 = param_7;" (assignment_expression "iVar1 = param_7" (identifier "iVar1") (= "=") (identifier "param_7")) (; ";")) (expression_statement "uStack_14 = 0x1a1169;" (assignment_expression "uStack_14 = 0x1a1169" (identifier "uStack_14") (= "=") (number_literal "0x1a1169")) (; ";")) (expression_statement "iVar4 = FUN_00197170(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_00197170(param_7 + 0x6c)" (identifier "iVar4") (= "=") (call_expression "FUN_00197170(param_7 + 0x6c)" (identifier "FUN_00197170") (argument_list "(param_7 + 0x6c)" (( "(") (binary_expression "param_7 + 0x6c" (identifier "param_7") (+ "+") (number_literal "0x6c")) () ")")))) (; ";")) (expression_statement "local_5c[1] = 0;" (assignment_expression "local_5c[1] = 0" (subscript_expression "local_5c[1]" (identifier "local_5c") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = *(int *)(iVar4 + 8);" (assignment_expression "iVar4 = *(int *)(iVar4 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_5c[2] = *(undefined4 *)(iVar4 + 0x48);" (assignment_expression "local_5c[2] = *(undefined4 *)(iVar4 + 0x48)" (subscript_expression "local_5c[2]" (identifier "local_5c") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x48)" (( "(") (binary_expression "iVar4 + 0x48" (identifier "iVar4") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "local_50 = *(undefined4 *)(iVar4 + 0x4c);" (assignment_expression "local_50 = *(undefined4 *)(iVar4 + 0x4c)" (identifier "local_50") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x4c)" (( "(") (binary_expression "iVar4 + 0x4c" (identifier "iVar4") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "local_4c = *(undefined4 *)(iVar4 + 0x50);" (assignment_expression "local_4c = *(undefined4 *)(iVar4 + 0x50)" (identifier "local_4c") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x50)" (( "(") (binary_expression "iVar4 + 0x50" (identifier "iVar4") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "local_48 = *(undefined4 *)(iVar4 + 0x54);" (assignment_expression "local_48 = *(undefined4 *)(iVar4 + 0x54)" (identifier "local_48") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "local_44 = *(undefined4 *)(iVar4 + 0x58);" (assignment_expression "local_44 = *(undefined4 *)(iVar4 + 0x58)" (identifier "local_44") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x58)" (( "(") (binary_expression "iVar4 + 0x58" (identifier "iVar4") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (expression_statement "local_40 = *(undefined4 *)(iVar4 + 0x5c);" (assignment_expression "local_40 = *(undefined4 *)(iVar4 + 0x5c)" (identifier "local_40") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x5c)" (( "(") (binary_expression "iVar4 + 0x5c" (identifier "iVar4") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "local_3c = *(undefined4 *)(iVar4 + 0x60);" (assignment_expression "local_3c = *(undefined4 *)(iVar4 + 0x60)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x60)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x60)" (( "(") (binary_expression "iVar4 + 0x60" (identifier "iVar4") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "local_38 = *(undefined4 *)(iVar4 + 0x2c);" (assignment_expression "local_38 = *(undefined4 *)(iVar4 + 0x2c)" (identifier "local_38") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "local_34 = *(undefined4 *)(iVar4 + 0x30);" (assignment_expression "local_34 = *(undefined4 *)(iVar4 + 0x30)" (identifier "local_34") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "local_30 = *(undefined4 *)(iVar4 + 0x34);" (assignment_expression "local_30 = *(undefined4 *)(iVar4 + 0x34)" (identifier "local_30") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x34)" (( "(") (binary_expression "iVar4 + 0x34" (identifier "iVar4") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x38);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x38)" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "local_28 = *(undefined4 *)(iVar4 + 0x3c);" (assignment_expression "local_28 = *(undefined4 *)(iVar4 + 0x3c)" (identifier "local_28") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "local_24 = *(undefined4 *)(iVar4 + 0x40);" (assignment_expression "local_24 = *(undefined4 *)(iVar4 + 0x40)" (identifier "local_24") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x40)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x40)" (( "(") (binary_expression "iVar4 + 0x40" (identifier "iVar4") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(iVar4 + 0x44);" (assignment_expression "local_20 = *(undefined4 *)(iVar4 + 0x44)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x44)" (( "(") (binary_expression "iVar4 + 0x44" (identifier "iVar4") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1);" (call_expression "FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" (identifier "FUN_0019ae30") (argument_list "(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,\n               local_5c + 1)" (( "(") (pointer_expression "&local_64" (& "&") (identifier "local_64")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "local_5c") (, ",") (binary_expression "local_5c + 2" (identifier "local_5c") (+ "+") (number_literal "2")) (, ",") (number_literal "7") (, ",") (identifier "iVar1") (, ",") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "param_2 = local_68;" (assignment_expression "param_2 = local_68" (identifier "param_2") (= "=") (identifier "local_68")) (; ";")) (expression_statement "param_3 = local_64;" (assignment_expression "param_3 = local_64" (identifier "param_3") (= "=") (identifier "local_64")) (; ";")) (if_statement "if (local_5c[0] == 0) {\n    param_8[6] = local_60;\n  }\n  else {\n    *puVar2 = *puVar2 | 4;\n  }" (if "if") (parenthesized_expression "(local_5c[0] == 0)" (( "(") (binary_expression "local_5c[0] == 0" (subscript_expression "local_5c[0]" (identifier "local_5c") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_8[6] = local_60;\n  }" ({ "{") (expression_statement "param_8[6] = local_60;" (assignment_expression "param_8[6] = local_60" (subscript_expression "param_8[6]" (identifier "param_8") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "local_60")) (; ";")) (} "}")) (else_clause "else {\n    *puVar2 = *puVar2 | 4;\n  }" (else "else") (compound_statement "{\n    *puVar2 = *puVar2 | 4;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 4;" (assignment_expression "*puVar2 = *puVar2 | 4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (number_literal "4"))) (; ";")) (} "}")))) (expression_statement "cVar3 = FUN_0019a960(&param_2,&param_4);" (assignment_expression "cVar3 = FUN_0019a960(&param_2,&param_4)" (identifier "cVar3") (= "=") (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 (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 2;\n  }" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 | 2;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 2;" (assignment_expression "*puVar2 = *puVar2 | 2" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 2" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (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_weekday(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 *
var_9::time_get<var_2,std::type_3<var_2,var_9::var_1<var_2>>>::var_3
          (var_4 *var_5,var_4 param_2,var_4 var_17,var_4 param_4,
          var_4 param_5,var_4 param_6,int var_10,var_6 *var_7,int var_15)

{
  int var_12;
  int iVar2;
  var_6 *puVar3;
  char var_18;
  type_1 *var_11;
  var_4 local_64;
  var_4 local_60;
  var_4 local_5c;
  int var_14;
  var_4 local_54;
  var_4 local_50;
  var_4 local_4c;
  var_4 local_48;
  var_4 local_44;
  var_4 local_40;
  var_4 local_3c;
  var_4 local_38;
  var_4 local_34;
  var_4 local_30;
  var_4 local_2c;
  var_4 local_28;
  var_4 local_24;
  var_4 local_20;
  var_4 uStack_14;
  
  puVar3 = var_7;
  iVar2 = var_10;
  uStack_14 = 0x1a1169;
  var_11 = var_8<var_9::type_1<var_2>>((type_2 *)(var_10 + 0x6c));
  var_14 = 0;
  var_12 = *(int *)(var_11 + 8);
  local_54 = *(var_4 *)(var_12 + 0x48);
  local_50 = *(var_4 *)(var_12 + 0x4c);
  local_4c = *(var_4 *)(var_12 + 0x50);
  local_48 = *(var_4 *)(var_12 + 0x54);
  local_44 = *(var_4 *)(var_12 + 0x58);
  local_40 = *(var_4 *)(var_12 + 0x5c);
  local_3c = *(var_4 *)(var_12 + 0x60);
  local_38 = *(var_4 *)(var_12 + 0x2c);
  local_34 = *(var_4 *)(var_12 + 0x30);
  local_30 = *(var_4 *)(var_12 + 0x34);
  local_2c = *(var_4 *)(var_12 + 0x38);
  local_28 = *(var_4 *)(var_12 + 0x3c);
  local_24 = *(var_4 *)(var_12 + 0x40);
  local_20 = *(var_4 *)(var_12 + 0x44);
  var_13
            (&local_64,param_2,var_17,param_4,param_5,param_6,&local_5c,&local_54,7,iVar2,&var_14
            );
  var_17 = local_64;
  param_4 = local_60;
  if (var_14 == 0) {
    *(var_4 *)(var_15 + 0x18) = local_5c;
  }
  else {
    *puVar3 = *puVar3 | 4;
  }
  var_18 = type_3<var_2,var_9::var_1<var_2>>::var_16
                    ((type_3<var_2,var_9::var_1<var_2>> *)&var_17,
                     (type_3 *)&param_5);
  if (var_18 != '\0') {
    *puVar3 = *puVar3 | 2;
  }
  *var_5 = var_17;
  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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (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: (identifier))) (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: (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,int param_7,uint *param_8)

{
  int iVar1;
  uint *puVar2;
  char cVar3;
  int iVar4;
  undefined4 local_68;
  undefined4 local_64;
  uint local_60;
  int local_5c [3];
  undefined4 local_50;
  undefined4 local_4c;
  undefined4 local_48;
  undefined4 local_44;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  puVar2 = param_8;
  iVar1 = param_7;
  uStack_14 = 0x1a1169;
  iVar4 = FUN_00197170(param_7 + 0x6c);
  local_5c[1] = 0;
  iVar4 = *(int *)(iVar4 + 8);
  local_5c[2] = *(undefined4 *)(iVar4 + 0x48);
  local_50 = *(undefined4 *)(iVar4 + 0x4c);
  local_4c = *(undefined4 *)(iVar4 + 0x50);
  local_48 = *(undefined4 *)(iVar4 + 0x54);
  local_44 = *(undefined4 *)(iVar4 + 0x58);
  local_40 = *(undefined4 *)(iVar4 + 0x5c);
  local_3c = *(undefined4 *)(iVar4 + 0x60);
  local_38 = *(undefined4 *)(iVar4 + 0x2c);
  local_34 = *(undefined4 *)(iVar4 + 0x30);
  local_30 = *(undefined4 *)(iVar4 + 0x34);
  local_2c = *(undefined4 *)(iVar4 + 0x38);
  local_28 = *(undefined4 *)(iVar4 + 0x3c);
  local_24 = *(undefined4 *)(iVar4 + 0x40);
  local_20 = *(undefined4 *)(iVar4 + 0x44);
  FUN_0019ae30(&local_64,param_2,param_3,param_4,param_5,param_6,local_5c,local_5c + 2,7,iVar1,
               local_5c + 1);
  param_2 = local_68;
  param_3 = local_64;
  if (local_5c[0] == 0) {
    param_8[6] = local_60;
  }
  else {
    *puVar2 = *puVar2 | 4;
  }
  cVar3 = FUN_0019a960(&param_2,&param_4);
  if (cVar3 != '\0') {
    *puVar2 = *puVar2 | 2;
  }
  *param_1 = param_2;
  param_1[1] = param_3;
  return param_1;
}

