
void conf_serialise(Conf *conf,void *vdata)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  code *pcVar7;
  int iVar8;
  
  puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;
  iVar4 = 0;
  piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0);
  do {
    if (piVar2 == (int *)0x0) {
      *(undefined1 *)vdata = 0xff;
      *(undefined1 *)((int)vdata + 1) = 0xff;
      *(undefined1 *)((int)vdata + 2) = 0xff;
      *(undefined1 *)((int)vdata + 3) = 0xff;
      return;
    }
    *(undefined1 *)vdata = *(undefined1 *)piVar2;
    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;
    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);
    *(char *)((int)vdata + 3) = (char)*piVar2;
    iVar3 = *piVar2 * 4;
    puVar5 = (undefined1 *)((int)vdata + 4);
    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {
      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);
      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);
      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);
      *(char *)((int)vdata + 7) = (char)piVar2[1];
      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);
      puVar6 = (undefined1 *)((int)vdata + 8);
      vdata = puVar6;
      if (iVar3 == 2) goto LAB_0002694c;
LAB_00026838:
      if (iVar3 < 3) {
        if (iVar3 == 1) {
          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);
          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);
          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);
          *(char *)((int)vdata + 3) = (char)piVar2[2];
          vdata = (undefined1 *)((int)vdata + 4);
        }
      }
      else {
        pcVar7 = (code *)PTR_filename_serialise_00111450;
        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {
          iVar3 = (*pcVar7)(piVar2[2],vdata);
          vdata = (void *)((int)vdata + iVar3);
        }
      }
    }
    else {
      puVar6 = puVar5;
      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {
        iVar8 = piVar2[1];
        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
        puVar6 = puVar5 + iVar3 + 1;
        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);
        puVar5[iVar3] = 0;
        iVar3 = *piVar2 * 4;
      }
      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);
      vdata = puVar6;
      if (iVar3 != 2) goto LAB_00026838;
LAB_0002694c:
      iVar8 = piVar2[2];
      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
      vdata = puVar6 + iVar3 + 1;
      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);
      puVar6[iVar3] = 0;
    }
    iVar4 = iVar4 + 1;
    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);
  } while( true );
}



void conf_serialise(undefined4 *param_1,undefined1 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  code *pcVar7;
  int iVar8;
  
  puVar1 = PTR_DAT_00111314;
  iVar4 = 0;
  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);
  do {
    if (piVar2 == (int *)0x0) {
      *param_2 = 0xff;
      param_2[1] = 0xff;
      param_2[2] = 0xff;
      param_2[3] = 0xff;
      return;
    }
    *param_2 = *(undefined1 *)piVar2;
    param_2[1] = (char)*(undefined2 *)piVar2;
    param_2[2] = (char)((uint)*piVar2 >> 8);
    param_2[3] = (char)*piVar2;
    iVar3 = *piVar2 * 4;
    puVar5 = param_2 + 4;
    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {
      param_2[4] = *(undefined1 *)(piVar2 + 1);
      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);
      param_2[6] = (char)((uint)piVar2[1] >> 8);
      param_2[7] = (char)piVar2[1];
      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);
      puVar6 = param_2 + 8;
      param_2 = puVar6;
      if (iVar3 == 2) goto LAB_0002694c;
LAB_00026838:
      if (iVar3 < 3) {
        if (iVar3 == 1) {
          *param_2 = *(undefined1 *)(piVar2 + 2);
          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);
          param_2[2] = (char)((uint)piVar2[2] >> 8);
          param_2[3] = (char)piVar2[2];
          param_2 = param_2 + 4;
        }
      }
      else {
        pcVar7 = (code *)PTR_filename_serialise_00111450;
        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {
          iVar3 = (*pcVar7)(piVar2[2],param_2);
          param_2 = param_2 + iVar3;
        }
      }
    }
    else {
      puVar6 = puVar5;
      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {
        iVar8 = piVar2[1];
        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
        puVar6 = puVar5 + iVar3 + 1;
        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);
        puVar5[iVar3] = 0;
        iVar3 = *piVar2 * 4;
      }
      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);
      param_2 = puVar6;
      if (iVar3 != 2) goto LAB_00026838;
LAB_0002694c:
      iVar8 = piVar2[2];
      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
      param_2 = puVar6 + iVar3 + 1;
      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);
      puVar6[iVar3] = 0;
    }
    iVar4 = iVar4 + 1;
    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);
  } while( true );
}


