
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::numpunct<char>::_M_initialize_numpunct(__locale_struct*) */

void __thiscall
std::numpunct<char>::_M_initialize_numpunct(numpunct<char> *this,__locale_struct *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined1 *puVar3;
  int iVar4;
  char *__s;
  size_t sVar5;
  undefined4 *puVar6;
  void *__dest;
  
  if (*(int *)(this + 8) == 0) {
    puVar6 = (undefined4 *)operator_new(0x68);
    puVar6[1] = 0;
    puVar6[2] = 0;
    puVar6[3] = 0;
    *(undefined1 *)(puVar6 + 4) = 0;
    *puVar6 = &PTR____numpunct_cache_0033c6d0;
    puVar6[5] = 0;
    puVar6[6] = 0;
    puVar6[7] = 0;
    puVar6[8] = 0;
    *(undefined2 *)(puVar6 + 9) = 0;
    *(undefined1 *)(puVar6 + 0x19) = 0;
    *(undefined4 **)(this + 8) = puVar6;
  }
  if (param_1 == (__locale_struct *)0x0) {
    *(char **)(*(int *)(this + 8) + 8) = "";
    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;
    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;
    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;
    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;
    puVar1 = __num_base::_S_atoms_out;
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];
      puVar2 = __num_base::_S_atoms_in;
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x24);
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x1a);
  }
  else {
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);
    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);
    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;
    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {
      *(char **)(*(int *)(this + 8) + 8) = "";
      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;
      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;
      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;
    }
    else {
      __s = (char *)__nl_langinfo_l(0x10002,param_1);
      sVar5 = strlen(__s);
      if (sVar5 == 0) {
        *(char **)(*(int *)(this + 8) + 8) = "";
        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;
      }
      else {
                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */
        __dest = operator_new__(sVar5 + 1);
        memcpy(__dest,__s,sVar5 + 1);
        *(void **)(*(int *)(this + 8) + 8) = __dest;
      }
      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;
    }
  }
  *(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd;
  *(undefined4 *)(*(int *)(this + 8) + 0x18) = 4;
  *(char **)(*(int *)(this + 8) + 0x1c) = "false";
  *(undefined4 *)(*(int *)(this + 8) + 0x20) = 5;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001f60e0(int param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined1 *puVar3;
  int iVar4;
  char *__s;
  size_t sVar5;
  undefined4 *puVar6;
  void *__dest;
  
  if (*(int *)(param_1 + 8) == 0) {
    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);
    puVar6[1] = 0;
    puVar6[2] = 0;
    puVar6[3] = 0;
    *(undefined1 *)(puVar6 + 4) = 0;
    *puVar6 = &PTR_FUN_0033c6d0;
    puVar6[5] = 0;
    puVar6[6] = 0;
    puVar6[7] = 0;
    puVar6[8] = 0;
    *(undefined2 *)(puVar6 + 9) = 0;
    *(undefined1 *)(puVar6 + 0x19) = 0;
    *(undefined4 **)(param_1 + 8) = puVar6;
  }
  if (param_2 == 0) {
    *(char **)(*(int *)(param_1 + 8) + 8) = "";
    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;
    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];
      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x24);
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x1a);
  }
  else {
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;
    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {
      *(char **)(*(int *)(param_1 + 8) + 8) = "";
      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;
      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;
    }
    else {
      __s = (char *)__nl_langinfo_l(0x10002,param_2);
      sVar5 = strlen(__s);
      if (sVar5 == 0) {
        *(char **)(*(int *)(param_1 + 8) + 8) = "";
        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
      }
      else {
                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */
        __dest = (void *)FUN_001aa840(sVar5 + 1);
        memcpy(__dest,__s,sVar5 + 1);
        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;
      }
      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;
    }
  }
  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;
  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;
  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";
  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;
  return;
}


