
/* std::time_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t, tm
   const*, wchar_t const*, wchar_t const*) const */

undefined1  [16]
std::time_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put
          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,
          undefined8 param_6,int *param_7,int *param_8)

{
  int *piVar1;
  char cVar2;
  char cVar3;
  ctype *pcVar4;
  undefined1 extraout_DL;
  int iVar5;
  char cVar6;
  ulong uVar7;
  int *piVar8;
  undefined7 uVar9;
  undefined1 auVar10 [16];
  
  uVar7 = param_3 & 0xffffffff;
  cVar6 = (char)uVar7;
  pcVar4 = use_facet<std::ctype<wchar_t>>((locale *)(param_4 + 0xd0));
  if (param_7 != param_8) {
    do {
      while( true ) {
        piVar8 = param_7 + 1;
        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);
        cVar6 = (char)uVar7;
        if (cVar2 != '%') break;
        if (param_8 == piVar8) goto LAB_004eae54;
        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);
        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {
          piVar8 = param_7 + 2;
          if (param_8 == piVar8) goto LAB_004eae54;
          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);
          iVar5 = (int)cVar2;
        }
        uVar9 = (undefined7)(param_3 >> 8);
        param_2 = (long *)(**(code **)(*param_1 + 0x10))
                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,
                                     (int)cVar3,iVar5);
        param_3 = CONCAT71(uVar9,extraout_DL);
        uVar7 = param_3 & 0xffffffff;
        cVar6 = (char)uVar7;
        param_7 = piVar8 + 1;
        if (param_8 == piVar8 + 1) goto LAB_004eae54;
      }
      if (cVar6 == '\0') {
        piVar1 = (int *)param_2[5];
        iVar5 = *param_7;
        if (piVar1 < (int *)param_2[6]) {
          *piVar1 = iVar5;
          param_2[5] = (long)(piVar1 + 1);
        }
        else {
          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);
        }
        uVar7 = (ulong)(iVar5 == -1);
      }
      cVar6 = (char)uVar7;
      param_7 = piVar8;
    } while (param_8 != piVar8);
  }
LAB_004eae54:
  auVar10._9_7_ = (int7)(param_3 >> 8);
  auVar10[8] = cVar6;
  auVar10._0_8_ = param_2;
  return auVar10;
}



undefined1  [16]
FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,
            undefined8 param_6,int *param_7,int *param_8)

{
  int *piVar1;
  char cVar2;
  char cVar3;
  long *plVar4;
  undefined1 extraout_DL;
  int iVar5;
  char cVar6;
  ulong uVar7;
  int *piVar8;
  undefined7 uVar9;
  undefined1 auVar10 [16];
  
  uVar7 = param_3 & 0xffffffff;
  cVar6 = (char)uVar7;
  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);
  if (param_7 != param_8) {
    do {
      while( true ) {
        piVar8 = param_7 + 1;
        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);
        cVar6 = (char)uVar7;
        if (cVar2 != '%') break;
        if (param_8 == piVar8) goto LAB_004eae54;
        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);
        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {
          piVar8 = param_7 + 2;
          if (param_8 == piVar8) goto LAB_004eae54;
          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);
          iVar5 = (int)cVar2;
        }
        uVar9 = (undefined7)(param_3 >> 8);
        param_2 = (long *)(**(code **)(*param_1 + 0x10))
                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,
                                     (int)cVar3,iVar5);
        param_3 = CONCAT71(uVar9,extraout_DL);
        uVar7 = param_3 & 0xffffffff;
        cVar6 = (char)uVar7;
        param_7 = piVar8 + 1;
        if (param_8 == piVar8 + 1) goto LAB_004eae54;
      }
      if (cVar6 == '\0') {
        piVar1 = (int *)param_2[5];
        iVar5 = *param_7;
        if (piVar1 < (int *)param_2[6]) {
          *piVar1 = iVar5;
          param_2[5] = (long)(piVar1 + 1);
        }
        else {
          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);
        }
        uVar7 = (ulong)(iVar5 == -1);
      }
      cVar6 = (char)uVar7;
      param_7 = piVar8;
    } while (param_8 != piVar8);
  }
LAB_004eae54:
  auVar10._9_7_ = (int7)(param_3 >> 8);
  auVar10[8] = cVar6;
  auVar10._0_8_ = param_2;
  return auVar10;
}


