
/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,
   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */

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

{
  bool bVar1;
  int iVar2;
  ctype *this;
  long *plVar3;
  bool bVar4;
  undefined1 auVar5 [16];
  undefined1 auVar6 [12];
  ctype local_3c;
  char local_3b;
  char local_3a;
  undefined1 local_39;
  
  if (*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48) {
    this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));
    *param_7 = 0;
    if (this[0x38] == (ctype)0x0) {
      ctype<char>::_M_widen_init((ctype<char> *)this);
      local_3c = (ctype)0x25;
      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {
        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);
      }
    }
    else {
      local_3c = this[0x5e];
    }
    if (param_10 == '\0') {
      local_3a = '\0';
      local_3b = param_9;
    }
    else {
      local_39 = 0;
      local_3b = param_10;
      local_3a = param_9;
    }
    auVar6 = _M_extract_via_format
                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);
    auVar5._8_4_ = auVar6._8_4_;
    plVar3 = auVar6._0_8_;
    bVar4 = auVar5._8_4_ == -1;
    bVar1 = plVar3 != (long *)0x0 && bVar4;
    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {
      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);
      bVar4 = iVar2 == -1 && bVar1;
      if (iVar2 == -1) {
        plVar3 = (long *)0x0;
      }
    }
    bVar1 = (int)param_5 == -1;
    if (((param_4 != (long *)0x0) && (bVar1)) &&
       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {
      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);
      bVar1 = iVar2 == -1;
    }
    if (bVar1 == bVar4) {
      *param_7 = *param_7 | 2;
    }
    auVar5._0_8_ = plVar3;
    auVar5._12_4_ = 0;
    return auVar5;
  }
  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);
  return auVar5;
}



undefined1  [16]
FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,
            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)

{
  bool bVar1;
  int iVar2;
  long *plVar3;
  bool bVar4;
  undefined1 auVar5 [16];
  undefined1 auVar6 [12];
  undefined1 local_3c;
  char local_3b;
  char local_3a;
  undefined1 local_39;
  
  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {
    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);
    *param_7 = 0;
    if ((char)plVar3[7] == '\0') {
      FUN_002e17e0(plVar3);
      local_3c = 0x25;
      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {
        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);
      }
    }
    else {
      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);
    }
    if (param_10 == '\0') {
      local_3a = '\0';
      local_3b = param_9;
    }
    else {
      local_39 = 0;
      local_3b = param_10;
      local_3a = param_9;
    }
    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)
    ;
    auVar5._8_4_ = auVar6._8_4_;
    plVar3 = auVar6._0_8_;
    bVar4 = auVar5._8_4_ == -1;
    bVar1 = plVar3 != (long *)0x0 && bVar4;
    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {
      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);
      bVar4 = iVar2 == -1 && bVar1;
      if (iVar2 == -1) {
        plVar3 = (long *)0x0;
      }
    }
    bVar1 = (int)param_5 == -1;
    if (((param_4 != (long *)0x0) && (bVar1)) &&
       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {
      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);
      bVar1 = iVar2 == -1;
    }
    if (bVar1 == bVar4) {
      *param_7 = *param_7 | 2;
    }
    auVar5._0_8_ = plVar3;
    auVar5._12_4_ = 0;
    return auVar5;
  }
  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);
  return auVar5;
}


