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

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

{
  int iVar1;
  uint *puVar2;
  char cVar3;
  __timepunct *p_Var4;
  undefined4 local_24;
  undefined4 uStack_20;
  undefined4 uStack_14;
  
  puVar2 = param_8;
  iVar1 = param_7;
  uStack_14 = 0x20d579;
  p_Var4 = use_facet<std::__timepunct<wchar_t>>((locale *)(param_7 + 0x6c));
  _M_extract_via_format
            (&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,
             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10));
  param_3 = local_24;
  param_4 = uStack_20;
  cVar3 = istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>::equal
                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,
                     (istreambuf_iterator *)&param_5);
  if (cVar3 != '\0') {
    *puVar2 = *puVar2 | 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 */

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

{
  int iVar1;
  uint *puVar2;
  char cVar3;
  int iVar4;
  undefined4 local_28;
  undefined4 local_24 [4];
  undefined4 uStack_14;
  
  puVar2 = param_8;
  iVar1 = param_7;
  uStack_14 = 0x20d579;
  iVar4 = FUN_002031b0(param_7 + 0x6c);
  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,
               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));
  param_2 = local_28;
  param_3 = local_24[0];
  cVar3 = FUN_00206820(&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 0x00035680
ADD EBX,0x131a87
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x54]
MOV EDI,dword ptr [ESP + 0x58]
MOV ESI,dword ptr [ESP + 0x3c]
LEA EAX,[EBP + 0x6c]
PUSH EAX
CALL 0x002031b0
LEA EDX,[ESP + 0x18]
ADD ESP,0x8
MOV EAX,dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x5c]
PUSH EDI
PUSH EBP
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EDX
CALL 0x002070a0
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x64],EAX
MOV dword ptr [ESP + 0x68],EDX
ADD ESP,0x24
LEA EAX,[ESP + 0x48]
PUSH EAX
LEA EAX,[ESP + 0x44]
PUSH EAX
CALL 0x00206820
ADD ESP,0x10
TEST AL,AL
JZ 0x0020d5f0
OR dword ptr [EDI],0x2
MOV EAX,dword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESI],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x4],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_0020d570(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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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 (function_definition "undefined4 *\nFUN_0020d570(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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_0020d570(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,undefined4 param_9)" * (function_declarator "FUN_0020d570(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,undefined4 param_9)" 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,undefined4 param_9)" ( (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)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_28;" type_identifier identifier ;) (declaration "undefined4 local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (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 = 0x20d579;" (assignment_expression "uStack_14 = 0x20d579" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_002031b0(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_002031b0(param_7 + 0x6c)" identifier = (call_expression "FUN_002031b0(param_7 + 0x6c)" identifier (argument_list "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));" (call_expression "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar4 + 8) + 0x10" (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) )))) + number_literal) )))) ))) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (expression_statement "cVar3 = FUN_00206820(&param_2,&param_4);" (assignment_expression "cVar3 = FUN_00206820(&param_2,&param_4)" identifier = (call_expression "FUN_00206820(&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<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::do_get_time(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,\n   std::_Ios_Iostate&, tm*) const */\n\nundefined4 *\nstd::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_time\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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  __timepunct *p_Var4;\n  undefined4 local_24;\n  undefined4 uStack_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  p_Var4 = use_facet<std::__timepunct<wchar_t>>((locale *)(param_7 + 0x6c));\n  _M_extract_via_format\n            (&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10));\n  param_3 = local_24;\n  param_4 = uStack_20;\n  cVar3 = istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>::equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 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<wchar_t," (binary_expression "undefined4 *\nstd::time_get<wchar_t" (binary_expression "undefined4 *\nstd" identifier * identifier) (ERROR "::time_get" : : identifier) < identifier) ,) (labeled_statement "std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get_time\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,undefined4 param_9)" statement_identifier (ERROR "::istreambuf_iterator<wchar_t,std:" : : (comma_expression "istreambuf_iterator<wchar_t,std" (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier) , identifier) :) : (expression_statement "char_traits<wchar_t>>>::do_get_time\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,undefined4 param_9)" (binary_expression "char_traits<wchar_t>>>::do_get_time\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,undefined4 param_9)" identifier < (binary_expression "wchar_t>>>::do_get_time\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,undefined4 param_9)" identifier >> (ERROR ">::" > : :) (call_expression "do_get_time\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,undefined4 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,undefined4 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) , identifier (ERROR "param_9" identifier) ))))) ;)) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  __timepunct *p_Var4;\n  undefined4 local_24;\n  undefined4 uStack_20;\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  p_Var4 = use_facet<std::__timepunct<wchar_t>>((locale *)(param_7 + 0x6c));\n  _M_extract_via_format\n            (&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10));\n  param_3 = local_24;\n  param_4 = uStack_20;\n  cVar3 = istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>::equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);\n  if (cVar3 != '\0') {\n    *puVar2 = *puVar2 | 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 "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "__timepunct *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 uStack_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 = 0x20d579;" (assignment_expression "uStack_14 = 0x20d579" identifier = number_literal) ;) (expression_statement "p_Var4 = use_facet<std::__timepunct<wchar_t>>((locale *)(param_7 + 0x6c));" (binary_expression "p_Var4 = use_facet<std::__timepunct<wchar_t>>((locale *)(param_7 + 0x6c))" (assignment_expression "p_Var4 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::__timepunct" : : identifier) < (binary_expression "wchar_t>>((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 "_M_extract_via_format\n            (&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10));" (call_expression "_M_extract_via_format\n            (&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10))" identifier (argument_list "(&local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n             *(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10))" ( (pointer_expression "&local_24" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10)" * (cast_expression "(undefined4 *)(*(int *)(p_Var4 + 8) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(p_Var4 + 8) + 0x10)" ( (binary_expression "*(int *)(p_Var4 + 8) + 0x10" (pointer_expression "*(int *)(p_Var4 + 8)" * (cast_expression "(int *)(p_Var4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var4 + 8)" ( (binary_expression "p_Var4 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "param_3 = local_24;" (assignment_expression "param_3 = local_24" identifier = identifier) ;) (expression_statement "param_4 = uStack_20;" (assignment_expression "param_4 = uStack_20" identifier = identifier) ;) (ERROR "cVar3 = istreambuf_iterator<wchar_t,std::" (comma_expression "cVar3 = istreambuf_iterator<wchar_t,std" (assignment_expression "cVar3 = istreambuf_iterator<wchar_t" identifier = (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier)) , identifier) : :) (expression_statement "char_traits<wchar_t>>::equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5);" (binary_expression "char_traits<wchar_t>>::equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier < (binary_expression "wchar_t>>::equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier >> (ERROR "::" : :) (call_expression "equal\n                    ((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" identifier (argument_list "((istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3,\n                     (istreambuf_iterator *)&param_5)" ( (binary_expression "(istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)&param_3" (parenthesized_expression "(istreambuf_iterator<wchar_t,std::char_traits<wchar_t>> *)" ( (ERROR "istreambuf_iterator<wchar_t,std::" (comma_expression "istreambuf_iterator<wchar_t,std" (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier) , identifier) : :) (binary_expression "char_traits<wchar_t>> *" identifier < (binary_expression "wchar_t>> *" 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 (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_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_0020d570(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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_0020d570(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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_0020d570(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,undefined4 param_9)" * (function_declarator "FUN_0020d570(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,undefined4 param_9)" 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,undefined4 param_9)" ( (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)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_28;" type_identifier identifier ;) (declaration "undefined4 local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (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 = 0x20d579;" (assignment_expression "uStack_14 = 0x20d579" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_002031b0(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_002031b0(param_7 + 0x6c)" identifier = (call_expression "FUN_002031b0(param_7 + 0x6c)" identifier (argument_list "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));" (call_expression "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar4 + 8) + 0x10" (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) )))) + number_literal) )))) ))) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (expression_statement "cVar3 = FUN_00206820(&param_2,&param_4);" (assignment_expression "cVar3 = FUN_00206820(&param_2,&param_4)" identifier = (call_expression "FUN_00206820(&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)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_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_0020d570(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,undefined4 param_9)\n\n{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_0020d570(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,undefined4 param_9)" (* "*") (function_declarator "FUN_0020d570(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,undefined4 param_9)" (identifier "FUN_0020d570") (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,undefined4 param_9)" (( "(") (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"))) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")")))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  char cVar3;\n  int iVar4;\n  undefined4 local_28;\n  undefined4 local_24 [4];\n  undefined4 uStack_14;\n  \n  puVar2 = param_8;\n  iVar1 = param_7;\n  uStack_14 = 0x20d579;\n  iVar4 = FUN_002031b0(param_7 + 0x6c);\n  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));\n  param_2 = local_28;\n  param_3 = local_24[0];\n  cVar3 = FUN_00206820(&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_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24 [4];" (type_identifier "undefined4") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (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 = 0x20d579;" (assignment_expression "uStack_14 = 0x20d579" (identifier "uStack_14") (= "=") (number_literal "0x20d579")) (; ";")) (expression_statement "iVar4 = FUN_002031b0(param_7 + 0x6c);" (assignment_expression "iVar4 = FUN_002031b0(param_7 + 0x6c)" (identifier "iVar4") (= "=") (call_expression "FUN_002031b0(param_7 + 0x6c)" (identifier "FUN_002031b0") (argument_list "(param_7 + 0x6c)" (( "(") (binary_expression "param_7 + 0x6c" (identifier "param_7") (+ "+") (number_literal "0x6c")) () ")")))) (; ";")) (expression_statement "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));" (call_expression "FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" (identifier "FUN_002070a0") (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,\n               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10))" (( "(") (identifier "local_24") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "iVar1") (, ",") (identifier "puVar2") (, ",") (identifier "param_9") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar4 + 8) + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(iVar4 + 8) + 0x10" (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")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" (identifier "param_2") (= "=") (identifier "local_28")) (; ";")) (expression_statement "param_3 = local_24[0];" (assignment_expression "param_3 = local_24[0]" (identifier "param_3") (= "=") (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "cVar3 = FUN_00206820(&param_2,&param_4);" (assignment_expression "cVar3 = FUN_00206820(&param_2,&param_4)" (identifier "cVar3") (= "=") (call_expression "FUN_00206820(&param_2,&param_4)" (identifier "FUN_00206820") (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<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::do_get_time(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,
   std::_Ios_Iostate&, tm*) const */

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_14,var_4 param_4,
          var_4 param_5,var_4 param_6,int var_10,var_6 *var_7,var_4 param_9)

{
  int iVar1;
  var_6 *puVar2;
  char var_15;
  type_1 *var_12;
  var_4 local_24;
  var_4 uStack_20;
  var_4 uStack_14;
  
  puVar2 = var_7;
  iVar1 = var_10;
  uStack_14 = 0x20d579;
  var_12 = var_8<var_9::type_1<var_2>>((type_2 *)(var_10 + 0x6c));
  var_11
            (&local_24,param_2,var_14,param_4,param_5,param_6,iVar1,puVar2,param_9,
             *(var_4 *)(*(int *)(var_12 + 8) + 0x10));
  var_14 = local_24;
  param_4 = uStack_20;
  var_15 = type_3<var_2,var_9::var_1<var_2>>::var_13
                    ((type_3<var_2,var_9::var_1<var_2>> *)&var_14,
                     (type_3 *)&param_5);
  if (var_15 != '\0') {
    *puVar2 = *puVar2 | 2;
  }
  *var_5 = var_14;
  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))) (parameter_declaration type: (type_identifier) 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: (array_declarator declarator: (identifier) size: (number_literal))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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 */

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,undefined4 param_9)

{
  int iVar1;
  uint *puVar2;
  char cVar3;
  int iVar4;
  undefined4 local_28;
  undefined4 local_24 [4];
  undefined4 uStack_14;
  
  puVar2 = param_8;
  iVar1 = param_7;
  uStack_14 = 0x20d579;
  iVar4 = FUN_002031b0(param_7 + 0x6c);
  FUN_002070a0(local_24,param_2,param_3,param_4,param_5,param_6,iVar1,puVar2,param_9,
               *(undefined4 *)(*(int *)(iVar4 + 8) + 0x10));
  param_2 = local_28;
  param_3 = local_24[0];
  cVar3 = FUN_00206820(&param_2,&param_4);
  if (cVar3 != '\0') {
    *puVar2 = *puVar2 | 2;
  }
  *param_1 = param_2;
  param_1[1] = param_3;
  return param_1;
}