CALL 0x00058c42
ADD EAX,0x148f1b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [EBP + 0x8]
MOV EDI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x1c],EAX
MOV EBX,dword ptr [ESI + 0x8]
TEST EBX,EBX
JZ 0x001f6280
TEST EDI,EDI
JZ 0x001f61b0
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x1c]
PUSH EDI
PUSH 0x10000
CALL 0x00028040
MOV EDX,dword ptr [ESI + 0x8]
MOV EBX,dword ptr [EBP + -0x1c]
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EDX + 0x24],AL
POP EAX
POP EDX
PUSH EDI
PUSH 0x10001
CALL 0x00028040
MOV EDX,dword ptr [ESI + 0x8]
ADD ESP,0x10
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EDX + 0x25],AL
MOV EAX,dword ptr [ESI + 0x8]
CMP byte ptr [EAX + 0x25],0x0
JNZ 0x001f6230
MOV EBX,dword ptr [EBP + -0x1c]
LEA EDX,[EBX + 0xfff27cb6]
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0xc],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x25],0x2c
MOV EBX,dword ptr [EBP + -0x1c]
MOV EAX,dword ptr [ESI + 0x8]
LEA EDX,[EBX + 0xfff18dfd]
MOV dword ptr [EAX + 0x14],EDX
MOV EAX,dword ptr [ESI + 0x8]
LEA EDX,[EBX + 0xfff18df7]
MOV dword ptr [EAX + 0x18],0x4
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0x1c],EDX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0x20],0x5
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [EBP + -0x1c]
MOV EAX,dword ptr [ESI + 0x8]
LEA EDX,[EBX + 0xfff27cb6]
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0xc],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x24],0x2e
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x25],0x2c
LEA EAX,[EBX + 0x324]
MOV EDI,dword ptr [EAX]
XOR EAX,EAX
LEA ESI,[ESI]
NOP
MOVZX ECX,byte ptr [EDI + EAX*0x1]
MOV EDX,dword ptr [ESI + 0x8]
MOV byte ptr [EDX + EAX*0x1 + 0x26],CL
ADD EAX,0x1
CMP EAX,0x24
JNZ 0x001f61f0
MOV EAX,dword ptr [EBP + -0x1c]
LEA EAX,[EAX + 0x328]
MOV EDI,dword ptr [EAX]
XOR EAX,EAX
MOVZX ECX,byte ptr [EDI + EAX*0x1]
MOV EDX,dword ptr [ESI + 0x8]
MOV byte ptr [EDX + EAX*0x1 + 0x4a],CL
ADD EAX,0x1
CMP EAX,0x1a
JNZ 0x001f6210
JMP 0x001f6176
SUB ESP,0x8
PUSH EDI
MOV EDI,dword ptr [EBP + -0x1c]
PUSH 0x10002
MOV EBX,EDI
CALL 0x00028040
MOV dword ptr [ESP],EAX
MOV dword ptr [EBP + -0x20],EAX
CALL 0x000285f0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JNZ 0x001f62e4
MOV EBX,dword ptr [EBP + -0x1c]
MOV EAX,dword ptr [ESI + 0x8]
LEA EDX,[EBX + 0xfff27cb6]
MOV dword ptr [EAX + 0x8],EDX
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0xc],EDI
JMP 0x001f6176
SUB ESP,0xc
MOV EBX,EAX
PUSH 0x68
CALL 0x001aa8c0
MOV EBX,dword ptr [EBP + -0x1c]
XOR ECX,ECX
ADD ESP,0x10
MOV dword ptr [EAX + 0x4],0x0
LEA EDX,[EBX + 0xffffd6c8]
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
ADD EDX,0x8
MOV byte ptr [EAX + 0x10],0x0
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x14],0x0
MOV dword ptr [EAX + 0x18],0x0
MOV dword ptr [EAX + 0x1c],0x0
MOV dword ptr [EAX + 0x20],0x0
MOV word ptr [EAX + 0x24],CX
MOV byte ptr [EAX + 0x64],0x0
MOV dword ptr [ESI + 0x8],EAX
JMP 0x001f6107
LEA EAX,[EAX + 0x1]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x1c]
PUSH EAX
MOV dword ptr [EBP + -0x24],EAX
CALL 0x001aa840
ADD ESP,0xc
PUSH dword ptr [EBP + -0x24]
MOV EBX,dword ptr [EBP + -0x1c]
PUSH dword ptr [EBP + -0x20]
PUSH EAX
MOV dword ptr [EBP + -0x20],EAX
CALL 0x000285c0
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [EBP + -0x20]
ADD ESP,0x10
MOV dword ptr [EAX + 0x8],EDX
JMP 0x001f6271
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001f60e0(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}\n\n" comment (function_definition "void FUN_001f60e0(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" primitive_type (function_declarator "FUN_001f60e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" { (expression_statement "puVar6 = (undefined4 *)FUN_001aa8c0(0x68);" (assignment_expression "puVar6 = (undefined4 *)FUN_001aa8c0(0x68)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x68)" identifier (argument_list "(0x68)" ( number_literal ))))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[3] = 0;" (assignment_expression "puVar6[3] = 0" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 4)" * (cast_expression "(undefined1 *)(puVar6 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar6 = &PTR_FUN_0033c6d0;" (assignment_expression "*puVar6 = &PTR_FUN_0033c6d0" (pointer_expression "*puVar6" * identifier) = (pointer_expression "&PTR_FUN_0033c6d0" & identifier)) ;) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[6] = 0;" (assignment_expression "puVar6[6] = 0" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[7] = 0;" (assignment_expression "puVar6[7] = 0" (subscript_expression "puVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar6 + 9) = 0;" (assignment_expression "*(undefined2 *)(puVar6 + 9) = 0" (pointer_expression "*(undefined2 *)(puVar6 + 9)" * (cast_expression "(undefined2 *)(puVar6 + 9)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 9)" ( (binary_expression "puVar6 + 9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 0x19) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 0x19) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 0x19)" * (cast_expression "(undefined1 *)(puVar6 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x19)" ( (binary_expression "puVar6 + 0x19" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" ( (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;" (assignment_expression "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);" do (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" * (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x26 + iVar4)" ( (binary_expression "*(int *)(param_1 + 8) + 0x26 + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x26" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;" (assignment_expression "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328" identifier = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x24)" ( (binary_expression "iVar4 != 0x24" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);" do (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" * (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x4a + iVar4)" ( (binary_expression "*(int *)(param_1 + 8) + 0x4a + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x4a" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar2[iVar4]" identifier [ identifier ])) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x1a)" ( (binary_expression "iVar4 != 0x1a" identifier != number_literal) )) ;) }) (else_clause "else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" else (compound_statement "{\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" { (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10000,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10000,param_2)" identifier (argument_list "(0x10000,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" ( (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10001,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10001,param_2)" identifier (argument_list "(0x10001,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0')" ( (binary_expression "*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(char *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" else (compound_statement "{\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" { (expression_statement "__s = (char *)__nl_langinfo_l(0x10002,param_2);" (assignment_expression "__s = (char *)__nl_langinfo_l(0x10002,param_2)" identifier = (cast_expression "(char *)__nl_langinfo_l(0x10002,param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10002,param_2)" identifier (argument_list "(0x10002,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" if (parenthesized_expression "(sVar5 == 0)" ( (binary_expression "sVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" else (compound_statement "{\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" { comment (expression_statement "__dest = (void *)FUN_001aa840(sVar5 + 1);" (assignment_expression "__dest = (void *)FUN_001aa840(sVar5 + 1)" identifier = (cast_expression "(void *)FUN_001aa840(sVar5 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa840(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "memcpy(__dest,__s,sVar5 + 1);" (call_expression "memcpy(__dest,__s,sVar5 + 1)" identifier (argument_list "(__dest,__s,sVar5 + 1)" ( identifier , identifier , (binary_expression "sVar5 + 1" identifier + number_literal) ))) ;) (expression_statement "*(void **)(*(int *)(param_1 + 8) + 8) = __dest;" (assignment_expression "*(void **)(*(int *)(param_1 + 8) + 8) = __dest" (pointer_expression "*(void **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(void **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;" (assignment_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5" (pointer_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(size_t *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) }))) (expression_statement "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;" (assignment_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd" (pointer_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14)" * (cast_expression "(undefined **)(*(int *)(param_1 + 8) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x14)" ( (binary_expression "*(int *)(param_1 + 8) + 0x14" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "&DAT_00257dfd" & identifier)) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x18)" ( (binary_expression "*(int *)(param_1 + 8) + 0x18" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false"" (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 8) + 0x1c" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal ""false"" " string_content ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" ( (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* std::numpunct<char>::_M_initialize_numpunct(__locale_struct*) */\n\nvoid __thiscall\nstd::numpunct<char>::_M_initialize_numpunct(numpunct<char> *this,__locale_struct *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(this + 8) == 0) {\n    puVar6 = (undefined4 *)operator_new(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR____numpunct_cache_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(this + 8) = puVar6;\n  }\n  if (param_1 == (__locale_struct *)0x0) {\n    *(char **)(*(int *)(this + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    puVar1 = __num_base::_S_atoms_out;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(this + 8) + 0x18) = 4;\n  *(char **)(*(int *)(this + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(this + 8) + 0x20) = 5;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\nstd::numpunct<char>::_M_initialize_numpunct(numpunct<char> *this,__locale_struct *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(this + 8) == 0) {\n    puVar6 = (undefined4 *)operator_new(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR____numpunct_cache_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(this + 8) = puVar6;\n  }\n  if (param_1 == (__locale_struct *)0x0) {\n    *(char **)(*(int *)(this + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    puVar1 = __num_base::_S_atoms_out;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(this + 8) + 0x18) = 4;\n  *(char **)(*(int *)(this + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(this + 8) + 0x20) = 5;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::numpunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "_M_initialize_numpunct(numpunct<char> *this,__locale_struct *param_1)" identifier (parameter_list "(numpunct<char> *this,__locale_struct *param_1)" ( (parameter_declaration "numpunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__locale_struct *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(this + 8) == 0) {\n    puVar6 = (undefined4 *)operator_new(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR____numpunct_cache_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(this + 8) = puVar6;\n  }\n  if (param_1 == (__locale_struct *)0x0) {\n    *(char **)(*(int *)(this + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    puVar1 = __num_base::_S_atoms_out;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(this + 8) + 0x18) = 4;\n  *(char **)(*(int *)(this + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(this + 8) + 0x20) = 5;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (if_statement "if (*(int *)(this + 8) == 0) {\n    puVar6 = (undefined4 *)operator_new(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR____numpunct_cache_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(this + 8) = puVar6;\n  }" if (parenthesized_expression "(*(int *)(this + 8) == 0)" ( (binary_expression "*(int *)(this + 8) == 0" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar6 = (undefined4 *)operator_new(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR____numpunct_cache_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(this + 8) = puVar6;\n  }" { (expression_statement "puVar6 = (undefined4 *)operator_new(0x68);" (assignment_expression "puVar6 = (undefined4 *)operator_new(0x68)" identifier = (cast_expression "(undefined4 *)operator_new(0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x68)" identifier (argument_list "(0x68)" ( number_literal ))))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[3] = 0;" (assignment_expression "puVar6[3] = 0" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 4)" * (cast_expression "(undefined1 *)(puVar6 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar6 = &PTR____numpunct_cache_0033c6d0;" (assignment_expression "*puVar6 = &PTR____numpunct_cache_0033c6d0" (pointer_expression "*puVar6" * identifier) = (pointer_expression "&PTR____numpunct_cache_0033c6d0" & identifier)) ;) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[6] = 0;" (assignment_expression "puVar6[6] = 0" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[7] = 0;" (assignment_expression "puVar6[7] = 0" (subscript_expression "puVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar6 + 9) = 0;" (assignment_expression "*(undefined2 *)(puVar6 + 9) = 0" (pointer_expression "*(undefined2 *)(puVar6 + 9)" * (cast_expression "(undefined2 *)(puVar6 + 9)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 9)" ( (binary_expression "puVar6 + 9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 0x19) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 0x19) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 0x19)" * (cast_expression "(undefined1 *)(puVar6 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x19)" ( (binary_expression "puVar6 + 0x19" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 **)(this + 8) = puVar6;" (assignment_expression "*(undefined4 **)(this + 8) = puVar6" (pointer_expression "*(undefined4 **)(this + 8)" * (cast_expression "(undefined4 **)(this + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (param_1 == (__locale_struct *)0x0) {\n    *(char **)(*(int *)(this + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    puVar1 = __num_base::_S_atoms_out;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }" if (parenthesized_expression "(param_1 == (__locale_struct *)0x0)" ( (binary_expression "param_1 == (__locale_struct *)0x0" identifier == (cast_expression "(__locale_struct *)0x0" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(char **)(*(int *)(this + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    puVar1 = __num_base::_S_atoms_out;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }" { (expression_statement "*(char **)(*(int *)(this + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(this + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(this + 8) + 8)" * (cast_expression "(char **)(*(int *)(this + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 8)" ( (binary_expression "*(int *)(this + 8) + 8" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(this + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(this + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(this + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0xc)" ( (binary_expression "*(int *)(this + 8) + 0xc" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x10)" ( (binary_expression "*(int *)(this + 8) + 0x10" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x24) = 0x2e" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x24)" ( (binary_expression "*(int *)(this + 8) + 0x24" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x25)" ( (binary_expression "*(int *)(this + 8) + 0x25" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = __num_base::_S_atoms_out;" (assignment_expression "puVar1 = __num_base" identifier = identifier) (ERROR "::_S_atoms_out" : : identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);" do (compound_statement "{\n      *(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = __num_base::_S_atoms_in;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4];" (assignment_expression "*(undefined *)(*(int *)(this + 8) + 0x26 + iVar4) = puVar1[iVar4]" (pointer_expression "*(undefined *)(*(int *)(this + 8) + 0x26 + iVar4)" * (cast_expression "(undefined *)(*(int *)(this + 8) + 0x26 + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x26 + iVar4)" ( (binary_expression "*(int *)(this + 8) + 0x26 + iVar4" (binary_expression "*(int *)(this + 8) + 0x26" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar2 = __num_base::_S_atoms_in;" (assignment_expression "puVar2 = __num_base" identifier = identifier) (ERROR "::_S_atoms_in" : : identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x24)" ( (binary_expression "iVar4 != 0x24" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);" do (compound_statement "{\n      *(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4];" (assignment_expression "*(undefined *)(*(int *)(this + 8) + 0x4a + iVar4) = puVar2[iVar4]" (pointer_expression "*(undefined *)(*(int *)(this + 8) + 0x4a + iVar4)" * (cast_expression "(undefined *)(*(int *)(this + 8) + 0x4a + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x4a + iVar4)" ( (binary_expression "*(int *)(this + 8) + 0x4a + iVar4" (binary_expression "*(int *)(this + 8) + 0x4a" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar2[iVar4]" identifier [ identifier ])) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x1a)" ( (binary_expression "iVar4 != 0x1a" identifier != number_literal) )) ;) }) (else_clause "else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }" else (compound_statement "{\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);\n    *(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }\n  }" { (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_1)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10000,param_1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10000,param_1)" identifier (argument_list "(0x10000,param_1)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x24) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x24)" ( (binary_expression "*(int *)(this + 8) + 0x24" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_1)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10001,param_1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10001,param_1)" identifier (argument_list "(0x10001,param_1)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x25)" ( (binary_expression "*(int *)(this + 8) + 0x25" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (*(char *)(*(int *)(this + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(this + 8) + 0x25) == '\0')" ( (binary_expression "*(char *)(*(int *)(this + 8) + 0x25) == '\0'" (pointer_expression "*(char *)(*(int *)(this + 8) + 0x25)" * (cast_expression "(char *)(*(int *)(this + 8) + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x25)" ( (binary_expression "*(int *)(this + 8) + 0x25" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(*(int *)(this + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;\n    }" { (expression_statement "*(char **)(*(int *)(this + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(this + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(this + 8) + 8)" * (cast_expression "(char **)(*(int *)(this + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 8)" ( (binary_expression "*(int *)(this + 8) + 8" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(this + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(this + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(this + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(this + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0xc)" ( (binary_expression "*(int *)(this + 8) + 0xc" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x10)" ( (binary_expression "*(int *)(this + 8) + 0x10" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x25)" ( (binary_expression "*(int *)(this + 8) + 0x25" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }" else (compound_statement "{\n      __s = (char *)__nl_langinfo_l(0x10002,param_1);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;\n    }" { (expression_statement "__s = (char *)__nl_langinfo_l(0x10002,param_1);" (assignment_expression "__s = (char *)__nl_langinfo_l(0x10002,param_1)" identifier = (cast_expression "(char *)__nl_langinfo_l(0x10002,param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10002,param_1)" identifier (argument_list "(0x10002,param_1)" ( number_literal , identifier ))))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar5 == 0) {\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }\n      else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }" if (parenthesized_expression "(sVar5 == 0)" ( (binary_expression "sVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        *(char **)(*(int *)(this + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;\n      }" { (expression_statement "*(char **)(*(int *)(this + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(this + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(this + 8) + 8)" * (cast_expression "(char **)(*(int *)(this + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 8)" ( (binary_expression "*(int *)(this + 8) + 8" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(this + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(this + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x10)" ( (binary_expression "*(int *)(this + 8) + 0x10" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }" else (compound_statement "{\n                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */\n        __dest = operator_new__(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(this + 8) + 8) = __dest;\n      }" { comment (expression_statement "__dest = operator_new__(sVar5 + 1);" (assignment_expression "__dest = operator_new__(sVar5 + 1)" identifier = (call_expression "operator_new__(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) )))) ;) (expression_statement "memcpy(__dest,__s,sVar5 + 1);" (call_expression "memcpy(__dest,__s,sVar5 + 1)" identifier (argument_list "(__dest,__s,sVar5 + 1)" ( identifier , identifier , (binary_expression "sVar5 + 1" identifier + number_literal) ))) ;) (expression_statement "*(void **)(*(int *)(this + 8) + 8) = __dest;" (assignment_expression "*(void **)(*(int *)(this + 8) + 8) = __dest" (pointer_expression "*(void **)(*(int *)(this + 8) + 8)" * (cast_expression "(void **)(*(int *)(this + 8) + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 8)" ( (binary_expression "*(int *)(this + 8) + 8" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(size_t *)(*(int *)(this + 8) + 0xc) = sVar5;" (assignment_expression "*(size_t *)(*(int *)(this + 8) + 0xc) = sVar5" (pointer_expression "*(size_t *)(*(int *)(this + 8) + 0xc)" * (cast_expression "(size_t *)(*(int *)(this + 8) + 0xc)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0xc)" ( (binary_expression "*(int *)(this + 8) + 0xc" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) }))) (expression_statement "*(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd;" (assignment_expression "*(undefined **)(*(int *)(this + 8) + 0x14) = &DAT_00257dfd" (pointer_expression "*(undefined **)(*(int *)(this + 8) + 0x14)" * (cast_expression "(undefined **)(*(int *)(this + 8) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 0x14)" ( (binary_expression "*(int *)(this + 8) + 0x14" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "&DAT_00257dfd" & identifier)) ;) (expression_statement "*(undefined4 *)(*(int *)(this + 8) + 0x18) = 4;" (assignment_expression "*(undefined4 *)(*(int *)(this + 8) + 0x18) = 4" (pointer_expression "*(undefined4 *)(*(int *)(this + 8) + 0x18)" * (cast_expression "(undefined4 *)(*(int *)(this + 8) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x18)" ( (binary_expression "*(int *)(this + 8) + 0x18" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(*(int *)(this + 8) + 0x1c) = "false";" (assignment_expression "*(char **)(*(int *)(this + 8) + 0x1c) = "false"" (pointer_expression "*(char **)(*(int *)(this + 8) + 0x1c)" * (cast_expression "(char **)(*(int *)(this + 8) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 8) + 0x1c)" ( (binary_expression "*(int *)(this + 8) + 0x1c" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal ""false"" " string_content ")) ;) (expression_statement "*(undefined4 *)(*(int *)(this + 8) + 0x20) = 5;" (assignment_expression "*(undefined4 *)(*(int *)(this + 8) + 0x20) = 5" (pointer_expression "*(undefined4 *)(*(int *)(this + 8) + 0x20)" * (cast_expression "(undefined4 *)(*(int *)(this + 8) + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x20)" ( (binary_expression "*(int *)(this + 8) + 0x20" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f60e0(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}\n\n" (function_definition "void FUN_001f60e0(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" primitive_type (function_declarator "FUN_001f60e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" { (expression_statement "puVar6 = (undefined4 *)FUN_001aa8c0(0x68);" (assignment_expression "puVar6 = (undefined4 *)FUN_001aa8c0(0x68)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x68)" identifier (argument_list "(0x68)" ( number_literal ))))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[3] = 0;" (assignment_expression "puVar6[3] = 0" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 4)" * (cast_expression "(undefined1 *)(puVar6 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar6 = &PTR_FUN_0033c6d0;" (assignment_expression "*puVar6 = &PTR_FUN_0033c6d0" (pointer_expression "*puVar6" * identifier) = (pointer_expression "&PTR_FUN_0033c6d0" & identifier)) ;) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[6] = 0;" (assignment_expression "puVar6[6] = 0" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[7] = 0;" (assignment_expression "puVar6[7] = 0" (subscript_expression "puVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar6 + 9) = 0;" (assignment_expression "*(undefined2 *)(puVar6 + 9) = 0" (pointer_expression "*(undefined2 *)(puVar6 + 9)" * (cast_expression "(undefined2 *)(puVar6 + 9)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 9)" ( (binary_expression "puVar6 + 9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar6 + 0x19) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 0x19) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 0x19)" * (cast_expression "(undefined1 *)(puVar6 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x19)" ( (binary_expression "puVar6 + 0x19" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" ( (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;" (assignment_expression "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);" do (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" * (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x26 + iVar4)" ( (binary_expression "*(int *)(param_1 + 8) + 0x26 + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x26" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar1[iVar4]" identifier [ identifier ])) ;) (expression_statement "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;" (assignment_expression "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328" identifier = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x24)" ( (binary_expression "iVar4 != 0x24" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);" do (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" * (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x4a + iVar4)" ( (binary_expression "*(int *)(param_1 + 8) + 0x4a + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x4a" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) + identifier) )))) = (subscript_expression "puVar2[iVar4]" identifier [ identifier ])) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x1a)" ( (binary_expression "iVar4 != 0x1a" identifier != number_literal) )) ;) }) (else_clause "else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" else (compound_statement "{\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" { (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10000,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10000,param_2)" identifier (argument_list "(0x10000,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" ( (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2)" identifier = (cast_expression "(undefined1 *)__nl_langinfo_l(0x10001,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10001,param_2)" identifier (argument_list "(0x10001,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0')" ( (binary_expression "*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(char *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" ( (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" else (compound_statement "{\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" { (expression_statement "__s = (char *)__nl_langinfo_l(0x10002,param_2);" (assignment_expression "__s = (char *)__nl_langinfo_l(0x10002,param_2)" identifier = (cast_expression "(char *)__nl_langinfo_l(0x10002,param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__nl_langinfo_l(0x10002,param_2)" identifier (argument_list "(0x10002,param_2)" ( number_literal , identifier ))))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" if (parenthesized_expression "(sVar5 == 0)" ( (binary_expression "sVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }" { (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal """" " ")) ;) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" else (compound_statement "{\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" { (expression_statement "__dest = (void *)FUN_001aa840(sVar5 + 1);" (assignment_expression "__dest = (void *)FUN_001aa840(sVar5 + 1)" identifier = (cast_expression "(void *)FUN_001aa840(sVar5 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa840(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "memcpy(__dest,__s,sVar5 + 1);" (call_expression "memcpy(__dest,__s,sVar5 + 1)" identifier (argument_list "(__dest,__s,sVar5 + 1)" ( identifier , identifier , (binary_expression "sVar5 + 1" identifier + number_literal) ))) ;) (expression_statement "*(void **)(*(int *)(param_1 + 8) + 8) = __dest;" (assignment_expression "*(void **)(*(int *)(param_1 + 8) + 8) = __dest" (pointer_expression "*(void **)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(void **)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;" (assignment_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5" (pointer_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc)" * (cast_expression "(size_t *)(*(int *)(param_1 + 8) + 0xc)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" ( (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) }))) (expression_statement "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;" (assignment_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd" (pointer_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14)" * (cast_expression "(undefined **)(*(int *)(param_1 + 8) + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x14)" ( (binary_expression "*(int *)(param_1 + 8) + 0x14" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "&DAT_00257dfd" & identifier)) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x18)" ( (binary_expression "*(int *)(param_1 + 8) + 0x18" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false"" (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 8) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 8) + 0x1c" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = (string_literal ""false"" " string_content ")) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" ( (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 IDENT + LIT) )))) = LIT) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (string_literal " ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (string_literal " ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (string_literal " ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }))) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001f60e0(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f60e0(int param_1,int param_2)" (identifier "FUN_001f60e0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  char *__s;\n  size_t sVar5;\n  undefined4 *puVar6;\n  void *__dest;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }\n  if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }\n  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;\n  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";\n  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);\n    puVar6[1] = 0;\n    puVar6[2] = 0;\n    puVar6[3] = 0;\n    *(undefined1 *)(puVar6 + 4) = 0;\n    *puVar6 = &PTR_FUN_0033c6d0;\n    puVar6[5] = 0;\n    puVar6[6] = 0;\n    puVar6[7] = 0;\n    puVar6[8] = 0;\n    *(undefined2 *)(puVar6 + 9) = 0;\n    *(undefined1 *)(puVar6 + 0x19) = 0;\n    *(undefined4 **)(param_1 + 8) = puVar6;\n  }" ({ "{") (expression_statement "puVar6 = (undefined4 *)FUN_001aa8c0(0x68);" (assignment_expression "puVar6 = (undefined4 *)FUN_001aa8c0(0x68)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_001aa8c0(0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(0x68)" (identifier "FUN_001aa8c0") (argument_list "(0x68)" (( "(") (number_literal "0x68") () ")"))))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[3] = 0;" (assignment_expression "puVar6[3] = 0" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar6 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar6 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar6 = &PTR_FUN_0033c6d0;" (assignment_expression "*puVar6 = &PTR_FUN_0033c6d0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "&PTR_FUN_0033c6d0" (& "&") (identifier "PTR_FUN_0033c6d0"))) (; ";")) (expression_statement "puVar6[5] = 0;" (assignment_expression "puVar6[5] = 0" (subscript_expression "puVar6[5]" (identifier "puVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[6] = 0;" (assignment_expression "puVar6[6] = 0" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[7] = 0;" (assignment_expression "puVar6[7] = 0" (subscript_expression "puVar6[7]" (identifier "puVar6") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[8] = 0;" (assignment_expression "puVar6[8] = 0" (subscript_expression "puVar6[8]" (identifier "puVar6") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(puVar6 + 9) = 0;" (assignment_expression "*(undefined2 *)(puVar6 + 9) = 0" (pointer_expression "*(undefined2 *)(puVar6 + 9)" (* "*") (cast_expression "(undefined2 *)(puVar6 + 9)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 9)" (( "(") (binary_expression "puVar6 + 9" (identifier "puVar6") (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar6 + 0x19) = 0;" (assignment_expression "*(undefined1 *)(puVar6 + 0x19) = 0" (pointer_expression "*(undefined1 *)(puVar6 + 0x19)" (* "*") (cast_expression "(undefined1 *)(puVar6 + 0x19)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x19)" (( "(") (binary_expression "puVar6 + 0x19" (identifier "puVar6") (+ "+") (number_literal "0x19")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }\n  else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(char **)(*(int *)(param_1 + 8) + 8) = "";\n    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);\n    iVar4 = 0;\n    do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);\n  }" ({ "{") (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (string_literal """" (" """) (" """))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0x2e")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x25")) () ")")))) (= "=") (number_literal "0x2c")) (; ";")) (expression_statement "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;" (assignment_expression "puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324" (identifier "puVar1") (= "=") (identifier "PTR_s___xX0123456789abcdef0123456789AB_0033f324")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x24);" (do "do") (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];\n      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;\n      iVar4 = iVar4 + 1;\n    }" ({ "{") (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" (* "*") (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x26 + iVar4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x26 + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x26" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x26")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (subscript_expression "puVar1[iVar4]" (identifier "puVar1") ([ "[") (identifier "iVar4") (] "]"))) (; ";")) (expression_statement "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;" (assignment_expression "puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328" (identifier "puVar2") (= "=") (identifier "PTR_s___xX0123456789abcdefABCDEF_0033f328")) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0x24)" (( "(") (binary_expression "iVar4 != 0x24" (identifier "iVar4") (!= "!=") (number_literal "0x24")) () ")")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    } while (iVar4 != 0x1a);" (do "do") (compound_statement "{\n      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];\n      iVar4 = iVar4 + 1;\n    }" ({ "{") (expression_statement "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];" (assignment_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4]" (pointer_expression "*(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" (* "*") (cast_expression "(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x4a + iVar4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x4a + iVar4" (binary_expression "*(int *)(param_1 + 8) + 0x4a" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x4a")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (subscript_expression "puVar2[iVar4]" (identifier "puVar2") ([ "[") (identifier "iVar4") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0x1a)" (( "(") (binary_expression "iVar4 != 0x1a" (identifier "iVar4") (!= "!=") (number_literal "0x1a")) () ")")) (; ";")) (} "}")) (else_clause "else {\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" (else "else") (compound_statement "{\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;\n    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);\n    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;\n    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)__nl_langinfo_l(0x10000,param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__nl_langinfo_l(0x10000,param_2)" (identifier "__nl_langinfo_l") (argument_list "(0x10000,param_2)" (( "(") (number_literal "0x10000") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x24)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x24)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x24" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);" (assignment_expression "puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)__nl_langinfo_l(0x10001,param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__nl_langinfo_l(0x10001,param_2)" (identifier "__nl_langinfo_l") (argument_list "(0x10001,param_2)" (( "(") (number_literal "0x10001") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x25")) () ")")))) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (if_statement "if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }\n    else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0')" (( "(") (binary_expression "*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + 0x25)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 8) + 0x25)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x25")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *(char **)(*(int *)(param_1 + 8) + 8) = "";\n      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;\n    }" ({ "{") (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (string_literal """" (" """) (" """))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x25)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x25)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x25" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x25")) () ")")))) (= "=") (number_literal "0x2c")) (; ";")) (} "}")) (else_clause "else {\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" (else "else") (compound_statement "{\n      __s = (char *)__nl_langinfo_l(0x10002,param_2);\n      sVar5 = strlen(__s);\n      if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }\n      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;\n    }" ({ "{") (expression_statement "__s = (char *)__nl_langinfo_l(0x10002,param_2);" (assignment_expression "__s = (char *)__nl_langinfo_l(0x10002,param_2)" (identifier "__s") (= "=") (cast_expression "(char *)__nl_langinfo_l(0x10002,param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__nl_langinfo_l(0x10002,param_2)" (identifier "__nl_langinfo_l") (argument_list "(0x10002,param_2)" (( "(") (number_literal "0x10002") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" (identifier "sVar5") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (if_statement "if (sVar5 == 0) {\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }\n      else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" (if "if") (parenthesized_expression "(sVar5 == 0)" (( "(") (binary_expression "sVar5 == 0" (identifier "sVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(char **)(*(int *)(param_1 + 8) + 8) = "";\n        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;\n      }" ({ "{") (expression_statement "*(char **)(*(int *)(param_1 + 8) + 8) = "";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 8) = """ (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 8)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 8) + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (string_literal """" (" """) (" """))) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0" (pointer_expression "*(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_1 + 8) + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x10" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" (else "else") (compound_statement "{\n                    \n        __dest = (void *)FUN_001aa840(sVar5 + 1);\n        memcpy(__dest,__s,sVar5 + 1);\n        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;\n      }" ({ "{") (expression_statement "__dest = (void *)FUN_001aa840(sVar5 + 1);" (assignment_expression "__dest = (void *)FUN_001aa840(sVar5 + 1)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_001aa840(sVar5 + 1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa840(sVar5 + 1)" (identifier "FUN_001aa840") (argument_list "(sVar5 + 1)" (( "(") (binary_expression "sVar5 + 1" (identifier "sVar5") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "memcpy(__dest,__s,sVar5 + 1);" (call_expression "memcpy(__dest,__s,sVar5 + 1)" (identifier "memcpy") (argument_list "(__dest,__s,sVar5 + 1)" (( "(") (identifier "__dest") (, ",") (identifier "__s") (, ",") (binary_expression "sVar5 + 1" (identifier "sVar5") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "*(void **)(*(int *)(param_1 + 8) + 8) = __dest;" (assignment_expression "*(void **)(*(int *)(param_1 + 8) + 8) = __dest" (pointer_expression "*(void **)(*(int *)(param_1 + 8) + 8)" (* "*") (cast_expression "(void **)(*(int *)(param_1 + 8) + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 8" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "__dest")) (; ";")) (} "}")))) (expression_statement "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;" (assignment_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5" (pointer_expression "*(size_t *)(*(int *)(param_1 + 8) + 0xc)" (* "*") (cast_expression "(size_t *)(*(int *)(param_1 + 8) + 0xc)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0xc" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "sVar5")) (; ";")) (} "}")))) (} "}")))) (expression_statement "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;" (assignment_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd" (pointer_expression "*(undefined **)(*(int *)(param_1 + 8) + 0x14)" (* "*") (cast_expression "(undefined **)(*(int *)(param_1 + 8) + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x14)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x14" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "&DAT_00257dfd" (& "&") (identifier "DAT_00257dfd"))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x18" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";" (assignment_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c) = "false"" (pointer_expression "*(char **)(*(int *)(param_1 + 8) + 0x1c)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 8) + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x1c" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (string_literal ""false"" (" """) (string_content "false") (" """))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::numpunct<char>::_M_initialize_numpunct(__locale_struct*) */

void __thiscall
std::type_1<char>::function_1(type_1<char> *var_1,type_2 *var_4)

{
  type_3 *puVar1;
  type_3 *puVar2;
  type_4 *puVar3;
  int var_5;
  char *__s;
  size_t var_8;
  type_5 *var_3;
  void *__dest;
  
  if (*(int *)(var_1 + 8) == 0) {
    var_3 = (type_5 *)var_2(0x68);
    var_3[1] = 0;
    var_3[2] = 0;
    var_3[3] = 0;
    *(type_4 *)(var_3 + 4) = 0;
    *var_3 = &PTR____numpunct_cache_0033c6d0;
    var_3[5] = 0;
    var_3[6] = 0;
    var_3[7] = 0;
    var_3[8] = 0;
    *(type_6 *)(var_3 + 9) = 0;
    *(type_4 *)(var_3 + 0x19) = 0;
    *(type_5 **)(var_1 + 8) = var_3;
  }
  if (var_4 == (type_2 *)0x0) {
    *(char **)(*(int *)(var_1 + 8) + 8) = "";
    *(type_5 *)(*(int *)(var_1 + 8) + 0xc) = 0;
    *(type_4 *)(*(int *)(var_1 + 8) + 0x10) = 0;
    *(type_4 *)(*(int *)(var_1 + 8) + 0x24) = 0x2e;
    *(type_4 *)(*(int *)(var_1 + 8) + 0x25) = 0x2c;
    puVar1 = __num_base::_S_atoms_out;
    var_5 = 0;
    do {
      *(type_3 *)(*(int *)(var_1 + 8) + 0x26 + var_5) = puVar1[var_5];
      puVar2 = __num_base::_S_atoms_in;
      var_5 = var_5 + 1;
    } while (var_5 != 0x24);
    var_5 = 0;
    do {
      *(type_3 *)(*(int *)(var_1 + 8) + 0x4a + var_5) = puVar2[var_5];
      var_5 = var_5 + 1;
    } while (var_5 != 0x1a);
  }
  else {
    puVar3 = (type_4 *)var_6(0x10000,var_4);
    *(type_4 *)(*(int *)(var_1 + 8) + 0x24) = *puVar3;
    puVar3 = (type_4 *)var_6(0x10001,var_4);
    *(type_4 *)(*(int *)(var_1 + 8) + 0x25) = *puVar3;
    if (*(char *)(*(int *)(var_1 + 8) + 0x25) == '\0') {
      *(char **)(*(int *)(var_1 + 8) + 8) = "";
      *(type_5 *)(*(int *)(var_1 + 8) + 0xc) = 0;
      *(type_4 *)(*(int *)(var_1 + 8) + 0x10) = 0;
      *(type_4 *)(*(int *)(var_1 + 8) + 0x25) = 0x2c;
    }
    else {
      __s = (char *)var_6(0x10002,var_4);
      var_8 = var_7(__s);
      if (var_8 == 0) {
        *(char **)(*(int *)(var_1 + 8) + 8) = "";
        *(type_4 *)(*(int *)(var_1 + 8) + 0x10) = 0;
      }
      else {
                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */
        __dest = var_9(var_8 + 1);
        var_10(__dest,__s,var_8 + 1);
        *(void **)(*(int *)(var_1 + 8) + 8) = __dest;
      }
      *(size_t *)(*(int *)(var_1 + 8) + 0xc) = var_8;
    }
  }
  *(type_3 **)(*(int *)(var_1 + 8) + 0x14) = &DAT_00257dfd;
  *(type_5 *)(*(int *)(var_1 + 8) + 0x18) = 4;
  *(char **)(*(int *)(var_1 + 8) + 0x1c) = "false";
  *(type_5 *)(*(int *)(var_1 + 8) + 0x20) = 5;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) 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 (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (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)) value: (parenthesized_expression (binary_expression left: (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: (identifier) right: (number_literal))))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (string_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (identifier))))) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (identifier))))) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (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 (number_literal) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (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 (number_literal) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (string_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (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 (number_literal) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (string_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (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 (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) 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))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (pointer_expression argument: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (string_literal (string_content)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined1 *puVar3;
  int iVar4;
  char *__s;
  size_t sVar5;
  undefined4 *puVar6;
  void *__dest;
  
  if (*(int *)(param_1 + 8) == 0) {
    puVar6 = (undefined4 *)FUN_001aa8c0(0x68);
    puVar6[1] = 0;
    puVar6[2] = 0;
    puVar6[3] = 0;
    *(undefined1 *)(puVar6 + 4) = 0;
    *puVar6 = &PTR_FUN_0033c6d0;
    puVar6[5] = 0;
    puVar6[6] = 0;
    puVar6[7] = 0;
    puVar6[8] = 0;
    *(undefined2 *)(puVar6 + 9) = 0;
    *(undefined1 *)(puVar6 + 0x19) = 0;
    *(undefined4 **)(param_1 + 8) = puVar6;
  }
  if (param_2 == 0) {
    *(char **)(*(int *)(param_1 + 8) + 8) = "";
    *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = 0x2e;
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;
    puVar1 = PTR_s___xX0123456789abcdef0123456789AB_0033f324;
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(param_1 + 8) + 0x26 + iVar4) = puVar1[iVar4];
      puVar2 = PTR_s___xX0123456789abcdefABCDEF_0033f328;
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x24);
    iVar4 = 0;
    do {
      *(undefined *)(*(int *)(param_1 + 8) + 0x4a + iVar4) = puVar2[iVar4];
      iVar4 = iVar4 + 1;
    } while (iVar4 != 0x1a);
  }
  else {
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10000,param_2);
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x24) = *puVar3;
    puVar3 = (undefined1 *)__nl_langinfo_l(0x10001,param_2);
    *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = *puVar3;
    if (*(char *)(*(int *)(param_1 + 8) + 0x25) == '\0') {
      *(char **)(*(int *)(param_1 + 8) + 8) = "";
      *(undefined4 *)(*(int *)(param_1 + 8) + 0xc) = 0;
      *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
      *(undefined1 *)(*(int *)(param_1 + 8) + 0x25) = 0x2c;
    }
    else {
      __s = (char *)__nl_langinfo_l(0x10002,param_2);
      sVar5 = strlen(__s);
      if (sVar5 == 0) {
        *(char **)(*(int *)(param_1 + 8) + 8) = "";
        *(undefined1 *)(*(int *)(param_1 + 8) + 0x10) = 0;
      }
      else {
                    /* try { // try from 001f62f1 to 001f62f5 has its CatchHandler @ 001f631c */
        __dest = (void *)FUN_001aa840(sVar5 + 1);
        memcpy(__dest,__s,sVar5 + 1);
        *(void **)(*(int *)(param_1 + 8) + 8) = __dest;
      }
      *(size_t *)(*(int *)(param_1 + 8) + 0xc) = sVar5;
    }
  }
  *(undefined **)(*(int *)(param_1 + 8) + 0x14) = &DAT_00257dfd;
  *(undefined4 *)(*(int *)(param_1 + 8) + 0x18) = 4;
  *(char **)(*(int *)(param_1 + 8) + 0x1c) = "false";
  *(undefined4 *)(*(int *)(param_1 + 8) + 0x20) = 5;
  return;
}