PUSH R15
PUSH R14
PUSH R13
MOV R13,RDX
PUSH R12
PUSH RBP
MOV EBP,EDX
PUSH RBX
MOV RBX,RSI
SUB RSP,0x38
MOV qword ptr [RSP],RDI
LEA RDI,[RCX + 0xd0]
MOV R15,qword ptr [RSP + 0x70]
MOV qword ptr [RSP + 0x8],RCX
MOV dword ptr [RSP + 0x18],R8D
MOV qword ptr [RSP + 0x10],R9
CALL 0x004eacf0
CMP R15,qword ptr [RSP + 0x78]
JZ 0x004eae54
MOV R14,RAX
JMP 0x004eadc5
TEST BPL,BPL
JNZ 0x004eadb7
MOV RDX,qword ptr [RBX + 0x28]
MOV EAX,dword ptr [R15]
CMP RDX,qword ptr [RBX + 0x30]
JNC 0x004eaea0
MOV dword ptr [RDX],EAX
ADD RDX,0x4
MOV qword ptr [RBX + 0x28],RDX
CMP EAX,-0x1
SETZ BPL
MOV R15,R12
CMP qword ptr [RSP + 0x78],R12
JZ 0x004eae54
MOV RAX,qword ptr [R14]
XOR EDX,EDX
MOV ESI,dword ptr [R15]
MOV RDI,R14
LEA R12,[R15 + 0x4]
CALL qword ptr [RAX + 0x60]
CMP AL,0x25
JNZ 0x004ead90
CMP qword ptr [RSP + 0x78],R12
JZ 0x004eae54
MOV RAX,qword ptr [R14]
MOV ESI,dword ptr [R15 + 0x4]
XOR EDX,EDX
MOV RDI,R14
CALL qword ptr [RAX + 0x60]
MOVSX R8D,AL
CMP R8B,0x45
JZ 0x004eae70
XOR EDX,EDX
CMP R8B,0x4f
JZ 0x004eae70
MOV RDI,qword ptr [RSP]
MOV R13B,BPL
MOV RSI,RBX
ADD R12,0x4
MOV R15,R12
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x10]
PUSH RDX
MOV RDX,R13
PUSH R8
MOV R9,qword ptr [RSP + 0x20]
MOV R8D,dword ptr [RSP + 0x28]
MOV RCX,qword ptr [RSP + 0x18]
CALL RAX
MOV qword ptr [RSP + 0x38],RDX
MOV R13B,byte ptr [RSP + 0x38]
MOV RBX,RAX
MOV qword ptr [RSP + 0x30],RAX
POP RAX
MOV EBP,R13D
POP RDX
CMP qword ptr [RSP + 0x78],R12
JNZ 0x004eadc5
ADD RSP,0x38
MOV R13B,BPL
MOV RAX,RBX
MOV RDX,R13
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV byte ptr [RSP + 0x1f],R8B
LEA R12,[R15 + 0x8]
CMP qword ptr [RSP + 0x78],R12
JZ 0x004eae54
MOV RAX,qword ptr [R14]
XOR EDX,EDX
MOV ESI,dword ptr [R15 + 0x8]
MOV RDI,R14
CALL qword ptr [RAX + 0x60]
MOVSX EDX,byte ptr [RSP + 0x1f]
MOVSX R8D,AL
JMP 0x004eae03
MOV RDX,qword ptr [RBX]
MOV ESI,EAX
MOV RDI,RBX
CALL qword ptr [RDX + 0x68]
JMP 0x004eadb0
(translation_unit "undefined1  [16]\nFUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)\n\n{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  long *plVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" (call_expression "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" identifier (argument_list "(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" ( (binary_expression "long *param_1" identifier * identifier) , (binary_expression "long *param_2" identifier * identifier) , (ERROR "ulong" identifier) identifier , (ERROR "long" identifier) identifier , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , (binary_expression "int *param_7" identifier * identifier) , (binary_expression "int *param_8" identifier * identifier) ))) ;) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  long *plVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "undefined1 extraout_DL;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined7 uVar9;" type_identifier identifier ;) (declaration "undefined1 auVar10 [16];" type_identifier (array_declarator "auVar10 [16]" identifier [ number_literal ]) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);" (assignment_expression "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0)" identifier = (cast_expression "(long *)FUN_004eacf0(param_4 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004eacf0(param_4 + 0xd0)" identifier (argument_list "(param_4 + 0xd0)" ( (binary_expression "param_4 + 0xd0" identifier + number_literal) ))))) ;) (if_statement "if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" if (parenthesized_expression "(param_7 != param_8)" ( (binary_expression "param_7 != param_8" identifier != identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" { (do_statement "do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);" do (compound_statement "{\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    }" { (while_statement "while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" { (expression_statement "piVar8 = param_7 + 1;" (assignment_expression "piVar8 = param_7 + 1" identifier = (binary_expression "param_7 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,*param_7,0)" ( identifier , (pointer_expression "*param_7" * identifier) , number_literal )))) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar2 != '%') break;" if (parenthesized_expression "(cVar2 != '%')" ( (binary_expression "cVar2 != '%'" identifier != (char_literal "'%'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,param_7[1],0)" ( identifier , (subscript_expression "param_7[1]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" if (parenthesized_expression "((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'))" ( (binary_expression "(cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) || (parenthesized_expression "(iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" ( (comma_expression "iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "iVar5 = 0" identifier = number_literal) , (comma_expression "cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "cVar3 = cVar2" identifier = identifier) , (binary_expression "cVar2 == 'O'" identifier == (char_literal "'O'" ' character ')))) ))) )) (compound_statement "{\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" { (expression_statement "piVar8 = param_7 + 2;" (assignment_expression "piVar8 = param_7 + 2" identifier = (binary_expression "param_7 + 2" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);" (assignment_expression "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,param_7[2],0)" ( identifier , (subscript_expression "param_7[2]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar5 = (int)cVar2;" (assignment_expression "iVar5 = (int)cVar2" identifier = (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "uVar9 = (undefined7)(param_3 >> 8);" (assignment_expression "uVar9 = (undefined7)(param_3 >> 8)" identifier = (call_expression "(undefined7)(param_3 >> 8)" (parenthesized_expression "(undefined7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);" (assignment_expression "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" identifier = (cast_expression "(long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( identifier , identifier , (call_expression "CONCAT71(uVar9,cVar6)" identifier (argument_list "(uVar9,cVar6)" ( identifier , identifier ))) , identifier , identifier , identifier , (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))))) ;) (expression_statement "param_3 = CONCAT71(uVar9,extraout_DL);" (assignment_expression "param_3 = CONCAT71(uVar9,extraout_DL)" identifier = (call_expression "CONCAT71(uVar9,extraout_DL)" identifier (argument_list "(uVar9,extraout_DL)" ( identifier , identifier )))) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8 + 1;" (assignment_expression "param_7 = piVar8 + 1" identifier = (binary_expression "piVar8 + 1" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8 + 1) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8 + 1)" ( (binary_expression "param_8 == piVar8 + 1" identifier == (binary_expression "piVar8 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) })) (if_statement "if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" { (expression_statement "piVar1 = (int *)param_2[5];" (assignment_expression "piVar1 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = *param_7;" (assignment_expression "iVar5 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" if (parenthesized_expression "(piVar1 < (int *)param_2[6])" ( (binary_expression "piVar1 < (int *)param_2[6]" identifier < (cast_expression "(int *)param_2[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) )) (compound_statement "{\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "param_2[5] = (long)(piVar1 + 1);" (assignment_expression "param_2[5] = (long)(piVar1 + 1)" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (cast_expression "(long)(piVar1 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" { (expression_statement "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);" (assignment_expression "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5)" identifier = (call_expression "(**(code **)(*param_2 + 0x68))(param_2,iVar5)" (parenthesized_expression "(**(code **)(*param_2 + 0x68))" ( (pointer_expression "**(code **)(*param_2 + 0x68)" * (pointer_expression "*(code **)(*param_2 + 0x68)" * (cast_expression "(code **)(*param_2 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x68)" ( (binary_expression "*param_2 + 0x68" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "uVar7 = (ulong)(iVar5 == -1);" (assignment_expression "uVar7 = (ulong)(iVar5 == -1)" identifier = (call_expression "(ulong)(iVar5 == -1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )))) ;) })) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8;" (assignment_expression "param_7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(param_8 != piVar8)" ( (binary_expression "param_8 != piVar8" identifier != identifier) )) ;) })) (labeled_statement "LAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);" statement_identifier : (expression_statement "auVar10._9_7_ = (int7)(param_3 >> 8);" (assignment_expression "auVar10._9_7_ = (int7)(param_3 >> 8)" (field_expression "auVar10._9_7_" identifier . field_identifier) = (call_expression "(int7)(param_3 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;)) (expression_statement "auVar10[8] = cVar6;" (assignment_expression "auVar10[8] = cVar6" (subscript_expression "auVar10[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar10._0_8_ = param_2;" (assignment_expression "auVar10._0_8_ = param_2" (field_expression "auVar10._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar10;" return identifier ;) }))
(translation_unit "/* std::time_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t, tm\n   const*, wchar_t const*, wchar_t const*) const */\n\nundefined1  [16]\nstd::time_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)\n\n{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  ctype *pcVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  pcVar4 = use_facet<std::ctype<wchar_t>>((locale *)(param_4 + 0xd0));\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (labeled_statement "std::time_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" statement_identifier (ERROR "::time_put<wchar_t,std::ostreambuf_iterator<wchar_t,std:" : : (comma_expression "time_put<wchar_t,std" (binary_expression "time_put<wchar_t" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<wchar_t,std" (binary_expression "ostreambuf_iterator<wchar_t" identifier < identifier) , identifier) :) : (expression_statement "char_traits<wchar_t>>>::put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" (binary_expression "char_traits<wchar_t>>>::put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" identifier < (binary_expression "wchar_t>>>::put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" identifier >> (ERROR ">::" > : :) (call_expression "put\n          (long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" identifier (argument_list "(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n          undefined8 param_6,int *param_7,int *param_8)" ( (binary_expression "long *param_1" identifier * identifier) , (binary_expression "long *param_2" identifier * identifier) , (ERROR "ulong" identifier) identifier , (ERROR "long" identifier) identifier , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , (binary_expression "int *param_7" identifier * identifier) , (binary_expression "int *param_8" identifier * identifier) ))))) ;)) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  ctype *pcVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  pcVar4 = use_facet<std::ctype<wchar_t>>((locale *)(param_4 + 0xd0));\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "ctype *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 extraout_DL;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined7 uVar9;" type_identifier identifier ;) (declaration "undefined1 auVar10 [16];" type_identifier (array_declarator "auVar10 [16]" identifier [ number_literal ]) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pcVar4 = use_facet<std::ctype<wchar_t>>((locale *)(param_4 + 0xd0));" (binary_expression "pcVar4 = use_facet<std::ctype<wchar_t>>((locale *)(param_4 + 0xd0))" (assignment_expression "pcVar4 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "wchar_t>>((locale *)(param_4 + 0xd0))" identifier >> (parenthesized_expression "((locale *)(param_4 + 0xd0))" ( (cast_expression "(locale *)(param_4 + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xd0)" ( (binary_expression "param_4 + 0xd0" identifier + number_literal) ))) )))) ;) (if_statement "if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" if (parenthesized_expression "(param_7 != param_8)" ( (binary_expression "param_7 != param_8" identifier != identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" { (do_statement "do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);" do (compound_statement "{\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    }" { (while_statement "while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" { (expression_statement "piVar8 = param_7 + 1;" (assignment_expression "piVar8 = param_7 + 1" identifier = (binary_expression "param_7 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0);" (assignment_expression "cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0)" identifier = (call_expression "(**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,*param_7,0)" (parenthesized_expression "(**(code **)(*(long *)pcVar4 + 0x60))" ( (pointer_expression "**(code **)(*(long *)pcVar4 + 0x60)" * (pointer_expression "*(code **)(*(long *)pcVar4 + 0x60)" * (cast_expression "(code **)(*(long *)pcVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)pcVar4 + 0x60)" ( (binary_expression "*(long *)pcVar4 + 0x60" (pointer_expression "*(long *)pcVar4" * (cast_expression "(long *)pcVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar4,*param_7,0)" ( identifier , (pointer_expression "*param_7" * identifier) , number_literal )))) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar2 != '%') break;" if (parenthesized_expression "(cVar2 != '%')" ( (binary_expression "cVar2 != '%'" identifier != (char_literal "'%'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0);" (assignment_expression "cVar2 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0)" identifier = (call_expression "(**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[1],0)" (parenthesized_expression "(**(code **)(*(long *)pcVar4 + 0x60))" ( (pointer_expression "**(code **)(*(long *)pcVar4 + 0x60)" * (pointer_expression "*(code **)(*(long *)pcVar4 + 0x60)" * (cast_expression "(code **)(*(long *)pcVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)pcVar4 + 0x60)" ( (binary_expression "*(long *)pcVar4 + 0x60" (pointer_expression "*(long *)pcVar4" * (cast_expression "(long *)pcVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar4,param_7[1],0)" ( identifier , (subscript_expression "param_7[1]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" if (parenthesized_expression "((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'))" ( (binary_expression "(cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) || (parenthesized_expression "(iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" ( (comma_expression "iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "iVar5 = 0" identifier = number_literal) , (comma_expression "cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "cVar3 = cVar2" identifier = identifier) , (binary_expression "cVar2 == 'O'" identifier == (char_literal "'O'" ' character ')))) ))) )) (compound_statement "{\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" { (expression_statement "piVar8 = param_7 + 2;" (assignment_expression "piVar8 = param_7 + 2" identifier = (binary_expression "param_7 + 2" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0);" (assignment_expression "cVar3 = (**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0)" identifier = (call_expression "(**(code **)(*(long *)pcVar4 + 0x60))(pcVar4,param_7[2],0)" (parenthesized_expression "(**(code **)(*(long *)pcVar4 + 0x60))" ( (pointer_expression "**(code **)(*(long *)pcVar4 + 0x60)" * (pointer_expression "*(code **)(*(long *)pcVar4 + 0x60)" * (cast_expression "(code **)(*(long *)pcVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)pcVar4 + 0x60)" ( (binary_expression "*(long *)pcVar4 + 0x60" (pointer_expression "*(long *)pcVar4" * (cast_expression "(long *)pcVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar4,param_7[2],0)" ( identifier , (subscript_expression "param_7[2]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar5 = (int)cVar2;" (assignment_expression "iVar5 = (int)cVar2" identifier = (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "uVar9 = (undefined7)(param_3 >> 8);" (assignment_expression "uVar9 = (undefined7)(param_3 >> 8)" identifier = (call_expression "(undefined7)(param_3 >> 8)" (parenthesized_expression "(undefined7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);" (assignment_expression "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" identifier = (cast_expression "(long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( identifier , identifier , (call_expression "CONCAT71(uVar9,cVar6)" identifier (argument_list "(uVar9,cVar6)" ( identifier , identifier ))) , identifier , identifier , identifier , (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))))) ;) (expression_statement "param_3 = CONCAT71(uVar9,extraout_DL);" (assignment_expression "param_3 = CONCAT71(uVar9,extraout_DL)" identifier = (call_expression "CONCAT71(uVar9,extraout_DL)" identifier (argument_list "(uVar9,extraout_DL)" ( identifier , identifier )))) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8 + 1;" (assignment_expression "param_7 = piVar8 + 1" identifier = (binary_expression "piVar8 + 1" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8 + 1) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8 + 1)" ( (binary_expression "param_8 == piVar8 + 1" identifier == (binary_expression "piVar8 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) })) (if_statement "if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" { (expression_statement "piVar1 = (int *)param_2[5];" (assignment_expression "piVar1 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = *param_7;" (assignment_expression "iVar5 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" if (parenthesized_expression "(piVar1 < (int *)param_2[6])" ( (binary_expression "piVar1 < (int *)param_2[6]" identifier < (cast_expression "(int *)param_2[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) )) (compound_statement "{\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "param_2[5] = (long)(piVar1 + 1);" (assignment_expression "param_2[5] = (long)(piVar1 + 1)" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (cast_expression "(long)(piVar1 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" { (expression_statement "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);" (assignment_expression "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5)" identifier = (call_expression "(**(code **)(*param_2 + 0x68))(param_2,iVar5)" (parenthesized_expression "(**(code **)(*param_2 + 0x68))" ( (pointer_expression "**(code **)(*param_2 + 0x68)" * (pointer_expression "*(code **)(*param_2 + 0x68)" * (cast_expression "(code **)(*param_2 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x68)" ( (binary_expression "*param_2 + 0x68" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "uVar7 = (ulong)(iVar5 == -1);" (assignment_expression "uVar7 = (ulong)(iVar5 == -1)" identifier = (call_expression "(ulong)(iVar5 == -1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )))) ;) })) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8;" (assignment_expression "param_7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(param_8 != piVar8)" ( (binary_expression "param_8 != piVar8" identifier != identifier) )) ;) })) (labeled_statement "LAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);" statement_identifier : (expression_statement "auVar10._9_7_ = (int7)(param_3 >> 8);" (assignment_expression "auVar10._9_7_ = (int7)(param_3 >> 8)" (field_expression "auVar10._9_7_" identifier . field_identifier) = (call_expression "(int7)(param_3 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;)) (expression_statement "auVar10[8] = cVar6;" (assignment_expression "auVar10[8] = cVar6" (subscript_expression "auVar10[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar10._0_8_ = param_2;" (assignment_expression "auVar10._0_8_ = param_2" (field_expression "auVar10._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar10;" return identifier ;) }))
(translation_unit "undefined1  [16]\nFUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)\n\n{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  long *plVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" (call_expression "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" identifier (argument_list "(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" ( (binary_expression "long *param_1" identifier * identifier) , (binary_expression "long *param_2" identifier * identifier) , (ERROR "ulong" identifier) identifier , (ERROR "long" identifier) identifier , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , (binary_expression "int *param_7" identifier * identifier) , (binary_expression "int *param_8" identifier * identifier) ))) ;) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  long *plVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "undefined1 extraout_DL;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined7 uVar9;" type_identifier identifier ;) (declaration "undefined1 auVar10 [16];" type_identifier (array_declarator "auVar10 [16]" identifier [ number_literal ]) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);" (assignment_expression "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0)" identifier = (cast_expression "(long *)FUN_004eacf0(param_4 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004eacf0(param_4 + 0xd0)" identifier (argument_list "(param_4 + 0xd0)" ( (binary_expression "param_4 + 0xd0" identifier + number_literal) ))))) ;) (if_statement "if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" if (parenthesized_expression "(param_7 != param_8)" ( (binary_expression "param_7 != param_8" identifier != identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" { (do_statement "do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);" do (compound_statement "{\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    }" { (while_statement "while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" { (expression_statement "piVar8 = param_7 + 1;" (assignment_expression "piVar8 = param_7 + 1" identifier = (binary_expression "param_7 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,*param_7,0)" ( identifier , (pointer_expression "*param_7" * identifier) , number_literal )))) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar2 != '%') break;" if (parenthesized_expression "(cVar2 != '%')" ( (binary_expression "cVar2 != '%'" identifier != (char_literal "'%'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,param_7[1],0)" ( identifier , (subscript_expression "param_7[1]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" if (parenthesized_expression "((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'))" ( (binary_expression "(cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) || (parenthesized_expression "(iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" ( (comma_expression "iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "iVar5 = 0" identifier = number_literal) , (comma_expression "cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "cVar3 = cVar2" identifier = identifier) , (binary_expression "cVar2 == 'O'" identifier == (char_literal "'O'" ' character ')))) ))) )) (compound_statement "{\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" { (expression_statement "piVar8 = param_7 + 2;" (assignment_expression "piVar8 = param_7 + 2" identifier = (binary_expression "param_7 + 2" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8)" ( (binary_expression "param_8 == piVar8" identifier == identifier) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) (expression_statement "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);" (assignment_expression "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" identifier = (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" ( (pointer_expression "**(code **)(*plVar4 + 0x60)" * (pointer_expression "*(code **)(*plVar4 + 0x60)" * (cast_expression "(code **)(*plVar4 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar4 + 0x60)" ( (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" * identifier) + number_literal) ))))) )) (argument_list "(plVar4,param_7[2],0)" ( identifier , (subscript_expression "param_7[2]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar5 = (int)cVar2;" (assignment_expression "iVar5 = (int)cVar2" identifier = (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "uVar9 = (undefined7)(param_3 >> 8);" (assignment_expression "uVar9 = (undefined7)(param_3 >> 8)" identifier = (call_expression "(undefined7)(param_3 >> 8)" (parenthesized_expression "(undefined7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);" (assignment_expression "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" identifier = (cast_expression "(long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" ( identifier , identifier , (call_expression "CONCAT71(uVar9,cVar6)" identifier (argument_list "(uVar9,cVar6)" ( identifier , identifier ))) , identifier , identifier , identifier , (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))))) ;) (expression_statement "param_3 = CONCAT71(uVar9,extraout_DL);" (assignment_expression "param_3 = CONCAT71(uVar9,extraout_DL)" identifier = (call_expression "CONCAT71(uVar9,extraout_DL)" identifier (argument_list "(uVar9,extraout_DL)" ( identifier , identifier )))) ;) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" identifier = (binary_expression "param_3 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8 + 1;" (assignment_expression "param_7 = piVar8 + 1" identifier = (binary_expression "piVar8 + 1" identifier + number_literal)) ;) (if_statement "if (param_8 == piVar8 + 1) goto LAB_004eae54;" if (parenthesized_expression "(param_8 == piVar8 + 1)" ( (binary_expression "param_8 == piVar8 + 1" identifier == (binary_expression "piVar8 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_004eae54;" goto statement_identifier ;)) })) (if_statement "if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" { (expression_statement "piVar1 = (int *)param_2[5];" (assignment_expression "piVar1 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = *param_7;" (assignment_expression "iVar5 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" if (parenthesized_expression "(piVar1 < (int *)param_2[6])" ( (binary_expression "piVar1 < (int *)param_2[6]" identifier < (cast_expression "(int *)param_2[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) )) (compound_statement "{\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "param_2[5] = (long)(piVar1 + 1);" (assignment_expression "param_2[5] = (long)(piVar1 + 1)" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (cast_expression "(long)(piVar1 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" { (expression_statement "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);" (assignment_expression "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5)" identifier = (call_expression "(**(code **)(*param_2 + 0x68))(param_2,iVar5)" (parenthesized_expression "(**(code **)(*param_2 + 0x68))" ( (pointer_expression "**(code **)(*param_2 + 0x68)" * (pointer_expression "*(code **)(*param_2 + 0x68)" * (cast_expression "(code **)(*param_2 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x68)" ( (binary_expression "*param_2 + 0x68" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "uVar7 = (ulong)(iVar5 == -1);" (assignment_expression "uVar7 = (ulong)(iVar5 == -1)" identifier = (call_expression "(ulong)(iVar5 == -1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )))) ;) })) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_7 = piVar8;" (assignment_expression "param_7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(param_8 != piVar8)" ( (binary_expression "param_8 != piVar8" identifier != identifier) )) ;) })) (labeled_statement "LAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);" statement_identifier : (expression_statement "auVar10._9_7_ = (int7)(param_3 >> 8);" (assignment_expression "auVar10._9_7_ = (int7)(param_3 >> 8)" (field_expression "auVar10._9_7_" identifier . field_identifier) = (call_expression "(int7)(param_3 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(param_3 >> 8)" ( (binary_expression "param_3 >> 8" identifier >> number_literal) )))) ;)) (expression_statement "auVar10[8] = cVar6;" (assignment_expression "auVar10[8] = cVar6" (subscript_expression "auVar10[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar10._0_8_ = param_2;" (assignment_expression "auVar10._0_8_ = param_2" (field_expression "auVar10._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar10;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , (binary_expression IDENT * IDENT) , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , (binary_expression IDENT * IDENT) , (binary_expression IDENT * IDENT) ))) ;) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 , (pointer_expression * IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (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 , (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (char_literal ' character ')))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (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 , (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (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 , (call_expression IDENT (argument_list ( IDENT , IDENT ))) , IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (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 , IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (return_statement return IDENT ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (expression_statement "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" (call_expression "FUN_004ead40(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" (identifier "FUN_004ead40") (argument_list "(long *param_1,long *param_2,ulong param_3,long param_4,undefined4 param_5,\n            undefined8 param_6,int *param_7,int *param_8)" (( "(") (binary_expression "long *param_1" (identifier "long") (* "*") (identifier "param_1")) (, ",") (binary_expression "long *param_2" (identifier "long") (* "*") (identifier "param_2")) (, ",") (ERROR "ulong" (identifier "ulong")) (identifier "param_3") (, ",") (ERROR "long" (identifier "long")) (identifier "param_4") (, ",") (identifier "undefined4") (ERROR "param_5" (identifier "param_5")) (, ",") (identifier "undefined8") (ERROR "param_6" (identifier "param_6")) (, ",") (binary_expression "int *param_7" (identifier "int") (* "*") (identifier "param_7")) (, ",") (binary_expression "int *param_8" (identifier "int") (* "*") (identifier "param_8")) () ")"))) (; "")) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  char cVar3;\n  long *plVar4;\n  undefined1 extraout_DL;\n  int iVar5;\n  char cVar6;\n  ulong uVar7;\n  int *piVar8;\n  undefined7 uVar9;\n  undefined1 auVar10 [16];\n  \n  uVar7 = param_3 & 0xffffffff;\n  cVar6 = (char)uVar7;\n  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);\n  if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }\nLAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);\n  auVar10[8] = cVar6;\n  auVar10._0_8_ = param_2;\n  return auVar10;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "undefined1 extraout_DL;" (type_identifier "undefined1") (identifier "extraout_DL") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined7 uVar9;" (type_identifier "undefined7") (identifier "uVar9") (; ";")) (declaration "undefined1 auVar10 [16];" (type_identifier "undefined1") (array_declarator "auVar10 [16]" (identifier "auVar10") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" (identifier "uVar7") (= "=") (binary_expression "param_3 & 0xffffffff" (identifier "param_3") (& "&") (number_literal "0xffffffff"))) (; ";")) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" (identifier "cVar6") (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);" (assignment_expression "plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0)" (identifier "plVar4") (= "=") (cast_expression "(long *)FUN_004eacf0(param_4 + 0xd0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_004eacf0(param_4 + 0xd0)" (identifier "FUN_004eacf0") (argument_list "(param_4 + 0xd0)" (( "(") (binary_expression "param_4 + 0xd0" (identifier "param_4") (+ "+") (number_literal "0xd0")) () ")"))))) (; ";")) (if_statement "if (param_7 != param_8) {\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" (if "if") (parenthesized_expression "(param_7 != param_8)" (( "(") (binary_expression "param_7 != param_8" (identifier "param_7") (!= "!=") (identifier "param_8")) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    } while (param_8 != piVar8);" (do "do") (compound_statement "{\n      while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }\n      if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }\n      cVar6 = (char)uVar7;\n      param_7 = piVar8;\n    }" ({ "{") (while_statement "while( true ) {\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        piVar8 = param_7 + 1;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);\n        cVar6 = (char)uVar7;\n        if (cVar2 != '%') break;\n        if (param_8 == piVar8) goto LAB_004eae54;\n        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);\n        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }\n        uVar9 = (undefined7)(param_3 >> 8);\n        param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);\n        param_3 = CONCAT71(uVar9,extraout_DL);\n        uVar7 = param_3 & 0xffffffff;\n        cVar6 = (char)uVar7;\n        param_7 = piVar8 + 1;\n        if (param_8 == piVar8 + 1) goto LAB_004eae54;\n      }" ({ "{") (expression_statement "piVar8 = param_7 + 1;" (assignment_expression "piVar8 = param_7 + 1" (identifier "piVar8") (= "=") (binary_expression "param_7 + 1" (identifier "param_7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" (( "(") (pointer_expression "**(code **)(*plVar4 + 0x60)" (* "*") (pointer_expression "*(code **)(*plVar4 + 0x60)" (* "*") (cast_expression "(code **)(*plVar4 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar4 + 0x60)" (( "(") (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(plVar4,*param_7,0)" (( "(") (identifier "plVar4") (, ",") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" (identifier "cVar6") (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (if_statement "if (cVar2 != '%') break;" (if "if") (parenthesized_expression "(cVar2 != '%')" (( "(") (binary_expression "cVar2 != '%'" (identifier "cVar2") (!= "!=") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" (if "if") (parenthesized_expression "(param_8 == piVar8)" (( "(") (binary_expression "param_8 == piVar8" (identifier "param_8") (== "==") (identifier "piVar8")) () ")")) (goto_statement "goto LAB_004eae54;" (goto "goto") (statement_identifier "LAB_004eae54") (; ";"))) (expression_statement "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);" (assignment_expression "cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" (( "(") (pointer_expression "**(code **)(*plVar4 + 0x60)" (* "*") (pointer_expression "*(code **)(*plVar4 + 0x60)" (* "*") (cast_expression "(code **)(*plVar4 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar4 + 0x60)" (( "(") (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(plVar4,param_7[1],0)" (( "(") (identifier "plVar4") (, ",") (subscript_expression "param_7[1]" (identifier "param_7") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" (if "if") (parenthesized_expression "((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'))" (( "(") (binary_expression "(cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" (parenthesized_expression "(cVar2 == 'E')" (( "(") (binary_expression "cVar2 == 'E'" (identifier "cVar2") (== "==") (char_literal "'E'" (' "'") (character "E") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')" (( "(") (comma_expression "iVar5 = 0, cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (, ",") (comma_expression "cVar3 = cVar2, cVar2 == 'O'" (assignment_expression "cVar3 = cVar2" (identifier "cVar3") (= "=") (identifier "cVar2")) (, ",") (binary_expression "cVar2 == 'O'" (identifier "cVar2") (== "==") (char_literal "'O'" (' "'") (character "O") (' "'"))))) () ")"))) () ")")) (compound_statement "{\n          piVar8 = param_7 + 2;\n          if (param_8 == piVar8) goto LAB_004eae54;\n          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);\n          iVar5 = (int)cVar2;\n        }" ({ "{") (expression_statement "piVar8 = param_7 + 2;" (assignment_expression "piVar8 = param_7 + 2" (identifier "piVar8") (= "=") (binary_expression "param_7 + 2" (identifier "param_7") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_8 == piVar8) goto LAB_004eae54;" (if "if") (parenthesized_expression "(param_8 == piVar8)" (( "(") (binary_expression "param_8 == piVar8" (identifier "param_8") (== "==") (identifier "piVar8")) () ")")) (goto_statement "goto LAB_004eae54;" (goto "goto") (statement_identifier "LAB_004eae54") (; ";"))) (expression_statement "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);" (assignment_expression "cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" (identifier "cVar3") (= "=") (call_expression "(**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0)" (parenthesized_expression "(**(code **)(*plVar4 + 0x60))" (( "(") (pointer_expression "**(code **)(*plVar4 + 0x60)" (* "*") (pointer_expression "*(code **)(*plVar4 + 0x60)" (* "*") (cast_expression "(code **)(*plVar4 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar4 + 0x60)" (( "(") (binary_expression "*plVar4 + 0x60" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(plVar4,param_7[2],0)" (( "(") (identifier "plVar4") (, ",") (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar5 = (int)cVar2;" (assignment_expression "iVar5 = (int)cVar2" (identifier "iVar5") (= "=") (cast_expression "(int)cVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar2"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (undefined7)(param_3 >> 8);" (assignment_expression "uVar9 = (undefined7)(param_3 >> 8)" (identifier "uVar9") (= "=") (call_expression "(undefined7)(param_3 >> 8)" (parenthesized_expression "(undefined7)" (( "(") (identifier "undefined7") () ")")) (argument_list "(param_3 >> 8)" (( "(") (binary_expression "param_3 >> 8" (identifier "param_3") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5);" (assignment_expression "param_2 = (long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (identifier "param_2") (= "=") (cast_expression "(long *)(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*param_1 + 0x10))\n                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x10)" (* "*") (cast_expression "(code **)(*param_1 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,\n                                     (int)cVar3,iVar5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (call_expression "CONCAT71(uVar9,cVar6)" (identifier "CONCAT71") (argument_list "(uVar9,cVar6)" (( "(") (identifier "uVar9") (, ",") (identifier "cVar6") () ")"))) (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (cast_expression "(int)cVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar3")) (, ",") (identifier "iVar5") () ")"))))) (; ";")) (expression_statement "param_3 = CONCAT71(uVar9,extraout_DL);" (assignment_expression "param_3 = CONCAT71(uVar9,extraout_DL)" (identifier "param_3") (= "=") (call_expression "CONCAT71(uVar9,extraout_DL)" (identifier "CONCAT71") (argument_list "(uVar9,extraout_DL)" (( "(") (identifier "uVar9") (, ",") (identifier "extraout_DL") () ")")))) (; ";")) (expression_statement "uVar7 = param_3 & 0xffffffff;" (assignment_expression "uVar7 = param_3 & 0xffffffff" (identifier "uVar7") (= "=") (binary_expression "param_3 & 0xffffffff" (identifier "param_3") (& "&") (number_literal "0xffffffff"))) (; ";")) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" (identifier "cVar6") (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "param_7 = piVar8 + 1;" (assignment_expression "param_7 = piVar8 + 1" (identifier "param_7") (= "=") (binary_expression "piVar8 + 1" (identifier "piVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_8 == piVar8 + 1) goto LAB_004eae54;" (if "if") (parenthesized_expression "(param_8 == piVar8 + 1)" (( "(") (binary_expression "param_8 == piVar8 + 1" (identifier "param_8") (== "==") (binary_expression "piVar8 + 1" (identifier "piVar8") (+ "+") (number_literal "1"))) () ")")) (goto_statement "goto LAB_004eae54;" (goto "goto") (statement_identifier "LAB_004eae54") (; ";"))) (} "}"))) (if_statement "if (cVar6 == '\0') {\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" (if "if") (parenthesized_expression "(cVar6 == '\0')" (( "(") (binary_expression "cVar6 == '\0'" (identifier "cVar6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        piVar1 = (int *)param_2[5];\n        iVar5 = *param_7;\n        if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }\n        uVar7 = (ulong)(iVar5 == -1);\n      }" ({ "{") (expression_statement "piVar1 = (int *)param_2[5];" (assignment_expression "piVar1 = (int *)param_2[5]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_2[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "iVar5 = *param_7;" (assignment_expression "iVar5 = *param_7" (identifier "iVar5") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if (piVar1 < (int *)param_2[6]) {\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }\n        else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" (if "if") (parenthesized_expression "(piVar1 < (int *)param_2[6])" (( "(") (binary_expression "piVar1 < (int *)param_2[6]" (identifier "piVar1") (< "<") (cast_expression "(int *)param_2[6]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")))) () ")")) (compound_statement "{\n          *piVar1 = iVar5;\n          param_2[5] = (long)(piVar1 + 1);\n        }" ({ "{") (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "param_2[5] = (long)(piVar1 + 1);" (assignment_expression "param_2[5] = (long)(piVar1 + 1)" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(long)(piVar1 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(piVar1 + 1)" (( "(") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" (else "else") (compound_statement "{\n          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);\n        }" ({ "{") (expression_statement "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);" (assignment_expression "iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*param_2 + 0x68))(param_2,iVar5)" (parenthesized_expression "(**(code **)(*param_2 + 0x68))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x68)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x68)" (* "*") (cast_expression "(code **)(*param_2 + 0x68)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x68)" (( "(") (binary_expression "*param_2 + 0x68" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (argument_list "(param_2,iVar5)" (( "(") (identifier "param_2") (, ",") (identifier "iVar5") () ")")))) (; ";")) (} "}")))) (expression_statement "uVar7 = (ulong)(iVar5 == -1);" (assignment_expression "uVar7 = (ulong)(iVar5 == -1)" (identifier "uVar7") (= "=") (call_expression "(ulong)(iVar5 == -1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")))) (; ";")) (} "}"))) (expression_statement "cVar6 = (char)uVar7;" (assignment_expression "cVar6 = (char)uVar7" (identifier "cVar6") (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "param_7 = piVar8;" (assignment_expression "param_7 = piVar8" (identifier "param_7") (= "=") (identifier "piVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_8 != piVar8)" (( "(") (binary_expression "param_8 != piVar8" (identifier "param_8") (!= "!=") (identifier "piVar8")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_004eae54:\n  auVar10._9_7_ = (int7)(param_3 >> 8);" (statement_identifier "LAB_004eae54") (: ":") (expression_statement "auVar10._9_7_ = (int7)(param_3 >> 8);" (assignment_expression "auVar10._9_7_ = (int7)(param_3 >> 8)" (field_expression "auVar10._9_7_" (identifier "auVar10") (. ".") (field_identifier "_9_7_")) (= "=") (call_expression "(int7)(param_3 >> 8)" (parenthesized_expression "(int7)" (( "(") (identifier "int7") () ")")) (argument_list "(param_3 >> 8)" (( "(") (binary_expression "param_3 >> 8" (identifier "param_3") (>> ">>") (number_literal "8")) () ")")))) (; ";"))) (expression_statement "auVar10[8] = cVar6;" (assignment_expression "auVar10[8] = cVar6" (subscript_expression "auVar10[8]" (identifier "auVar10") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "cVar6")) (; ";")) (expression_statement "auVar10._0_8_ = param_2;" (assignment_expression "auVar10._0_8_ = param_2" (field_expression "auVar10._0_8_" (identifier "auVar10") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return auVar10;" (return "return") (identifier "auVar10") (; ";")) (} "}"))

/* std::time_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t, tm
   const*, wchar_t const*, wchar_t const*) const */

type_2  [16]
std::time_put<var_2,var_12::ostreambuf_iterator<var_2,var_12::var_1<var_2>>>::var_3
          (var_4 *var_5,var_4 *var_6,type_3 var_10,var_4 var_13,undefined4 param_5,
          undefined8 param_6,var_7 *var_8,var_7 *var_9)

{
  int *var_18;
  char var_14;
  char cVar3;
  type_1 *pcVar4;
  type_2 extraout_DL;
  int var_19;
  char var_17;
  type_3 uVar7;
  int *var_15;
  type_4 uVar9;
  type_2 auVar10 [16];
  
  uVar7 = var_10 & 0xffffffff;
  var_17 = (char)uVar7;
  pcVar4 = var_11<var_12::type_1<var_2>>((type_5 *)(var_13 + 0xd0));
  if (var_8 != var_9) {
    do {
      while( true ) {
        var_15 = var_8 + 1;
        var_14 = (**(type_6 **)(*(long *)pcVar4 + 0x60))(pcVar4,*var_8,0);
        var_17 = (char)uVar7;
        if (var_14 != '%') break;
        if (var_9 == var_15) goto LAB_004eae54;
        var_14 = (**(type_6 **)(*(long *)pcVar4 + 0x60))(pcVar4,var_8[1],0);
        if ((var_14 == 'E') || (var_19 = 0, cVar3 = var_14, var_14 == 'O')) {
          var_15 = var_8 + 2;
          if (var_9 == var_15) goto LAB_004eae54;
          cVar3 = (**(type_6 **)(*(long *)pcVar4 + 0x60))(pcVar4,var_8[2],0);
          var_19 = (int)var_14;
        }
        uVar9 = (type_4)(var_10 >> 8);
        var_6 = (long *)(**(type_6 **)(*var_5 + 0x10))
                                    (var_5,var_6,var_16(uVar9,var_17),var_13,param_5,param_6,
                                     (int)cVar3,var_19);
        var_10 = var_16(uVar9,extraout_DL);
        uVar7 = var_10 & 0xffffffff;
        var_17 = (char)uVar7;
        var_8 = var_15 + 1;
        if (var_9 == var_15 + 1) goto LAB_004eae54;
      }
      if (var_17 == '\0') {
        var_18 = (int *)var_6[5];
        var_19 = *var_8;
        if (var_18 < (int *)var_6[6]) {
          *var_18 = var_19;
          var_6[5] = (long)(var_18 + 1);
        }
        else {
          var_19 = (**(type_6 **)(*var_6 + 0x68))(var_6,var_19);
        }
        uVar7 = (type_3)(var_19 == -1);
      }
      var_17 = (char)uVar7;
      var_8 = var_15;
    } while (var_9 != var_15);
  }
LAB_004eae54:
  auVar10._9_7_ = (int7)(var_10 >> 8);
  auVar10[8] = var_17;
  auVar10._0_8_ = var_6;
  return auVar10;
}


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

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

{
  int *piVar1;
  char cVar2;
  char cVar3;
  long *plVar4;
  undefined1 extraout_DL;
  int iVar5;
  char cVar6;
  ulong uVar7;
  int *piVar8;
  undefined7 uVar9;
  undefined1 auVar10 [16];
  
  uVar7 = param_3 & 0xffffffff;
  cVar6 = (char)uVar7;
  plVar4 = (long *)FUN_004eacf0(param_4 + 0xd0);
  if (param_7 != param_8) {
    do {
      while( true ) {
        piVar8 = param_7 + 1;
        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,*param_7,0);
        cVar6 = (char)uVar7;
        if (cVar2 != '%') break;
        if (param_8 == piVar8) goto LAB_004eae54;
        cVar2 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[1],0);
        if ((cVar2 == 'E') || (iVar5 = 0, cVar3 = cVar2, cVar2 == 'O')) {
          piVar8 = param_7 + 2;
          if (param_8 == piVar8) goto LAB_004eae54;
          cVar3 = (**(code **)(*plVar4 + 0x60))(plVar4,param_7[2],0);
          iVar5 = (int)cVar2;
        }
        uVar9 = (undefined7)(param_3 >> 8);
        param_2 = (long *)(**(code **)(*param_1 + 0x10))
                                    (param_1,param_2,CONCAT71(uVar9,cVar6),param_4,param_5,param_6,
                                     (int)cVar3,iVar5);
        param_3 = CONCAT71(uVar9,extraout_DL);
        uVar7 = param_3 & 0xffffffff;
        cVar6 = (char)uVar7;
        param_7 = piVar8 + 1;
        if (param_8 == piVar8 + 1) goto LAB_004eae54;
      }
      if (cVar6 == '\0') {
        piVar1 = (int *)param_2[5];
        iVar5 = *param_7;
        if (piVar1 < (int *)param_2[6]) {
          *piVar1 = iVar5;
          param_2[5] = (long)(piVar1 + 1);
        }
        else {
          iVar5 = (**(code **)(*param_2 + 0x68))(param_2,iVar5);
        }
        uVar7 = (ulong)(iVar5 == -1);
      }
      cVar6 = (char)uVar7;
      param_7 = piVar8;
    } while (param_8 != piVar8);
  }
LAB_004eae54:
  auVar10._9_7_ = (int7)(param_3 >> 8);
  auVar10[8] = cVar6;
  auVar10._0_8_ = param_2;
  return auVar10;
}