PUSH R15
MOV R15,RDI
PUSH R14
PUSH R13
PUSH R12
MOV R12,R8
PUSH RBP
MOV RBP,RDX
PUSH RBX
MOV RBX,RCX
SUB RSP,0x48
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP + 0x8],RSI
MOV R14D,dword ptr [RSP + 0x90]
MOV RAX,qword ptr [RAX + 0x40]
CMP RAX,qword ptr [0x003f7a48]
MOV R13D,dword ptr [RSP + 0x98]
JNZ 0x00319848
LEA RDI,[R9 + 0xd0]
MOV qword ptr [RSP + 0x10],R9
CALL 0x002b4380
MOV RSI,qword ptr [RSP + 0x80]
MOV R9,qword ptr [RSP + 0x10]
MOV dword ptr [RSI],0x0
CMP byte ptr [RAX + 0x38],0x0
JZ 0x003197d8
MOVZX EDX,byte ptr [RAX + 0x5e]
MOV byte ptr [RSP + 0x3c],DL
TEST R13B,R13B
JNZ 0x00319830
MOV byte ptr [RSP + 0x3d],R14B
MOV byte ptr [RSP + 0x3e],0x0
SUB RSP,0x8
MOV RDX,RBP
MOV RDI,R15
MOV RCX,RBX
LEA RAX,[RSP + 0x44]
MOV R8,R12
PUSH RAX
PUSH qword ptr [RSP + 0x98]
PUSH qword ptr [RSP + 0x98]
MOV RSI,qword ptr [RSP + 0x28]
CALL 0x00317c20
MOV qword ptr [RSP + 0x48],RDX
MOV R13,RAX
MOV RDX,-0x100000000
MOV qword ptr [RSP + 0x40],RAX
MOV EAX,dword ptr [RSP + 0x48]
AND RBP,RDX
ADD RSP,0x20
OR RBP,RAX
CMP EBP,-0x1
MOV R15D,EBP
SETZ BPL
TEST R13,R13
SETNZ AL
AND AL,BPL
MOV R14D,EAX
JNZ 0x003198a8
CMP R12D,-0x1
SETZ AL
TEST RBX,RBX
JZ 0x003197af
TEST AL,AL
JNZ 0x00319880
CMP AL,BPL
JNZ 0x003197bf
MOV RAX,qword ptr [RSP + 0x80]
OR dword ptr [RAX],0x2
ADD RSP,0x48
MOV RAX,R13
MOV EDX,R15D
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,RAX
MOV qword ptr [RSP + 0x18],R9
MOV qword ptr [RSP + 0x10],RAX
CALL 0x002e17e0
MOV RAX,qword ptr [RSP + 0x10]
MOV R9,qword ptr [RSP + 0x18]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RDX + 0x30]
CMP RCX,qword ptr [0x003f7fd8]
MOV EDX,0x25
JZ 0x00319715
MOV qword ptr [RSP + 0x10],R9
MOV ESI,0x25
MOV RDI,RAX
CALL RCX
MOV R9,qword ptr [RSP + 0x10]
MOV EDX,EAX
JMP 0x00319715
MOV byte ptr [RSP + 0x3d],R13B
MOV byte ptr [RSP + 0x3e],R14B
MOV byte ptr [RSP + 0x3f],0x0
JMP 0x0031972c
MOVSX R13D,R13B
MOVSX R14D,R14B
PUSH R13
PUSH R14
PUSH qword ptr [RSP + 0x98]
PUSH qword ptr [RSP + 0x98]
MOV RSI,qword ptr [RSP + 0x28]
CALL RAX
ADD RSP,0x20
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
XOR EAX,EAX
MOV RCX,qword ptr [RBX + 0x18]
CMP qword ptr [RBX + 0x10],RCX
JC 0x003197af
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x48]
CMP EAX,-0x1
SETZ AL
JMP 0x003197af
XOR EBP,EBP
MOV RAX,qword ptr [R13 + 0x18]
CMP qword ptr [R13 + 0x10],RAX
JC 0x0031979b
MOV RAX,qword ptr [R13]
MOV RDI,R13
CALL qword ptr [RAX + 0x48]
CMP EAX,-0x1
MOV EAX,0x0
CMOVZ EBP,R14D
CMOVZ R13,RAX
JMP 0x0031979b
(translation_unit "undefined1  [16]\nFUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  undefined1 local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (call_expression "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" identifier (argument_list "(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" ( (binary_expression "long *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) , (binary_expression "long *param_4" identifier * identifier) , identifier (ERROR "param_5" identifier) , (ERROR "long" identifier) identifier , (binary_expression "uint *param_7" identifier * identifier) , identifier (ERROR "param_8" identifier) , (ERROR "char" identifier) identifier , (ERROR "char" identifier) identifier ))) ;) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  undefined1 local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 auVar5 [16];" type_identifier (array_declarator "auVar5 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar6 [12];" type_identifier (array_declarator "auVar6 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_3c;" type_identifier identifier ;) (declaration "char local_3b;" primitive_type identifier ;) (declaration "char local_3a;" primitive_type identifier ;) (declaration "undefined1 local_39;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48)" ( (binary_expression "*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48" (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003f7a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" { (expression_statement "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);" (assignment_expression "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0)" identifier = (cast_expression "(long *)FUN_002b4380(param_6 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002b4380(param_6 + 0xd0)" identifier (argument_list "(param_6 + 0xd0)" ( (binary_expression "param_6 + 0xd0" identifier + number_literal) ))))) ;) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" * identifier) = number_literal) ;) (if_statement "if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" if (parenthesized_expression "((char)plVar3[7] == '\0')" ( (binary_expression "(char)plVar3[7] == '\0'" (cast_expression "(char)plVar3[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "plVar3[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }" { (expression_statement "FUN_002e17e0(plVar3);" (call_expression "FUN_002e17e0(plVar3)" identifier (argument_list "(plVar3)" ( identifier ))) ;) (expression_statement "local_3c = 0x25;" (assignment_expression "local_3c = 0x25" identifier = number_literal) ;) (if_statement "if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" if (parenthesized_expression "(*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8)" ( (binary_expression "*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8" (pointer_expression "*(code **)(*plVar3 + 0x30)" * (cast_expression "(code **)(*plVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x30)" ( (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_003f7fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" { (expression_statement "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);" (assignment_expression "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25)" identifier = (call_expression "(**(code **)(*plVar3 + 0x30))(plVar3,0x25)" (parenthesized_expression "(**(code **)(*plVar3 + 0x30))" ( (pointer_expression "**(code **)(*plVar3 + 0x30)" * (pointer_expression "*(code **)(*plVar3 + 0x30)" * (cast_expression "(code **)(*plVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x30)" ( (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" * identifier) + number_literal) ))))) )) (argument_list "(plVar3,0x25)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" else (compound_statement "{\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" { (expression_statement "local_3c = *(undefined1 *)((long)plVar3 + 0x5e);" (assignment_expression "local_3c = *(undefined1 *)((long)plVar3 + 0x5e)" identifier = (pointer_expression "*(undefined1 *)((long)plVar3 + 0x5e)" * (cast_expression "(undefined1 *)((long)plVar3 + 0x5e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar3 + 0x5e)" ( (binary_expression "(long)plVar3 + 0x5e" (cast_expression "(long)plVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" if (parenthesized_expression "(param_10 == '\0')" ( (binary_expression "param_10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_3a = '\0';\n      local_3b = param_9;\n    }" { (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_3b = param_9;" (assignment_expression "local_3b = param_9" identifier = identifier) ;) }) (else_clause "else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" else (compound_statement "{\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" { (expression_statement "local_39 = 0;" (assignment_expression "local_39 = 0" identifier = number_literal) ;) (expression_statement "local_3b = param_10;" (assignment_expression "local_3b = param_10" identifier = identifier) ;) (expression_statement "local_3a = param_9;" (assignment_expression "local_3a = param_9" identifier = identifier) ;) }))) (expression_statement "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;" (assignment_expression "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier = (call_expression "FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "auVar5._8_4_ = auVar6._8_4_;" (assignment_expression "auVar5._8_4_ = auVar6._8_4_" (field_expression "auVar5._8_4_" identifier . field_identifier) = (field_expression "auVar6._8_4_" identifier . field_identifier)) ;) (expression_statement "plVar3 = auVar6._0_8_;" (assignment_expression "plVar3 = auVar6._0_8_" identifier = (field_expression "auVar6._0_8_" identifier . field_identifier)) ;) (expression_statement "bVar4 = auVar5._8_4_ == -1;" (assignment_expression "bVar4 = auVar5._8_4_ == -1" identifier = (binary_expression "auVar5._8_4_ == -1" (field_expression "auVar5._8_4_" identifier . field_identifier) == number_literal)) ;) (expression_statement "bVar1 = plVar3 != (long *)0x0 && bVar4;" (assignment_expression "bVar1 = plVar3 != (long *)0x0 && bVar4" identifier = (binary_expression "plVar3 != (long *)0x0 && bVar4" (binary_expression "plVar3 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" if (parenthesized_expression "((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]))" ( (binary_expression "(bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "(bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" ( (comma_expression "bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]" (assignment_expression "bVar4 = false" identifier = false) , (binary_expression "(ulong)plVar3[3] <= (ulong)plVar3[2]" (cast_expression "(ulong)plVar3[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)plVar3[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" { (expression_statement "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);" (assignment_expression "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3)" identifier = (call_expression "(**(code **)(*plVar3 + 0x48))(plVar3)" (parenthesized_expression "(**(code **)(*plVar3 + 0x48))" ( (pointer_expression "**(code **)(*plVar3 + 0x48)" * (pointer_expression "*(code **)(*plVar3 + 0x48)" * (cast_expression "(code **)(*plVar3 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x48)" ( (binary_expression "*plVar3 + 0x48" (pointer_expression "*plVar3" * identifier) + number_literal) ))))) )) (argument_list "(plVar3)" ( identifier )))) ;) (expression_statement "bVar4 = iVar2 == -1 && bVar1;" (assignment_expression "bVar4 = iVar2 == -1 && bVar1" identifier = (binary_expression "iVar2 == -1 && bVar1" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) (if_statement "if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n        plVar3 = (long *)0x0;\n      }" { (expression_statement "plVar3 = (long *)0x0;" (assignment_expression "plVar3 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "bVar1 = (int)param_5 == -1;" (assignment_expression "bVar1 = (int)param_5 == -1" identifier = (binary_expression "(int)param_5 == -1" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal)) ;) (if_statement "if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" if (parenthesized_expression "(((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]))" ( (binary_expression "((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" (parenthesized_expression "((param_4 != (long *)0x0) && (bVar1))" ( (binary_expression "(param_4 != (long *)0x0) && (bVar1)" (parenthesized_expression "(param_4 != (long *)0x0)" ( (binary_expression "param_4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) && (parenthesized_expression "(bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" ( (comma_expression "bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "(ulong)param_4[3] <= (ulong)param_4[2]" (cast_expression "(ulong)param_4[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)param_4[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" { (expression_statement "iVar2 = (**(code **)(*param_4 + 0x48))(param_4);" (assignment_expression "iVar2 = (**(code **)(*param_4 + 0x48))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x48))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x48))" ( (pointer_expression "**(code **)(*param_4 + 0x48)" * (pointer_expression "*(code **)(*param_4 + 0x48)" * (cast_expression "(code **)(*param_4 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x48)" ( (binary_expression "*param_4 + 0x48" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar1 = iVar2 == -1;" (assignment_expression "bVar1 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }" if (parenthesized_expression "(bVar1 == bVar4)" ( (binary_expression "bVar1 == bVar4" identifier == identifier) )) (compound_statement "{\n      *param_7 = *param_7 | 2;\n    }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "auVar5._0_8_ = plVar3;" (assignment_expression "auVar5._0_8_ = plVar3" (field_expression "auVar5._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar5._12_4_ = 0;" (assignment_expression "auVar5._12_4_ = 0" (field_expression "auVar5._12_4_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar5;" return identifier ;) })) (expression_statement "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);" (assignment_expression "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2)" identifier = (call_expression "(**(code **)(*param_1 + 0x40))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x40))" ( (pointer_expression "**(code **)(*param_1 + 0x40)" * (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return auVar5;" return identifier ;) }))
(translation_unit "/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >\n   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,\n   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */\n\nundefined1  [16]\nstd::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  ctype *this;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  ctype local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48) {\n    this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));\n    *param_7 = 0;\n    if (this[0x38] == (ctype)0x0) {\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }\n    else {\n      local_3c = this[0x5e];\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (labeled_statement "std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" statement_identifier (ERROR "::time_get<char,std::istreambuf_iterator<char,std:" : : (comma_expression "time_get<char,std" (binary_expression "time_get<char" identifier < identifier) , identifier) : : (comma_expression "istreambuf_iterator<char,std" (binary_expression "istreambuf_iterator<char" identifier < identifier) , identifier) :) : (expression_statement "char_traits<char>>>::get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (binary_expression "char_traits<char>>>::get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" identifier < (binary_expression "char>>>::get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" identifier >> (ERROR ">::" > : :) (call_expression "get\n          (long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" identifier (argument_list "(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n          long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" ( (binary_expression "long *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) , (binary_expression "long *param_4" identifier * identifier) , identifier (ERROR "param_5" identifier) , (ERROR "long" identifier) identifier , (binary_expression "uint *param_7" identifier * identifier) , identifier (ERROR "param_8" identifier) , (ERROR "char" identifier) identifier , (ERROR "char" identifier) identifier ))))) ;)) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  ctype *this;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  ctype local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48) {\n    this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));\n    *param_7 = 0;\n    if (this[0x38] == (ctype)0x0) {\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }\n    else {\n      local_3c = this[0x5e];\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ctype *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 auVar5 [16];" type_identifier (array_declarator "auVar5 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar6 [12];" type_identifier (array_declarator "auVar6 [12]" identifier [ number_literal ]) ;) (declaration "ctype local_3c;" type_identifier identifier ;) (declaration "char local_3b;" primitive_type identifier ;) (declaration "char local_3a;" primitive_type identifier ;) (declaration "undefined1 local_39;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48) {\n    this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));\n    *param_7 = 0;\n    if (this[0x38] == (ctype)0x0) {\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }\n    else {\n      local_3c = this[0x5e];\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48)" ( (binary_expression "*(code **)(*param_1 + 0x40) == (code *)PTR_do_get_003f7a48" (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_do_get_003f7a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));\n    *param_7 = 0;\n    if (this[0x38] == (ctype)0x0) {\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }\n    else {\n      local_3c = this[0x5e];\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" { (expression_statement "this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0));" (binary_expression "this = use_facet<std::ctype<char>>((locale *)(param_6 + 0xd0))" (assignment_expression "this = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "char>>((locale *)(param_6 + 0xd0))" identifier >> (parenthesized_expression "((locale *)(param_6 + 0xd0))" ( (cast_expression "(locale *)(param_6 + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 0xd0)" ( (binary_expression "param_6 + 0xd0" identifier + number_literal) ))) )))) ;) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" * identifier) = number_literal) ;) (if_statement "if (this[0x38] == (ctype)0x0) {\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }\n    else {\n      local_3c = this[0x5e];\n    }" if (parenthesized_expression "(this[0x38] == (ctype)0x0)" ( (binary_expression "this[0x38] == (ctype)0x0" (subscript_expression "this[0x38]" identifier [ number_literal ]) == (cast_expression "(ctype)0x0" ( (type_descriptor "ctype" type_identifier) ) number_literal)) )) (compound_statement "{\n      ctype<char>::_M_widen_init((ctype<char> *)this);\n      local_3c = (ctype)0x25;\n      if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }\n    }" { (expression_statement "ctype<char>::_M_widen_init((ctype<char> *)this);" (binary_expression "ctype<char>::_M_widen_init((ctype<char> *)this)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "_M_widen_init((ctype<char> *)this)" identifier (argument_list "((ctype<char> *)this)" ( (parenthesized_expression "(ctype<char> *)this)" ( (binary_expression "ctype<char> *)this" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)this" * (ERROR ")" )) identifier)) )) )))) ;) (expression_statement "local_3c = (ctype)0x25;" (assignment_expression "local_3c = (ctype)0x25" identifier = (cast_expression "(ctype)0x25" ( (type_descriptor "ctype" type_identifier) ) number_literal)) ;) (if_statement "if (*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8) {\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }" if (parenthesized_expression "(*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8)" ( (binary_expression "*(code **)(*(long *)this + 0x30) != (code *)PTR_do_widen_003f7fd8" (pointer_expression "*(code **)(*(long *)this + 0x30)" * (cast_expression "(code **)(*(long *)this + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x30)" ( (binary_expression "*(long *)this + 0x30" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != (cast_expression "(code *)PTR_do_widen_003f7fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);\n      }" { (expression_statement "local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25);" (assignment_expression "local_3c = (ctype)(**(code **)(*(long *)this + 0x30))(this,0x25)" identifier = (call_expression "(ctype)(**(code **)(*(long *)this + 0x30))(this,0x25)" (call_expression "(ctype)(**(code **)(*(long *)this + 0x30))" (parenthesized_expression "(ctype)" ( identifier )) (argument_list "(**(code **)(*(long *)this + 0x30))" ( (pointer_expression "**(code **)(*(long *)this + 0x30)" * (pointer_expression "*(code **)(*(long *)this + 0x30)" * (cast_expression "(code **)(*(long *)this + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x30)" ( (binary_expression "*(long *)this + 0x30" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) (argument_list "(this,0x25)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      local_3c = this[0x5e];\n    }" else (compound_statement "{\n      local_3c = this[0x5e];\n    }" { (expression_statement "local_3c = this[0x5e];" (assignment_expression "local_3c = this[0x5e]" identifier = (subscript_expression "this[0x5e]" identifier [ number_literal ])) ;) }))) (if_statement "if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" if (parenthesized_expression "(param_10 == '\0')" ( (binary_expression "param_10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_3a = '\0';\n      local_3b = param_9;\n    }" { (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_3b = param_9;" (assignment_expression "local_3b = param_9" identifier = identifier) ;) }) (else_clause "else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" else (compound_statement "{\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" { (expression_statement "local_39 = 0;" (assignment_expression "local_39 = 0" identifier = number_literal) ;) (expression_statement "local_3b = param_10;" (assignment_expression "local_3b = param_10" identifier = identifier) ;) (expression_statement "local_3a = param_9;" (assignment_expression "local_3a = param_9" identifier = identifier) ;) }))) (expression_statement "auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c);" (assignment_expression "auVar6 = _M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier = (call_expression "_M_extract_via_format\n                       (param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "auVar5._8_4_ = auVar6._8_4_;" (assignment_expression "auVar5._8_4_ = auVar6._8_4_" (field_expression "auVar5._8_4_" identifier . field_identifier) = (field_expression "auVar6._8_4_" identifier . field_identifier)) ;) (expression_statement "plVar3 = auVar6._0_8_;" (assignment_expression "plVar3 = auVar6._0_8_" identifier = (field_expression "auVar6._0_8_" identifier . field_identifier)) ;) (expression_statement "bVar4 = auVar5._8_4_ == -1;" (assignment_expression "bVar4 = auVar5._8_4_ == -1" identifier = (binary_expression "auVar5._8_4_ == -1" (field_expression "auVar5._8_4_" identifier . field_identifier) == number_literal)) ;) (expression_statement "bVar1 = plVar3 != (long *)0x0 && bVar4;" (assignment_expression "bVar1 = plVar3 != (long *)0x0 && bVar4" identifier = (binary_expression "plVar3 != (long *)0x0 && bVar4" (binary_expression "plVar3 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" if (parenthesized_expression "((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]))" ( (binary_expression "(bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "(bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" ( (comma_expression "bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]" (assignment_expression "bVar4 = false" identifier = false) , (binary_expression "(ulong)plVar3[3] <= (ulong)plVar3[2]" (cast_expression "(ulong)plVar3[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)plVar3[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" { (expression_statement "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);" (assignment_expression "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3)" identifier = (call_expression "(**(code **)(*plVar3 + 0x48))(plVar3)" (parenthesized_expression "(**(code **)(*plVar3 + 0x48))" ( (pointer_expression "**(code **)(*plVar3 + 0x48)" * (pointer_expression "*(code **)(*plVar3 + 0x48)" * (cast_expression "(code **)(*plVar3 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x48)" ( (binary_expression "*plVar3 + 0x48" (pointer_expression "*plVar3" * identifier) + number_literal) ))))) )) (argument_list "(plVar3)" ( identifier )))) ;) (expression_statement "bVar4 = iVar2 == -1 && bVar1;" (assignment_expression "bVar4 = iVar2 == -1 && bVar1" identifier = (binary_expression "iVar2 == -1 && bVar1" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) (if_statement "if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n        plVar3 = (long *)0x0;\n      }" { (expression_statement "plVar3 = (long *)0x0;" (assignment_expression "plVar3 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "bVar1 = (int)param_5 == -1;" (assignment_expression "bVar1 = (int)param_5 == -1" identifier = (binary_expression "(int)param_5 == -1" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal)) ;) (if_statement "if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" if (parenthesized_expression "(((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]))" ( (binary_expression "((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" (parenthesized_expression "((param_4 != (long *)0x0) && (bVar1))" ( (binary_expression "(param_4 != (long *)0x0) && (bVar1)" (parenthesized_expression "(param_4 != (long *)0x0)" ( (binary_expression "param_4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) && (parenthesized_expression "(bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" ( (comma_expression "bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "(ulong)param_4[3] <= (ulong)param_4[2]" (cast_expression "(ulong)param_4[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)param_4[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" { (expression_statement "iVar2 = (**(code **)(*param_4 + 0x48))(param_4);" (assignment_expression "iVar2 = (**(code **)(*param_4 + 0x48))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x48))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x48))" ( (pointer_expression "**(code **)(*param_4 + 0x48)" * (pointer_expression "*(code **)(*param_4 + 0x48)" * (cast_expression "(code **)(*param_4 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x48)" ( (binary_expression "*param_4 + 0x48" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar1 = iVar2 == -1;" (assignment_expression "bVar1 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }" if (parenthesized_expression "(bVar1 == bVar4)" ( (binary_expression "bVar1 == bVar4" identifier == identifier) )) (compound_statement "{\n      *param_7 = *param_7 | 2;\n    }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "auVar5._0_8_ = plVar3;" (assignment_expression "auVar5._0_8_ = plVar3" (field_expression "auVar5._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar5._12_4_ = 0;" (assignment_expression "auVar5._12_4_ = 0" (field_expression "auVar5._12_4_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar5;" return identifier ;) })) (expression_statement "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);" (assignment_expression "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2)" identifier = (call_expression "(**(code **)(*param_1 + 0x40))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x40))" ( (pointer_expression "**(code **)(*param_1 + 0x40)" * (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return auVar5;" return identifier ;) }))
(translation_unit "undefined1  [16]\nFUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  undefined1 local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (call_expression "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" identifier (argument_list "(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" ( (binary_expression "long *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) , (binary_expression "long *param_4" identifier * identifier) , identifier (ERROR "param_5" identifier) , (ERROR "long" identifier) identifier , (binary_expression "uint *param_7" identifier * identifier) , identifier (ERROR "param_8" identifier) , (ERROR "char" identifier) identifier , (ERROR "char" identifier) identifier ))) ;) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  undefined1 local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined1 auVar5 [16];" type_identifier (array_declarator "auVar5 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar6 [12];" type_identifier (array_declarator "auVar6 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_3c;" type_identifier identifier ;) (declaration "char local_3b;" primitive_type identifier ;) (declaration "char local_3a;" primitive_type identifier ;) (declaration "undefined1 local_39;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48)" ( (binary_expression "*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48" (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003f7a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" { (expression_statement "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);" (assignment_expression "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0)" identifier = (cast_expression "(long *)FUN_002b4380(param_6 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002b4380(param_6 + 0xd0)" identifier (argument_list "(param_6 + 0xd0)" ( (binary_expression "param_6 + 0xd0" identifier + number_literal) ))))) ;) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" * identifier) = number_literal) ;) (if_statement "if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" if (parenthesized_expression "((char)plVar3[7] == '\0')" ( (binary_expression "(char)plVar3[7] == '\0'" (cast_expression "(char)plVar3[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "plVar3[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }" { (expression_statement "FUN_002e17e0(plVar3);" (call_expression "FUN_002e17e0(plVar3)" identifier (argument_list "(plVar3)" ( identifier ))) ;) (expression_statement "local_3c = 0x25;" (assignment_expression "local_3c = 0x25" identifier = number_literal) ;) (if_statement "if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" if (parenthesized_expression "(*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8)" ( (binary_expression "*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8" (pointer_expression "*(code **)(*plVar3 + 0x30)" * (cast_expression "(code **)(*plVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x30)" ( (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_003f7fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" { (expression_statement "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);" (assignment_expression "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25)" identifier = (call_expression "(**(code **)(*plVar3 + 0x30))(plVar3,0x25)" (parenthesized_expression "(**(code **)(*plVar3 + 0x30))" ( (pointer_expression "**(code **)(*plVar3 + 0x30)" * (pointer_expression "*(code **)(*plVar3 + 0x30)" * (cast_expression "(code **)(*plVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x30)" ( (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" * identifier) + number_literal) ))))) )) (argument_list "(plVar3,0x25)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" else (compound_statement "{\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" { (expression_statement "local_3c = *(undefined1 *)((long)plVar3 + 0x5e);" (assignment_expression "local_3c = *(undefined1 *)((long)plVar3 + 0x5e)" identifier = (pointer_expression "*(undefined1 *)((long)plVar3 + 0x5e)" * (cast_expression "(undefined1 *)((long)plVar3 + 0x5e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar3 + 0x5e)" ( (binary_expression "(long)plVar3 + 0x5e" (cast_expression "(long)plVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" if (parenthesized_expression "(param_10 == '\0')" ( (binary_expression "param_10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_3a = '\0';\n      local_3b = param_9;\n    }" { (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_3b = param_9;" (assignment_expression "local_3b = param_9" identifier = identifier) ;) }) (else_clause "else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" else (compound_statement "{\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" { (expression_statement "local_39 = 0;" (assignment_expression "local_39 = 0" identifier = number_literal) ;) (expression_statement "local_3b = param_10;" (assignment_expression "local_3b = param_10" identifier = identifier) ;) (expression_statement "local_3a = param_9;" (assignment_expression "local_3a = param_9" identifier = identifier) ;) }))) (expression_statement "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;" (assignment_expression "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier = (call_expression "FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "auVar5._8_4_ = auVar6._8_4_;" (assignment_expression "auVar5._8_4_ = auVar6._8_4_" (field_expression "auVar5._8_4_" identifier . field_identifier) = (field_expression "auVar6._8_4_" identifier . field_identifier)) ;) (expression_statement "plVar3 = auVar6._0_8_;" (assignment_expression "plVar3 = auVar6._0_8_" identifier = (field_expression "auVar6._0_8_" identifier . field_identifier)) ;) (expression_statement "bVar4 = auVar5._8_4_ == -1;" (assignment_expression "bVar4 = auVar5._8_4_ == -1" identifier = (binary_expression "auVar5._8_4_ == -1" (field_expression "auVar5._8_4_" identifier . field_identifier) == number_literal)) ;) (expression_statement "bVar1 = plVar3 != (long *)0x0 && bVar4;" (assignment_expression "bVar1 = plVar3 != (long *)0x0 && bVar4" identifier = (binary_expression "plVar3 != (long *)0x0 && bVar4" (binary_expression "plVar3 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" if (parenthesized_expression "((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]))" ( (binary_expression "(bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "(bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" ( (comma_expression "bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]" (assignment_expression "bVar4 = false" identifier = false) , (binary_expression "(ulong)plVar3[3] <= (ulong)plVar3[2]" (cast_expression "(ulong)plVar3[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)plVar3[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar3[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" { (expression_statement "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);" (assignment_expression "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3)" identifier = (call_expression "(**(code **)(*plVar3 + 0x48))(plVar3)" (parenthesized_expression "(**(code **)(*plVar3 + 0x48))" ( (pointer_expression "**(code **)(*plVar3 + 0x48)" * (pointer_expression "*(code **)(*plVar3 + 0x48)" * (cast_expression "(code **)(*plVar3 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar3 + 0x48)" ( (binary_expression "*plVar3 + 0x48" (pointer_expression "*plVar3" * identifier) + number_literal) ))))) )) (argument_list "(plVar3)" ( identifier )))) ;) (expression_statement "bVar4 = iVar2 == -1 && bVar1;" (assignment_expression "bVar4 = iVar2 == -1 && bVar1" identifier = (binary_expression "iVar2 == -1 && bVar1" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) (if_statement "if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n        plVar3 = (long *)0x0;\n      }" { (expression_statement "plVar3 = (long *)0x0;" (assignment_expression "plVar3 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "bVar1 = (int)param_5 == -1;" (assignment_expression "bVar1 = (int)param_5 == -1" identifier = (binary_expression "(int)param_5 == -1" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal)) ;) (if_statement "if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" if (parenthesized_expression "(((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]))" ( (binary_expression "((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" (parenthesized_expression "((param_4 != (long *)0x0) && (bVar1))" ( (binary_expression "(param_4 != (long *)0x0) && (bVar1)" (parenthesized_expression "(param_4 != (long *)0x0)" ( (binary_expression "param_4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar1)" ( identifier ))) )) && (parenthesized_expression "(bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" ( (comma_expression "bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "(ulong)param_4[3] <= (ulong)param_4[2]" (cast_expression "(ulong)param_4[3]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(ulong)param_4[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" { (expression_statement "iVar2 = (**(code **)(*param_4 + 0x48))(param_4);" (assignment_expression "iVar2 = (**(code **)(*param_4 + 0x48))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x48))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x48))" ( (pointer_expression "**(code **)(*param_4 + 0x48)" * (pointer_expression "*(code **)(*param_4 + 0x48)" * (cast_expression "(code **)(*param_4 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x48)" ( (binary_expression "*param_4 + 0x48" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar1 = iVar2 == -1;" (assignment_expression "bVar1 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }" if (parenthesized_expression "(bVar1 == bVar4)" ( (binary_expression "bVar1 == bVar4" identifier == identifier) )) (compound_statement "{\n      *param_7 = *param_7 | 2;\n    }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "auVar5._0_8_ = plVar3;" (assignment_expression "auVar5._0_8_ = plVar3" (field_expression "auVar5._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar5._12_4_ = 0;" (assignment_expression "auVar5._12_4_ = 0" (field_expression "auVar5._12_4_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar5;" return identifier ;) })) (expression_statement "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);" (assignment_expression "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2)" identifier = (call_expression "(**(code **)(*param_1 + 0x40))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x40))" ( (pointer_expression "**(code **)(*param_1 + 0x40)" * (pointer_expression "*(code **)(*param_1 + 0x40)" * (cast_expression "(code **)(*param_1 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x40)" ( (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return auVar5;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , (binary_expression IDENT * IDENT) , IDENT (ERROR IDENT) , (ERROR IDENT) IDENT , (binary_expression IDENT * IDENT) , IDENT (ERROR IDENT) , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT ))) ;) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (field_expression IDENT . field_identifier) == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) && IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (expression_statement "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (call_expression "FUN_003196a0(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (identifier "FUN_003196a0") (argument_list "(long *param_1,undefined8 param_2,undefined8 param_3,long *param_4,undefined8 param_5,\n            long param_6,uint *param_7,undefined8 param_8,char param_9,char param_10)" (( "(") (binary_expression "long *param_1" (identifier "long") (* "*") (identifier "param_1")) (, ",") (identifier "undefined8") (ERROR "param_2" (identifier "param_2")) (, ",") (identifier "undefined8") (ERROR "param_3" (identifier "param_3")) (, ",") (binary_expression "long *param_4" (identifier "long") (* "*") (identifier "param_4")) (, ",") (identifier "undefined8") (ERROR "param_5" (identifier "param_5")) (, ",") (ERROR "long" (identifier "long")) (identifier "param_6") (, ",") (binary_expression "uint *param_7" (identifier "uint") (* "*") (identifier "param_7")) (, ",") (identifier "undefined8") (ERROR "param_8" (identifier "param_8")) (, ",") (ERROR "char" (identifier "char")) (identifier "param_9") (, ",") (ERROR "char" (identifier "char")) (identifier "param_10") () ")"))) (; "")) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  long *plVar3;\n  bool bVar4;\n  undefined1 auVar5 [16];\n  undefined1 auVar6 [12];\n  undefined1 local_3c;\n  char local_3b;\n  char local_3a;\n  undefined1 local_39;\n  \n  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }\n  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);\n  return auVar5;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "undefined1 auVar5 [16];" (type_identifier "undefined1") (array_declarator "auVar5 [16]" (identifier "auVar5") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 auVar6 [12];" (type_identifier "undefined1") (array_declarator "auVar6 [12]" (identifier "auVar6") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 local_3c;" (type_identifier "undefined1") (identifier "local_3c") (; ";")) (declaration "char local_3b;" (primitive_type "char") (identifier "local_3b") (; ";")) (declaration "char local_3a;" (primitive_type "char") (identifier "local_3a") (; ";")) (declaration "undefined1 local_39;" (type_identifier "undefined1") (identifier "local_39") (; ";")) (if_statement "if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48)" (( "(") (binary_expression "*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48" (pointer_expression "*(code **)(*param_1 + 0x40)" (* "*") (cast_expression "(code **)(*param_1 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x40)" (( "(") (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x40")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_003f7a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003f7a48"))) () ")")) (compound_statement "{\n    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);\n    *param_7 = 0;\n    if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }\n    if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }\n    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;\n    auVar5._8_4_ = auVar6._8_4_;\n    plVar3 = auVar6._0_8_;\n    bVar4 = auVar5._8_4_ == -1;\n    bVar1 = plVar3 != (long *)0x0 && bVar4;\n    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }\n    bVar1 = (int)param_5 == -1;\n    if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }\n    if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }\n    auVar5._0_8_ = plVar3;\n    auVar5._12_4_ = 0;\n    return auVar5;\n  }" ({ "{") (expression_statement "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);" (assignment_expression "plVar3 = (long *)FUN_002b4380(param_6 + 0xd0)" (identifier "plVar3") (= "=") (cast_expression "(long *)FUN_002b4380(param_6 + 0xd0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002b4380(param_6 + 0xd0)" (identifier "FUN_002b4380") (argument_list "(param_6 + 0xd0)" (( "(") (binary_expression "param_6 + 0xd0" (identifier "param_6") (+ "+") (number_literal "0xd0")) () ")"))))) (; ";")) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((char)plVar3[7] == '\0') {\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }\n    else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" (if "if") (parenthesized_expression "((char)plVar3[7] == '\0')" (( "(") (binary_expression "(char)plVar3[7] == '\0'" (cast_expression "(char)plVar3[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "plVar3[7]" (identifier "plVar3") ([ "[") (number_literal "7") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_002e17e0(plVar3);\n      local_3c = 0x25;\n      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }\n    }" ({ "{") (expression_statement "FUN_002e17e0(plVar3);" (call_expression "FUN_002e17e0(plVar3)" (identifier "FUN_002e17e0") (argument_list "(plVar3)" (( "(") (identifier "plVar3") () ")"))) (; ";")) (expression_statement "local_3c = 0x25;" (assignment_expression "local_3c = 0x25" (identifier "local_3c") (= "=") (number_literal "0x25")) (; ";")) (if_statement "if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" (if "if") (parenthesized_expression "(*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8)" (( "(") (binary_expression "*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8" (pointer_expression "*(code **)(*plVar3 + 0x30)" (* "*") (cast_expression "(code **)(*plVar3 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar3 + 0x30)" (( "(") (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (cast_expression "(code *)PTR_FUN_003f7fd8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003f7fd8"))) () ")")) (compound_statement "{\n        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);\n      }" ({ "{") (expression_statement "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);" (assignment_expression "local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25)" (identifier "local_3c") (= "=") (call_expression "(**(code **)(*plVar3 + 0x30))(plVar3,0x25)" (parenthesized_expression "(**(code **)(*plVar3 + 0x30))" (( "(") (pointer_expression "**(code **)(*plVar3 + 0x30)" (* "*") (pointer_expression "*(code **)(*plVar3 + 0x30)" (* "*") (cast_expression "(code **)(*plVar3 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar3 + 0x30)" (( "(") (binary_expression "*plVar3 + 0x30" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(plVar3,0x25)" (( "(") (identifier "plVar3") (, ",") (number_literal "0x25") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" (else "else") (compound_statement "{\n      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);\n    }" ({ "{") (expression_statement "local_3c = *(undefined1 *)((long)plVar3 + 0x5e);" (assignment_expression "local_3c = *(undefined1 *)((long)plVar3 + 0x5e)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined1 *)((long)plVar3 + 0x5e)" (* "*") (cast_expression "(undefined1 *)((long)plVar3 + 0x5e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar3 + 0x5e)" (( "(") (binary_expression "(long)plVar3 + 0x5e" (cast_expression "(long)plVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar3")) (+ "+") (number_literal "0x5e")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (param_10 == '\0') {\n      local_3a = '\0';\n      local_3b = param_9;\n    }\n    else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" (if "if") (parenthesized_expression "(param_10 == '\0')" (( "(") (binary_expression "param_10 == '\0'" (identifier "param_10") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      local_3a = '\0';\n      local_3b = param_9;\n    }" ({ "{") (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" (identifier "local_3a") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "local_3b = param_9;" (assignment_expression "local_3b = param_9" (identifier "local_3b") (= "=") (identifier "param_9")) (; ";")) (} "}")) (else_clause "else {\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" (else "else") (compound_statement "{\n      local_39 = 0;\n      local_3b = param_10;\n      local_3a = param_9;\n    }" ({ "{") (expression_statement "local_39 = 0;" (assignment_expression "local_39 = 0" (identifier "local_39") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3b = param_10;" (assignment_expression "local_3b = param_10" (identifier "local_3b") (= "=") (identifier "param_10")) (; ";")) (expression_statement "local_3a = param_9;" (assignment_expression "local_3a = param_9" (identifier "local_3a") (= "=") (identifier "param_9")) (; ";")) (} "}")))) (expression_statement "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)\n    ;" (assignment_expression "auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" (identifier "auVar6") (= "=") (call_expression "FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" (identifier "FUN_00317c20") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) () ")")))) (; ";")) (expression_statement "auVar5._8_4_ = auVar6._8_4_;" (assignment_expression "auVar5._8_4_ = auVar6._8_4_" (field_expression "auVar5._8_4_" (identifier "auVar5") (. ".") (field_identifier "_8_4_")) (= "=") (field_expression "auVar6._8_4_" (identifier "auVar6") (. ".") (field_identifier "_8_4_"))) (; ";")) (expression_statement "plVar3 = auVar6._0_8_;" (assignment_expression "plVar3 = auVar6._0_8_" (identifier "plVar3") (= "=") (field_expression "auVar6._0_8_" (identifier "auVar6") (. ".") (field_identifier "_0_8_"))) (; ";")) (expression_statement "bVar4 = auVar5._8_4_ == -1;" (assignment_expression "bVar4 = auVar5._8_4_ == -1" (identifier "bVar4") (= "=") (binary_expression "auVar5._8_4_ == -1" (field_expression "auVar5._8_4_" (identifier "auVar5") (. ".") (field_identifier "_8_4_")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar1 = plVar3 != (long *)0x0 && bVar4;" (assignment_expression "bVar1 = plVar3 != (long *)0x0 && bVar4" (identifier "bVar1") (= "=") (binary_expression "plVar3 != (long *)0x0 && bVar4" (binary_expression "plVar3 != (long *)0x0" (identifier "plVar3") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar4"))) (; ";")) (if_statement "if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" (if "if") (parenthesized_expression "((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]))" (( "(") (binary_expression "(bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (&& "&&") (parenthesized_expression "(bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])" (( "(") (comma_expression "bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2]" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (, ",") (binary_expression "(ulong)plVar3[3] <= (ulong)plVar3[2]" (cast_expression "(ulong)plVar3[3]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "plVar3[3]" (identifier "plVar3") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(ulong)plVar3[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "plVar3[2]" (identifier "plVar3") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);\n      bVar4 = iVar2 == -1 && bVar1;\n      if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);" (assignment_expression "iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*plVar3 + 0x48))(plVar3)" (parenthesized_expression "(**(code **)(*plVar3 + 0x48))" (( "(") (pointer_expression "**(code **)(*plVar3 + 0x48)" (* "*") (pointer_expression "*(code **)(*plVar3 + 0x48)" (* "*") (cast_expression "(code **)(*plVar3 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar3 + 0x48)" (( "(") (binary_expression "*plVar3 + 0x48" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(plVar3)" (( "(") (identifier "plVar3") () ")")))) (; ";")) (expression_statement "bVar4 = iVar2 == -1 && bVar1;" (assignment_expression "bVar4 = iVar2 == -1 && bVar1" (identifier "bVar4") (= "=") (binary_expression "iVar2 == -1 && bVar1" (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) (&& "&&") (identifier "bVar1"))) (; ";")) (if_statement "if (iVar2 == -1) {\n        plVar3 = (long *)0x0;\n      }" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        plVar3 = (long *)0x0;\n      }" ({ "{") (expression_statement "plVar3 = (long *)0x0;" (assignment_expression "plVar3 = (long *)0x0" (identifier "plVar3") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "bVar1 = (int)param_5 == -1;" (assignment_expression "bVar1 = (int)param_5 == -1" (identifier "bVar1") (= "=") (binary_expression "(int)param_5 == -1" (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (== "==") (number_literal "-1"))) (; ";")) (if_statement "if (((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" (if "if") (parenthesized_expression "(((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]))" (( "(") (binary_expression "((param_4 != (long *)0x0) && (bVar1)) &&\n       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" (parenthesized_expression "((param_4 != (long *)0x0) && (bVar1))" (( "(") (binary_expression "(param_4 != (long *)0x0) && (bVar1)" (parenthesized_expression "(param_4 != (long *)0x0)" (( "(") (binary_expression "param_4 != (long *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])" (( "(") (comma_expression "bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2]" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (, ",") (binary_expression "(ulong)param_4[3] <= (ulong)param_4[2]" (cast_expression "(ulong)param_4[3]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(ulong)param_4[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);\n      bVar1 = iVar2 == -1;\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*param_4 + 0x48))(param_4);" (assignment_expression "iVar2 = (**(code **)(*param_4 + 0x48))(param_4)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*param_4 + 0x48))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x48))" (( "(") (pointer_expression "**(code **)(*param_4 + 0x48)" (* "*") (pointer_expression "*(code **)(*param_4 + 0x48)" (* "*") (cast_expression "(code **)(*param_4 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_4 + 0x48)" (( "(") (binary_expression "*param_4 + 0x48" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "bVar1 = iVar2 == -1;" (assignment_expression "bVar1 = iVar2 == -1" (identifier "bVar1") (= "=") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (bVar1 == bVar4) {\n      *param_7 = *param_7 | 2;\n    }" (if "if") (parenthesized_expression "(bVar1 == bVar4)" (( "(") (binary_expression "bVar1 == bVar4" (identifier "bVar1") (== "==") (identifier "bVar4")) () ")")) (compound_statement "{\n      *param_7 = *param_7 | 2;\n    }" ({ "{") (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "auVar5._0_8_ = plVar3;" (assignment_expression "auVar5._0_8_ = plVar3" (field_expression "auVar5._0_8_" (identifier "auVar5") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "plVar3")) (; ";")) (expression_statement "auVar5._12_4_ = 0;" (assignment_expression "auVar5._12_4_ = 0" (field_expression "auVar5._12_4_" (identifier "auVar5") (. ".") (field_identifier "_12_4_")) (= "=") (number_literal "0")) (; ";")) (return_statement "return auVar5;" (return "return") (identifier "auVar5") (; ";")) (} "}"))) (expression_statement "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);" (assignment_expression "auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2)" (identifier "auVar5") (= "=") (call_expression "(**(code **)(*param_1 + 0x40))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 0x40))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x40)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x40)" (* "*") (cast_expression "(code **)(*param_1 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x40)" (( "(") (binary_expression "*param_1 + 0x40" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return auVar5;" (return "return") (identifier "auVar5") (; ";")) (} "}"))

/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,
   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */

type_2  [16]
std::time_get<var_2,var_10::istreambuf_iterator<var_2,var_10::var_1<var_2>>>::var_3
          (var_4 *var_5,undefined8 param_2,undefined8 param_3,var_4 *var_6,undefined8 param_5,
          var_4 var_11,var_7 *var_8,undefined8 param_8,var_2 param_9,var_2 var_13)

{
  bool var_18;
  int var_17;
  type_1 *this;
  long *var_15;
  bool var_16;
  type_2 auVar5 [16];
  type_2 auVar6 [12];
  type_1 local_3c;
  char local_3b;
  char local_3a;
  type_2 local_39;
  
  if (*(type_3 **)(*var_5 + 0x40) == (type_3 *)PTR_do_get_003f7a48) {
    this = var_9<var_10::type_1<var_2>>((type_4 *)(var_11 + 0xd0));
    *var_8 = 0;
    if (this[0x38] == (type_1)0x0) {
      type_1<var_2>::var_12((type_1<var_2> *)this);
      local_3c = (type_1)0x25;
      if (*(type_3 **)(*(long *)this + 0x30) != (type_3 *)PTR_do_widen_003f7fd8) {
        local_3c = (type_1)(**(type_3 **)(*(long *)this + 0x30))(this,0x25);
      }
    }
    else {
      local_3c = this[0x5e];
    }
    if (var_13 == '\0') {
      local_3a = '\0';
      local_3b = param_9;
    }
    else {
      local_39 = 0;
      local_3b = var_13;
      local_3a = param_9;
    }
    auVar6 = var_14
                       (var_5,param_2,param_3,var_6,param_5,var_11,var_8,param_8,&local_3c);
    auVar5._8_4_ = auVar6._8_4_;
    var_15 = auVar6._0_8_;
    var_16 = auVar5._8_4_ == -1;
    var_18 = var_15 != (long *)0x0 && var_16;
    if ((var_18) && (var_16 = false, (type_5)var_15[3] <= (type_5)var_15[2])) {
      var_17 = (**(type_3 **)(*var_15 + 0x48))(var_15);
      var_16 = var_17 == -1 && var_18;
      if (var_17 == -1) {
        var_15 = (long *)0x0;
      }
    }
    var_18 = (int)param_5 == -1;
    if (((var_6 != (long *)0x0) && (var_18)) &&
       (var_18 = false, (type_5)var_6[3] <= (type_5)var_6[2])) {
      var_17 = (**(type_3 **)(*var_6 + 0x48))(var_6);
      var_18 = var_17 == -1;
    }
    if (var_18 == var_16) {
      *var_8 = *var_8 | 2;
    }
    auVar5._0_8_ = var_15;
    auVar5._12_4_ = 0;
    return auVar5;
  }
  auVar5 = (**(type_3 **)(*var_5 + 0x40))(var_5,param_2);
  return auVar5;
}


(translation_unit (expression_statement (subscript_expression argument: (identifier) index: (number_literal)) (MISSING ";")) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (ERROR (identifier)) (identifier) (ERROR (identifier)) (binary_expression left: (identifier) right: (identifier)) (identifier) (ERROR (identifier)) (ERROR (identifier)) (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier) (ERROR (identifier)) (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier))) (MISSING ";")) (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal)))))))) alternative: (else_clause (compound_statement (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (field_expression argument: (identifier) field: (field_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (false)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (identifier)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (false)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) (return_statement (identifier))))

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

{
  bool bVar1;
  int iVar2;
  long *plVar3;
  bool bVar4;
  undefined1 auVar5 [16];
  undefined1 auVar6 [12];
  undefined1 local_3c;
  char local_3b;
  char local_3a;
  undefined1 local_39;
  
  if (*(code **)(*param_1 + 0x40) == (code *)PTR_FUN_003f7a48) {
    plVar3 = (long *)FUN_002b4380(param_6 + 0xd0);
    *param_7 = 0;
    if ((char)plVar3[7] == '\0') {
      FUN_002e17e0(plVar3);
      local_3c = 0x25;
      if (*(code **)(*plVar3 + 0x30) != (code *)PTR_FUN_003f7fd8) {
        local_3c = (**(code **)(*plVar3 + 0x30))(plVar3,0x25);
      }
    }
    else {
      local_3c = *(undefined1 *)((long)plVar3 + 0x5e);
    }
    if (param_10 == '\0') {
      local_3a = '\0';
      local_3b = param_9;
    }
    else {
      local_39 = 0;
      local_3b = param_10;
      local_3a = param_9;
    }
    auVar6 = FUN_00317c20(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,&local_3c)
    ;
    auVar5._8_4_ = auVar6._8_4_;
    plVar3 = auVar6._0_8_;
    bVar4 = auVar5._8_4_ == -1;
    bVar1 = plVar3 != (long *)0x0 && bVar4;
    if ((bVar1) && (bVar4 = false, (ulong)plVar3[3] <= (ulong)plVar3[2])) {
      iVar2 = (**(code **)(*plVar3 + 0x48))(plVar3);
      bVar4 = iVar2 == -1 && bVar1;
      if (iVar2 == -1) {
        plVar3 = (long *)0x0;
      }
    }
    bVar1 = (int)param_5 == -1;
    if (((param_4 != (long *)0x0) && (bVar1)) &&
       (bVar1 = false, (ulong)param_4[3] <= (ulong)param_4[2])) {
      iVar2 = (**(code **)(*param_4 + 0x48))(param_4);
      bVar1 = iVar2 == -1;
    }
    if (bVar1 == bVar4) {
      *param_7 = *param_7 | 2;
    }
    auVar5._0_8_ = plVar3;
    auVar5._12_4_ = 0;
    return auVar5;
  }
  auVar5 = (**(code **)(*param_1 + 0x40))(param_1,param_2);
  return auVar5;
}