lui gp,0xf
addiu gp,gp,0x2b90
addu gp,gp,t9
addiu sp,sp,-0x40
lw t9,-0x7e80(gp)
sw s5,0x2c(sp)
or s5,a0,zero
sw s1,0x1c(sp)
or s1,zero,zero
sw s4,0x28(sp)
sw s3,0x24(sp)
sw gp,0x10(sp)
sw s6,0x30(sp)
or s6,a1,zero
sw s2,0x20(sp)
or a1,s1,zero
sw s0,0x18(sp)
li s2,0x1
sw ra,0x3c(sp)
sw s8,0x38(sp)
sw s7,0x34(sp)
lw s3,-0x7f9c(gp)
lw s4,-0x7f9c(gp)
jalr t9
_lw a0,0x0(s5)
addiu s3,s3,0x1cd4
lw gp,0x10(sp)
addiu s4,s4,0x19f4
beq v0,zero,0x0002688c
_or s0,v0,zero
lb v0,0x0(s0)
sb v0,0x0(s6)
lh v0,0x0(s0)
sb v0,0x1(s6)
lw v0,0x0(s0)
sra v0,v0,0x8
sb v0,0x2(s6)
lw v0,0x0(s0)
sb v0,0x3(s6)
lw v0,0x0(s0)
sll v0,v0,0x2
addu v1,s3,v0
lw v1,0x0(v1)
beq v1,s2,0x0002690c
_addiu s7,s6,0x4
li a0,0x2
bne v1,a0,0x00026828
_addu v0,s4,v0
lw s8,0x4(s0)
lw t9,-0x6d7c(gp)
jalr t9
_or a0,s8,zero
or a0,s7,zero
lw gp,0x10(sp)
or s6,v0,zero
addu s6,s7,s6
or a2,v0,zero
or a1,s8,zero
lw t9,-0x6d44(gp)
jalr t9
_addiu s7,s6,0x1
lw gp,0x10(sp)
sb zero,0x0(s6)
lw v0,0x0(s0)
sll v0,v0,0x2
addu v0,s4,v0
li v1,0x2
lw v0,0x0(v0)
beq v0,v1,0x0002694c
_nop
slti v1,v0,0x3
bne v1,zero,0x000268d0
_li v1,0x3
beq v0,v1,0x00026994
_li v1,0x4
bne v0,v1,0x00026868
_lw t9,-0x7e64(gp)
lw a0,0x8(s0)
jalr t9
_or a1,s7,zero
lw gp,0x10(sp)
addu s7,s7,v0
addiu s1,s1,0x1
or s6,s7,zero
lw t9,-0x7e80(gp)
or a1,s1,zero
jalr t9
_lw a0,0x0(s5)
lw gp,0x10(sp)
bne v0,zero,0x00026798
_or s0,v0,zero
li v0,-0x1
sb v0,0x0(s6)
sb v0,0x1(s6)
sb v0,0x2(s6)
sb v0,0x3(s6)
lw ra,0x3c(sp)
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
bne v0,s2,0x00026868
_nop
lb v0,0x8(s0)
addiu s7,s7,0x4
addiu s1,s1,0x1
or s6,s7,zero
sb v0,-0x4(s7)
lh v0,0x8(s0)
sb v0,-0x3(s7)
lw v0,0x8(s0)
sra v0,v0,0x8
sb v0,-0x2(s7)
lw v0,0x8(s0)
b 0x00026870
_sb v0,-0x1(s7)
lb v0,0x4(s0)
li v1,0x2
sb v0,0x4(s6)
lh v0,0x4(s0)
sb v0,0x5(s6)
lw v0,0x4(s0)
sra v0,v0,0x8
sb v0,0x6(s6)
lw v0,0x4(s0)
sb v0,0x7(s6)
lw v0,0x0(s0)
sll v0,v0,0x2
addu v0,s4,v0
lw v0,0x0(v0)
bne v0,v1,0x00026838
_addiu s7,s6,0x8
lw s6,0x8(s0)
addiu s1,s1,0x1
lw t9,-0x6d7c(gp)
jalr t9
_or a0,s6,zero
or a0,s7,zero
lw gp,0x10(sp)
or s0,v0,zero
addu s0,s7,s0
or a1,s6,zero
addiu s7,s0,0x1
lw t9,-0x6d44(gp)
or a2,v0,zero
jalr t9
_or s6,s7,zero
lw gp,0x10(sp)
b 0x00026870
_sb zero,0x0(s0)
b 0x00026854
_lw t9,-0x7e60(gp)
(translation_unit "void conf_serialise(undefined4 *param_1,undefined1 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}\n\n" (function_definition "void conf_serialise(undefined4 *param_1,undefined1 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" primitive_type (function_declarator "conf_serialise(undefined4 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_00111314;" (assignment_expression "puVar1 = PTR_DAT_00111314" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(*param_1,0)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,0)" ( (pointer_expression "*param_1" * identifier) , number_literal ))))) ;) (do_statement "do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );" do (compound_statement "{\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  }" { (if_statement "if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" { (expression_statement "*param_2 = 0xff;" (assignment_expression "*param_2 = 0xff" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[1] = 0xff;" (assignment_expression "param_2[1] = 0xff" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0xff;" (assignment_expression "param_2[2] = 0xff" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 0xff;" (assignment_expression "param_2[3] = 0xff" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*param_2 = *(undefined1 *)piVar2;" (assignment_expression "*param_2 = *(undefined1 *)piVar2" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined1 *)piVar2" * (cast_expression "(undefined1 *)piVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "param_2[1] = (char)*(undefined2 *)piVar2;" (assignment_expression "param_2[1] = (char)*(undefined2 *)piVar2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)piVar2" * (cast_expression "(undefined2 *)piVar2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (expression_statement "param_2[2] = (char)((uint)*piVar2 >> 8);" (assignment_expression "param_2[2] = (char)((uint)*piVar2 >> 8)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*piVar2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*piVar2 >> 8)" ( (binary_expression "(uint)*piVar2 >> 8" (binary_expression "(uint)*piVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_2[3] = (char)*piVar2;" (assignment_expression "param_2[3] = (char)*piVar2" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)*piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) (expression_statement "puVar5 = param_2 + 4;" (assignment_expression "puVar5 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 1)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 1" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }" { (expression_statement "param_2[4] = *(undefined1 *)(piVar2 + 1);" (assignment_expression "param_2[4] = *(undefined1 *)(piVar2 + 1)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = (char)*(undefined2 *)(piVar2 + 1);" (assignment_expression "param_2[5] = (char)*(undefined2 *)(piVar2 + 1)" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)(piVar2 + 1)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 1)" * (cast_expression "(undefined2 *)(piVar2 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))))) ;) (expression_statement "param_2[6] = (char)((uint)piVar2[1] >> 8);" (assignment_expression "param_2[6] = (char)((uint)piVar2[1] >> 8)" (subscript_expression "param_2[6]" identifier [ number_literal ]) = (cast_expression "(char)((uint)piVar2[1] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[1] >> 8)" ( (binary_expression "(uint)piVar2[1] >> 8" (cast_expression "(uint)piVar2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_2[7] = (char)piVar2[1];" (assignment_expression "param_2[7] = (char)piVar2[1]" (subscript_expression "param_2[7]" identifier [ number_literal ]) = (cast_expression "(char)piVar2[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + 0x19f4)" ( (binary_expression "puVar1 + *piVar2 * 4 + 0x19f4" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "puVar6 = param_2 + 8;" (assignment_expression "puVar6 = param_2 + 8" identifier = (binary_expression "param_2 + 8" identifier + number_literal)) ;) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 == 2) goto LAB_0002694c;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0002694c;" goto statement_identifier ;)) (labeled_statement "LAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" statement_identifier : (if_statement "if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }" { (if_statement "if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" { (expression_statement "*param_2 = *(undefined1 *)(piVar2 + 2);" (assignment_expression "*param_2 = *(undefined1 *)(piVar2 + 2)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) ))))) ;) (expression_statement "param_2[1] = (char)*(undefined2 *)(piVar2 + 2);" (assignment_expression "param_2[1] = (char)*(undefined2 *)(piVar2 + 2)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)(piVar2 + 2)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 2)" * (cast_expression "(undefined2 *)(piVar2 + 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))))) ;) (expression_statement "param_2[2] = (char)((uint)piVar2[2] >> 8);" (assignment_expression "param_2[2] = (char)((uint)piVar2[2] >> 8)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)piVar2[2] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[2] >> 8)" ( (binary_expression "(uint)piVar2[2] >> 8" (cast_expression "(uint)piVar2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_2[3] = (char)piVar2[2];" (assignment_expression "param_2[3] = (char)piVar2[2]" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)piVar2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) })) }) (else_clause "else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" else (compound_statement "{\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" { (expression_statement "pcVar7 = (code *)PTR_filename_serialise_00111450;" (assignment_expression "pcVar7 = (code *)PTR_filename_serialise_00111450" identifier = (cast_expression "(code *)PTR_filename_serialise_00111450" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" if (parenthesized_expression "((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4))" ( (binary_expression "(iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) || (parenthesized_expression "(pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" ( (comma_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4" (assignment_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c" identifier = (cast_expression "(code *)PTR_fontspec_serialise_0011144c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iVar3 == 4" identifier == number_literal)) ))) )) (compound_statement "{\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" { (expression_statement "iVar3 = (*pcVar7)(piVar2[2],param_2);" (assignment_expression "iVar3 = (*pcVar7)(piVar2[2],param_2)" identifier = (call_expression "(*pcVar7)(piVar2[2],param_2)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(piVar2[2],param_2)" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "param_2 = param_2 + iVar3;" (assignment_expression "param_2 = param_2 + iVar3" identifier = (binary_expression "param_2 + iVar3" identifier + identifier)) ;) })) })))) }) (else_clause "else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" else (compound_statement "{\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 2)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 2" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" { (expression_statement "iVar8 = piVar2[1];" (assignment_expression "iVar8 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = puVar5 + iVar3 + 1;" (assignment_expression "puVar6 = puVar5 + iVar3 + 1" identifier = (binary_expression "puVar5 + iVar3 + 1" (binary_expression "puVar5 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar5[iVar3] = 0;" (assignment_expression "puVar5[iVar3] = 0" (subscript_expression "puVar5[iVar3]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) })) (expression_statement "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + iVar3 + 0x19f4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x19f4)" ( (binary_expression "puVar1 + iVar3 + 0x19f4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 != 2) goto LAB_00026838;" if (parenthesized_expression "(iVar3 != 2)" ( (binary_expression "iVar3 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00026838;" goto statement_identifier ;)) (labeled_statement "LAB_0002694c:\n      iVar8 = piVar2[2];" statement_identifier : (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "param_2 = puVar6 + iVar3 + 1;" (assignment_expression "param_2 = puVar6 + iVar3 + 1" identifier = (binary_expression "puVar6 + iVar3 + 1" (binary_expression "puVar6 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar6[iVar3] = 0;" (assignment_expression "puVar6[iVar3] = 0" (subscript_expression "puVar6[iVar3]" identifier [ identifier ]) = number_literal) ;) }))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(*param_1,iVar4)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,iVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void conf_serialise(Conf *conf,void *vdata)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }\n    *(undefined1 *)vdata = *(undefined1 *)piVar2;\n    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;\n    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);\n    *(char *)((int)vdata + 3) = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = (undefined1 *)((int)vdata + 4);\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);\n  } while( true );\n}\n\n" (function_definition "void conf_serialise(Conf *conf,void *vdata)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }\n    *(undefined1 *)vdata = *(undefined1 *)piVar2;\n    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;\n    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);\n    *(char *)((int)vdata + 3) = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = (undefined1 *)((int)vdata + 4);\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);\n  } while( true );\n}" primitive_type (function_declarator "conf_serialise(Conf *conf,void *vdata)" identifier (parameter_list "(Conf *conf,void *vdata)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "void *vdata" primitive_type (pointer_declarator "*vdata" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }\n    *(undefined1 *)vdata = *(undefined1 *)piVar2;\n    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;\n    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);\n    *(char *)((int)vdata + 3) = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = (undefined1 *)((int)vdata + 4);\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;" (assignment_expression "puVar1 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,0)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(conf->tree,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(conf->tree,0)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf->tree,0)" ( (field_expression "conf->tree" identifier -> field_identifier) , number_literal ))))) ;) (do_statement "do {\n    if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }\n    *(undefined1 *)vdata = *(undefined1 *)piVar2;\n    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;\n    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);\n    *(char *)((int)vdata + 3) = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = (undefined1 *)((int)vdata + 4);\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);\n  } while( true );" do (compound_statement "{\n    if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }\n    *(undefined1 *)vdata = *(undefined1 *)piVar2;\n    *(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;\n    *(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);\n    *(char *)((int)vdata + 3) = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = (undefined1 *)((int)vdata + 4);\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);\n  }" { (if_statement "if (piVar2 == (int *)0x0) {\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined1 *)vdata = 0xff;\n      *(undefined1 *)((int)vdata + 1) = 0xff;\n      *(undefined1 *)((int)vdata + 2) = 0xff;\n      *(undefined1 *)((int)vdata + 3) = 0xff;\n      return;\n    }" { (expression_statement "*(undefined1 *)vdata = 0xff;" (assignment_expression "*(undefined1 *)vdata = 0xff" (pointer_expression "*(undefined1 *)vdata" * (cast_expression "(undefined1 *)vdata" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined1 *)((int)vdata + 1) = 0xff;" (assignment_expression "*(undefined1 *)((int)vdata + 1) = 0xff" (pointer_expression "*(undefined1 *)((int)vdata + 1)" * (cast_expression "(undefined1 *)((int)vdata + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 1)" ( (binary_expression "(int)vdata + 1" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)vdata + 2) = 0xff;" (assignment_expression "*(undefined1 *)((int)vdata + 2) = 0xff" (pointer_expression "*(undefined1 *)((int)vdata + 2)" * (cast_expression "(undefined1 *)((int)vdata + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 2)" ( (binary_expression "(int)vdata + 2" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)vdata + 3) = 0xff;" (assignment_expression "*(undefined1 *)((int)vdata + 3) = 0xff" (pointer_expression "*(undefined1 *)((int)vdata + 3)" * (cast_expression "(undefined1 *)((int)vdata + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 3)" ( (binary_expression "(int)vdata + 3" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined1 *)vdata = *(undefined1 *)piVar2;" (assignment_expression "*(undefined1 *)vdata = *(undefined1 *)piVar2" (pointer_expression "*(undefined1 *)vdata" * (cast_expression "(undefined1 *)vdata" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)piVar2" * (cast_expression "(undefined1 *)piVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2;" (assignment_expression "*(char *)((int)vdata + 1) = (char)*(undefined2 *)piVar2" (pointer_expression "*(char *)((int)vdata + 1)" * (cast_expression "(char *)((int)vdata + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 1)" ( (binary_expression "(int)vdata + 1" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)*(undefined2 *)piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)piVar2" * (cast_expression "(undefined2 *)piVar2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (expression_statement "*(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8);" (assignment_expression "*(char *)((int)vdata + 2) = (char)((uint)*piVar2 >> 8)" (pointer_expression "*(char *)((int)vdata + 2)" * (cast_expression "(char *)((int)vdata + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 2)" ( (binary_expression "(int)vdata + 2" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)((uint)*piVar2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*piVar2 >> 8)" ( (binary_expression "(uint)*piVar2 >> 8" (binary_expression "(uint)*piVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "*(char *)((int)vdata + 3) = (char)*piVar2;" (assignment_expression "*(char *)((int)vdata + 3) = (char)*piVar2" (pointer_expression "*(char *)((int)vdata + 3)" * (cast_expression "(char *)((int)vdata + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 3)" ( (binary_expression "(int)vdata + 3" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)*piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) (expression_statement "puVar5 = (undefined1 *)((int)vdata + 4);" (assignment_expression "puVar5 = (undefined1 *)((int)vdata + 4)" identifier = (cast_expression "(undefined1 *)((int)vdata + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 4)" ( (binary_expression "(int)vdata + 4" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 1)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 1" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);\n      *(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);\n      *(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);\n      *(char *)((int)vdata + 7) = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = (undefined1 *)((int)vdata + 8);\n      vdata = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }\n    }" { (expression_statement "*(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1);" (assignment_expression "*(undefined1 *)((int)vdata + 4) = *(undefined1 *)(piVar2 + 1)" (pointer_expression "*(undefined1 *)((int)vdata + 4)" * (cast_expression "(undefined1 *)((int)vdata + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 4)" ( (binary_expression "(int)vdata + 4" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1);" (assignment_expression "*(char *)((int)vdata + 5) = (char)*(undefined2 *)(piVar2 + 1)" (pointer_expression "*(char *)((int)vdata + 5)" * (cast_expression "(char *)((int)vdata + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 5)" ( (binary_expression "(int)vdata + 5" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)*(undefined2 *)(piVar2 + 1)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 1)" * (cast_expression "(undefined2 *)(piVar2 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))))) ;) (expression_statement "*(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8);" (assignment_expression "*(char *)((int)vdata + 6) = (char)((uint)piVar2[1] >> 8)" (pointer_expression "*(char *)((int)vdata + 6)" * (cast_expression "(char *)((int)vdata + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 6)" ( (binary_expression "(int)vdata + 6" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)((uint)piVar2[1] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[1] >> 8)" ( (binary_expression "(uint)piVar2[1] >> 8" (cast_expression "(uint)piVar2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "*(char *)((int)vdata + 7) = (char)piVar2[1];" (assignment_expression "*(char *)((int)vdata + 7) = (char)piVar2[1]" (pointer_expression "*(char *)((int)vdata + 7)" * (cast_expression "(char *)((int)vdata + 7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 7)" ( (binary_expression "(int)vdata + 7" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)piVar2[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + 0x19f4)" ( (binary_expression "puVar1 + *piVar2 * 4 + 0x19f4" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined1 *)((int)vdata + 8);" (assignment_expression "puVar6 = (undefined1 *)((int)vdata + 8)" identifier = (cast_expression "(undefined1 *)((int)vdata + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 8)" ( (binary_expression "(int)vdata + 8" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "vdata = puVar6;" (assignment_expression "vdata = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 == 2) goto LAB_0002694c;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0002694c;" goto statement_identifier ;)) (labeled_statement "LAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }" statement_identifier : (if_statement "if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }\n      }" { (if_statement "if (iVar3 == 1) {\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);\n          *(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);\n          *(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);\n          *(char *)((int)vdata + 3) = (char)piVar2[2];\n          vdata = (undefined1 *)((int)vdata + 4);\n        }" { (expression_statement "*(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2);" (assignment_expression "*(undefined1 *)vdata = *(undefined1 *)(piVar2 + 2)" (pointer_expression "*(undefined1 *)vdata" * (cast_expression "(undefined1 *)vdata" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) ))))) ;) (expression_statement "*(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2);" (assignment_expression "*(char *)((int)vdata + 1) = (char)*(undefined2 *)(piVar2 + 2)" (pointer_expression "*(char *)((int)vdata + 1)" * (cast_expression "(char *)((int)vdata + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 1)" ( (binary_expression "(int)vdata + 1" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)*(undefined2 *)(piVar2 + 2)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 2)" * (cast_expression "(undefined2 *)(piVar2 + 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))))) ;) (expression_statement "*(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8);" (assignment_expression "*(char *)((int)vdata + 2) = (char)((uint)piVar2[2] >> 8)" (pointer_expression "*(char *)((int)vdata + 2)" * (cast_expression "(char *)((int)vdata + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 2)" ( (binary_expression "(int)vdata + 2" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)((uint)piVar2[2] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[2] >> 8)" ( (binary_expression "(uint)piVar2[2] >> 8" (cast_expression "(uint)piVar2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "*(char *)((int)vdata + 3) = (char)piVar2[2];" (assignment_expression "*(char *)((int)vdata + 3) = (char)piVar2[2]" (pointer_expression "*(char *)((int)vdata + 3)" * (cast_expression "(char *)((int)vdata + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 3)" ( (binary_expression "(int)vdata + 3" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)piVar2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "vdata = (undefined1 *)((int)vdata + 4);" (assignment_expression "vdata = (undefined1 *)((int)vdata + 4)" identifier = (cast_expression "(undefined1 *)((int)vdata + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 4)" ( (binary_expression "(int)vdata + 4" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }) (else_clause "else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }" else (compound_statement "{\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }\n      }" { (expression_statement "pcVar7 = (code *)PTR_filename_serialise_00111450;" (assignment_expression "pcVar7 = (code *)PTR_filename_serialise_00111450" identifier = (cast_expression "(code *)PTR_filename_serialise_00111450" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }" if (parenthesized_expression "((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4))" ( (binary_expression "(iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) || (parenthesized_expression "(pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" ( (comma_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4" (assignment_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c" identifier = (cast_expression "(code *)PTR_fontspec_serialise_0011144c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iVar3 == 4" identifier == number_literal)) ))) )) (compound_statement "{\n          iVar3 = (*pcVar7)(piVar2[2],vdata);\n          vdata = (void *)((int)vdata + iVar3);\n        }" { (expression_statement "iVar3 = (*pcVar7)(piVar2[2],vdata);" (assignment_expression "iVar3 = (*pcVar7)(piVar2[2],vdata)" identifier = (call_expression "(*pcVar7)(piVar2[2],vdata)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(piVar2[2],vdata)" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "vdata = (void *)((int)vdata + iVar3);" (assignment_expression "vdata = (void *)((int)vdata + iVar3)" identifier = (cast_expression "(void *)((int)vdata + iVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + iVar3)" ( (binary_expression "(int)vdata + iVar3" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) })))) }) (else_clause "else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" else (compound_statement "{\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      vdata = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      vdata = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 2)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 2" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" { (expression_statement "iVar8 = piVar2[1];" (assignment_expression "iVar8 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = puVar5 + iVar3 + 1;" (assignment_expression "puVar6 = puVar5 + iVar3 + 1" identifier = (binary_expression "puVar5 + iVar3 + 1" (binary_expression "puVar5 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar5[iVar3] = 0;" (assignment_expression "puVar5[iVar3] = 0" (subscript_expression "puVar5[iVar3]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) })) (expression_statement "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + iVar3 + 0x19f4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x19f4)" ( (binary_expression "puVar1 + iVar3 + 0x19f4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "vdata = puVar6;" (assignment_expression "vdata = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 != 2) goto LAB_00026838;" if (parenthesized_expression "(iVar3 != 2)" ( (binary_expression "iVar3 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00026838;" goto statement_identifier ;)) (labeled_statement "LAB_0002694c:\n      iVar8 = piVar2[2];" statement_identifier : (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "vdata = puVar6 + iVar3 + 1;" (assignment_expression "vdata = puVar6 + iVar3 + 1" identifier = (binary_expression "puVar6 + iVar3 + 1" (binary_expression "puVar6 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar6[iVar3] = 0;" (assignment_expression "puVar6[iVar3] = 0" (subscript_expression "puVar6[iVar3]" identifier [ identifier ]) = number_literal) ;) }))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(conf->tree,iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(conf->tree,iVar4)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf->tree,iVar4)" ( (field_expression "conf->tree" identifier -> field_identifier) , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void conf_serialise(undefined4 *param_1,undefined1 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}\n\n" (function_definition "void conf_serialise(undefined4 *param_1,undefined1 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" primitive_type (function_declarator "conf_serialise(undefined4 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_00111314;" (assignment_expression "puVar1 = PTR_DAT_00111314" identifier = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(*param_1,0)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,0)" ( (pointer_expression "*param_1" * identifier) , number_literal ))))) ;) (do_statement "do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );" do (compound_statement "{\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  }" { (if_statement "if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" { (expression_statement "*param_2 = 0xff;" (assignment_expression "*param_2 = 0xff" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[1] = 0xff;" (assignment_expression "param_2[1] = 0xff" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0xff;" (assignment_expression "param_2[2] = 0xff" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 0xff;" (assignment_expression "param_2[3] = 0xff" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*param_2 = *(undefined1 *)piVar2;" (assignment_expression "*param_2 = *(undefined1 *)piVar2" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined1 *)piVar2" * (cast_expression "(undefined1 *)piVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "param_2[1] = (char)*(undefined2 *)piVar2;" (assignment_expression "param_2[1] = (char)*(undefined2 *)piVar2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)piVar2" * (cast_expression "(undefined2 *)piVar2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (expression_statement "param_2[2] = (char)((uint)*piVar2 >> 8);" (assignment_expression "param_2[2] = (char)((uint)*piVar2 >> 8)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*piVar2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*piVar2 >> 8)" ( (binary_expression "(uint)*piVar2 >> 8" (binary_expression "(uint)*piVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_2[3] = (char)*piVar2;" (assignment_expression "param_2[3] = (char)*piVar2" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)*piVar2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) (expression_statement "puVar5 = param_2 + 4;" (assignment_expression "puVar5 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 1)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 1" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }" { (expression_statement "param_2[4] = *(undefined1 *)(piVar2 + 1);" (assignment_expression "param_2[4] = *(undefined1 *)(piVar2 + 1)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = (char)*(undefined2 *)(piVar2 + 1);" (assignment_expression "param_2[5] = (char)*(undefined2 *)(piVar2 + 1)" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)(piVar2 + 1)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 1)" * (cast_expression "(undefined2 *)(piVar2 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))))) ;) (expression_statement "param_2[6] = (char)((uint)piVar2[1] >> 8);" (assignment_expression "param_2[6] = (char)((uint)piVar2[1] >> 8)" (subscript_expression "param_2[6]" identifier [ number_literal ]) = (cast_expression "(char)((uint)piVar2[1] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[1] >> 8)" ( (binary_expression "(uint)piVar2[1] >> 8" (cast_expression "(uint)piVar2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_2[7] = (char)piVar2[1];" (assignment_expression "param_2[7] = (char)piVar2[1]" (subscript_expression "param_2[7]" identifier [ number_literal ]) = (cast_expression "(char)piVar2[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + 0x19f4)" ( (binary_expression "puVar1 + *piVar2 * 4 + 0x19f4" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "puVar6 = param_2 + 8;" (assignment_expression "puVar6 = param_2 + 8" identifier = (binary_expression "param_2 + 8" identifier + number_literal)) ;) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 == 2) goto LAB_0002694c;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0002694c;" goto statement_identifier ;)) (labeled_statement "LAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" statement_identifier : (if_statement "if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }" { (if_statement "if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" { (expression_statement "*param_2 = *(undefined1 *)(piVar2 + 2);" (assignment_expression "*param_2 = *(undefined1 *)(piVar2 + 2)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) ))))) ;) (expression_statement "param_2[1] = (char)*(undefined2 *)(piVar2 + 2);" (assignment_expression "param_2[1] = (char)*(undefined2 *)(piVar2 + 2)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)(piVar2 + 2)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(piVar2 + 2)" * (cast_expression "(undefined2 *)(piVar2 + 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))))) ;) (expression_statement "param_2[2] = (char)((uint)piVar2[2] >> 8);" (assignment_expression "param_2[2] = (char)((uint)piVar2[2] >> 8)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)piVar2[2] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)piVar2[2] >> 8)" ( (binary_expression "(uint)piVar2[2] >> 8" (cast_expression "(uint)piVar2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_2[3] = (char)piVar2[2];" (assignment_expression "param_2[3] = (char)piVar2[2]" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)piVar2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) })) }) (else_clause "else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" else (compound_statement "{\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" { (expression_statement "pcVar7 = (code *)PTR_filename_serialise_00111450;" (assignment_expression "pcVar7 = (code *)PTR_filename_serialise_00111450" identifier = (cast_expression "(code *)PTR_filename_serialise_00111450" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" if (parenthesized_expression "((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4))" ( (binary_expression "(iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) || (parenthesized_expression "(pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" ( (comma_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4" (assignment_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c" identifier = (cast_expression "(code *)PTR_fontspec_serialise_0011144c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iVar3 == 4" identifier == number_literal)) ))) )) (compound_statement "{\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" { (expression_statement "iVar3 = (*pcVar7)(piVar2[2],param_2);" (assignment_expression "iVar3 = (*pcVar7)(piVar2[2],param_2)" identifier = (call_expression "(*pcVar7)(piVar2[2],param_2)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(piVar2[2],param_2)" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "param_2 = param_2 + iVar3;" (assignment_expression "param_2 = param_2 + iVar3" identifier = (binary_expression "param_2 + iVar3" identifier + identifier)) ;) })) })))) }) (else_clause "else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" else (compound_statement "{\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 2)" ( (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 2" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" ( (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" { (expression_statement "iVar8 = piVar2[1];" (assignment_expression "iVar8 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = puVar5 + iVar3 + 1;" (assignment_expression "puVar6 = puVar5 + iVar3 + 1" identifier = (binary_expression "puVar5 + iVar3 + 1" (binary_expression "puVar5 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar5[iVar3] = 0;" (assignment_expression "puVar5[iVar3] = 0" (subscript_expression "puVar5[iVar3]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" identifier = (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) ;) })) (expression_statement "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4)" identifier = (pointer_expression "*(int *)(puVar1 + iVar3 + 0x19f4)" * (cast_expression "(int *)(puVar1 + iVar3 + 0x19f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar3 + 0x19f4)" ( (binary_expression "puVar1 + iVar3 + 0x19f4" (binary_expression "puVar1 + iVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (iVar3 != 2) goto LAB_00026838;" if (parenthesized_expression "(iVar3 != 2)" ( (binary_expression "iVar3 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00026838;" goto statement_identifier ;)) (labeled_statement "LAB_0002694c:\n      iVar8 = piVar2[2];" statement_identifier : (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" ( (pointer_expression "*(code *)PTR_strlen_00112534" * (cast_expression "(code *)PTR_strlen_00112534" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "param_2 = puVar6 + iVar3 + 1;" (assignment_expression "param_2 = puVar6 + iVar3 + 1" identifier = (binary_expression "puVar6 + iVar3 + 1" (binary_expression "puVar6 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" ( (pointer_expression "*(code *)PTR_memcpy_0011256c" * (cast_expression "(code *)PTR_memcpy_0011256c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,iVar8,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar6[iVar3] = 0;" (assignment_expression "puVar6[iVar3] = 0" (subscript_expression "puVar6[iVar3]" identifier [ identifier ]) = number_literal) ;) }))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_00111430)(*param_1,iVar4)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" ( (pointer_expression "*(code *)PTR_index234_00111430" * (cast_expression "(code *)PTR_index234_00111430" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,iVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , LIT ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = 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) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) * LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , IDENT ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void conf_serialise(undefined4 *param_1,undefined1 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" (primitive_type "void") (function_declarator "conf_serialise(undefined4 *param_1,undefined1 *param_2)" (identifier "conf_serialise") (parameter_list "(undefined4 *param_1,undefined1 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_00111314;\n  iVar4 = 0;\n  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);\n  do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (expression_statement "puVar1 = PTR_DAT_00111314;" (assignment_expression "puVar1 = PTR_DAT_00111314" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00111314")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_00111430)(*param_1,0)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" (( "(") (pointer_expression "*(code *)PTR_index234_00111430" (* "*") (cast_expression "(code *)PTR_index234_00111430" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_00111430"))) () ")")) (argument_list "(*param_1,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") () ")"))))) (; ";")) (do_statement "do {\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  } while( true );" (do "do") (compound_statement "{\n    if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }\n    *param_2 = *(undefined1 *)piVar2;\n    param_2[1] = (char)*(undefined2 *)piVar2;\n    param_2[2] = (char)((uint)*piVar2 >> 8);\n    param_2[3] = (char)*piVar2;\n    iVar3 = *piVar2 * 4;\n    puVar5 = param_2 + 4;\n    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }\n    iVar4 = iVar4 + 1;\n    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);\n  }" ({ "{") (if_statement "if (piVar2 == (int *)0x0) {\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_2 = 0xff;\n      param_2[1] = 0xff;\n      param_2[2] = 0xff;\n      param_2[3] = 0xff;\n      return;\n    }" ({ "{") (expression_statement "*param_2 = 0xff;" (assignment_expression "*param_2 = 0xff" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "param_2[1] = 0xff;" (assignment_expression "param_2[1] = 0xff" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "param_2[2] = 0xff;" (assignment_expression "param_2[2] = 0xff" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "param_2[3] = 0xff;" (assignment_expression "param_2[3] = 0xff" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_2 = *(undefined1 *)piVar2;" (assignment_expression "*param_2 = *(undefined1 *)piVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*(undefined1 *)piVar2" (* "*") (cast_expression "(undefined1 *)piVar2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar2")))) (; ";")) (expression_statement "param_2[1] = (char)*(undefined2 *)piVar2;" (assignment_expression "param_2[1] = (char)*(undefined2 *)piVar2" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)piVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)piVar2" (* "*") (cast_expression "(undefined2 *)piVar2" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar2"))))) (; ";")) (expression_statement "param_2[2] = (char)((uint)*piVar2 >> 8);" (assignment_expression "param_2[2] = (char)((uint)*piVar2 >> 8)" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)*piVar2 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)*piVar2 >> 8)" (( "(") (binary_expression "(uint)*piVar2 >> 8" (binary_expression "(uint)*piVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "piVar2")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2[3] = (char)*piVar2;" (assignment_expression "param_2[3] = (char)*piVar2" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)*piVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" (identifier "iVar3") (= "=") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "puVar5 = param_2 + 4;" (assignment_expression "puVar5 = param_2 + 4" (identifier "puVar5") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }\n    else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 1)" (( "(") (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 1" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" (* "*") (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" (( "(") (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" (identifier "puVar1") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "0x1cd4")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      param_2[4] = *(undefined1 *)(piVar2 + 1);\n      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);\n      param_2[6] = (char)((uint)piVar2[1] >> 8);\n      param_2[7] = (char)piVar2[1];\n      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);\n      puVar6 = param_2 + 8;\n      param_2 = puVar6;\n      if (iVar3 == 2) goto LAB_0002694c;\nLAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }\n    }" ({ "{") (expression_statement "param_2[4] = *(undefined1 *)(piVar2 + 1);" (assignment_expression "param_2[4] = *(undefined1 *)(piVar2 + 1)" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined1 *)(piVar2 + 1)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 1)" (( "(") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "param_2[5] = (char)*(undefined2 *)(piVar2 + 1);" (assignment_expression "param_2[5] = (char)*(undefined2 *)(piVar2 + 1)" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)(piVar2 + 1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)(piVar2 + 1)" (* "*") (cast_expression "(undefined2 *)(piVar2 + 1)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 1)" (( "(") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1")) () ")")))))) (; ";")) (expression_statement "param_2[6] = (char)((uint)piVar2[1] >> 8);" (assignment_expression "param_2[6] = (char)((uint)piVar2[1] >> 8)" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(char)((uint)piVar2[1] >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)piVar2[1] >> 8)" (( "(") (binary_expression "(uint)piVar2[1] >> 8" (cast_expression "(uint)piVar2[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2[7] = (char)piVar2[1];" (assignment_expression "param_2[7] = (char)piVar2[1]" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (= "=") (cast_expression "(char)piVar2[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" (* "*") (cast_expression "(int *)(puVar1 + *piVar2 * 4 + 0x19f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + *piVar2 * 4 + 0x19f4)" (( "(") (binary_expression "puVar1 + *piVar2 * 4 + 0x19f4" (binary_expression "puVar1 + *piVar2 * 4" (identifier "puVar1") (+ "+") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x19f4")) () ")"))))) (; ";")) (expression_statement "puVar6 = param_2 + 8;" (assignment_expression "puVar6 = param_2 + 8" (identifier "puVar6") (= "=") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" (identifier "param_2") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if (iVar3 == 2) goto LAB_0002694c;" (if "if") (parenthesized_expression "(iVar3 == 2)" (( "(") (binary_expression "iVar3 == 2" (identifier "iVar3") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_0002694c;" (goto "goto") (statement_identifier "LAB_0002694c") (; ";"))) (labeled_statement "LAB_00026838:\n      if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" (statement_identifier "LAB_00026838") (: ":") (if_statement "if (iVar3 < 3) {\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }\n      else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" (if "if") (parenthesized_expression "(iVar3 < 3)" (( "(") (binary_expression "iVar3 < 3" (identifier "iVar3") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n        if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }\n      }" ({ "{") (if_statement "if (iVar3 == 1) {\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          *param_2 = *(undefined1 *)(piVar2 + 2);\n          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);\n          param_2[2] = (char)((uint)piVar2[2] >> 8);\n          param_2[3] = (char)piVar2[2];\n          param_2 = param_2 + 4;\n        }" ({ "{") (expression_statement "*param_2 = *(undefined1 *)(piVar2 + 2);" (assignment_expression "*param_2 = *(undefined1 *)(piVar2 + 2)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*(undefined1 *)(piVar2 + 2)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "param_2[1] = (char)*(undefined2 *)(piVar2 + 2);" (assignment_expression "param_2[1] = (char)*(undefined2 *)(piVar2 + 2)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)(piVar2 + 2)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)(piVar2 + 2)" (* "*") (cast_expression "(undefined2 *)(piVar2 + 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))))) (; ";")) (expression_statement "param_2[2] = (char)((uint)piVar2[2] >> 8);" (assignment_expression "param_2[2] = (char)((uint)piVar2[2] >> 8)" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)piVar2[2] >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)piVar2[2] >> 8)" (( "(") (binary_expression "(uint)piVar2[2] >> 8" (cast_expression "(uint)piVar2[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2[3] = (char)piVar2[2];" (assignment_expression "param_2[3] = (char)piVar2[2]" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)piVar2[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" (identifier "param_2") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" (else "else") (compound_statement "{\n        pcVar7 = (code *)PTR_filename_serialise_00111450;\n        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }\n      }" ({ "{") (expression_statement "pcVar7 = (code *)PTR_filename_serialise_00111450;" (assignment_expression "pcVar7 = (code *)PTR_filename_serialise_00111450" (identifier "pcVar7") (= "=") (cast_expression "(code *)PTR_filename_serialise_00111450" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_filename_serialise_00111450"))) (; ";")) (if_statement "if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" (if "if") (parenthesized_expression "((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4))" (( "(") (binary_expression "(iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" (parenthesized_expression "(iVar3 == 3)" (( "(") (binary_expression "iVar3 == 3" (identifier "iVar3") (== "==") (number_literal "3")) () ")")) (|| "||") (parenthesized_expression "(pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)" (( "(") (comma_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4" (assignment_expression "pcVar7 = (code *)PTR_fontspec_serialise_0011144c" (identifier "pcVar7") (= "=") (cast_expression "(code *)PTR_fontspec_serialise_0011144c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fontspec_serialise_0011144c"))) (, ",") (binary_expression "iVar3 == 4" (identifier "iVar3") (== "==") (number_literal "4"))) () ")"))) () ")")) (compound_statement "{\n          iVar3 = (*pcVar7)(piVar2[2],param_2);\n          param_2 = param_2 + iVar3;\n        }" ({ "{") (expression_statement "iVar3 = (*pcVar7)(piVar2[2],param_2);" (assignment_expression "iVar3 = (*pcVar7)(piVar2[2],param_2)" (identifier "iVar3") (= "=") (call_expression "(*pcVar7)(piVar2[2],param_2)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(piVar2[2],param_2)" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_2 = param_2 + iVar3;" (assignment_expression "param_2 = param_2 + iVar3" (identifier "param_2") (= "=") (binary_expression "param_2 + iVar3" (identifier "param_2") (+ "+") (identifier "iVar3"))) (; ";")) (} "}"))) (} "}"))))) (} "}")) (else_clause "else {\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" (else "else") (compound_statement "{\n      puVar6 = puVar5;\n      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }\n      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);\n      param_2 = puVar6;\n      if (iVar3 != 2) goto LAB_00026838;\nLAB_0002694c:\n      iVar8 = piVar2[2];\n      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n      param_2 = puVar6 + iVar3 + 1;\n      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);\n      puVar6[iVar3] = 0;\n    }" ({ "{") (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" (if "if") (parenthesized_expression "(*(int *)(puVar1 + iVar3 + 0x1cd4) == 2)" (( "(") (binary_expression "*(int *)(puVar1 + iVar3 + 0x1cd4) == 2" (pointer_expression "*(int *)(puVar1 + iVar3 + 0x1cd4)" (* "*") (cast_expression "(int *)(puVar1 + iVar3 + 0x1cd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + iVar3 + 0x1cd4)" (( "(") (binary_expression "puVar1 + iVar3 + 0x1cd4" (binary_expression "puVar1 + iVar3" (identifier "puVar1") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "0x1cd4")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        iVar8 = piVar2[1];\n        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);\n        puVar6 = puVar5 + iVar3 + 1;\n        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);\n        puVar5[iVar3] = 0;\n        iVar3 = *piVar2 * 4;\n      }" ({ "{") (expression_statement "iVar8 = piVar2[1];" (assignment_expression "iVar8 = piVar2[1]" (identifier "iVar8") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" (( "(") (pointer_expression "*(code *)PTR_strlen_00112534" (* "*") (cast_expression "(code *)PTR_strlen_00112534" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00112534"))) () ")")) (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "puVar6 = puVar5 + iVar3 + 1;" (assignment_expression "puVar6 = puVar5 + iVar3 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar5 + iVar3 + 1" (binary_expression "puVar5 + iVar3" (identifier "puVar5") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0011256c" (* "*") (cast_expression "(code *)PTR_memcpy_0011256c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0011256c"))) () ")")) (argument_list "(puVar5,iVar8,iVar3)" (( "(") (identifier "puVar5") (, ",") (identifier "iVar8") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "puVar5[iVar3] = 0;" (assignment_expression "puVar5[iVar3] = 0" (subscript_expression "puVar5[iVar3]" (identifier "puVar5") ([ "[") (identifier "iVar3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = *piVar2 * 4;" (assignment_expression "iVar3 = *piVar2 * 4" (identifier "iVar3") (= "=") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);" (assignment_expression "iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar1 + iVar3 + 0x19f4)" (* "*") (cast_expression "(int *)(puVar1 + iVar3 + 0x19f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + iVar3 + 0x19f4)" (( "(") (binary_expression "puVar1 + iVar3 + 0x19f4" (binary_expression "puVar1 + iVar3" (identifier "puVar1") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "0x19f4")) () ")"))))) (; ";")) (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" (identifier "param_2") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if (iVar3 != 2) goto LAB_00026838;" (if "if") (parenthesized_expression "(iVar3 != 2)" (( "(") (binary_expression "iVar3 != 2" (identifier "iVar3") (!= "!=") (number_literal "2")) () ")")) (goto_statement "goto LAB_00026838;" (goto "goto") (statement_identifier "LAB_00026838") (; ";"))) (labeled_statement "LAB_0002694c:\n      iVar8 = piVar2[2];" (statement_identifier "LAB_0002694c") (: ":") (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" (identifier "iVar8") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";"))) (expression_statement "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00112534)(iVar8)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00112534)(iVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00112534)" (( "(") (pointer_expression "*(code *)PTR_strlen_00112534" (* "*") (cast_expression "(code *)PTR_strlen_00112534" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00112534"))) () ")")) (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "param_2 = puVar6 + iVar3 + 1;" (assignment_expression "param_2 = puVar6 + iVar3 + 1" (identifier "param_2") (= "=") (binary_expression "puVar6 + iVar3 + 1" (binary_expression "puVar6 + iVar3" (identifier "puVar6") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);" (call_expression "(*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3)" (parenthesized_expression "(*(code *)PTR_memcpy_0011256c)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0011256c" (* "*") (cast_expression "(code *)PTR_memcpy_0011256c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0011256c"))) () ")")) (argument_list "(puVar6,iVar8,iVar3)" (( "(") (identifier "puVar6") (, ",") (identifier "iVar8") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "puVar6[iVar3] = 0;" (assignment_expression "puVar6[iVar3] = 0" (subscript_expression "puVar6[iVar3]" (identifier "puVar6") ([ "[") (identifier "iVar3") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_00111430)(*param_1,iVar4)" (parenthesized_expression "(*(code *)PTR_index234_00111430)" (( "(") (pointer_expression "*(code *)PTR_index234_00111430" (* "*") (cast_expression "(code *)PTR_index234_00111430" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_00111430"))) () ")")) (argument_list "(*param_1,iVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "iVar4") () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

void function_1(type_1 *conf,void *vdata)

{
  type_2 *var_2;
  int *var_1;
  int var_3;
  int var_6;
  type_3 *var_4;
  type_3 *var_5;
  type_4 *pcVar7;
  int iVar8;
  
  var_2 = PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314;
  var_6 = 0;
  var_1 = (int *)(*(type_4 *)PTR_index234_00111430)(conf->tree,0);
  do {
    if (var_1 == (int *)0x0) {
      *(type_3 *)vdata = 0xff;
      *(type_3 *)((int)vdata + 1) = 0xff;
      *(type_3 *)((int)vdata + 2) = 0xff;
      *(type_3 *)((int)vdata + 3) = 0xff;
      return;
    }
    *(type_3 *)vdata = *(type_3 *)var_1;
    *(char *)((int)vdata + 1) = (char)*(type_5 *)var_1;
    *(char *)((int)vdata + 2) = (char)((type_6)*var_1 >> 8);
    *(char *)((int)vdata + 3) = (char)*var_1;
    var_3 = *var_1 * 4;
    var_4 = (type_3 *)((int)vdata + 4);
    if (*(int *)(var_2 + var_3 + 0x1cd4) == 1) {
      *(type_3 *)((int)vdata + 4) = *(type_3 *)(var_1 + 1);
      *(char *)((int)vdata + 5) = (char)*(type_5 *)(var_1 + 1);
      *(char *)((int)vdata + 6) = (char)((type_6)var_1[1] >> 8);
      *(char *)((int)vdata + 7) = (char)var_1[1];
      var_3 = *(int *)(var_2 + *var_1 * 4 + 0x19f4);
      var_5 = (type_3 *)((int)vdata + 8);
      vdata = var_5;
      if (var_3 == 2) goto LAB_0002694c;
LAB_00026838:
      if (var_3 < 3) {
        if (var_3 == 1) {
          *(type_3 *)vdata = *(type_3 *)(var_1 + 2);
          *(char *)((int)vdata + 1) = (char)*(type_5 *)(var_1 + 2);
          *(char *)((int)vdata + 2) = (char)((type_6)var_1[2] >> 8);
          *(char *)((int)vdata + 3) = (char)var_1[2];
          vdata = (type_3 *)((int)vdata + 4);
        }
      }
      else {
        pcVar7 = (type_4 *)PTR_filename_serialise_00111450;
        if ((var_3 == 3) || (pcVar7 = (type_4 *)PTR_fontspec_serialise_0011144c, var_3 == 4)) {
          var_3 = (*pcVar7)(var_1[2],vdata);
          vdata = (void *)((int)vdata + var_3);
        }
      }
    }
    else {
      var_5 = var_4;
      if (*(int *)(var_2 + var_3 + 0x1cd4) == 2) {
        iVar8 = var_1[1];
        var_3 = (*(type_4 *)PTR_strlen_00112534)(iVar8);
        var_5 = var_4 + var_3 + 1;
        (*(type_4 *)PTR_memcpy_0011256c)(var_4,iVar8,var_3);
        var_4[var_3] = 0;
        var_3 = *var_1 * 4;
      }
      var_3 = *(int *)(var_2 + var_3 + 0x19f4);
      vdata = var_5;
      if (var_3 != 2) goto LAB_00026838;
LAB_0002694c:
      iVar8 = var_1[2];
      var_3 = (*(type_4 *)PTR_strlen_00112534)(iVar8);
      vdata = var_5 + var_3 + 1;
      (*(type_4 *)PTR_memcpy_0011256c)(var_5,iVar8,var_3);
      var_5[var_3] = 0;
    }
    var_6 = var_6 + 1;
    var_1 = (int *)(*(type_4 *)PTR_index234_00111430)(conf->tree,var_6);
  } while( true );
}


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

void MASKED(undefined4 *param_1,undefined1 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  code *pcVar7;
  int iVar8;
  
  puVar1 = PTR_DAT_00111314;
  iVar4 = 0;
  piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,0);
  do {
    if (piVar2 == (int *)0x0) {
      *param_2 = 0xff;
      param_2[1] = 0xff;
      param_2[2] = 0xff;
      param_2[3] = 0xff;
      return;
    }
    *param_2 = *(undefined1 *)piVar2;
    param_2[1] = (char)*(undefined2 *)piVar2;
    param_2[2] = (char)((uint)*piVar2 >> 8);
    param_2[3] = (char)*piVar2;
    iVar3 = *piVar2 * 4;
    puVar5 = param_2 + 4;
    if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 1) {
      param_2[4] = *(undefined1 *)(piVar2 + 1);
      param_2[5] = (char)*(undefined2 *)(piVar2 + 1);
      param_2[6] = (char)((uint)piVar2[1] >> 8);
      param_2[7] = (char)piVar2[1];
      iVar3 = *(int *)(puVar1 + *piVar2 * 4 + 0x19f4);
      puVar6 = param_2 + 8;
      param_2 = puVar6;
      if (iVar3 == 2) goto LAB_0002694c;
LAB_00026838:
      if (iVar3 < 3) {
        if (iVar3 == 1) {
          *param_2 = *(undefined1 *)(piVar2 + 2);
          param_2[1] = (char)*(undefined2 *)(piVar2 + 2);
          param_2[2] = (char)((uint)piVar2[2] >> 8);
          param_2[3] = (char)piVar2[2];
          param_2 = param_2 + 4;
        }
      }
      else {
        pcVar7 = (code *)PTR_filename_serialise_00111450;
        if ((iVar3 == 3) || (pcVar7 = (code *)PTR_fontspec_serialise_0011144c, iVar3 == 4)) {
          iVar3 = (*pcVar7)(piVar2[2],param_2);
          param_2 = param_2 + iVar3;
        }
      }
    }
    else {
      puVar6 = puVar5;
      if (*(int *)(puVar1 + iVar3 + 0x1cd4) == 2) {
        iVar8 = piVar2[1];
        iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
        puVar6 = puVar5 + iVar3 + 1;
        (*(code *)PTR_memcpy_0011256c)(puVar5,iVar8,iVar3);
        puVar5[iVar3] = 0;
        iVar3 = *piVar2 * 4;
      }
      iVar3 = *(int *)(puVar1 + iVar3 + 0x19f4);
      param_2 = puVar6;
      if (iVar3 != 2) goto LAB_00026838;
LAB_0002694c:
      iVar8 = piVar2[2];
      iVar3 = (*(code *)PTR_strlen_00112534)(iVar8);
      param_2 = puVar6 + iVar3 + 1;
      (*(code *)PTR_memcpy_0011256c)(puVar6,iVar8,iVar3);
      puVar6[iVar3] = 0;
    }
    iVar4 = iVar4 + 1;
    piVar2 = (int *)(*(code *)PTR_index234_00111430)(*param_1,iVar4);
  } while( true );
}

