
/* std::messages<wchar_t>::do_get(int, int, int, std::wstring const&) const */

wstring * std::messages<wchar_t>::do_get(int param_1,int param_2,int param_3,wstring *param_4)

{
  char *pcVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  code *pcVar5;
  undefined8 uVar6;
  long lVar7;
  undefined1 *puVar8;
  codecvt *pcVar9;
  int iVar10;
  Catalogs *this;
  long lVar11;
  long lVar12;
  undefined8 uVar13;
  char *__s;
  size_t sVar14;
  ulong *puVar15;
  wchar_t *pwVar16;
  wchar_t ***pppwVar17;
  undefined4 in_register_00000034;
  undefined4 in_register_0000003c;
  wstring *this_00;
  wstring *in_R9;
  wchar_t *__s2;
  ulong __n;
  long alStack_90 [3];
  wchar_t **local_78;
  undefined8 local_70;
  codecvt *local_68;
  wchar_t *local_60;
  allocator local_51;
  undefined1 local_50 [8];
  wchar_t *local_48;
  undefined8 local_40 [2];
  
  this_00 = (wstring *)CONCAT44(in_register_0000003c,param_1);
  pppwVar17 = &local_78;
  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)) {
    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);
    alStack_90[2] = 0x4e4ee3;
    this = (Catalogs *)get_catalogs();
    alStack_90[2] = 0x4e4ef0;
    lVar11 = Catalogs::_M_get(this,(int)local_60);
    pppwVar17 = &local_78;
    if (lVar11 != 0) {
      alStack_90[2] = 0x4e4f01;
      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));
      local_40[0] = 0;
      local_60 = (wchar_t *)local_40;
      lVar12 = *(long *)(*(long *)in_R9 + -0x18);
      alStack_90[2] = 0x4e4f29;
      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);
      pwVar16 = local_60;
      pcVar9 = local_68;
      local_78 = &local_48;
      lVar12 = iVar10 * lVar12;
      lVar2 = *(long *)local_68;
      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);
      lVar3 = *(long *)in_R9;
      pcVar1 = (char *)((long)&local_70 + lVar7);
      lVar4 = *(long *)(lVar3 + -0x18);
      local_70 = local_50;
      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;
      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;
      pcVar5 = *(code **)(lVar2 + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;
      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);
      *(undefined1 *)local_48 = 0;
      uVar6 = *(undefined8 *)(lVar11 + 8);
      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;
      uVar13 = __uselocale(uVar13);
      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;
      __s = (char *)dgettext(uVar6,pcVar1);
      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;
      __uselocale(uVar13);
      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);
      if (pcVar1 != __s) {
        local_40[0] = 0;
        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;
        sVar14 = strlen(__s);
        pcVar9 = local_68;
        puVar8 = local_70;
        lVar11 = *(long *)local_68;
        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);
        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;
        pwVar16 = local_60;
        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);
        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;
        pcVar5 = *(code **)(lVar11 + 0x20);
        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;
        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);
        if (local_48 == __s2) {
          pwVar16 = (wchar_t *)&DAT_0068b618;
        }
        else {
          __n = (long)local_48 - (long)__s2 >> 2;
          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;
          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);
          pwVar16 = (wchar_t *)(puVar15 + 3);
          if (__n == 1) {
            *(wchar_t *)(puVar15 + 3) = *__s2;
          }
          else {
            local_60 = pwVar16;
            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;
            wmemcpy(pwVar16,__s2,__n);
            pwVar16 = local_60;
          }
          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {
            *(undefined4 *)(puVar15 + 2) = 0;
            *puVar15 = __n;
            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;
          }
        }
        *(wchar_t **)this_00 = pwVar16;
        return this_00;
      }
    }
  }
  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;
  std::wstring::wstring(this_00,in_R9);
  return this_00;
}



undefined8 *
FUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,
            long *param_6)

{
  char *pcVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  code *pcVar5;
  long lVar6;
  undefined1 *puVar7;
  long *plVar8;
  int iVar9;
  undefined8 uVar10;
  long lVar11;
  long lVar12;
  undefined8 uVar13;
  char *__s;
  size_t sVar14;
  size_t *psVar15;
  wchar_t *pwVar16;
  wchar_t ***pppwVar17;
  wchar_t *__s2;
  long alStack_90 [3];
  wchar_t **local_78;
  undefined8 local_70;
  long *local_68;
  wchar_t *local_60;
  undefined1 local_51;
  undefined1 local_50 [8];
  wchar_t *local_48;
  undefined8 local_40 [2];
  
  pppwVar17 = &local_78;
  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {
    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);
    alStack_90[2] = 0x4e4ee3;
    uVar10 = FUN_004df550();
    alStack_90[2] = 0x4e4ef0;
    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);
    pppwVar17 = &local_78;
    if (lVar11 != 0) {
      alStack_90[2] = 0x4e4f01;
      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);
      local_40[0] = 0;
      local_60 = (wchar_t *)local_40;
      lVar12 = *(long *)(*param_6 + -0x18);
      alStack_90[2] = 0x4e4f29;
      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);
      pwVar16 = local_60;
      plVar8 = local_68;
      local_78 = &local_48;
      lVar12 = iVar9 * lVar12;
      lVar2 = *local_68;
      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);
      lVar3 = *param_6;
      pcVar1 = (char *)((long)&local_70 + lVar6);
      lVar4 = *(long *)(lVar3 + -0x18);
      local_70 = local_50;
      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;
      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;
      pcVar5 = *(code **)(lVar2 + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;
      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);
      *(undefined1 *)local_48 = 0;
      uVar10 = *(undefined8 *)(lVar11 + 8);
      uVar13 = *(undefined8 *)(param_2 + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;
      uVar13 = __uselocale(uVar13);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;
      __s = (char *)dgettext(uVar10,pcVar1);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;
      __uselocale(uVar13);
      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);
      if (pcVar1 != __s) {
        local_40[0] = 0;
        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;
        sVar14 = strlen(__s);
        plVar8 = local_68;
        puVar7 = local_70;
        lVar11 = *local_68;
        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);
        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;
        pwVar16 = local_60;
        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);
        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;
        pcVar5 = *(code **)(lVar11 + 0x20);
        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;
        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);
        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);
        if (local_48 == __s2) {
          pwVar16 = (wchar_t *)&DAT_0068b618;
        }
        else {
          sVar14 = (long)local_48 - (long)__s2 >> 2;
          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;
          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);
          pwVar16 = (wchar_t *)(psVar15 + 3);
          if (sVar14 == 1) {
            *(wchar_t *)(psVar15 + 3) = *__s2;
          }
          else {
            local_60 = pwVar16;
            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;
            wmemcpy(pwVar16,__s2,sVar14);
            pwVar16 = local_60;
          }
          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {
            *(undefined4 *)(psVar15 + 2) = 0;
            *psVar15 = sVar14;
            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;
          }
        }
        *param_1 = pwVar16;
        return param_1;
      }
    }
  }
  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;
  FUN_0051a710(param_1,param_6);
  return param_1;
}


PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
MOV R12,R9
PUSH RBX
MOV RBX,RDI
SUB RSP,0x48
TEST EDX,EDX
JS 0x004e4eb5
MOV RAX,qword ptr [R9]
CMP qword ptr [RAX + -0x18],0x0
JNZ 0x004e4ed8
MOV RSI,R12
MOV RDI,RBX
CALL 0x0051a710
LEA RSP,[RBP + -0x28]
MOV RAX,RBX
POP RBX
POP R12
POP R13
POP R14
POP R15
POP RBP
RET
MOV R14,RSI
MOV dword ptr [RBP + -0x58],EDX
CALL 0x004df550
MOV EDX,dword ptr [RBP + -0x58]
MOV RDI,RAX
MOV ESI,EDX
CALL 0x004df470
MOV R15,RAX
TEST RAX,RAX
JZ 0x004e4eb5
LEA RDI,[RAX + 0x10]
CALL 0x004eb1d0
MOV qword ptr [RBP + -0x38],0x0
MOV R10,RAX
LEA RAX,[RBP + -0x38]
MOV qword ptr [RBP + -0x58],RAX
MOV RAX,qword ptr [R12]
MOV RDI,R10
MOV qword ptr [RBP + -0x60],R10
MOV R13,qword ptr [RAX + -0x18]
MOV RAX,qword ptr [R10]
CALL qword ptr [RAX + 0x40]
MOV R10,qword ptr [RBP + -0x60]
LEA R8,[RBP + -0x48]
LEA RDI,[RBP + -0x40]
CDQE
MOV qword ptr [RBP + -0x68],R8
MOV RSI,qword ptr [RBP + -0x58]
IMUL RAX,R13
MOV R11,qword ptr [R10]
MOV qword ptr [RBP + -0x70],RDI
LEA RDX,[RAX + 0x18]
AND RDX,-0x10
SUB RSP,RDX
MOV RDX,qword ptr [R12]
LEA R13,[RSP + 0xf]
MOV RCX,qword ptr [RDX + -0x18]
AND R13,-0x10
PUSH RDI
MOV RDI,R10
ADD RAX,R13
MOV R9,R13
PUSH RAX
LEA RCX,[RDX + RCX*0x4]
CALL qword ptr [R11 + 0x10]
MOV RAX,qword ptr [RBP + -0x40]
MOV byte ptr [RAX],0x0
MOV R15,qword ptr [R15 + 0x8]
MOV RDI,qword ptr [R14 + 0x10]
CALL 0x00177780
MOV RSI,R13
MOV RDI,R15
MOV R14,RAX
CALL 0x001770c0
MOV RDI,R14
MOV R15,RAX
CALL 0x00177780
CMP R13,R15
POP RSI
MOV R10,qword ptr [RBP + -0x60]
POP RDI
JZ 0x004e4eb5
MOV RDI,R15
MOV qword ptr [RBP + -0x60],R10
MOV qword ptr [RBP + -0x38],0x0
CALL 0x00177490
MOV R10,qword ptr [RBP + -0x60]
MOV R8,qword ptr [RBP + -0x68]
LEA RSI,[0x4 + RAX*0x4]
LEA RCX,[R15 + RAX*0x1]
LEA RDX,[RSI + 0x17]
MOV R11,qword ptr [R10]
MOV RDI,R10
AND RDX,-0x10
SUB RSP,RDX
MOV RDX,R15
LEA R12,[RSP + 0xf]
PUSH qword ptr [RBP + -0x70]
AND R12,-0x10
LEA RAX,[R12 + RSI*0x1 + -0x4]
MOV R9,R12
MOV RSI,qword ptr [RBP + -0x58]
PUSH RAX
CALL qword ptr [R11 + 0x20]
MOV RAX,qword ptr [RBP + -0x40]
POP RDX
POP RCX
CMP RAX,R12
JZ 0x004e5070
SUB RAX,R12
LEA RDX,[RBP + -0x49]
XOR ESI,ESI
MOV R15,RAX
MOV R13,RAX
SAR R15,0x2
MOV RDI,R15
CALL 0x005190f0
MOV R14,RAX
LEA RCX,[RAX + 0x18]
CMP R15,0x1
JZ 0x004e5080
MOV RDI,RCX
MOV RDX,R15
MOV RSI,R12
MOV qword ptr [RBP + -0x58],RCX
CALL 0x001770f0
MOV RCX,qword ptr [RBP + -0x58]
CMP R14,qword ptr [0x0067bcd8]
JNZ 0x004e508a
MOV qword ptr [RBX],RCX
JMP 0x004e4ec0
LEA RAX,[0x68b600]
LEA RCX,[RAX + 0x18]
JMP 0x004e5060
MOV EAX,dword ptr [R12]
MOV dword ptr [R14 + 0x18],EAX
JMP 0x004e5057
MOV dword ptr [R14 + 0x10],0x0
MOV qword ptr [R14],R15
MOV dword ptr [R14 + R13*0x1 + 0x18],0x0
JMP 0x004e5060
(translation_unit "undefined8 *\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}\n\n" (function_definition "undefined8 *\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" * (function_declarator "FUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" identifier (parameter_list "(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "long *param_6" (sized_type_specifier "long" long) (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "size_t *psVar15;" primitive_type (pointer_declarator "*psVar15" * identifier) ;) (declaration "wchar_t *pwVar16;" type_identifier (pointer_declarator "*pwVar16" * identifier) ;) (declaration "wchar_t ***pppwVar17;" type_identifier (pointer_declarator "***pppwVar17" * (pointer_declarator "**pppwVar17" * (pointer_declarator "*pppwVar17" * identifier))) ;) (declaration "wchar_t *__s2;" type_identifier (pointer_declarator "*__s2" * identifier) ;) (declaration "long alStack_90 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_90 [3]" identifier [ number_literal ]) ;) (declaration "wchar_t **local_78;" type_identifier (pointer_declarator "**local_78" * (pointer_declarator "*local_78" * identifier)) ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "long *local_68;" (sized_type_specifier "long" long) (pointer_declarator "*local_68" * identifier) ;) (declaration "wchar_t *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "undefined1 local_51;" type_identifier identifier ;) (declaration "undefined1 local_50 [8];" type_identifier (array_declarator "local_50 [8]" identifier [ number_literal ]) ;) (declaration "wchar_t *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0))" ( (binary_expression "(-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" (parenthesized_expression "(-1 < param_3)" ( (binary_expression "-1 < param_3" number_literal < identifier) )) && (parenthesized_expression "(pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" ( (comma_expression "pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) , (binary_expression "*(long *)(*param_6 + -0x18) != 0" (pointer_expression "*(long *)(*param_6 + -0x18)" * (cast_expression "(long *)(*param_6 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + -0x18)" ( (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" * identifier) + number_literal) )))) != number_literal)) ))) )) (compound_statement "{\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" { (expression_statement "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);" (assignment_expression "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3)" identifier = (cast_expression "(wchar_t *)CONCAT44(local_60._4_4_,param_3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_60._4_4_,param_3)" identifier (argument_list "(local_60._4_4_,param_3)" ( (field_expression "local_60._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_90[2] = 0x4e4ee3;" (assignment_expression "alStack_90[2] = 0x4e4ee3" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar10 = FUN_004df550();" (assignment_expression "uVar10 = FUN_004df550()" identifier = (call_expression "FUN_004df550()" identifier (argument_list "()" ( )))) ;) (expression_statement "alStack_90[2] = 0x4e4ef0;" (assignment_expression "alStack_90[2] = 0x4e4ef0" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);" (assignment_expression "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" identifier = (call_expression "FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" identifier (argument_list "(uVar10,(ulong)local_60 & 0xffffffff)" ( identifier , (binary_expression "(ulong)local_60 & 0xffffffff" (cast_expression "(ulong)local_60" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" if (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" { (expression_statement "alStack_90[2] = 0x4e4f01;" (assignment_expression "alStack_90[2] = 0x4e4f01" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);" (assignment_expression "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10)" identifier = (cast_expression "(long *)FUN_004eb1d0(lVar11 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004eb1d0(lVar11 + 0x10)" identifier (argument_list "(lVar11 + 0x10)" ( (binary_expression "lVar11 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_60 = (wchar_t *)local_40;" (assignment_expression "local_60 = (wchar_t *)local_40" identifier = (cast_expression "(wchar_t *)local_40" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "lVar12 = *(long *)(*param_6 + -0x18);" (assignment_expression "lVar12 = *(long *)(*param_6 + -0x18)" identifier = (pointer_expression "*(long *)(*param_6 + -0x18)" * (cast_expression "(long *)(*param_6 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + -0x18)" ( (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" * identifier) + number_literal) ))))) ;) (expression_statement "alStack_90[2] = 0x4e4f29;" (assignment_expression "alStack_90[2] = 0x4e4f29" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar9 = (**(code **)(*local_68 + 0x40))(local_68);" (assignment_expression "iVar9 = (**(code **)(*local_68 + 0x40))(local_68)" identifier = (call_expression "(**(code **)(*local_68 + 0x40))(local_68)" (parenthesized_expression "(**(code **)(*local_68 + 0x40))" ( (pointer_expression "**(code **)(*local_68 + 0x40)" * (pointer_expression "*(code **)(*local_68 + 0x40)" * (cast_expression "(code **)(*local_68 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_68 + 0x40)" ( (binary_expression "*local_68 + 0x40" (pointer_expression "*local_68" * identifier) + number_literal) ))))) )) (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" identifier = identifier) ;) (expression_statement "local_78 = &local_48;" (assignment_expression "local_78 = &local_48" identifier = (pointer_expression "&local_48" & identifier)) ;) (expression_statement "lVar12 = iVar9 * lVar12;" (assignment_expression "lVar12 = iVar9 * lVar12" identifier = (binary_expression "iVar9 * lVar12" identifier * identifier)) ;) (expression_statement "lVar2 = *local_68;" (assignment_expression "lVar2 = *local_68" identifier = (pointer_expression "*local_68" * identifier)) ;) (expression_statement "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);" (assignment_expression "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar12 + 0x18U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar12 + 0x18U & 0xfffffffffffffff0)" ( (binary_expression "lVar12 + 0x18U & 0xfffffffffffffff0" (binary_expression "lVar12 + 0x18U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "lVar3 = *param_6;" (assignment_expression "lVar3 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "pcVar1 = (char *)((long)&local_70 + lVar6);" (assignment_expression "pcVar1 = (char *)((long)&local_70 + lVar6)" identifier = (cast_expression "(char *)((long)&local_70 + lVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar6)" ( (binary_expression "(long)&local_70 + lVar6" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) )))) ;) (expression_statement "lVar4 = *(long *)(lVar3 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar3 + -0x18)" identifier = (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "local_70 = local_50;" (assignment_expression "local_70 = local_50" identifier = identifier) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;" (assignment_expression "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12" (pointer_expression "*(char **)((long)alStack_90 + lVar6 + 8)" * (cast_expression "(char **)((long)alStack_90 + lVar6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 8)" ( (binary_expression "(long)alStack_90 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = (binary_expression "pcVar1 + lVar12" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar5 = *(code **)(lVar2 + 0x10)" identifier = (pointer_expression "*(code **)(lVar2 + 0x10)" * (cast_expression "(code **)(lVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);" (call_expression "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" ( identifier , identifier , identifier , (binary_expression "lVar3 + lVar4 * 4" identifier + (binary_expression "lVar4 * 4" identifier * number_literal)) , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)local_48 = 0;" (assignment_expression "*(undefined1 *)local_48 = 0" (pointer_expression "*(undefined1 *)local_48" * (cast_expression "(undefined1 *)local_48" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar10 = *(undefined8 *)(lVar11 + 8);" (assignment_expression "uVar10 = *(undefined8 *)(lVar11 + 8)" identifier = (pointer_expression "*(undefined8 *)(lVar11 + 8)" * (cast_expression "(undefined8 *)(lVar11 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + 8)" ( (binary_expression "lVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar13 = *(undefined8 *)(param_2 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar13 = __uselocale(uVar13);" (assignment_expression "uVar13 = __uselocale(uVar13)" identifier = (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__s = (char *)dgettext(uVar10,pcVar1);" (assignment_expression "__s = (char *)dgettext(uVar10,pcVar1)" identifier = (cast_expression "(char *)dgettext(uVar10,pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dgettext(uVar10,pcVar1)" identifier (argument_list "(uVar10,pcVar1)" ( identifier , identifier ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__uselocale(uVar13);" (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))) ;) (expression_statement "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);" (assignment_expression "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6)" identifier = (cast_expression "(wchar_t ***)((long)&local_78 + lVar6)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)&local_78 + lVar6)" ( (binary_expression "(long)&local_78 + lVar6" (cast_expression "(long)&local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_78" & identifier)) + identifier) )))) ;) (if_statement "if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" if (parenthesized_expression "(pcVar1 != __s)" ( (binary_expression "pcVar1 != __s" identifier != identifier) )) (compound_statement "{\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" { (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "sVar14 = strlen(__s);" (assignment_expression "sVar14 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" identifier = identifier) ;) (expression_statement "puVar7 = local_70;" (assignment_expression "puVar7 = local_70" identifier = identifier) ;) (expression_statement "lVar11 = *local_68;" (assignment_expression "lVar11 = *local_68" identifier = (pointer_expression "*local_68" * identifier)) ;) (expression_statement "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);" (assignment_expression "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" identifier = (unary_expression "-(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" - (parenthesized_expression "(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" ( (binary_expression "sVar14 * 4 + 0x1b & 0xfffffffffffffff0" (binary_expression "sVar14 * 4 + 0x1b" (binary_expression "sVar14 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);" (assignment_expression "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" identifier = (cast_expression "(wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" ( (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0" (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7" (binary_expression "(long)&local_70 + lVar12 + lVar6" (binary_expression "(long)&local_70 + lVar12" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) + identifier) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;" (assignment_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14" (pointer_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" * (cast_expression "(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 8)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = (binary_expression "__s2 + sVar14" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar11 + 0x20);" (assignment_expression "pcVar5 = *(code **)(lVar11 + 0x20)" identifier = (pointer_expression "*(code **)(lVar11 + 0x20)" * (cast_expression "(code **)(lVar11 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar11 + 0x20)" ( (binary_expression "lVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);" (call_expression "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" ( identifier , identifier , identifier , (binary_expression "__s + sVar14" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);" (assignment_expression "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" identifier = (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" if (parenthesized_expression "(local_48 == __s2)" ( (binary_expression "local_48 == __s2" identifier == identifier) )) (compound_statement "{\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }" { (expression_statement "pwVar16 = (wchar_t *)&DAT_0068b618;" (assignment_expression "pwVar16 = (wchar_t *)&DAT_0068b618" identifier = (cast_expression "(wchar_t *)&DAT_0068b618" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0068b618" & identifier))) ;) }) (else_clause "else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" else (compound_statement "{\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" { (expression_statement "sVar14 = (long)local_48 - (long)__s2 >> 2;" (assignment_expression "sVar14 = (long)local_48 - (long)__s2 >> 2" identifier = (binary_expression "(long)local_48 - (long)__s2 >> 2" (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);" (assignment_expression "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" identifier = (cast_expression "(size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_005190f0(sVar14,0,&local_51,uVar10)" identifier (argument_list "(sVar14,0,&local_51,uVar10)" ( identifier , number_literal , (pointer_expression "&local_51" & identifier) , identifier ))))) ;) (expression_statement "pwVar16 = (wchar_t *)(psVar15 + 3);" (assignment_expression "pwVar16 = (wchar_t *)(psVar15 + 3)" identifier = (cast_expression "(wchar_t *)(psVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 3)" ( (binary_expression "psVar15 + 3" identifier + number_literal) )))) ;) (if_statement "if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" if (parenthesized_expression "(sVar14 == 1)" ( (binary_expression "sVar14 == 1" identifier == number_literal) )) (compound_statement "{\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }" { (expression_statement "*(wchar_t *)(psVar15 + 3) = *__s2;" (assignment_expression "*(wchar_t *)(psVar15 + 3) = *__s2" (pointer_expression "*(wchar_t *)(psVar15 + 3)" * (cast_expression "(wchar_t *)(psVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 3)" ( (binary_expression "psVar15 + 3" identifier + number_literal) )))) = (pointer_expression "*__s2" * identifier)) ;) }) (else_clause "else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" else (compound_statement "{\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" { (expression_statement "local_60 = pwVar16;" (assignment_expression "local_60 = pwVar16" identifier = identifier) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(pwVar16,__s2,sVar14);" (call_expression "wmemcpy(pwVar16,__s2,sVar14)" identifier (argument_list "(pwVar16,__s2,sVar14)" ( identifier , identifier , identifier ))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) }))) (if_statement "if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" if (parenthesized_expression "(psVar15 != (size_t *)PTR_DAT_0067bcd8)" ( (binary_expression "psVar15 != (size_t *)PTR_DAT_0067bcd8" identifier != (cast_expression "(size_t *)PTR_DAT_0067bcd8" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" { (expression_statement "*(undefined4 *)(psVar15 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar15 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar15 + 2)" * (cast_expression "(undefined4 *)(psVar15 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 2)" ( (binary_expression "psVar15 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*psVar15 = sVar14;" (assignment_expression "*psVar15 = sVar14" (pointer_expression "*psVar15" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;" (assignment_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0" (pointer_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" * (cast_expression "(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2) + 0x18" (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2)" (cast_expression "(long)psVar15" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)local_48 - (long)__s2)" ( (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) + number_literal) )))) = number_literal) ;) })) }))) (expression_statement "*param_1 = pwVar16;" (assignment_expression "*param_1 = pwVar16" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) })) (expression_statement "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;" (assignment_expression "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0" (pointer_expression "*(undefined8 *)((long)pppwVar17 + -8)" * (cast_expression "(undefined8 *)((long)pppwVar17 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pppwVar17 + -8)" ( (binary_expression "(long)pppwVar17 + -8" (cast_expression "(long)pppwVar17" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0051a710(param_1,param_6);" (call_expression "FUN_0051a710(param_1,param_6)" identifier (argument_list "(param_1,param_6)" ( identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::messages<wchar_t>::do_get(int, int, int, std::wstring const&) const */\n\nwstring * std::messages<wchar_t>::do_get(int param_1,int param_2,int param_3,wstring *param_4)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  undefined8 uVar6;\n  long lVar7;\n  undefined1 *puVar8;\n  codecvt *pcVar9;\n  int iVar10;\n  Catalogs *this;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  ulong *puVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  undefined4 in_register_00000034;\n  undefined4 in_register_0000003c;\n  wstring *this_00;\n  wstring *in_R9;\n  wchar_t *__s2;\n  ulong __n;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  codecvt *local_68;\n  wchar_t *local_60;\n  allocator local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  this_00 = (wstring *)CONCAT44(in_register_0000003c,param_1);\n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    this = (Catalogs *)get_catalogs();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = Catalogs::_M_get(this,(int)local_60);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  std::wstring::wstring(this_00,in_R9);\n  return this_00;\n}\n\n" comment (ERROR "wstring * std::messages<wchar_t>::do_get(int param_1,int param_2,int param_3,wstring *param_4)" (binary_expression "wstring * std::messages<wchar_t>::do_get(int param_1,int param_2,int param_3,wstring *param_4)" (binary_expression "wstring * std::messages<wchar_t" (binary_expression "wstring * std" identifier * identifier) (ERROR "::messages" : : identifier) < identifier) > (ERROR "::" : :) (call_expression "do_get(int param_1,int param_2,int param_3,wstring *param_4)" identifier (argument_list "(int param_1,int param_2,int param_3,wstring *param_4)" ( (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier , (binary_expression "wstring *param_4" identifier * identifier) ))))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  undefined8 uVar6;\n  long lVar7;\n  undefined1 *puVar8;\n  codecvt *pcVar9;\n  int iVar10;\n  Catalogs *this;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  ulong *puVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  undefined4 in_register_00000034;\n  undefined4 in_register_0000003c;\n  wstring *this_00;\n  wstring *in_R9;\n  wchar_t *__s2;\n  ulong __n;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  codecvt *local_68;\n  wchar_t *local_60;\n  allocator local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  this_00 = (wstring *)CONCAT44(in_register_0000003c,param_1);\n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    this = (Catalogs *)get_catalogs();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = Catalogs::_M_get(this,(int)local_60);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  std::wstring::wstring(this_00,in_R9);\n  return this_00;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "codecvt *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "Catalogs *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "ulong *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "wchar_t *pwVar16;" type_identifier (pointer_declarator "*pwVar16" * identifier) ;) (declaration "wchar_t ***pppwVar17;" type_identifier (pointer_declarator "***pppwVar17" * (pointer_declarator "**pppwVar17" * (pointer_declarator "*pppwVar17" * identifier))) ;) (declaration "undefined4 in_register_00000034;" type_identifier identifier ;) (declaration "undefined4 in_register_0000003c;" type_identifier identifier ;) (declaration "wstring *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "wstring *in_R9;" type_identifier (pointer_declarator "*in_R9" * identifier) ;) (declaration "wchar_t *__s2;" type_identifier (pointer_declarator "*__s2" * identifier) ;) (declaration "ulong __n;" type_identifier identifier ;) (declaration "long alStack_90 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_90 [3]" identifier [ number_literal ]) ;) (declaration "wchar_t **local_78;" type_identifier (pointer_declarator "**local_78" * (pointer_declarator "*local_78" * identifier)) ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "codecvt *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "wchar_t *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "allocator local_51;" type_identifier identifier ;) (declaration "undefined1 local_50 [8];" type_identifier (array_declarator "local_50 [8]" identifier [ number_literal ]) ;) (declaration "wchar_t *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "this_00 = (wstring *)CONCAT44(in_register_0000003c,param_1);" (assignment_expression "this_00 = (wstring *)CONCAT44(in_register_0000003c,param_1)" identifier = (cast_expression "(wstring *)CONCAT44(in_register_0000003c,param_1)" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_0000003c,param_1)" identifier (argument_list "(in_register_0000003c,param_1)" ( identifier , identifier ))))) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    this = (Catalogs *)get_catalogs();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = Catalogs::_M_get(this,(int)local_60);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0))" ( (binary_expression "(-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)" (parenthesized_expression "(-1 < param_3)" ( (binary_expression "-1 < param_3" number_literal < identifier) )) && (parenthesized_expression "(pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)" ( (comma_expression "pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) , (binary_expression "*(long *)(*(long *)in_R9 + -0x18) != 0" (pointer_expression "*(long *)(*(long *)in_R9 + -0x18)" * (cast_expression "(long *)(*(long *)in_R9 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)in_R9 + -0x18)" ( (binary_expression "*(long *)in_R9 + -0x18" (pointer_expression "*(long *)in_R9" * (cast_expression "(long *)in_R9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != number_literal)) ))) )) (compound_statement "{\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    this = (Catalogs *)get_catalogs();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = Catalogs::_M_get(this,(int)local_60);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }\n  }" { (expression_statement "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);" (assignment_expression "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3)" identifier = (cast_expression "(wchar_t *)CONCAT44(local_60._4_4_,param_3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_60._4_4_,param_3)" identifier (argument_list "(local_60._4_4_,param_3)" ( (field_expression "local_60._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_90[2] = 0x4e4ee3;" (assignment_expression "alStack_90[2] = 0x4e4ee3" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "this = (Catalogs *)get_catalogs();" (assignment_expression "this = (Catalogs *)get_catalogs()" identifier = (cast_expression "(Catalogs *)get_catalogs()" ( (type_descriptor "Catalogs *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_catalogs()" identifier (argument_list "()" ( ))))) ;) (expression_statement "alStack_90[2] = 0x4e4ef0;" (assignment_expression "alStack_90[2] = 0x4e4ef0" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (ERROR "lVar11 = Catalogs::" (assignment_expression "lVar11 = Catalogs" identifier = identifier) : :) (expression_statement "_M_get(this,(int)local_60);" (call_expression "_M_get(this,(int)local_60)" identifier (argument_list "(this,(int)local_60)" ( identifier , (cast_expression "(int)local_60" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }" if (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      alStack_90[2] = 0x4e4f01;\n      local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*(long *)in_R9 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      pcVar9 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar10 * lVar12;\n      lVar2 = *(long *)local_68;\n      lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *(long *)in_R9;\n      pcVar1 = (char *)((long)&local_70 + lVar7);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;\n      (*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar6 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar6,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }\n    }" { (expression_statement "alStack_90[2] = 0x4e4f01;" (assignment_expression "alStack_90[2] = 0x4e4f01" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10));" (comma_expression "local_68 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>((locale *)(lVar11 + 0x10))" (binary_expression "local_68 = use_facet<std::codecvt<wchar_t" (assignment_expression "local_68 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>((locale *)(lVar11 + 0x10))" identifier , (binary_expression "__mbstate_t>>((locale *)(lVar11 + 0x10))" identifier >> (parenthesized_expression "((locale *)(lVar11 + 0x10))" ( (cast_expression "(locale *)(lVar11 + 0x10)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + 0x10)" ( (binary_expression "lVar11 + 0x10" identifier + number_literal) ))) ))))) ;) (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_60 = (wchar_t *)local_40;" (assignment_expression "local_60 = (wchar_t *)local_40" identifier = (cast_expression "(wchar_t *)local_40" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "lVar12 = *(long *)(*(long *)in_R9 + -0x18);" (assignment_expression "lVar12 = *(long *)(*(long *)in_R9 + -0x18)" identifier = (pointer_expression "*(long *)(*(long *)in_R9 + -0x18)" * (cast_expression "(long *)(*(long *)in_R9 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)in_R9 + -0x18)" ( (binary_expression "*(long *)in_R9 + -0x18" (pointer_expression "*(long *)in_R9" * (cast_expression "(long *)in_R9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "alStack_90[2] = 0x4e4f29;" (assignment_expression "alStack_90[2] = 0x4e4f29" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68);" (assignment_expression "iVar10 = (**(code **)(*(long *)local_68 + 0x40))(local_68)" identifier = (call_expression "(**(code **)(*(long *)local_68 + 0x40))(local_68)" (parenthesized_expression "(**(code **)(*(long *)local_68 + 0x40))" ( (pointer_expression "**(code **)(*(long *)local_68 + 0x40)" * (pointer_expression "*(code **)(*(long *)local_68 + 0x40)" * (cast_expression "(code **)(*(long *)local_68 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)local_68 + 0x40)" ( (binary_expression "*(long *)local_68 + 0x40" (pointer_expression "*(long *)local_68" * (cast_expression "(long *)local_68" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "pcVar9 = local_68;" (assignment_expression "pcVar9 = local_68" identifier = identifier) ;) (expression_statement "local_78 = &local_48;" (assignment_expression "local_78 = &local_48" identifier = (pointer_expression "&local_48" & identifier)) ;) (expression_statement "lVar12 = iVar10 * lVar12;" (assignment_expression "lVar12 = iVar10 * lVar12" identifier = (binary_expression "iVar10 * lVar12" identifier * identifier)) ;) (expression_statement "lVar2 = *(long *)local_68;" (assignment_expression "lVar2 = *(long *)local_68" identifier = (pointer_expression "*(long *)local_68" * (cast_expression "(long *)local_68" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0);" (assignment_expression "lVar7 = -(lVar12 + 0x18U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar12 + 0x18U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar12 + 0x18U & 0xfffffffffffffff0)" ( (binary_expression "lVar12 + 0x18U & 0xfffffffffffffff0" (binary_expression "lVar12 + 0x18U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "lVar3 = *(long *)in_R9;" (assignment_expression "lVar3 = *(long *)in_R9" identifier = (pointer_expression "*(long *)in_R9" * (cast_expression "(long *)in_R9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar1 = (char *)((long)&local_70 + lVar7);" (assignment_expression "pcVar1 = (char *)((long)&local_70 + lVar7)" identifier = (cast_expression "(char *)((long)&local_70 + lVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar7)" ( (binary_expression "(long)&local_70 + lVar7" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) )))) ;) (expression_statement "lVar4 = *(long *)(lVar3 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar3 + -0x18)" identifier = (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "local_70 = local_50;" (assignment_expression "local_70 = local_50" identifier = identifier) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar7 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar7 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar7 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar7 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar7 + 0x10" (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12;" (assignment_expression "*(char **)((long)alStack_90 + lVar7 + 8) = pcVar1 + lVar12" (pointer_expression "*(char **)((long)alStack_90 + lVar7 + 8)" * (cast_expression "(char **)((long)alStack_90 + lVar7 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar7 + 8)" ( (binary_expression "(long)alStack_90 + lVar7 + 8" (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = (binary_expression "pcVar1 + lVar12" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar5 = *(code **)(lVar2 + 0x10)" identifier = (pointer_expression "*(code **)(lVar2 + 0x10)" * (cast_expression "(code **)(lVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f79" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar7)" ( (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);" (call_expression "(*pcVar5)(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pcVar9,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" ( identifier , identifier , identifier , (binary_expression "lVar3 + lVar4 * 4" identifier + (binary_expression "lVar4 * 4" identifier * number_literal)) , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)local_48 = 0;" (assignment_expression "*(undefined1 *)local_48 = 0" (pointer_expression "*(undefined1 *)local_48" * (cast_expression "(undefined1 *)local_48" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar6 = *(undefined8 *)(lVar11 + 8);" (assignment_expression "uVar6 = *(undefined8 *)(lVar11 + 8)" identifier = (pointer_expression "*(undefined8 *)(lVar11 + 8)" * (cast_expression "(undefined8 *)(lVar11 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + 8)" ( (binary_expression "lVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10);" (assignment_expression "uVar13 = *(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10)" identifier = (pointer_expression "*(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10)" * (cast_expression "(undefined8 *)(CONCAT44(in_register_00000034,param_2) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(CONCAT44(in_register_00000034,param_2) + 0x10)" ( (binary_expression "CONCAT44(in_register_00000034,param_2) + 0x10" (call_expression "CONCAT44(in_register_00000034,param_2)" identifier (argument_list "(in_register_00000034,param_2)" ( identifier , identifier ))) + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f8d" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar7)" ( (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar13 = __uselocale(uVar13);" (assignment_expression "uVar13 = __uselocale(uVar13)" identifier = (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4f9b" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar7)" ( (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__s = (char *)dgettext(uVar6,pcVar1);" (assignment_expression "__s = (char *)dgettext(uVar6,pcVar1)" identifier = (cast_expression "(char *)dgettext(uVar6,pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dgettext(uVar6,pcVar1)" identifier (argument_list "(uVar6,pcVar1)" ( identifier , identifier ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar7) = 0x4e4fa6" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar7)" ( (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__uselocale(uVar13);" (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))) ;) (expression_statement "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7);" (assignment_expression "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar7)" identifier = (cast_expression "(wchar_t ***)((long)&local_78 + lVar7)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)&local_78 + lVar7)" ( (binary_expression "(long)&local_78 + lVar7" (cast_expression "(long)&local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_78" & identifier)) + identifier) )))) ;) (if_statement "if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }" if (parenthesized_expression "(pcVar1 != __s)" ( (binary_expression "pcVar1 != __s" identifier != identifier) )) (compound_statement "{\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        pcVar9 = local_68;\n        puVar8 = local_70;\n        lVar11 = *(long *)local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;\n        (*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *(wchar_t **)this_00 = pwVar16;\n        return this_00;\n      }" { (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar7 + 0x10) = 0x4e4fc9" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar7 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar7 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar7 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar7 + 0x10" (binary_expression "(long)alStack_90 + lVar7" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "sVar14 = strlen(__s);" (assignment_expression "sVar14 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar9 = local_68;" (assignment_expression "pcVar9 = local_68" identifier = identifier) ;) (expression_statement "puVar8 = local_70;" (assignment_expression "puVar8 = local_70" identifier = identifier) ;) (expression_statement "lVar11 = *(long *)local_68;" (assignment_expression "lVar11 = *(long *)local_68" identifier = (pointer_expression "*(long *)local_68" * (cast_expression "(long *)local_68" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);" (assignment_expression "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" identifier = (unary_expression "-(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" - (parenthesized_expression "(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" ( (binary_expression "sVar14 * 4 + 0x1b & 0xfffffffffffffff0" (binary_expression "sVar14 * 4 + 0x1b" (binary_expression "sVar14 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar7 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar7" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0);" (assignment_expression "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0)" identifier = (cast_expression "(wchar_t *)((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0)" ( (binary_expression "(long)&local_70 + lVar12 + lVar7 + 7 & 0xfffffffffffffff0" (binary_expression "(long)&local_70 + lVar12 + lVar7 + 7" (binary_expression "(long)&local_70 + lVar12 + lVar7" (binary_expression "(long)&local_70 + lVar12" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) + identifier) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14;" (assignment_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8) = __s2 + sVar14" (pointer_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8)" * (cast_expression "(wchar_t **)((long)alStack_90 + lVar12 + lVar7 + 8)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar7 + 8)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar7 + 8" (binary_expression "(long)alStack_90 + lVar12 + lVar7" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = (binary_expression "__s2 + sVar14" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar11 + 0x20);" (assignment_expression "pcVar5 = *(code **)(lVar11 + 0x20)" identifier = (pointer_expression "*(code **)(lVar11 + 0x20)" * (cast_expression "(code **)(lVar11 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar11 + 0x20)" ( (binary_expression "lVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7) = 0x4e500e" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar7)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar7" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2);" (call_expression "(*pcVar5)(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pcVar9,pwVar16,__s,__s + sVar14,puVar8,__s2)" ( identifier , identifier , identifier , (binary_expression "__s + sVar14" identifier + identifier) , identifier , identifier ))) ;) (if_statement "if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" if (parenthesized_expression "(local_48 == __s2)" ( (binary_expression "local_48 == __s2" identifier == identifier) )) (compound_statement "{\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }" { (expression_statement "pwVar16 = (wchar_t *)&DAT_0068b618;" (assignment_expression "pwVar16 = (wchar_t *)&DAT_0068b618" identifier = (cast_expression "(wchar_t *)&DAT_0068b618" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0068b618" & identifier))) ;) }) (else_clause "else {\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" else (compound_statement "{\n          __n = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;\n          puVar15 = (ulong *)std::wstring::_Rep::_S_create(__n,0,&local_51);\n          pwVar16 = (wchar_t *)(puVar15 + 3);\n          if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }\n          if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" { (expression_statement "__n = (long)local_48 - (long)__s2 >> 2;" (assignment_expression "__n = (long)local_48 - (long)__s2 >> 2" identifier = (binary_expression "(long)local_48 - (long)__s2 >> 2" (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5034" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar7 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar7" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (ERROR "puVar15 = (ulong *)std::" (assignment_expression "puVar15 = (ulong *)std" identifier = (cast_expression "(ulong *)std" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "wstring::_Rep::_S_create(__n,0,&local_51);" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_S_create(__n,0,&local_51);" statement_identifier : (ERROR ":" :) (expression_statement "_S_create(__n,0,&local_51);" (call_expression "_S_create(__n,0,&local_51)" identifier (argument_list "(__n,0,&local_51)" ( identifier , number_literal , (pointer_expression "&local_51" & identifier) ))) ;))) (expression_statement "pwVar16 = (wchar_t *)(puVar15 + 3);" (assignment_expression "pwVar16 = (wchar_t *)(puVar15 + 3)" identifier = (cast_expression "(wchar_t *)(puVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 3)" ( (binary_expression "puVar15 + 3" identifier + number_literal) )))) ;) (if_statement "if (__n == 1) {\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n            *(wchar_t *)(puVar15 + 3) = *__s2;\n          }" { (expression_statement "*(wchar_t *)(puVar15 + 3) = *__s2;" (assignment_expression "*(wchar_t *)(puVar15 + 3) = *__s2" (pointer_expression "*(wchar_t *)(puVar15 + 3)" * (cast_expression "(wchar_t *)(puVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 3)" ( (binary_expression "puVar15 + 3" identifier + number_literal) )))) = (pointer_expression "*__s2" * identifier)) ;) }) (else_clause "else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }" else (compound_statement "{\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,__n);\n            pwVar16 = local_60;\n          }" { (expression_statement "local_60 = pwVar16;" (assignment_expression "local_60 = pwVar16" identifier = identifier) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10) = 0x4e5053" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar7 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar7 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar7" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(pwVar16,__s2,__n);" (call_expression "wmemcpy(pwVar16,__s2,__n)" identifier (argument_list "(pwVar16,__s2,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) }))) (if_statement "if (puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8) {\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" if (parenthesized_expression "(puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8)" ( (binary_expression "puVar15 != (ulong *)PTR__S_empty_rep_storage_0067bcd8" identifier != (cast_expression "(ulong *)PTR__S_empty_rep_storage_0067bcd8" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n            *(undefined4 *)(puVar15 + 2) = 0;\n            *puVar15 = __n;\n            *(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" { (expression_statement "*(undefined4 *)(puVar15 + 2) = 0;" (assignment_expression "*(undefined4 *)(puVar15 + 2) = 0" (pointer_expression "*(undefined4 *)(puVar15 + 2)" * (cast_expression "(undefined4 *)(puVar15 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 2)" ( (binary_expression "puVar15 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar15 = __n;" (assignment_expression "*puVar15 = __n" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;" (assignment_expression "*(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0" (pointer_expression "*(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18)" * (cast_expression "(undefined4 *)((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (binary_expression "(long)puVar15 + ((long)local_48 - (long)__s2) + 0x18" (binary_expression "(long)puVar15 + ((long)local_48 - (long)__s2)" (cast_expression "(long)puVar15" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)local_48 - (long)__s2)" ( (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) + number_literal) )))) = number_literal) ;) })) }))) (expression_statement "*(wchar_t **)this_00 = pwVar16;" (assignment_expression "*(wchar_t **)this_00 = pwVar16" (pointer_expression "*(wchar_t **)this_00" * (cast_expression "(wchar_t **)this_00" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return this_00;" return identifier ;) })) })) })) (expression_statement "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;" (assignment_expression "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0" (pointer_expression "*(undefined8 *)((long)pppwVar17 + -8)" * (cast_expression "(undefined8 *)((long)pppwVar17 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pppwVar17 + -8)" ( (binary_expression "(long)pppwVar17 + -8" (cast_expression "(long)pppwVar17" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (labeled_statement "std::wstring::wstring(this_00,in_R9);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::wstring(this_00,in_R9);" statement_identifier : (ERROR ":" :) (expression_statement "wstring(this_00,in_R9);" (call_expression "wstring(this_00,in_R9)" identifier (argument_list "(this_00,in_R9)" ( identifier , identifier ))) ;))) (return_statement "return this_00;" return identifier ;) }))
(translation_unit "undefined8 *\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}\n\n" (function_definition "undefined8 *\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" * (function_declarator "FUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" identifier (parameter_list "(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "long *param_6" (sized_type_specifier "long" long) (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "size_t *psVar15;" primitive_type (pointer_declarator "*psVar15" * identifier) ;) (declaration "wchar_t *pwVar16;" type_identifier (pointer_declarator "*pwVar16" * identifier) ;) (declaration "wchar_t ***pppwVar17;" type_identifier (pointer_declarator "***pppwVar17" * (pointer_declarator "**pppwVar17" * (pointer_declarator "*pppwVar17" * identifier))) ;) (declaration "wchar_t *__s2;" type_identifier (pointer_declarator "*__s2" * identifier) ;) (declaration "long alStack_90 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_90 [3]" identifier [ number_literal ]) ;) (declaration "wchar_t **local_78;" type_identifier (pointer_declarator "**local_78" * (pointer_declarator "*local_78" * identifier)) ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "long *local_68;" (sized_type_specifier "long" long) (pointer_declarator "*local_68" * identifier) ;) (declaration "wchar_t *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "undefined1 local_51;" type_identifier identifier ;) (declaration "undefined1 local_50 [8];" type_identifier (array_declarator "local_50 [8]" identifier [ number_literal ]) ;) (declaration "wchar_t *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0))" ( (binary_expression "(-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" (parenthesized_expression "(-1 < param_3)" ( (binary_expression "-1 < param_3" number_literal < identifier) )) && (parenthesized_expression "(pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" ( (comma_expression "pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) , (binary_expression "*(long *)(*param_6 + -0x18) != 0" (pointer_expression "*(long *)(*param_6 + -0x18)" * (cast_expression "(long *)(*param_6 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + -0x18)" ( (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" * identifier) + number_literal) )))) != number_literal)) ))) )) (compound_statement "{\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" { (expression_statement "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);" (assignment_expression "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3)" identifier = (cast_expression "(wchar_t *)CONCAT44(local_60._4_4_,param_3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_60._4_4_,param_3)" identifier (argument_list "(local_60._4_4_,param_3)" ( (field_expression "local_60._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_90[2] = 0x4e4ee3;" (assignment_expression "alStack_90[2] = 0x4e4ee3" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar10 = FUN_004df550();" (assignment_expression "uVar10 = FUN_004df550()" identifier = (call_expression "FUN_004df550()" identifier (argument_list "()" ( )))) ;) (expression_statement "alStack_90[2] = 0x4e4ef0;" (assignment_expression "alStack_90[2] = 0x4e4ef0" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);" (assignment_expression "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" identifier = (call_expression "FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" identifier (argument_list "(uVar10,(ulong)local_60 & 0xffffffff)" ( identifier , (binary_expression "(ulong)local_60 & 0xffffffff" (cast_expression "(ulong)local_60" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" identifier = (pointer_expression "&local_78" & identifier)) ;) (if_statement "if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" if (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" { (expression_statement "alStack_90[2] = 0x4e4f01;" (assignment_expression "alStack_90[2] = 0x4e4f01" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);" (assignment_expression "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10)" identifier = (cast_expression "(long *)FUN_004eb1d0(lVar11 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004eb1d0(lVar11 + 0x10)" identifier (argument_list "(lVar11 + 0x10)" ( (binary_expression "lVar11 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_60 = (wchar_t *)local_40;" (assignment_expression "local_60 = (wchar_t *)local_40" identifier = (cast_expression "(wchar_t *)local_40" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "lVar12 = *(long *)(*param_6 + -0x18);" (assignment_expression "lVar12 = *(long *)(*param_6 + -0x18)" identifier = (pointer_expression "*(long *)(*param_6 + -0x18)" * (cast_expression "(long *)(*param_6 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + -0x18)" ( (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" * identifier) + number_literal) ))))) ;) (expression_statement "alStack_90[2] = 0x4e4f29;" (assignment_expression "alStack_90[2] = 0x4e4f29" (subscript_expression "alStack_90[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar9 = (**(code **)(*local_68 + 0x40))(local_68);" (assignment_expression "iVar9 = (**(code **)(*local_68 + 0x40))(local_68)" identifier = (call_expression "(**(code **)(*local_68 + 0x40))(local_68)" (parenthesized_expression "(**(code **)(*local_68 + 0x40))" ( (pointer_expression "**(code **)(*local_68 + 0x40)" * (pointer_expression "*(code **)(*local_68 + 0x40)" * (cast_expression "(code **)(*local_68 + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_68 + 0x40)" ( (binary_expression "*local_68 + 0x40" (pointer_expression "*local_68" * identifier) + number_literal) ))))) )) (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" identifier = identifier) ;) (expression_statement "local_78 = &local_48;" (assignment_expression "local_78 = &local_48" identifier = (pointer_expression "&local_48" & identifier)) ;) (expression_statement "lVar12 = iVar9 * lVar12;" (assignment_expression "lVar12 = iVar9 * lVar12" identifier = (binary_expression "iVar9 * lVar12" identifier * identifier)) ;) (expression_statement "lVar2 = *local_68;" (assignment_expression "lVar2 = *local_68" identifier = (pointer_expression "*local_68" * identifier)) ;) (expression_statement "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);" (assignment_expression "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar12 + 0x18U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar12 + 0x18U & 0xfffffffffffffff0)" ( (binary_expression "lVar12 + 0x18U & 0xfffffffffffffff0" (binary_expression "lVar12 + 0x18U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "lVar3 = *param_6;" (assignment_expression "lVar3 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "pcVar1 = (char *)((long)&local_70 + lVar6);" (assignment_expression "pcVar1 = (char *)((long)&local_70 + lVar6)" identifier = (cast_expression "(char *)((long)&local_70 + lVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar6)" ( (binary_expression "(long)&local_70 + lVar6" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) )))) ;) (expression_statement "lVar4 = *(long *)(lVar3 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar3 + -0x18)" identifier = (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "local_70 = local_50;" (assignment_expression "local_70 = local_50" identifier = identifier) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;" (assignment_expression "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12" (pointer_expression "*(char **)((long)alStack_90 + lVar6 + 8)" * (cast_expression "(char **)((long)alStack_90 + lVar6 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 8)" ( (binary_expression "(long)alStack_90 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = (binary_expression "pcVar1 + lVar12" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar5 = *(code **)(lVar2 + 0x10)" identifier = (pointer_expression "*(code **)(lVar2 + 0x10)" * (cast_expression "(code **)(lVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);" (call_expression "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" ( identifier , identifier , identifier , (binary_expression "lVar3 + lVar4 * 4" identifier + (binary_expression "lVar4 * 4" identifier * number_literal)) , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)local_48 = 0;" (assignment_expression "*(undefined1 *)local_48 = 0" (pointer_expression "*(undefined1 *)local_48" * (cast_expression "(undefined1 *)local_48" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar10 = *(undefined8 *)(lVar11 + 8);" (assignment_expression "uVar10 = *(undefined8 *)(lVar11 + 8)" identifier = (pointer_expression "*(undefined8 *)(lVar11 + 8)" * (cast_expression "(undefined8 *)(lVar11 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + 8)" ( (binary_expression "lVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar13 = *(undefined8 *)(param_2 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar13 = __uselocale(uVar13);" (assignment_expression "uVar13 = __uselocale(uVar13)" identifier = (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__s = (char *)dgettext(uVar10,pcVar1);" (assignment_expression "__s = (char *)dgettext(uVar10,pcVar1)" identifier = (cast_expression "(char *)dgettext(uVar10,pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dgettext(uVar10,pcVar1)" identifier (argument_list "(uVar10,pcVar1)" ( identifier , identifier ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__uselocale(uVar13);" (call_expression "__uselocale(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))) ;) (expression_statement "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);" (assignment_expression "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6)" identifier = (cast_expression "(wchar_t ***)((long)&local_78 + lVar6)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)&local_78 + lVar6)" ( (binary_expression "(long)&local_78 + lVar6" (cast_expression "(long)&local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_78" & identifier)) + identifier) )))) ;) (if_statement "if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" if (parenthesized_expression "(pcVar1 != __s)" ( (binary_expression "pcVar1 != __s" identifier != identifier) )) (compound_statement "{\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" { (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "sVar14 = strlen(__s);" (assignment_expression "sVar14 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" identifier = identifier) ;) (expression_statement "puVar7 = local_70;" (assignment_expression "puVar7 = local_70" identifier = identifier) ;) (expression_statement "lVar11 = *local_68;" (assignment_expression "lVar11 = *local_68" identifier = (pointer_expression "*local_68" * identifier)) ;) (expression_statement "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);" (assignment_expression "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" identifier = (unary_expression "-(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" - (parenthesized_expression "(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" ( (binary_expression "sVar14 * 4 + 0x1b & 0xfffffffffffffff0" (binary_expression "sVar14 * 4 + 0x1b" (binary_expression "sVar14 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "wchar_t ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) (expression_statement "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);" (assignment_expression "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" identifier = (cast_expression "(wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" ( (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0" (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7" (binary_expression "(long)&local_70 + lVar12 + lVar6" (binary_expression "(long)&local_70 + lVar12" (cast_expression "(long)&local_70" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&local_70" & identifier)) + identifier) + identifier) + number_literal) & number_literal) )))) ;) (expression_statement "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;" (assignment_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14" (pointer_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" * (cast_expression "(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 8)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = (binary_expression "__s2 + sVar14" identifier + identifier)) ;) (expression_statement "pcVar5 = *(code **)(lVar11 + 0x20);" (assignment_expression "pcVar5 = *(code **)(lVar11 + 0x20)" identifier = (pointer_expression "*(code **)(lVar11 + 0x20)" * (cast_expression "(code **)(lVar11 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar11 + 0x20)" ( (binary_expression "lVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);" (call_expression "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" ( identifier , identifier , identifier , (binary_expression "__s + sVar14" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);" (assignment_expression "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" identifier = (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" if (parenthesized_expression "(local_48 == __s2)" ( (binary_expression "local_48 == __s2" identifier == identifier) )) (compound_statement "{\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }" { (expression_statement "pwVar16 = (wchar_t *)&DAT_0068b618;" (assignment_expression "pwVar16 = (wchar_t *)&DAT_0068b618" identifier = (cast_expression "(wchar_t *)&DAT_0068b618" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0068b618" & identifier))) ;) }) (else_clause "else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" else (compound_statement "{\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" { (expression_statement "sVar14 = (long)local_48 - (long)__s2 >> 2;" (assignment_expression "sVar14 = (long)local_48 - (long)__s2 >> 2" identifier = (binary_expression "(long)local_48 - (long)__s2 >> 2" (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);" (assignment_expression "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" identifier = (cast_expression "(size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_005190f0(sVar14,0,&local_51,uVar10)" identifier (argument_list "(sVar14,0,&local_51,uVar10)" ( identifier , number_literal , (pointer_expression "&local_51" & identifier) , identifier ))))) ;) (expression_statement "pwVar16 = (wchar_t *)(psVar15 + 3);" (assignment_expression "pwVar16 = (wchar_t *)(psVar15 + 3)" identifier = (cast_expression "(wchar_t *)(psVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 3)" ( (binary_expression "psVar15 + 3" identifier + number_literal) )))) ;) (if_statement "if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" if (parenthesized_expression "(sVar14 == 1)" ( (binary_expression "sVar14 == 1" identifier == number_literal) )) (compound_statement "{\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }" { (expression_statement "*(wchar_t *)(psVar15 + 3) = *__s2;" (assignment_expression "*(wchar_t *)(psVar15 + 3) = *__s2" (pointer_expression "*(wchar_t *)(psVar15 + 3)" * (cast_expression "(wchar_t *)(psVar15 + 3)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 3)" ( (binary_expression "psVar15 + 3" identifier + number_literal) )))) = (pointer_expression "*__s2" * identifier)) ;) }) (else_clause "else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" else (compound_statement "{\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" { (expression_statement "local_60 = pwVar16;" (assignment_expression "local_60 = pwVar16" identifier = identifier) ;) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" * (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" ( (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(pwVar16,__s2,sVar14);" (call_expression "wmemcpy(pwVar16,__s2,sVar14)" identifier (argument_list "(pwVar16,__s2,sVar14)" ( identifier , identifier , identifier ))) ;) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" identifier = identifier) ;) }))) (if_statement "if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" if (parenthesized_expression "(psVar15 != (size_t *)PTR_DAT_0067bcd8)" ( (binary_expression "psVar15 != (size_t *)PTR_DAT_0067bcd8" identifier != (cast_expression "(size_t *)PTR_DAT_0067bcd8" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" { (expression_statement "*(undefined4 *)(psVar15 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar15 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar15 + 2)" * (cast_expression "(undefined4 *)(psVar15 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar15 + 2)" ( (binary_expression "psVar15 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*psVar15 = sVar14;" (assignment_expression "*psVar15 = sVar14" (pointer_expression "*psVar15" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;" (assignment_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0" (pointer_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" * (cast_expression "(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" ( (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2) + 0x18" (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2)" (cast_expression "(long)psVar15" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)local_48 - (long)__s2)" ( (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) + number_literal) )))) = number_literal) ;) })) }))) (expression_statement "*param_1 = pwVar16;" (assignment_expression "*param_1 = pwVar16" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) })) (expression_statement "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;" (assignment_expression "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0" (pointer_expression "*(undefined8 *)((long)pppwVar17 + -8)" * (cast_expression "(undefined8 *)((long)pppwVar17 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pppwVar17 + -8)" ( (binary_expression "(long)pppwVar17 + -8" (cast_expression "(long)pppwVar17" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0051a710(param_1,param_6);" (call_expression "FUN_0051a710(param_1,param_6)" identifier (argument_list "(param_1,param_6)" ( identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , IDENT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) + IDENT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) + LIT) )))) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression & IDENT) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) + LIT) )))) = LIT) ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 *\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)\n\n{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" (type_identifier "undefined8") (pointer_declarator "*\nFUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" (* "*") (function_declarator "FUN_004e4e90(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" (identifier "FUN_004e4e90") (parameter_list "(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,\n            long *param_6)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) (, ",") (parameter_declaration "long *param_6" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")")))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  code *pcVar5;\n  long lVar6;\n  undefined1 *puVar7;\n  long *plVar8;\n  int iVar9;\n  undefined8 uVar10;\n  long lVar11;\n  long lVar12;\n  undefined8 uVar13;\n  char *__s;\n  size_t sVar14;\n  size_t *psVar15;\n  wchar_t *pwVar16;\n  wchar_t ***pppwVar17;\n  wchar_t *__s2;\n  long alStack_90 [3];\n  wchar_t **local_78;\n  undefined8 local_70;\n  long *local_68;\n  wchar_t *local_60;\n  undefined1 local_51;\n  undefined1 local_50 [8];\n  wchar_t *local_48;\n  undefined8 local_40 [2];\n  \n  pppwVar17 = &local_78;\n  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }\n  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;\n  FUN_0051a710(param_1,param_6);\n  return param_1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "long *plVar8;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar8" (* "*") (identifier "plVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "undefined8 uVar13;" (type_identifier "undefined8") (identifier "uVar13") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar14;" (primitive_type "size_t") (identifier "sVar14") (; ";")) (declaration "size_t *psVar15;" (primitive_type "size_t") (pointer_declarator "*psVar15" (* "*") (identifier "psVar15")) (; ";")) (declaration "wchar_t *pwVar16;" (type_identifier "wchar_t") (pointer_declarator "*pwVar16" (* "*") (identifier "pwVar16")) (; ";")) (declaration "wchar_t ***pppwVar17;" (type_identifier "wchar_t") (pointer_declarator "***pppwVar17" (* "*") (pointer_declarator "**pppwVar17" (* "*") (pointer_declarator "*pppwVar17" (* "*") (identifier "pppwVar17")))) (; ";")) (declaration "wchar_t *__s2;" (type_identifier "wchar_t") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "long alStack_90 [3];" (sized_type_specifier "long" (long "long")) (array_declarator "alStack_90 [3]" (identifier "alStack_90") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "wchar_t **local_78;" (type_identifier "wchar_t") (pointer_declarator "**local_78" (* "*") (pointer_declarator "*local_78" (* "*") (identifier "local_78"))) (; ";")) (declaration "undefined8 local_70;" (type_identifier "undefined8") (identifier "local_70") (; ";")) (declaration "long *local_68;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "wchar_t *local_60;" (type_identifier "wchar_t") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "undefined1 local_51;" (type_identifier "undefined1") (identifier "local_51") (; ";")) (declaration "undefined1 local_50 [8];" (type_identifier "undefined1") (array_declarator "local_50 [8]" (identifier "local_50") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "wchar_t *local_48;" (type_identifier "wchar_t") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "undefined8 local_40 [2];" (type_identifier "undefined8") (array_declarator "local_40 [2]" (identifier "local_40") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" (identifier "pppwVar17") (= "=") (pointer_expression "&local_78" (& "&") (identifier "local_78"))) (; ";")) (if_statement "if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0))" (( "(") (binary_expression "(-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" (parenthesized_expression "(-1 < param_3)" (( "(") (binary_expression "-1 < param_3" (number_literal "-1") (< "<") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)" (( "(") (comma_expression "pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0" (assignment_expression "pppwVar17 = &local_78" (identifier "pppwVar17") (= "=") (pointer_expression "&local_78" (& "&") (identifier "local_78"))) (, ",") (binary_expression "*(long *)(*param_6 + -0x18) != 0" (pointer_expression "*(long *)(*param_6 + -0x18)" (* "*") (cast_expression "(long *)(*param_6 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_6 + -0x18)" (( "(") (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (+ "+") (number_literal "-0x18")) () ")")))) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);\n    alStack_90[2] = 0x4e4ee3;\n    uVar10 = FUN_004df550();\n    alStack_90[2] = 0x4e4ef0;\n    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);\n    pppwVar17 = &local_78;\n    if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }\n  }" ({ "{") (expression_statement "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);" (assignment_expression "local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3)" (identifier "local_60") (= "=") (cast_expression "(wchar_t *)CONCAT44(local_60._4_4_,param_3)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "CONCAT44(local_60._4_4_,param_3)" (identifier "CONCAT44") (argument_list "(local_60._4_4_,param_3)" (( "(") (field_expression "local_60._4_4_" (identifier "local_60") (. ".") (field_identifier "_4_4_")) (, ",") (identifier "param_3") () ")"))))) (; ";")) (expression_statement "alStack_90[2] = 0x4e4ee3;" (assignment_expression "alStack_90[2] = 0x4e4ee3" (subscript_expression "alStack_90[2]" (identifier "alStack_90") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x4e4ee3")) (; ";")) (expression_statement "uVar10 = FUN_004df550();" (assignment_expression "uVar10 = FUN_004df550()" (identifier "uVar10") (= "=") (call_expression "FUN_004df550()" (identifier "FUN_004df550") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "alStack_90[2] = 0x4e4ef0;" (assignment_expression "alStack_90[2] = 0x4e4ef0" (subscript_expression "alStack_90[2]" (identifier "alStack_90") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x4e4ef0")) (; ";")) (expression_statement "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);" (assignment_expression "lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" (identifier "lVar11") (= "=") (call_expression "FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff)" (identifier "FUN_004df470") (argument_list "(uVar10,(ulong)local_60 & 0xffffffff)" (( "(") (identifier "uVar10") (, ",") (binary_expression "(ulong)local_60 & 0xffffffff" (cast_expression "(ulong)local_60" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "local_60")) (& "&") (number_literal "0xffffffff")) () ")")))) (; ";")) (expression_statement "pppwVar17 = &local_78;" (assignment_expression "pppwVar17 = &local_78" (identifier "pppwVar17") (= "=") (pointer_expression "&local_78" (& "&") (identifier "local_78"))) (; ";")) (if_statement "if (lVar11 != 0) {\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" (if "if") (parenthesized_expression "(lVar11 != 0)" (( "(") (binary_expression "lVar11 != 0" (identifier "lVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      alStack_90[2] = 0x4e4f01;\n      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);\n      local_40[0] = 0;\n      local_60 = (wchar_t *)local_40;\n      lVar12 = *(long *)(*param_6 + -0x18);\n      alStack_90[2] = 0x4e4f29;\n      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);\n      pwVar16 = local_60;\n      plVar8 = local_68;\n      local_78 = &local_48;\n      lVar12 = iVar9 * lVar12;\n      lVar2 = *local_68;\n      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);\n      lVar3 = *param_6;\n      pcVar1 = (char *)((long)&local_70 + lVar6);\n      lVar4 = *(long *)(lVar3 + -0x18);\n      local_70 = local_50;\n      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;\n      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;\n      pcVar5 = *(code **)(lVar2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;\n      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);\n      *(undefined1 *)local_48 = 0;\n      uVar10 = *(undefined8 *)(lVar11 + 8);\n      uVar13 = *(undefined8 *)(param_2 + 0x10);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;\n      uVar13 = __uselocale(uVar13);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;\n      __s = (char *)dgettext(uVar10,pcVar1);\n      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;\n      __uselocale(uVar13);\n      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);\n      if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }\n    }" ({ "{") (expression_statement "alStack_90[2] = 0x4e4f01;" (assignment_expression "alStack_90[2] = 0x4e4f01" (subscript_expression "alStack_90[2]" (identifier "alStack_90") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x4e4f01")) (; ";")) (expression_statement "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);" (assignment_expression "local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10)" (identifier "local_68") (= "=") (cast_expression "(long *)FUN_004eb1d0(lVar11 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_004eb1d0(lVar11 + 0x10)" (identifier "FUN_004eb1d0") (argument_list "(lVar11 + 0x10)" (( "(") (binary_expression "lVar11 + 0x10" (identifier "lVar11") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_60 = (wchar_t *)local_40;" (assignment_expression "local_60 = (wchar_t *)local_40" (identifier "local_60") (= "=") (cast_expression "(wchar_t *)local_40" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_40"))) (; ";")) (expression_statement "lVar12 = *(long *)(*param_6 + -0x18);" (assignment_expression "lVar12 = *(long *)(*param_6 + -0x18)" (identifier "lVar12") (= "=") (pointer_expression "*(long *)(*param_6 + -0x18)" (* "*") (cast_expression "(long *)(*param_6 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_6 + -0x18)" (( "(") (binary_expression "*param_6 + -0x18" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "alStack_90[2] = 0x4e4f29;" (assignment_expression "alStack_90[2] = 0x4e4f29" (subscript_expression "alStack_90[2]" (identifier "alStack_90") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x4e4f29")) (; ";")) (expression_statement "iVar9 = (**(code **)(*local_68 + 0x40))(local_68);" (assignment_expression "iVar9 = (**(code **)(*local_68 + 0x40))(local_68)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(*local_68 + 0x40))(local_68)" (parenthesized_expression "(**(code **)(*local_68 + 0x40))" (( "(") (pointer_expression "**(code **)(*local_68 + 0x40)" (* "*") (pointer_expression "*(code **)(*local_68 + 0x40)" (* "*") (cast_expression "(code **)(*local_68 + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_68 + 0x40)" (( "(") (binary_expression "*local_68 + 0x40" (pointer_expression "*local_68" (* "*") (identifier "local_68")) (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(local_68)" (( "(") (identifier "local_68") () ")")))) (; ";")) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" (identifier "pwVar16") (= "=") (identifier "local_60")) (; ";")) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" (identifier "plVar8") (= "=") (identifier "local_68")) (; ";")) (expression_statement "local_78 = &local_48;" (assignment_expression "local_78 = &local_48" (identifier "local_78") (= "=") (pointer_expression "&local_48" (& "&") (identifier "local_48"))) (; ";")) (expression_statement "lVar12 = iVar9 * lVar12;" (assignment_expression "lVar12 = iVar9 * lVar12" (identifier "lVar12") (= "=") (binary_expression "iVar9 * lVar12" (identifier "iVar9") (* "*") (identifier "lVar12"))) (; ";")) (expression_statement "lVar2 = *local_68;" (assignment_expression "lVar2 = *local_68" (identifier "lVar2") (= "=") (pointer_expression "*local_68" (* "*") (identifier "local_68"))) (; ";")) (expression_statement "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);" (assignment_expression "lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0)" (identifier "lVar6") (= "=") (unary_expression "-(lVar12 + 0x18U & 0xfffffffffffffff0)" (- "-") (parenthesized_expression "(lVar12 + 0x18U & 0xfffffffffffffff0)" (( "(") (binary_expression "lVar12 + 0x18U & 0xfffffffffffffff0" (binary_expression "lVar12 + 0x18U" (identifier "lVar12") (+ "+") (number_literal "0x18U")) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "lVar3 = *param_6;" (assignment_expression "lVar3 = *param_6" (identifier "lVar3") (= "=") (pointer_expression "*param_6" (* "*") (identifier "param_6"))) (; ";")) (expression_statement "pcVar1 = (char *)((long)&local_70 + lVar6);" (assignment_expression "pcVar1 = (char *)((long)&local_70 + lVar6)" (identifier "pcVar1") (= "=") (cast_expression "(char *)((long)&local_70 + lVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&local_70 + lVar6)" (( "(") (binary_expression "(long)&local_70 + lVar6" (cast_expression "(long)&local_70" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&local_70" (& "&") (identifier "local_70"))) (+ "+") (identifier "lVar6")) () ")")))) (; ";")) (expression_statement "lVar4 = *(long *)(lVar3 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar3 + -0x18)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(lVar3 + -0x18)" (* "*") (cast_expression "(long *)(lVar3 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + -0x18)" (( "(") (binary_expression "lVar3 + -0x18" (identifier "lVar3") (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "local_70 = local_50;" (assignment_expression "local_70 = local_50" (identifier "local_70") (= "=") (identifier "local_50")) (; ";")) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" (* "*") (cast_expression "(wchar_t ***)((long)alStack_90 + lVar6 + 0x10)" (( "(") (type_descriptor "wchar_t ***" (type_identifier "wchar_t") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "local_78")) (; ";")) (expression_statement "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;" (assignment_expression "*(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12" (pointer_expression "*(char **)((long)alStack_90 + lVar6 + 8)" (* "*") (cast_expression "(char **)((long)alStack_90 + lVar6 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6 + 8)" (( "(") (binary_expression "(long)alStack_90 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "pcVar1 + lVar12" (identifier "pcVar1") (+ "+") (identifier "lVar12"))) (; ";")) (expression_statement "pcVar5 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar5 = *(code **)(lVar2 + 0x10)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(lVar2 + 0x10)" (* "*") (cast_expression "(code **)(lVar2 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar2 + 0x10)" (( "(") (binary_expression "lVar2 + 0x10" (identifier "lVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6)" (( "(") (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) () ")")))) (= "=") (number_literal "0x4e4f79")) (; ";")) (expression_statement "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);" (call_expression "(*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1)" (( "(") (identifier "plVar8") (, ",") (identifier "pwVar16") (, ",") (identifier "lVar3") (, ",") (binary_expression "lVar3 + lVar4 * 4" (identifier "lVar3") (+ "+") (binary_expression "lVar4 * 4" (identifier "lVar4") (* "*") (number_literal "4"))) (, ",") (identifier "local_50") (, ",") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "*(undefined1 *)local_48 = 0;" (assignment_expression "*(undefined1 *)local_48 = 0" (pointer_expression "*(undefined1 *)local_48" (* "*") (cast_expression "(undefined1 *)local_48" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_48"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = *(undefined8 *)(lVar11 + 8);" (assignment_expression "uVar10 = *(undefined8 *)(lVar11 + 8)" (identifier "uVar10") (= "=") (pointer_expression "*(undefined8 *)(lVar11 + 8)" (* "*") (cast_expression "(undefined8 *)(lVar11 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar11 + 8)" (( "(") (binary_expression "lVar11 + 8" (identifier "lVar11") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar13 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar13 = *(undefined8 *)(param_2 + 0x10)" (identifier "uVar13") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6)" (( "(") (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) () ")")))) (= "=") (number_literal "0x4e4f8d")) (; ";")) (expression_statement "uVar13 = __uselocale(uVar13);" (assignment_expression "uVar13 = __uselocale(uVar13)" (identifier "uVar13") (= "=") (call_expression "__uselocale(uVar13)" (identifier "__uselocale") (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6)" (( "(") (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) () ")")))) (= "=") (number_literal "0x4e4f9b")) (; ";")) (expression_statement "__s = (char *)dgettext(uVar10,pcVar1);" (assignment_expression "__s = (char *)dgettext(uVar10,pcVar1)" (identifier "__s") (= "=") (cast_expression "(char *)dgettext(uVar10,pcVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dgettext(uVar10,pcVar1)" (identifier "dgettext") (argument_list "(uVar10,pcVar1)" (( "(") (identifier "uVar10") (, ",") (identifier "pcVar1") () ")"))))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6)" (( "(") (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) () ")")))) (= "=") (number_literal "0x4e4fa6")) (; ";")) (expression_statement "__uselocale(uVar13);" (call_expression "__uselocale(uVar13)" (identifier "__uselocale") (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")"))) (; ";")) (expression_statement "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);" (assignment_expression "pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6)" (identifier "pppwVar17") (= "=") (cast_expression "(wchar_t ***)((long)&local_78 + lVar6)" (( "(") (type_descriptor "wchar_t ***" (type_identifier "wchar_t") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "((long)&local_78 + lVar6)" (( "(") (binary_expression "(long)&local_78 + lVar6" (cast_expression "(long)&local_78" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&local_78" (& "&") (identifier "local_78"))) (+ "+") (identifier "lVar6")) () ")")))) (; ";")) (if_statement "if (pcVar1 != __s) {\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" (if "if") (parenthesized_expression "(pcVar1 != __s)" (( "(") (binary_expression "pcVar1 != __s" (identifier "pcVar1") (!= "!=") (identifier "__s")) () ")")) (compound_statement "{\n        local_40[0] = 0;\n        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;\n        sVar14 = strlen(__s);\n        plVar8 = local_68;\n        puVar7 = local_70;\n        lVar11 = *local_68;\n        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);\n        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;\n        pwVar16 = local_60;\n        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);\n        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;\n        pcVar5 = *(code **)(lVar11 + 0x20);\n        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;\n        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);\n        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);\n        if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }\n        *param_1 = pwVar16;\n        return param_1;\n      }" ({ "{") (expression_statement "local_40[0] = 0;" (assignment_expression "local_40[0] = 0" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar6 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar6" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0x4e4fc9")) (; ";")) (expression_statement "sVar14 = strlen(__s);" (assignment_expression "sVar14 = strlen(__s)" (identifier "sVar14") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "plVar8 = local_68;" (assignment_expression "plVar8 = local_68" (identifier "plVar8") (= "=") (identifier "local_68")) (; ";")) (expression_statement "puVar7 = local_70;" (assignment_expression "puVar7 = local_70" (identifier "puVar7") (= "=") (identifier "local_70")) (; ";")) (expression_statement "lVar11 = *local_68;" (assignment_expression "lVar11 = *local_68" (identifier "lVar11") (= "=") (pointer_expression "*local_68" (* "*") (identifier "local_68"))) (; ";")) (expression_statement "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);" (assignment_expression "lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" (identifier "lVar12") (= "=") (unary_expression "-(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" (- "-") (parenthesized_expression "(sVar14 * 4 + 0x1b & 0xfffffffffffffff0)" (( "(") (binary_expression "sVar14 * 4 + 0x1b & 0xfffffffffffffff0" (binary_expression "sVar14 * 4 + 0x1b" (binary_expression "sVar14 * 4" (identifier "sVar14") (* "*") (number_literal "4")) (+ "+") (number_literal "0x1b")) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;" (assignment_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78" (pointer_expression "*(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (* "*") (cast_expression "(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (type_descriptor "wchar_t ***" (type_identifier "wchar_t") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "local_78")) (; ";")) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" (identifier "pwVar16") (= "=") (identifier "local_60")) (; ";")) (expression_statement "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);" (assignment_expression "__s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" (identifier "__s2") (= "=") (cast_expression "(wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0)" (( "(") (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0" (binary_expression "(long)&local_70 + lVar12 + lVar6 + 7" (binary_expression "(long)&local_70 + lVar12 + lVar6" (binary_expression "(long)&local_70 + lVar12" (cast_expression "(long)&local_70" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&local_70" (& "&") (identifier "local_70"))) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "7")) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;" (assignment_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14" (pointer_expression "*(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" (* "*") (cast_expression "(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 8)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 8" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "__s2 + sVar14" (identifier "__s2") (+ "+") (identifier "sVar14"))) (; ";")) (expression_statement "pcVar5 = *(code **)(lVar11 + 0x20);" (assignment_expression "pcVar5 = *(code **)(lVar11 + 0x20)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(lVar11 + 0x20)" (* "*") (cast_expression "(code **)(lVar11 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar11 + 0x20)" (( "(") (binary_expression "lVar11 + 0x20" (identifier "lVar11") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) () ")")))) (= "=") (number_literal "0x4e500e")) (; ";")) (expression_statement "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);" (call_expression "(*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2)" (( "(") (identifier "plVar8") (, ",") (identifier "pwVar16") (, ",") (identifier "__s") (, ",") (binary_expression "__s + sVar14" (identifier "__s") (+ "+") (identifier "sVar14")) (, ",") (identifier "puVar7") (, ",") (identifier "__s2") () ")"))) (; ";")) (expression_statement "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);" (assignment_expression "uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (identifier "uVar10") (= "=") (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (local_48 == __s2) {\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }\n        else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" (if "if") (parenthesized_expression "(local_48 == __s2)" (( "(") (binary_expression "local_48 == __s2" (identifier "local_48") (== "==") (identifier "__s2")) () ")")) (compound_statement "{\n          pwVar16 = (wchar_t *)&DAT_0068b618;\n        }" ({ "{") (expression_statement "pwVar16 = (wchar_t *)&DAT_0068b618;" (assignment_expression "pwVar16 = (wchar_t *)&DAT_0068b618" (identifier "pwVar16") (= "=") (cast_expression "(wchar_t *)&DAT_0068b618" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0068b618" (& "&") (identifier "DAT_0068b618")))) (; ";")) (} "}")) (else_clause "else {\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" (else "else") (compound_statement "{\n          sVar14 = (long)local_48 - (long)__s2 >> 2;\n          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;\n          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);\n          pwVar16 = (wchar_t *)(psVar15 + 3);\n          if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }\n          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }\n        }" ({ "{") (expression_statement "sVar14 = (long)local_48 - (long)__s2 >> 2;" (assignment_expression "sVar14 = (long)local_48 - (long)__s2 >> 2" (identifier "sVar14") (= "=") (binary_expression "(long)local_48 - (long)__s2 >> 2" (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_48")) (- "-") (cast_expression "(long)__s2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__s2"))) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0x4e5034")) (; ";")) (expression_statement "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);" (assignment_expression "psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" (identifier "psVar15") (= "=") (cast_expression "(size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_005190f0(sVar14,0,&local_51,uVar10)" (identifier "FUN_005190f0") (argument_list "(sVar14,0,&local_51,uVar10)" (( "(") (identifier "sVar14") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_51" (& "&") (identifier "local_51")) (, ",") (identifier "uVar10") () ")"))))) (; ";")) (expression_statement "pwVar16 = (wchar_t *)(psVar15 + 3);" (assignment_expression "pwVar16 = (wchar_t *)(psVar15 + 3)" (identifier "pwVar16") (= "=") (cast_expression "(wchar_t *)(psVar15 + 3)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar15 + 3)" (( "(") (binary_expression "psVar15 + 3" (identifier "psVar15") (+ "+") (number_literal "3")) () ")")))) (; ";")) (if_statement "if (sVar14 == 1) {\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }\n          else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" (if "if") (parenthesized_expression "(sVar14 == 1)" (( "(") (binary_expression "sVar14 == 1" (identifier "sVar14") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            *(wchar_t *)(psVar15 + 3) = *__s2;\n          }" ({ "{") (expression_statement "*(wchar_t *)(psVar15 + 3) = *__s2;" (assignment_expression "*(wchar_t *)(psVar15 + 3) = *__s2" (pointer_expression "*(wchar_t *)(psVar15 + 3)" (* "*") (cast_expression "(wchar_t *)(psVar15 + 3)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar15 + 3)" (( "(") (binary_expression "psVar15 + 3" (identifier "psVar15") (+ "+") (number_literal "3")) () ")")))) (= "=") (pointer_expression "*__s2" (* "*") (identifier "__s2"))) (; ";")) (} "}")) (else_clause "else {\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" (else "else") (compound_statement "{\n            local_60 = pwVar16;\n            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;\n            wmemcpy(pwVar16,__s2,sVar14);\n            pwVar16 = local_60;\n          }" ({ "{") (expression_statement "local_60 = pwVar16;" (assignment_expression "local_60 = pwVar16" (identifier "local_60") (= "=") (identifier "pwVar16")) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;" (assignment_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053" (pointer_expression "*(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_90 + lVar12 + lVar6 + 0x10)" (( "(") (binary_expression "(long)alStack_90 + lVar12 + lVar6 + 0x10" (binary_expression "(long)alStack_90 + lVar12 + lVar6" (binary_expression "(long)alStack_90 + lVar12" (cast_expression "(long)alStack_90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_90")) (+ "+") (identifier "lVar12")) (+ "+") (identifier "lVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0x4e5053")) (; ";")) (expression_statement "wmemcpy(pwVar16,__s2,sVar14);" (call_expression "wmemcpy(pwVar16,__s2,sVar14)" (identifier "wmemcpy") (argument_list "(pwVar16,__s2,sVar14)" (( "(") (identifier "pwVar16") (, ",") (identifier "__s2") (, ",") (identifier "sVar14") () ")"))) (; ";")) (expression_statement "pwVar16 = local_60;" (assignment_expression "pwVar16 = local_60" (identifier "pwVar16") (= "=") (identifier "local_60")) (; ";")) (} "}")))) (if_statement "if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" (if "if") (parenthesized_expression "(psVar15 != (size_t *)PTR_DAT_0067bcd8)" (( "(") (binary_expression "psVar15 != (size_t *)PTR_DAT_0067bcd8" (identifier "psVar15") (!= "!=") (cast_expression "(size_t *)PTR_DAT_0067bcd8" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0067bcd8"))) () ")")) (compound_statement "{\n            *(undefined4 *)(psVar15 + 2) = 0;\n            *psVar15 = sVar14;\n            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;\n          }" ({ "{") (expression_statement "*(undefined4 *)(psVar15 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar15 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar15 + 2)" (* "*") (cast_expression "(undefined4 *)(psVar15 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar15 + 2)" (( "(") (binary_expression "psVar15 + 2" (identifier "psVar15") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*psVar15 = sVar14;" (assignment_expression "*psVar15 = sVar14" (pointer_expression "*psVar15" (* "*") (identifier "psVar15")) (= "=") (identifier "sVar14")) (; ";")) (expression_statement "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;" (assignment_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0" (pointer_expression "*(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" (* "*") (cast_expression "(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18)" (( "(") (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2) + 0x18" (binary_expression "(long)psVar15 + ((long)local_48 - (long)__s2)" (cast_expression "(long)psVar15" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "psVar15")) (+ "+") (parenthesized_expression "((long)local_48 - (long)__s2)" (( "(") (binary_expression "(long)local_48 - (long)__s2" (cast_expression "(long)local_48" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_48")) (- "-") (cast_expression "(long)__s2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__s2"))) () ")"))) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "*param_1 = pwVar16;" (assignment_expression "*param_1 = pwVar16" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "pwVar16")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;" (assignment_expression "*(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0" (pointer_expression "*(undefined8 *)((long)pppwVar17 + -8)" (* "*") (cast_expression "(undefined8 *)((long)pppwVar17 + -8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)pppwVar17 + -8)" (( "(") (binary_expression "(long)pppwVar17 + -8" (cast_expression "(long)pppwVar17" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pppwVar17")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4e4ec0")) (; ";")) (expression_statement "FUN_0051a710(param_1,param_6);" (call_expression "FUN_0051a710(param_1,param_6)" (identifier "FUN_0051a710") (argument_list "(param_1,param_6)" (( "(") (identifier "param_1") (, ",") (identifier "param_6") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::messages<wchar_t>::do_get(int, int, int, std::wstring const&) const */

type_9 * var_7::messages<type_7>::do_get(int param_1,int param_2,int var_2,type_9 *param_4)

{
  char *var_13;
  long var_14;
  long var_12;
  long var_15;
  type_1 *pcVar5;
  type_2 uVar6;
  long var_11;
  type_3 *puVar8;
  type_4 *pcVar9;
  int var_9;
  type_5 *this;
  long var_5;
  long var_10;
  type_2 uVar13;
  char *var_18;
  size_t var_20;
  type_6 *var_24;
  type_7 *pwVar16;
  type_7 ***pppwVar17;
  type_8 in_register_00000034;
  type_8 in_register_0000003c;
  type_9 *this_00;
  type_9 *in_R9;
  type_7 *var_21;
  type_6 var_25;
  long alStack_90 [3];
  type_7 **local_78;
  type_2 local_70;
  type_4 *local_68;
  type_7 *local_60;
  type_10 local_51;
  type_3 local_50 [8];
  type_7 *var_22;
  type_2 local_40 [2];
  
  this_00 = (type_9 *)var_1(in_register_0000003c,param_1);
  pppwVar17 = &local_78;
  if ((-1 < var_2) && (pppwVar17 = &local_78, *(long *)(*(long *)in_R9 + -0x18) != 0)) {
    local_60 = (type_7 *)var_1(local_60._4_4_,var_2);
    alStack_90[2] = 0x4e4ee3;
    this = (type_5 *)var_3();
    alStack_90[2] = 0x4e4ef0;
    var_5 = type_5::var_4(this,(int)local_60);
    pppwVar17 = &local_78;
    if (var_5 != 0) {
      alStack_90[2] = 0x4e4f01;
      local_68 = var_6<var_7::type_4<type_7,char,var_8>>((type_11 *)(var_5 + 0x10));
      local_40[0] = 0;
      local_60 = (type_7 *)local_40;
      var_10 = *(long *)(*(long *)in_R9 + -0x18);
      alStack_90[2] = 0x4e4f29;
      var_9 = (**(type_1 **)(*(long *)local_68 + 0x40))(local_68);
      pwVar16 = local_60;
      pcVar9 = local_68;
      local_78 = &var_22;
      var_10 = var_9 * var_10;
      var_14 = *(long *)local_68;
      var_11 = -(var_10 + 0x18U & 0xfffffffffffffff0);
      var_12 = *(long *)in_R9;
      var_13 = (char *)((long)&local_70 + var_11);
      var_15 = *(long *)(var_12 + -0x18);
      local_70 = local_50;
      *(type_7 ***)((long)alStack_90 + var_11 + 0x10) = local_78;
      *(char **)((long)alStack_90 + var_11 + 8) = var_13 + var_10;
      pcVar5 = *(type_1 **)(var_14 + 0x10);
      *(type_2 *)((long)alStack_90 + var_11) = 0x4e4f79;
      (*pcVar5)(pcVar9,pwVar16,var_12,var_12 + var_15 * 4,local_50,var_13);
      *(type_3 *)var_22 = 0;
      uVar6 = *(type_2 *)(var_5 + 8);
      uVar13 = *(type_2 *)(var_1(in_register_00000034,param_2) + 0x10);
      *(type_2 *)((long)alStack_90 + var_11) = 0x4e4f8d;
      uVar13 = var_16(uVar13);
      *(type_2 *)((long)alStack_90 + var_11) = 0x4e4f9b;
      var_18 = (char *)var_17(uVar6,var_13);
      *(type_2 *)((long)alStack_90 + var_11) = 0x4e4fa6;
      var_16(uVar13);
      pppwVar17 = (type_7 ***)((long)&local_78 + var_11);
      if (var_13 != var_18) {
        local_40[0] = 0;
        *(type_2 *)((long)alStack_90 + var_11 + 0x10) = 0x4e4fc9;
        var_20 = var_19(var_18);
        pcVar9 = local_68;
        puVar8 = local_70;
        var_5 = *(long *)local_68;
        var_10 = -(var_20 * 4 + 0x1b & 0xfffffffffffffff0);
        *(type_7 ***)((long)alStack_90 + var_10 + var_11 + 0x10) = local_78;
        pwVar16 = local_60;
        var_21 = (type_7 *)((long)&local_70 + var_10 + var_11 + 7 & 0xfffffffffffffff0);
        *(type_7 **)((long)alStack_90 + var_10 + var_11 + 8) = var_21 + var_20;
        pcVar5 = *(type_1 **)(var_5 + 0x20);
        *(type_2 *)((long)alStack_90 + var_10 + var_11) = 0x4e500e;
        (*pcVar5)(pcVar9,pwVar16,var_18,var_18 + var_20,puVar8,var_21);
        if (var_22 == var_21) {
          pwVar16 = (type_7 *)&DAT_0068b618;
        }
        else {
          var_25 = (long)var_22 - (long)var_21 >> 2;
          *(type_2 *)((long)alStack_90 + var_10 + var_11 + 0x10) = 0x4e5034;
          var_24 = (type_6 *)var_7::wstring::_Rep::var_23(var_25,0,&local_51);
          pwVar16 = (type_7 *)(var_24 + 3);
          if (var_25 == 1) {
            *(type_7 *)(var_24 + 3) = *var_21;
          }
          else {
            local_60 = pwVar16;
            *(type_2 *)((long)alStack_90 + var_10 + var_11 + 0x10) = 0x4e5053;
            var_26(pwVar16,var_21,var_25);
            pwVar16 = local_60;
          }
          if (var_24 != (type_6 *)PTR__S_empty_rep_storage_0067bcd8) {
            *(type_8 *)(var_24 + 2) = 0;
            *var_24 = var_25;
            *(type_8 *)((long)var_24 + ((long)var_22 - (long)var_21) + 0x18) = 0;
          }
        }
        *(type_7 **)this_00 = pwVar16;
        return this_00;
      }
    }
  }
  *(type_2 *)((long)pppwVar17 + -8) = 0x4e4ec0;
  std::wstring::type_9(this_00,in_R9);
  return this_00;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier)) right: (identifier)) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (identifier)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))))

undefined8 *
MASKED(undefined8 *param_1,long param_2,int param_3,undefined8 param_4,undefined8 param_5,
            long *param_6)

{
  char *pcVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  code *pcVar5;
  long lVar6;
  undefined1 *puVar7;
  long *plVar8;
  int iVar9;
  undefined8 uVar10;
  long lVar11;
  long lVar12;
  undefined8 uVar13;
  char *__s;
  size_t sVar14;
  size_t *psVar15;
  wchar_t *pwVar16;
  wchar_t ***pppwVar17;
  wchar_t *__s2;
  long alStack_90 [3];
  wchar_t **local_78;
  undefined8 local_70;
  long *local_68;
  wchar_t *local_60;
  undefined1 local_51;
  undefined1 local_50 [8];
  wchar_t *local_48;
  undefined8 local_40 [2];
  
  pppwVar17 = &local_78;
  if ((-1 < param_3) && (pppwVar17 = &local_78, *(long *)(*param_6 + -0x18) != 0)) {
    local_60 = (wchar_t *)CONCAT44(local_60._4_4_,param_3);
    alStack_90[2] = 0x4e4ee3;
    uVar10 = FUN_004df550();
    alStack_90[2] = 0x4e4ef0;
    lVar11 = FUN_004df470(uVar10,(ulong)local_60 & 0xffffffff);
    pppwVar17 = &local_78;
    if (lVar11 != 0) {
      alStack_90[2] = 0x4e4f01;
      local_68 = (long *)FUN_004eb1d0(lVar11 + 0x10);
      local_40[0] = 0;
      local_60 = (wchar_t *)local_40;
      lVar12 = *(long *)(*param_6 + -0x18);
      alStack_90[2] = 0x4e4f29;
      iVar9 = (**(code **)(*local_68 + 0x40))(local_68);
      pwVar16 = local_60;
      plVar8 = local_68;
      local_78 = &local_48;
      lVar12 = iVar9 * lVar12;
      lVar2 = *local_68;
      lVar6 = -(lVar12 + 0x18U & 0xfffffffffffffff0);
      lVar3 = *param_6;
      pcVar1 = (char *)((long)&local_70 + lVar6);
      lVar4 = *(long *)(lVar3 + -0x18);
      local_70 = local_50;
      *(wchar_t ***)((long)alStack_90 + lVar6 + 0x10) = local_78;
      *(char **)((long)alStack_90 + lVar6 + 8) = pcVar1 + lVar12;
      pcVar5 = *(code **)(lVar2 + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f79;
      (*pcVar5)(plVar8,pwVar16,lVar3,lVar3 + lVar4 * 4,local_50,pcVar1);
      *(undefined1 *)local_48 = 0;
      uVar10 = *(undefined8 *)(lVar11 + 8);
      uVar13 = *(undefined8 *)(param_2 + 0x10);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f8d;
      uVar13 = __uselocale(uVar13);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4f9b;
      __s = (char *)dgettext(uVar10,pcVar1);
      *(undefined8 *)((long)alStack_90 + lVar6) = 0x4e4fa6;
      __uselocale(uVar13);
      pppwVar17 = (wchar_t ***)((long)&local_78 + lVar6);
      if (pcVar1 != __s) {
        local_40[0] = 0;
        *(undefined8 *)((long)alStack_90 + lVar6 + 0x10) = 0x4e4fc9;
        sVar14 = strlen(__s);
        plVar8 = local_68;
        puVar7 = local_70;
        lVar11 = *local_68;
        lVar12 = -(sVar14 * 4 + 0x1b & 0xfffffffffffffff0);
        *(wchar_t ***)((long)alStack_90 + lVar12 + lVar6 + 0x10) = local_78;
        pwVar16 = local_60;
        __s2 = (wchar_t *)((long)&local_70 + lVar12 + lVar6 + 7 & 0xfffffffffffffff0);
        *(wchar_t **)((long)alStack_90 + lVar12 + lVar6 + 8) = __s2 + sVar14;
        pcVar5 = *(code **)(lVar11 + 0x20);
        *(undefined8 *)((long)alStack_90 + lVar12 + lVar6) = 0x4e500e;
        (*pcVar5)(plVar8,pwVar16,__s,__s + sVar14,puVar7,__s2);
        uVar10 = *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10);
        if (local_48 == __s2) {
          pwVar16 = (wchar_t *)&DAT_0068b618;
        }
        else {
          sVar14 = (long)local_48 - (long)__s2 >> 2;
          *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5034;
          psVar15 = (size_t *)FUN_005190f0(sVar14,0,&local_51,uVar10);
          pwVar16 = (wchar_t *)(psVar15 + 3);
          if (sVar14 == 1) {
            *(wchar_t *)(psVar15 + 3) = *__s2;
          }
          else {
            local_60 = pwVar16;
            *(undefined8 *)((long)alStack_90 + lVar12 + lVar6 + 0x10) = 0x4e5053;
            wmemcpy(pwVar16,__s2,sVar14);
            pwVar16 = local_60;
          }
          if (psVar15 != (size_t *)PTR_DAT_0067bcd8) {
            *(undefined4 *)(psVar15 + 2) = 0;
            *psVar15 = sVar14;
            *(undefined4 *)((long)psVar15 + ((long)local_48 - (long)__s2) + 0x18) = 0;
          }
        }
        *param_1 = pwVar16;
        return param_1;
      }
    }
  }
  *(undefined8 *)((long)pppwVar17 + -8) = 0x4e4ec0;
  FUN_0051a710(param_1,param_6);
  return param_1;
}

