
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

char * setup_fonts_ucs(gui_data *inst)

{
  int iVar1;
  int iVar2;
  int iVar3;
  FontSpec *pFVar4;
  unifont *font;
  unifont *font_00;
  int utf8_override;
  char *pcVar5;
  int in_GS_OFFSET;
  unifont *fonts [4];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = conf_get_int(inst->conf,0xb1);
  iVar3 = conf_get_int(inst->conf,0xb5);
  pFVar4 = conf_get_fontspec(inst->conf,0x75);
  font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2);
  fonts[0] = font;
  if (font == (unifont *)0x0) {
    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);
LAB_0009567c:
    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    return pcVar5;
  }
  pFVar4 = conf_get_fontspec(inst->conf,0xb2);
  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {
    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);
    if (fonts[1] == (unifont *)0x0) {
      unifont_destroy(font);
      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  else {
    fonts[1] = (unifont *)0x0;
  }
  pFVar4 = conf_get_fontspec(inst->conf,0xb3);
  if (*pFVar4->name == '\0') {
    fonts[2] = (unifont *)0x0;
  }
  else {
    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);
    if (fonts[2] == (unifont *)0x0) {
      unifont_destroy(font);
      if (fonts[1] != (unifont *)0x0) {
        unifont_destroy(fonts[1]);
      }
      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  pFVar4 = conf_get_fontspec(inst->conf,0xb4);
  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {
    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);
    if (fonts[3] == (unifont *)0x0) {
      unifont_destroy(font);
      if (fonts[1] != (unifont *)0x0) {
        unifont_destroy(fonts[1]);
      }
      if (fonts[2] != (unifont *)0x0) {
        unifont_destroy(fonts[2]);
      }
      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  else {
    fonts[3] = (unifont *)0x0;
  }
  iVar2 = 0;
  font_00 = inst->fonts[0];
  if (font_00 == (unifont *)0x0) goto LAB_000955d3;
  do {
    unifont_destroy(font_00);
LAB_000955d3:
    inst->fonts[iVar2] = font;
    iVar3 = iVar2;
    while( true ) {
      iVar2 = iVar3 + 1;
      if (iVar2 == 4) {
        iVar2 = inst->fonts[0]->height;
        inst->font_width = inst->fonts[0]->width;
        inst->font_height = iVar2;
        iVar3 = conf_get_int(inst->conf,0x90);
        iVar2 = inst->fonts[0]->public_charset;
        utf8_override = conf_get_int(inst->conf,0x93);
        pcVar5 = conf_get_str(inst->conf,0x91);
        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);
        inst->direct_to_font = iVar2;
        inst->drawtype = inst->fonts[0]->preferred_drawtype;
        pcVar5 = (char *)0x0;
        goto LAB_0009567c;
      }
      font_00 = inst->fonts[iVar3 + 1];
      font = fonts[iVar2];
      if (font_00 != (unifont *)0x0) break;
      inst->fonts[iVar3 + 1] = font;
      iVar3 = iVar2;
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00095490(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  int iVar8;
  int in_GS_OFFSET;
  int local_30 [7];
  undefined4 uStack_14;
  
  uStack_14 = 0x95499;
  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);
  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);
  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);
  local_30[0] = iVar4;
  if (iVar4 == 0) {
    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);
LAB_0009567c:
    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_000a39d0();
    }
    return uVar2;
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);
  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {
    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);
    if (local_30[1] == 0) {
      FUN_0008eca0(iVar4);
      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  else {
    local_30[1] = 0;
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);
  if (*(char *)*puVar3 == '\0') {
    local_30[2] = 0;
  }
  else {
    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);
    if (local_30[2] == 0) {
      FUN_0008eca0(iVar4);
      if (local_30[1] != 0) {
        FUN_0008eca0(local_30[1]);
      }
      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);
  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {
    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);
    if (local_30[3] == 0) {
      FUN_0008eca0(iVar4);
      if (local_30[1] != 0) {
        FUN_0008eca0(local_30[1]);
      }
      if (local_30[2] != 0) {
        FUN_0008eca0(local_30[2]);
      }
      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  else {
    local_30[3] = 0;
  }
  iVar8 = 0;
  iVar1 = *(int *)(param_1 + 0x3c);
  if (iVar1 == 0) goto LAB_000955d3;
  do {
    FUN_0008eca0(iVar1);
LAB_000955d3:
    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;
    while( true ) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 4) {
        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);
        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);
        *(undefined4 *)(param_1 + 0xce0) = uVar2;
        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);
        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);
        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);
        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);
        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);
        *(undefined4 *)(param_1 + 0xcb8) = uVar2;
        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);
        uVar2 = 0;
        goto LAB_0009567c;
      }
      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);
      iVar4 = local_30[iVar8];
      if (iVar1 != 0) break;
      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c4f0
ADD EBX,0x7b2b7
SUB ESP,0x44
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x34],EAX
XOR EAX,EAX
MOV EBP,dword ptr [ESP + 0x58]
PUSH 0xb1
PUSH dword ptr [EBP + 0x2238]
CALL 0x0001fb70
POP ECX
POP ESI
PUSH 0xb5
PUSH dword ptr [EBP + 0x2238]
MOV EDI,EAX
CALL 0x0001fb70
MOV dword ptr [ESP + 0x1c],EAX
MOV ESI,EAX
POP EAX
POP EDX
PUSH 0x75
PUSH dword ptr [EBP + 0x2238]
CALL 0x000201c0
POP ECX
POP EDX
PUSH EDI
PUSH ESI
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EAX]
MOV dword ptr [ESP + 0x24],EAX
PUSH dword ptr [EBP + 0x4]
CALL 0x0008ecc0
MOV dword ptr [ESP + 0x3c],EAX
ADD ESP,0x20
TEST EAX,EAX
MOV ECX,dword ptr [ESP + 0x8]
JZ 0x000957d0
SUB ESP,0x8
MOV ESI,EAX
PUSH 0xb2
PUSH dword ptr [EBP + 0x2238]
CALL 0x000201c0
ADD ESP,0x10
MOV ECX,EAX
TEST EDI,EDI
JZ 0x00095698
MOV dword ptr [ESP + 0x20],0x0
SUB ESP,0x8
PUSH 0xb3
PUSH dword ptr [EBP + 0x2238]
CALL 0x000201c0
ADD ESP,0x10
MOV ECX,EAX
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX],0x0
JNZ 0x00095700
MOV dword ptr [ESP + 0x24],0x0
SUB ESP,0x8
PUSH 0xb4
PUSH dword ptr [EBP + 0x2238]
CALL 0x000201c0
ADD ESP,0x10
MOV ECX,EAX
TEST EDI,EDI
JNZ 0x000956f0
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX],0x0
JZ 0x000956f0
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
PUSH 0x1
PUSH 0x1
PUSH EAX
PUSH dword ptr [EBP + 0x4]
CALL 0x0008ecc0
MOV dword ptr [ESP + 0x48],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00095770
XOR EDI,EDI
MOV EAX,dword ptr [EBP + EDI*0x4 + 0x3c]
TEST EAX,EAX
JZ 0x000955d3
SUB ESP,0xc
PUSH EAX
CALL 0x0008eca0
ADD ESP,0x10
MOV dword ptr [EBP + EDI*0x4 + 0x3c],ESI
ADD EDI,0x1
CMP EDI,0x4
JZ 0x000955f7
MOV EAX,dword ptr [EBP + EDI*0x4 + 0x3c]
MOV ESI,dword ptr [ESP + EDI*0x4 + 0x1c]
TEST EAX,EAX
JNZ 0x000955c7
MOV dword ptr [EBP + EDI*0x4 + 0x3c],ESI
ADD EDI,0x1
CMP EDI,0x4
JNZ 0x000955df
MOV EAX,dword ptr [EBP + 0x3c]
SUB ESP,0x8
MOV ECX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [EBP + 0xcdc],ECX
MOV dword ptr [EBP + 0xce0],EAX
PUSH 0x90
PUSH dword ptr [EBP + 0x2238]
CALL 0x0001fb70
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EBP + 0x3c]
MOV EDI,dword ptr [EAX + 0x4]
POP EAX
POP EDX
PUSH 0x93
PUSH dword ptr [EBP + 0x2238]
CALL 0x0001fb70
POP ECX
MOV ESI,EAX
POP EAX
PUSH 0x91
PUSH dword ptr [EBP + 0x2238]
CALL 0x0001fd20
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP],EDX
PUSH EDI
PUSH ESI
PUSH EAX
LEA EAX,[EBP + 0xd28]
PUSH EAX
CALL 0x000a0fd0
ADD ESP,0x20
MOV dword ptr [EBP + 0xcb8],EAX
MOV EAX,dword ptr [EBP + 0x3c]
MOV EAX,dword ptr [EAX + 0x1c]
MOV dword ptr [EBP + 0x225c],EAX
XOR EAX,EAX
MOV EDX,dword ptr [ESP + 0x2c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x000957e9
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX],0x0
JZ 0x00095536
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
PUSH 0x1
PUSH 0x0
PUSH EAX
PUSH dword ptr [EBP + 0x4]
CALL 0x0008ecc0
MOV dword ptr [ESP + 0x40],EAX
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x0009553e
SUB ESP,0xc
PUSH ESI
CALL 0x0008eca0
POP EAX
POP EDX
LEA EAX,[EBX + 0xfffbc544]
MOV ECX,dword ptr [ESP + 0x10]
PUSH dword ptr [ECX]
PUSH EAX
CALL 0x0002edf0
ADD ESP,0x10
JMP 0x0009567c
MOV dword ptr [ESP + 0x28],0x0
JMP 0x000955bd
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESP + 0x18]
PUSH 0x0
PUSH 0x1
PUSH EAX
PUSH dword ptr [EBP + 0x4]
CALL 0x0008ecc0
MOV dword ptr [ESP + 0x44],EAX
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x00095569
SUB ESP,0xc
PUSH ESI
CALL 0x0008eca0
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00095750
SUB ESP,0xc
PUSH EAX
CALL 0x0008eca0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
SUB ESP,0x8
LEA EAX,[EBX + 0xfffbc562]
PUSH dword ptr [ECX]
PUSH EAX
CALL 0x0002edf0
ADD ESP,0x10
JMP 0x0009567c
SUB ESP,0xc
PUSH ESI
CALL 0x0008eca0
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00095798
SUB ESP,0xc
PUSH EAX
CALL 0x0008eca0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x24]
TEST EAX,EAX
JZ 0x000957b4
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0xc
PUSH EAX
CALL 0x0008eca0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
SUB ESP,0x8
LEA EAX,[EBX + 0xfffbc780]
PUSH dword ptr [ECX]
PUSH EAX
CALL 0x0002edf0
ADD ESP,0x10
JMP 0x0009567c
SUB ESP,0x8
LEA EAX,[EBX + 0xfffbc52b]
PUSH dword ptr [ECX]
PUSH EAX
CALL 0x0002edf0
ADD ESP,0x10
JMP 0x0009567c
CALL 0x000a39d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00095490(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}\n\n" comment (function_definition "undefined4 FUN_00095490(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_00095490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_30 [7];" primitive_type (array_declarator "local_30 [7]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x95499;" (assignment_expression "uStack_14 = 0x95499" identifier = number_literal) ;) (expression_statement "local_30[4] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_30[4] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);" (assignment_expression "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);" (assignment_expression "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb5)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x75)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (expression_statement "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);" (assignment_expression "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" identifier = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*puVar3" * identifier) , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "local_30[0] = iVar4;" (assignment_expression "local_30[0] = iVar4" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load font \"%s\"",*puVar3)" identifier (argument_list "("unable to load font \"%s\"",*puVar3)" ( (string_literal ""unable to load font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (labeled_statement "LAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }" statement_identifier : (if_statement "if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }" if (parenthesized_expression "(local_30[4] != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_30[4] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" identifier [ number_literal ]) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000a39d0();\n    }" { comment (expression_statement "FUN_000a39d0();" (call_expression "FUN_000a39d0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" ( (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)*puVar3 != '\0')" ( (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);" (assignment_expression "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" (subscript_expression "local_30[1]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[1] == 0)" ( (binary_expression "local_30[1] == 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" identifier (argument_list "("unable to load bold font \"%s\"",*puVar3)" ( (string_literal ""unable to load bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_30[1] = 0;\n  }" else (compound_statement "{\n    local_30[1] = 0;\n  }" { (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" if (parenthesized_expression "(*(char *)*puVar3 == '\0')" ( (binary_expression "*(char *)*puVar3 == '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_30[2] = 0;\n  }" { (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" else (compound_statement "{\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);" (assignment_expression "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" (subscript_expression "local_30[2]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[2] == 0)" ( (binary_expression "local_30[2] == 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" if (parenthesized_expression "(local_30[1] != 0)" ( (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" { (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" identifier (argument_list "(local_30[1])" ( (subscript_expression "local_30[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" identifier (argument_list "("unable to load wide font \"%s\"",*puVar3)" ( (string_literal ""unable to load wide font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" ( (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)*puVar3 != '\0')" ( (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);" (assignment_expression "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" (subscript_expression "local_30[3]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[3] == 0)" ( (binary_expression "local_30[3] == 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" if (parenthesized_expression "(local_30[1] != 0)" ( (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" { (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" identifier (argument_list "(local_30[1])" ( (subscript_expression "local_30[1]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }" if (parenthesized_expression "(local_30[2] != 0)" ( (binary_expression "local_30[2] != 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[2]);\n      }" { (expression_statement "FUN_0008eca0(local_30[2]);" (call_expression "FUN_0008eca0(local_30[2])" identifier (argument_list "(local_30[2])" ( (subscript_expression "local_30[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" identifier (argument_list "("unable to load wide bold font \"%s\"",*puVar3)" ( (string_literal ""unable to load wide bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_30[3] = 0;\n  }" else (compound_statement "{\n    local_30[3] = 0;\n  }" { (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_000955d3;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000955d3;" goto statement_identifier ;)) (do_statement "do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );" do (compound_statement "{\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  }" { (expression_statement "FUN_0008eca0(iVar1);" (call_expression "FUN_0008eca0(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (labeled_statement "LAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" statement_identifier : (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;)) (while_statement "while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" if (parenthesized_expression "(iVar8 == 4)" ( (binary_expression "iVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" * (cast_expression "(undefined4 *)(param_1 + 0xcdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcdc)" ( (binary_expression "param_1 + 0xcdc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 8)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 8" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xce0) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xce0) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" * (cast_expression "(undefined4 *)(param_1 + 0xce0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xce0)" ( (binary_expression "param_1 + 0xce0" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);" (assignment_expression "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x90)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 4)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 4" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);" (assignment_expression "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x93)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);" (assignment_expression "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" identifier = (call_expression "FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x91)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);" (assignment_expression "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" identifier = (call_expression "FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" identifier (argument_list "(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" ( (binary_expression "param_1 + 0xd28" identifier + number_literal) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xcb8) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcb8) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xcb8)" * (cast_expression "(undefined4 *)(param_1 + 0xcb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcb8)" ( (binary_expression "param_1 + 0xcb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);" (assignment_expression "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" (pointer_expression "*(undefined4 *)(param_1 + 0x225c)" * (cast_expression "(undefined4 *)(param_1 + 0x225c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x225c)" ( (binary_expression "param_1 + 0x225c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = local_30[iVar8];" (assignment_expression "iVar4 = local_30[iVar8]" identifier = (subscript_expression "local_30[iVar8]" identifier [ identifier ])) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * setup_fonts_ucs(gui_data *inst)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  FontSpec *pFVar4;\n  unifont *font;\n  unifont *font_00;\n  int utf8_override;\n  char *pcVar5;\n  int in_GS_OFFSET;\n  unifont *fonts [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = conf_get_int(inst->conf,0xb1);\n  iVar3 = conf_get_int(inst->conf,0xb5);\n  pFVar4 = conf_get_fontspec(inst->conf,0x75);\n  font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2);\n  fonts[0] = font;\n  if (font == (unifont *)0x0) {\n    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);\nLAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return pcVar5;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb2);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);\n    if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[1] = (unifont *)0x0;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb3);\n  if (*pFVar4->name == '\0') {\n    fonts[2] = (unifont *)0x0;\n  }\n  else {\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb4);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);\n    if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[3] = (unifont *)0x0;\n  }\n  iVar2 = 0;\n  font_00 = inst->fonts[0];\n  if (font_00 == (unifont *)0x0) goto LAB_000955d3;\n  do {\n    unifont_destroy(font_00);\nLAB_000955d3:\n    inst->fonts[iVar2] = font;\n    iVar3 = iVar2;\n    while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }\n  } while( true );\n}\n\n" comment comment comment (function_definition "char * setup_fonts_ucs(gui_data *inst)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  FontSpec *pFVar4;\n  unifont *font;\n  unifont *font_00;\n  int utf8_override;\n  char *pcVar5;\n  int in_GS_OFFSET;\n  unifont *fonts [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = conf_get_int(inst->conf,0xb1);\n  iVar3 = conf_get_int(inst->conf,0xb5);\n  pFVar4 = conf_get_fontspec(inst->conf,0x75);\n  font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2);\n  fonts[0] = font;\n  if (font == (unifont *)0x0) {\n    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);\nLAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return pcVar5;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb2);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);\n    if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[1] = (unifont *)0x0;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb3);\n  if (*pFVar4->name == '\0') {\n    fonts[2] = (unifont *)0x0;\n  }\n  else {\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb4);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);\n    if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[3] = (unifont *)0x0;\n  }\n  iVar2 = 0;\n  font_00 = inst->fonts[0];\n  if (font_00 == (unifont *)0x0) goto LAB_000955d3;\n  do {\n    unifont_destroy(font_00);\nLAB_000955d3:\n    inst->fonts[iVar2] = font;\n    iVar3 = iVar2;\n    while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* setup_fonts_ucs(gui_data *inst)" * (function_declarator "setup_fonts_ucs(gui_data *inst)" identifier (parameter_list "(gui_data *inst)" ( (parameter_declaration "gui_data *inst" type_identifier (pointer_declarator "*inst" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  FontSpec *pFVar4;\n  unifont *font;\n  unifont *font_00;\n  int utf8_override;\n  char *pcVar5;\n  int in_GS_OFFSET;\n  unifont *fonts [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = conf_get_int(inst->conf,0xb1);\n  iVar3 = conf_get_int(inst->conf,0xb5);\n  pFVar4 = conf_get_fontspec(inst->conf,0x75);\n  font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2);\n  fonts[0] = font;\n  if (font == (unifont *)0x0) {\n    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);\nLAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return pcVar5;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb2);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);\n    if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[1] = (unifont *)0x0;\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb3);\n  if (*pFVar4->name == '\0') {\n    fonts[2] = (unifont *)0x0;\n  }\n  else {\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  pFVar4 = conf_get_fontspec(inst->conf,0xb4);\n  if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);\n    if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[3] = (unifont *)0x0;\n  }\n  iVar2 = 0;\n  font_00 = inst->fonts[0];\n  if (font_00 == (unifont *)0x0) goto LAB_000955d3;\n  do {\n    unifont_destroy(font_00);\nLAB_000955d3:\n    inst->fonts[iVar2] = font;\n    iVar3 = iVar2;\n    while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "FontSpec *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (declaration "unifont *font;" type_identifier (pointer_declarator "*font" * identifier) ;) (declaration "unifont *font_00;" type_identifier (pointer_declarator "*font_00" * identifier) ;) (declaration "int utf8_override;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "unifont *fonts [4];" type_identifier (pointer_declarator "*fonts [4]" * (array_declarator "fonts [4]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = conf_get_int(inst->conf,0xb1);" (assignment_expression "iVar2 = conf_get_int(inst->conf,0xb1)" identifier = (call_expression "conf_get_int(inst->conf,0xb1)" identifier (argument_list "(inst->conf,0xb1)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar3 = conf_get_int(inst->conf,0xb5);" (assignment_expression "iVar3 = conf_get_int(inst->conf,0xb5)" identifier = (call_expression "conf_get_int(inst->conf,0xb5)" identifier (argument_list "(inst->conf,0xb5)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "pFVar4 = conf_get_fontspec(inst->conf,0x75);" (assignment_expression "pFVar4 = conf_get_fontspec(inst->conf,0x75)" identifier = (call_expression "conf_get_fontspec(inst->conf,0x75)" identifier (argument_list "(inst->conf,0x75)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2);" (assignment_expression "font = multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2)" identifier = (call_expression "multifont_create(inst->area,pFVar4->name,0,0,iVar3,iVar2)" identifier (argument_list "(inst->area,pFVar4->name,0,0,iVar3,iVar2)" ( (field_expression "inst->area" identifier -> field_identifier) , (field_expression "pFVar4->name" identifier -> field_identifier) , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "fonts[0] = font;" (assignment_expression "fonts[0] = font" (subscript_expression "fonts[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (font == (unifont *)0x0) {\n    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);\nLAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return pcVar5;\n  }" if (parenthesized_expression "(font == (unifont *)0x0)" ( (binary_expression "font == (unifont *)0x0" identifier == (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);\nLAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return pcVar5;\n  }" { (expression_statement "pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name);" (assignment_expression "pcVar5 = dupprintf("unable to load font \"%s\"",pFVar4->name)" identifier = (call_expression "dupprintf("unable to load font \"%s\"",pFVar4->name)" identifier (argument_list "("unable to load font \"%s\"",pFVar4->name)" ( (string_literal ""unable to load font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (field_expression "pFVar4->name" identifier -> field_identifier) )))) ;) (labeled_statement "LAB_0009567c:\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return pcVar5;" return identifier ;) })) (expression_statement "pFVar4 = conf_get_fontspec(inst->conf,0xb2);" (assignment_expression "pFVar4 = conf_get_fontspec(inst->conf,0xb2)" identifier = (call_expression "conf_get_fontspec(inst->conf,0xb2)" identifier (argument_list "(inst->conf,0xb2)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);\n    if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[1] = (unifont *)0x0;\n  }" if (parenthesized_expression "((iVar2 == 0) && (*pFVar4->name != '\0'))" ( (binary_expression "(iVar2 == 0) && (*pFVar4->name != '\0')" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(*pFVar4->name != '\0')" ( (binary_expression "*pFVar4->name != '\0'" (pointer_expression "*pFVar4->name" * (field_expression "pFVar4->name" identifier -> field_identifier)) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);\n    if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0);" (assignment_expression "fonts[1] = multifont_create(inst->area,pFVar4->name,0,1,iVar3,0)" (subscript_expression "fonts[1]" identifier [ number_literal ]) = (call_expression "multifont_create(inst->area,pFVar4->name,0,1,iVar3,0)" identifier (argument_list "(inst->area,pFVar4->name,0,1,iVar3,0)" ( (field_expression "inst->area" identifier -> field_identifier) , (field_expression "pFVar4->name" identifier -> field_identifier) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (fonts[1] == (unifont *)0x0) {\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(fonts[1] == (unifont *)0x0)" ( (binary_expression "fonts[1] == (unifont *)0x0" (subscript_expression "fonts[1]" identifier [ number_literal ]) == (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unifont_destroy(font);\n      pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" { (expression_statement "unifont_destroy(font);" (call_expression "unifont_destroy(font)" identifier (argument_list "(font)" ( identifier ))) ;) (expression_statement "pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name);" (assignment_expression "pcVar5 = dupprintf("unable to load bold font \"%s\"",pFVar4->name)" identifier = (call_expression "dupprintf("unable to load bold font \"%s\"",pFVar4->name)" identifier (argument_list "("unable to load bold font \"%s\"",pFVar4->name)" ( (string_literal ""unable to load bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (field_expression "pFVar4->name" identifier -> field_identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    fonts[1] = (unifont *)0x0;\n  }" else (compound_statement "{\n    fonts[1] = (unifont *)0x0;\n  }" { (expression_statement "fonts[1] = (unifont *)0x0;" (assignment_expression "fonts[1] = (unifont *)0x0" (subscript_expression "fonts[1]" identifier [ number_literal ]) = (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "pFVar4 = conf_get_fontspec(inst->conf,0xb3);" (assignment_expression "pFVar4 = conf_get_fontspec(inst->conf,0xb3)" identifier = (call_expression "conf_get_fontspec(inst->conf,0xb3)" identifier (argument_list "(inst->conf,0xb3)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if (*pFVar4->name == '\0') {\n    fonts[2] = (unifont *)0x0;\n  }\n  else {\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }" if (parenthesized_expression "(*pFVar4->name == '\0')" ( (binary_expression "*pFVar4->name == '\0'" (pointer_expression "*pFVar4->name" * (field_expression "pFVar4->name" identifier -> field_identifier)) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    fonts[2] = (unifont *)0x0;\n  }" { (expression_statement "fonts[2] = (unifont *)0x0;" (assignment_expression "fonts[2] = (unifont *)0x0" (subscript_expression "fonts[2]" identifier [ number_literal ]) = (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }" else (compound_statement "{\n    fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);\n    if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2);" (assignment_expression "fonts[2] = multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2)" (subscript_expression "fonts[2]" identifier [ number_literal ]) = (call_expression "multifont_create(inst->area,pFVar4->name,1,0,iVar3,iVar2)" identifier (argument_list "(inst->area,pFVar4->name,1,0,iVar3,iVar2)" ( (field_expression "inst->area" identifier -> field_identifier) , (field_expression "pFVar4->name" identifier -> field_identifier) , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (fonts[2] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(fonts[2] == (unifont *)0x0)" ( (binary_expression "fonts[2] == (unifont *)0x0" (subscript_expression "fonts[2]" identifier [ number_literal ]) == (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" { (expression_statement "unifont_destroy(font);" (call_expression "unifont_destroy(font)" identifier (argument_list "(font)" ( identifier ))) ;) (if_statement "if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }" if (parenthesized_expression "(fonts[1] != (unifont *)0x0)" ( (binary_expression "fonts[1] != (unifont *)0x0" (subscript_expression "fonts[1]" identifier [ number_literal ]) != (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        unifont_destroy(fonts[1]);\n      }" { (expression_statement "unifont_destroy(fonts[1]);" (call_expression "unifont_destroy(fonts[1])" identifier (argument_list "(fonts[1])" ( (subscript_expression "fonts[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name);" (assignment_expression "pcVar5 = dupprintf("unable to load wide font \"%s\"",pFVar4->name)" identifier = (call_expression "dupprintf("unable to load wide font \"%s\"",pFVar4->name)" identifier (argument_list "("unable to load wide font \"%s\"",pFVar4->name)" ( (string_literal ""unable to load wide font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (field_expression "pFVar4->name" identifier -> field_identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }))) (expression_statement "pFVar4 = conf_get_fontspec(inst->conf,0xb4);" (assignment_expression "pFVar4 = conf_get_fontspec(inst->conf,0xb4)" identifier = (call_expression "conf_get_fontspec(inst->conf,0xb4)" identifier (argument_list "(inst->conf,0xb4)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if ((iVar2 == 0) && (*pFVar4->name != '\0')) {\n    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);\n    if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    fonts[3] = (unifont *)0x0;\n  }" if (parenthesized_expression "((iVar2 == 0) && (*pFVar4->name != '\0'))" ( (binary_expression "(iVar2 == 0) && (*pFVar4->name != '\0')" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(*pFVar4->name != '\0')" ( (binary_expression "*pFVar4->name != '\0'" (pointer_expression "*pFVar4->name" * (field_expression "pFVar4->name" identifier -> field_identifier)) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);\n    if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0);" (assignment_expression "fonts[3] = multifont_create(inst->area,pFVar4->name,1,1,iVar3,0)" (subscript_expression "fonts[3]" identifier [ number_literal ]) = (call_expression "multifont_create(inst->area,pFVar4->name,1,1,iVar3,0)" identifier (argument_list "(inst->area,pFVar4->name,1,1,iVar3,0)" ( (field_expression "inst->area" identifier -> field_identifier) , (field_expression "pFVar4->name" identifier -> field_identifier) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (fonts[3] == (unifont *)0x0) {\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(fonts[3] == (unifont *)0x0)" ( (binary_expression "fonts[3] == (unifont *)0x0" (subscript_expression "fonts[3]" identifier [ number_literal ]) == (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unifont_destroy(font);\n      if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }\n      if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }\n      pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);\n      goto LAB_0009567c;\n    }" { (expression_statement "unifont_destroy(font);" (call_expression "unifont_destroy(font)" identifier (argument_list "(font)" ( identifier ))) ;) (if_statement "if (fonts[1] != (unifont *)0x0) {\n        unifont_destroy(fonts[1]);\n      }" if (parenthesized_expression "(fonts[1] != (unifont *)0x0)" ( (binary_expression "fonts[1] != (unifont *)0x0" (subscript_expression "fonts[1]" identifier [ number_literal ]) != (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        unifont_destroy(fonts[1]);\n      }" { (expression_statement "unifont_destroy(fonts[1]);" (call_expression "unifont_destroy(fonts[1])" identifier (argument_list "(fonts[1])" ( (subscript_expression "fonts[1]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (fonts[2] != (unifont *)0x0) {\n        unifont_destroy(fonts[2]);\n      }" if (parenthesized_expression "(fonts[2] != (unifont *)0x0)" ( (binary_expression "fonts[2] != (unifont *)0x0" (subscript_expression "fonts[2]" identifier [ number_literal ]) != (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        unifont_destroy(fonts[2]);\n      }" { (expression_statement "unifont_destroy(fonts[2]);" (call_expression "unifont_destroy(fonts[2])" identifier (argument_list "(fonts[2])" ( (subscript_expression "fonts[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name);" (assignment_expression "pcVar5 = dupprintf("unable to load wide bold font \"%s\"",pFVar4->name)" identifier = (call_expression "dupprintf("unable to load wide bold font \"%s\"",pFVar4->name)" identifier (argument_list "("unable to load wide bold font \"%s\"",pFVar4->name)" ( (string_literal ""unable to load wide bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (field_expression "pFVar4->name" identifier -> field_identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    fonts[3] = (unifont *)0x0;\n  }" else (compound_statement "{\n    fonts[3] = (unifont *)0x0;\n  }" { (expression_statement "fonts[3] = (unifont *)0x0;" (assignment_expression "fonts[3] = (unifont *)0x0" (subscript_expression "fonts[3]" identifier [ number_literal ]) = (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "font_00 = inst->fonts[0];" (assignment_expression "font_00 = inst->fonts[0]" identifier = (subscript_expression "inst->fonts[0]" (field_expression "inst->fonts" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (font_00 == (unifont *)0x0) goto LAB_000955d3;" if (parenthesized_expression "(font_00 == (unifont *)0x0)" ( (binary_expression "font_00 == (unifont *)0x0" identifier == (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000955d3;" goto statement_identifier ;)) (do_statement "do {\n    unifont_destroy(font_00);\nLAB_000955d3:\n    inst->fonts[iVar2] = font;\n    iVar3 = iVar2;\n    while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }\n  } while( true );" do (compound_statement "{\n    unifont_destroy(font_00);\nLAB_000955d3:\n    inst->fonts[iVar2] = font;\n    iVar3 = iVar2;\n    while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }\n  }" { (expression_statement "unifont_destroy(font_00);" (call_expression "unifont_destroy(font_00)" identifier (argument_list "(font_00)" ( identifier ))) ;) (labeled_statement "LAB_000955d3:\n    inst->fonts[iVar2] = font;" statement_identifier : (expression_statement "inst->fonts[iVar2] = font;" (assignment_expression "inst->fonts[iVar2] = font" (subscript_expression "inst->fonts[iVar2]" (field_expression "inst->fonts" identifier -> field_identifier) [ identifier ]) = identifier) ;)) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar2 = iVar3 + 1;\n      if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }\n      font_00 = inst->fonts[iVar3 + 1];\n      font = fonts[iVar2];\n      if (font_00 != (unifont *)0x0) break;\n      inst->fonts[iVar3 + 1] = font;\n      iVar3 = iVar2;\n    }" { (expression_statement "iVar2 = iVar3 + 1;" (assignment_expression "iVar2 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 4) {\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }" if (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) (compound_statement "{\n        iVar2 = inst->fonts[0]->height;\n        inst->font_width = inst->fonts[0]->width;\n        inst->font_height = iVar2;\n        iVar3 = conf_get_int(inst->conf,0x90);\n        iVar2 = inst->fonts[0]->public_charset;\n        utf8_override = conf_get_int(inst->conf,0x93);\n        pcVar5 = conf_get_str(inst->conf,0x91);\n        iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);\n        inst->direct_to_font = iVar2;\n        inst->drawtype = inst->fonts[0]->preferred_drawtype;\n        pcVar5 = (char *)0x0;\n        goto LAB_0009567c;\n      }" { (expression_statement "iVar2 = inst->fonts[0]->height;" (assignment_expression "iVar2 = inst->fonts[0]->height" identifier = (field_expression "inst->fonts[0]->height" (subscript_expression "inst->fonts[0]" (field_expression "inst->fonts" identifier -> field_identifier) [ number_literal ]) -> field_identifier)) ;) (expression_statement "inst->font_width = inst->fonts[0]->width;" (assignment_expression "inst->font_width = inst->fonts[0]->width" (field_expression "inst->font_width" identifier -> field_identifier) = (field_expression "inst->fonts[0]->width" (subscript_expression "inst->fonts[0]" (field_expression "inst->fonts" identifier -> field_identifier) [ number_literal ]) -> field_identifier)) ;) (expression_statement "inst->font_height = iVar2;" (assignment_expression "inst->font_height = iVar2" (field_expression "inst->font_height" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar3 = conf_get_int(inst->conf,0x90);" (assignment_expression "iVar3 = conf_get_int(inst->conf,0x90)" identifier = (call_expression "conf_get_int(inst->conf,0x90)" identifier (argument_list "(inst->conf,0x90)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar2 = inst->fonts[0]->public_charset;" (assignment_expression "iVar2 = inst->fonts[0]->public_charset" identifier = (field_expression "inst->fonts[0]->public_charset" (subscript_expression "inst->fonts[0]" (field_expression "inst->fonts" identifier -> field_identifier) [ number_literal ]) -> field_identifier)) ;) (expression_statement "utf8_override = conf_get_int(inst->conf,0x93);" (assignment_expression "utf8_override = conf_get_int(inst->conf,0x93)" identifier = (call_expression "conf_get_int(inst->conf,0x93)" identifier (argument_list "(inst->conf,0x93)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "pcVar5 = conf_get_str(inst->conf,0x91);" (assignment_expression "pcVar5 = conf_get_str(inst->conf,0x91)" identifier = (call_expression "conf_get_str(inst->conf,0x91)" identifier (argument_list "(inst->conf,0x91)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3);" (assignment_expression "iVar2 = init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3)" identifier = (call_expression "init_ucs(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3)" identifier (argument_list "(&inst->ucsdata,pcVar5,utf8_override,iVar2,iVar3)" ( (pointer_expression "&inst->ucsdata" & (field_expression "inst->ucsdata" identifier -> field_identifier)) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "inst->direct_to_font = iVar2;" (assignment_expression "inst->direct_to_font = iVar2" (field_expression "inst->direct_to_font" identifier -> field_identifier) = identifier) ;) (expression_statement "inst->drawtype = inst->fonts[0]->preferred_drawtype;" (assignment_expression "inst->drawtype = inst->fonts[0]->preferred_drawtype" (field_expression "inst->drawtype" identifier -> field_identifier) = (field_expression "inst->fonts[0]->preferred_drawtype" (subscript_expression "inst->fonts[0]" (field_expression "inst->fonts" identifier -> field_identifier) [ number_literal ]) -> field_identifier)) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) (expression_statement "font_00 = inst->fonts[iVar3 + 1];" (assignment_expression "font_00 = inst->fonts[iVar3 + 1]" identifier = (subscript_expression "inst->fonts[iVar3 + 1]" (field_expression "inst->fonts" identifier -> field_identifier) [ (binary_expression "iVar3 + 1" identifier + number_literal) ])) ;) (expression_statement "font = fonts[iVar2];" (assignment_expression "font = fonts[iVar2]" identifier = (subscript_expression "fonts[iVar2]" identifier [ identifier ])) ;) (if_statement "if (font_00 != (unifont *)0x0) break;" if (parenthesized_expression "(font_00 != (unifont *)0x0)" ( (binary_expression "font_00 != (unifont *)0x0" identifier != (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "inst->fonts[iVar3 + 1] = font;" (assignment_expression "inst->fonts[iVar3 + 1] = font" (subscript_expression "inst->fonts[iVar3 + 1]" (field_expression "inst->fonts" identifier -> field_identifier) [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_00095490(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00095490(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_00095490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_30 [7];" primitive_type (array_declarator "local_30 [7]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x95499;" (assignment_expression "uStack_14 = 0x95499" identifier = number_literal) ;) (expression_statement "local_30[4] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_30[4] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);" (assignment_expression "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);" (assignment_expression "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb5)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x75)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (expression_statement "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);" (assignment_expression "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" identifier = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*puVar3" * identifier) , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "local_30[0] = iVar4;" (assignment_expression "local_30[0] = iVar4" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load font \"%s\"",*puVar3)" identifier (argument_list "("unable to load font \"%s\"",*puVar3)" ( (string_literal ""unable to load font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (labeled_statement "LAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }" statement_identifier : (if_statement "if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }" if (parenthesized_expression "(local_30[4] != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_30[4] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" identifier [ number_literal ]) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n      FUN_000a39d0();\n    }" { (expression_statement "FUN_000a39d0();" (call_expression "FUN_000a39d0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" ( (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)*puVar3 != '\0')" ( (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);" (assignment_expression "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" (subscript_expression "local_30[1]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[1] == 0)" ( (binary_expression "local_30[1] == 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" identifier (argument_list "("unable to load bold font \"%s\"",*puVar3)" ( (string_literal ""unable to load bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_30[1] = 0;\n  }" else (compound_statement "{\n    local_30[1] = 0;\n  }" { (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" if (parenthesized_expression "(*(char *)*puVar3 == '\0')" ( (binary_expression "*(char *)*puVar3 == '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_30[2] = 0;\n  }" { (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" else (compound_statement "{\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);" (assignment_expression "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" (subscript_expression "local_30[2]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[2] == 0)" ( (binary_expression "local_30[2] == 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" if (parenthesized_expression "(local_30[1] != 0)" ( (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" { (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" identifier (argument_list "(local_30[1])" ( (subscript_expression "local_30[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" identifier (argument_list "("unable to load wide font \"%s\"",*puVar3)" ( (string_literal ""unable to load wide font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" identifier = (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" ( (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)*puVar3 != '\0')" ( (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" * (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" { (expression_statement "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);" (assignment_expression "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" (subscript_expression "local_30[3]" identifier [ number_literal ]) = (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , number_literal , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" if (parenthesized_expression "(local_30[3] == 0)" ( (binary_expression "local_30[3] == 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" { (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" if (parenthesized_expression "(local_30[1] != 0)" ( (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" { (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" identifier (argument_list "(local_30[1])" ( (subscript_expression "local_30[1]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }" if (parenthesized_expression "(local_30[2] != 0)" ( (binary_expression "local_30[2] != 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_0008eca0(local_30[2]);\n      }" { (expression_statement "FUN_0008eca0(local_30[2]);" (call_expression "FUN_0008eca0(local_30[2])" identifier (argument_list "(local_30[2])" ( (subscript_expression "local_30[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" identifier = (call_expression "FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" identifier (argument_list "("unable to load wide bold font \"%s\"",*puVar3)" ( (string_literal ""unable to load wide bold font \"%s\""" " string_content escape_sequence string_content escape_sequence ") , (pointer_expression "*puVar3" * identifier) )))) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_30[3] = 0;\n  }" else (compound_statement "{\n    local_30[3] = 0;\n  }" { (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_000955d3;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000955d3;" goto statement_identifier ;)) (do_statement "do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );" do (compound_statement "{\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  }" { (expression_statement "FUN_0008eca0(iVar1);" (call_expression "FUN_0008eca0(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (labeled_statement "LAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" statement_identifier : (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;)) (while_statement "while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" if (parenthesized_expression "(iVar8 == 4)" ( (binary_expression "iVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" * (cast_expression "(undefined4 *)(param_1 + 0xcdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcdc)" ( (binary_expression "param_1 + 0xcdc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 8)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 8" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xce0) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xce0) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" * (cast_expression "(undefined4 *)(param_1 + 0xce0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xce0)" ( (binary_expression "param_1 + 0xce0" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);" (assignment_expression "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x90)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 4)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 4" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);" (assignment_expression "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" identifier = (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x93)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);" (assignment_expression "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" identifier = (call_expression "FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x91)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" * (cast_expression "(undefined4 *)(param_1 + 0x2238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2238)" ( (binary_expression "param_1 + 0x2238" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);" (assignment_expression "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" identifier = (call_expression "FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" identifier (argument_list "(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" ( (binary_expression "param_1 + 0xd28" identifier + number_literal) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xcb8) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcb8) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xcb8)" * (cast_expression "(undefined4 *)(param_1 + 0xcb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcb8)" ( (binary_expression "param_1 + 0xcb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);" (assignment_expression "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" (pointer_expression "*(undefined4 *)(param_1 + 0x225c)" * (cast_expression "(undefined4 *)(param_1 + 0x225c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x225c)" ( (binary_expression "param_1 + 0x225c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x3c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0009567c;" goto statement_identifier ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = local_30[iVar8];" (assignment_expression "iVar4 = local_30[iVar8]" identifier = (subscript_expression "local_30[iVar8]" identifier [ identifier ])) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" * (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" ( (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * IDENT) , LIT , LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , (pointer_expression * IDENT) )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , LIT , LIT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , (pointer_expression * IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , LIT , LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , (pointer_expression * IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , LIT , LIT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , (pointer_expression * IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_00095490(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_00095490(int param_1)" (identifier "FUN_00095490") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x95499;\n  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);\n  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);\n  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);\n  local_30[0] = iVar4;\n  if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);\n  if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);\n  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }\n  iVar8 = 0;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 == 0) goto LAB_000955d3;\n  do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_30 [7];" (primitive_type "int") (array_declarator "local_30 [7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x95499;" (assignment_expression "uStack_14 = 0x95499" (identifier "uStack_14") (= "=") (number_literal "0x95499")) (; ";")) (expression_statement "local_30[4] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_30[4] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);" (assignment_expression "iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" (identifier "iVar1") (= "=") (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1)" (identifier "FUN_0001fb70") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0xb1") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);" (assignment_expression "uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" (identifier "uVar2") (= "=") (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5)" (identifier "FUN_0001fb70") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb5)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0xb5") () ")")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75)" (identifier "FUN_000201c0") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x75)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0x75") () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);" (assignment_expression "iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" (identifier "iVar4") (= "=") (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" (identifier "FUN_0008ecc0") (argument_list "(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar2") (, ",") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "local_30[0] = iVar4;" (assignment_expression "local_30[0] = iVar4" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 == 0) {\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);\nLAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3)" (identifier "uVar2") (= "=") (call_expression "FUN_0002edf0("unable to load font \"%s\"",*puVar3)" (identifier "FUN_0002edf0") (argument_list "("unable to load font \"%s\"",*puVar3)" (( "(") (string_literal ""unable to load font \"%s\""" (" """) (string_content "unable to load font ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (labeled_statement "LAB_0009567c:\n    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }" (statement_identifier "LAB_0009567c") (: ":") (if_statement "if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000a39d0();\n    }" (if "if") (parenthesized_expression "(local_30[4] != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_30[4] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n      FUN_000a39d0();\n    }" ({ "{") (expression_statement "FUN_000a39d0();" (call_expression "FUN_000a39d0()" (identifier "FUN_000a39d0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2)" (identifier "FUN_000201c0") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0xb2") () ")"))))) (; ";")) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[1] = 0;\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" (( "(") (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)*puVar3 != '\0')" (( "(") (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" (* "*") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);\n    if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" ({ "{") (expression_statement "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);" (assignment_expression "local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" (identifier "FUN_0008ecc0") (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (identifier "uVar2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_30[1] == 0) {\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" (if "if") (parenthesized_expression "(local_30[1] == 0)" (( "(") (binary_expression "local_30[1] == 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" ({ "{") (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" (identifier "FUN_0008eca0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" (identifier "uVar2") (= "=") (call_expression "FUN_0002edf0("unable to load bold font \"%s\"",*puVar3)" (identifier "FUN_0002edf0") (argument_list "("unable to load bold font \"%s\"",*puVar3)" (( "(") (string_literal ""unable to load bold font \"%s\""" (" """) (string_content "unable to load bold font ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (goto_statement "goto LAB_0009567c;" (goto "goto") (statement_identifier "LAB_0009567c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_30[1] = 0;\n  }" (else "else") (compound_statement "{\n    local_30[1] = 0;\n  }" ({ "{") (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3)" (identifier "FUN_000201c0") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0xb3") () ")"))))) (; ";")) (if_statement "if (*(char *)*puVar3 == '\0') {\n    local_30[2] = 0;\n  }\n  else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)*puVar3 == '\0')" (( "(") (binary_expression "*(char *)*puVar3 == '\0'" (pointer_expression "*(char *)*puVar3" (* "*") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    local_30[2] = 0;\n  }" ({ "{") (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" (else "else") (compound_statement "{\n    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);\n    if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" ({ "{") (expression_statement "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);" (assignment_expression "local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" (identifier "FUN_0008ecc0") (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar2") (, ",") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (local_30[2] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" (if "if") (parenthesized_expression "(local_30[2] == 0)" (( "(") (binary_expression "local_30[2] == 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" ({ "{") (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" (identifier "FUN_0008eca0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" (if "if") (parenthesized_expression "(local_30[1] != 0)" (( "(") (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" ({ "{") (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" (identifier "FUN_0008eca0") (argument_list "(local_30[1])" (( "(") (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" (identifier "uVar2") (= "=") (call_expression "FUN_0002edf0("unable to load wide font \"%s\"",*puVar3)" (identifier "FUN_0002edf0") (argument_list "("unable to load wide font \"%s\"",*puVar3)" (( "(") (string_literal ""unable to load wide font \"%s\""" (" """) (string_content "unable to load wide font ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (goto_statement "goto LAB_0009567c;" (goto "goto") (statement_identifier "LAB_0009567c") (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);" (assignment_expression "puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4)" (identifier "FUN_000201c0") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0xb4)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0xb4") () ")"))))) (; ";")) (if_statement "if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }\n  else {\n    local_30[3] = 0;\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) && (*(char *)*puVar3 != '\0'))" (( "(") (binary_expression "(iVar1 == 0) && (*(char *)*puVar3 != '\0')" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)*puVar3 != '\0')" (( "(") (binary_expression "*(char *)*puVar3 != '\0'" (pointer_expression "*(char *)*puVar3" (* "*") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);\n    if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }\n  }" ({ "{") (expression_statement "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);" (assignment_expression "local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (= "=") (call_expression "FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" (identifier "FUN_0008ecc0") (argument_list "(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (identifier "uVar2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_30[3] == 0) {\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" (if "if") (parenthesized_expression "(local_30[3] == 0)" (( "(") (binary_expression "local_30[3] == 0" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0008eca0(iVar4);\n      if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }\n      if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }\n      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);\n      goto LAB_0009567c;\n    }" ({ "{") (expression_statement "FUN_0008eca0(iVar4);" (call_expression "FUN_0008eca0(iVar4)" (identifier "FUN_0008eca0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (if_statement "if (local_30[1] != 0) {\n        FUN_0008eca0(local_30[1]);\n      }" (if "if") (parenthesized_expression "(local_30[1] != 0)" (( "(") (binary_expression "local_30[1] != 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0008eca0(local_30[1]);\n      }" ({ "{") (expression_statement "FUN_0008eca0(local_30[1]);" (call_expression "FUN_0008eca0(local_30[1])" (identifier "FUN_0008eca0") (argument_list "(local_30[1])" (( "(") (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (local_30[2] != 0) {\n        FUN_0008eca0(local_30[2]);\n      }" (if "if") (parenthesized_expression "(local_30[2] != 0)" (( "(") (binary_expression "local_30[2] != 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0008eca0(local_30[2]);\n      }" ({ "{") (expression_statement "FUN_0008eca0(local_30[2]);" (call_expression "FUN_0008eca0(local_30[2])" (identifier "FUN_0008eca0") (argument_list "(local_30[2])" (( "(") (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);" (assignment_expression "uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" (identifier "uVar2") (= "=") (call_expression "FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3)" (identifier "FUN_0002edf0") (argument_list "("unable to load wide bold font \"%s\"",*puVar3)" (( "(") (string_literal ""unable to load wide bold font \"%s\""" (" """) (string_content "unable to load wide bold font ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (goto_statement "goto LAB_0009567c;" (goto "goto") (statement_identifier "LAB_0009567c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_30[3] = 0;\n  }" (else "else") (compound_statement "{\n    local_30[3] = 0;\n  }" ({ "{") (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_000955d3;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000955d3;" (goto "goto") (statement_identifier "LAB_000955d3") (; ";"))) (do_statement "do {\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    FUN_0008eca0(iVar1);\nLAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }\n  }" ({ "{") (expression_statement "FUN_0008eca0(iVar1);" (call_expression "FUN_0008eca0(iVar1)" (identifier "FUN_0008eca0") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (labeled_statement "LAB_000955d3:\n    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (statement_identifier "LAB_000955d3") (: ":") (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" (* "*") (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" (( "(") (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar4")) (; ";"))) (while_statement "while( true ) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }\n      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);\n      iVar4 = local_30[iVar8];\n      if (iVar1 != 0) break;\n      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;\n    }" ({ "{") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 == 4) {\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" (if "if") (parenthesized_expression "(iVar8 == 4)" (( "(") (binary_expression "iVar8 == 4" (identifier "iVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);\n        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);\n        *(undefined4 *)(param_1 + 0xce0) = uVar2;\n        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);\n        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);\n        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);\n        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);\n        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);\n        *(undefined4 *)(param_1 + 0xcb8) = uVar2;\n        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);\n        uVar2 = 0;\n        goto LAB_0009567c;\n      }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0xcdc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xcdc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xcdc)" (( "(") (binary_expression "param_1 + 0xcdc" (identifier "param_1") (+ "+") (number_literal "0xcdc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) + 8" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xce0) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xce0) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xce0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xce0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xce0)" (( "(") (binary_expression "param_1 + 0xce0" (identifier "param_1") (+ "+") (number_literal "0xce0")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);" (assignment_expression "uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" (identifier "uVar5") (= "=") (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90)" (identifier "FUN_0001fb70") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x90)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0x90") () ")")))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) + 4" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);" (assignment_expression "uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" (identifier "uVar6") (= "=") (call_expression "FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93)" (identifier "FUN_0001fb70") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x93)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0x93") () ")")))) (; ";")) (expression_statement "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);" (assignment_expression "uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" (identifier "uVar7") (= "=") (call_expression "FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91)" (identifier "FUN_0001fd20") (argument_list "(*(undefined4 *)(param_1 + 0x2238),0x91)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2238)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2238)" (( "(") (binary_expression "param_1 + 0x2238" (identifier "param_1") (+ "+") (number_literal "0x2238")) () ")")))) (, ",") (number_literal "0x91") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);" (assignment_expression "uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" (identifier "uVar2") (= "=") (call_expression "FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" (identifier "FUN_000a0fd0") (argument_list "(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5)" (( "(") (binary_expression "param_1 + 0xd28" (identifier "param_1") (+ "+") (number_literal "0xd28")) (, ",") (identifier "uVar7") (, ",") (identifier "uVar6") (, ",") (identifier "uVar2") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xcb8) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcb8) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xcb8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xcb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xcb8)" (( "(") (binary_expression "param_1 + 0xcb8" (identifier "param_1") (+ "+") (number_literal "0xcb8")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);" (assignment_expression "*(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" (pointer_expression "*(undefined4 *)(param_1 + 0x225c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x225c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x225c)" (( "(") (binary_expression "param_1 + 0x225c" (identifier "param_1") (+ "+") (number_literal "0x225c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x3c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0009567c;" (goto "goto") (statement_identifier "LAB_0009567c") (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" (* "*") (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" (( "(") (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar4 = local_30[iVar8];" (assignment_expression "iVar4 = local_30[iVar8]" (identifier "iVar4") (= "=") (subscript_expression "local_30[iVar8]" (identifier "local_30") ([ "[") (identifier "iVar8") (] "]"))) (; ";")) (if_statement "if (iVar1 != 0) break;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1 + 0x3c + iVar8 * 4)" (* "*") (cast_expression "(int *)(param_1 + 0x3c + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c + iVar8 * 4)" (( "(") (binary_expression "param_1 + 0x3c + iVar8 * 4" (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

char * function_1(type_1 *inst)

{
  int var_7;
  int var_9;
  int var_12;
  type_2 *pFVar4;
  type_3 *var_5;
  type_3 *var_11;
  int utf8_override;
  char *pcVar5;
  int var_1;
  type_3 *fonts [4];
  
  var_7 = *(int *)(var_1 + 0x14);
  var_9 = var_2(inst->conf,0xb1);
  var_12 = var_2(inst->conf,0xb5);
  pFVar4 = var_3(inst->conf,0x75);
  var_5 = var_4(inst->area,pFVar4->name,0,0,var_12,var_9);
  fonts[0] = var_5;
  if (var_5 == (type_3 *)0x0) {
    pcVar5 = var_6("unable to load font \"%s\"",pFVar4->name);
LAB_0009567c:
    if (var_7 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
      var_8();
    }
    return pcVar5;
  }
  pFVar4 = var_3(inst->conf,0xb2);
  if ((var_9 == 0) && (*pFVar4->name != '\0')) {
    fonts[1] = var_4(inst->area,pFVar4->name,0,1,var_12,0);
    if (fonts[1] == (type_3 *)0x0) {
      var_10(var_5);
      pcVar5 = var_6("unable to load bold font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  else {
    fonts[1] = (type_3 *)0x0;
  }
  pFVar4 = var_3(inst->conf,0xb3);
  if (*pFVar4->name == '\0') {
    fonts[2] = (type_3 *)0x0;
  }
  else {
    fonts[2] = var_4(inst->area,pFVar4->name,1,0,var_12,var_9);
    if (fonts[2] == (type_3 *)0x0) {
      var_10(var_5);
      if (fonts[1] != (type_3 *)0x0) {
        var_10(fonts[1]);
      }
      pcVar5 = var_6("unable to load wide font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  pFVar4 = var_3(inst->conf,0xb4);
  if ((var_9 == 0) && (*pFVar4->name != '\0')) {
    fonts[3] = var_4(inst->area,pFVar4->name,1,1,var_12,0);
    if (fonts[3] == (type_3 *)0x0) {
      var_10(var_5);
      if (fonts[1] != (type_3 *)0x0) {
        var_10(fonts[1]);
      }
      if (fonts[2] != (type_3 *)0x0) {
        var_10(fonts[2]);
      }
      pcVar5 = var_6("unable to load wide bold font \"%s\"",pFVar4->name);
      goto LAB_0009567c;
    }
  }
  else {
    fonts[3] = (type_3 *)0x0;
  }
  var_9 = 0;
  var_11 = inst->fonts[0];
  if (var_11 == (type_3 *)0x0) goto LAB_000955d3;
  do {
    var_10(var_11);
LAB_000955d3:
    inst->fonts[var_9] = var_5;
    var_12 = var_9;
    while( true ) {
      var_9 = var_12 + 1;
      if (var_9 == 4) {
        var_9 = inst->fonts[0]->height;
        inst->font_width = inst->fonts[0]->width;
        inst->font_height = var_9;
        var_12 = var_2(inst->conf,0x90);
        var_9 = inst->fonts[0]->public_charset;
        utf8_override = var_2(inst->conf,0x93);
        pcVar5 = var_13(inst->conf,0x91);
        var_9 = var_14(&inst->ucsdata,pcVar5,utf8_override,var_9,var_12);
        inst->direct_to_font = var_9;
        inst->drawtype = inst->fonts[0]->preferred_drawtype;
        pcVar5 = (char *)0x0;
        goto LAB_0009567c;
      }
      var_11 = inst->fonts[var_12 + 1];
      var_5 = fonts[var_9];
      if (var_11 != (type_3 *)0x0) break;
      inst->fonts[var_12 + 1] = var_5;
      var_12 = var_9;
    }
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  int iVar8;
  int in_GS_OFFSET;
  int local_30 [7];
  undefined4 uStack_14;
  
  uStack_14 = 0x95499;
  local_30[4] = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb1);
  uVar2 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0xb5);
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0x75);
  iVar4 = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),*puVar3,0,0,uVar2,iVar1);
  local_30[0] = iVar4;
  if (iVar4 == 0) {
    uVar2 = FUN_0002edf0("unable to load font \"%s\"",*puVar3);
LAB_0009567c:
    if (local_30[4] != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_000a39d0();
    }
    return uVar2;
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb2);
  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {
    local_30[1] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,0,1,uVar2,0);
    if (local_30[1] == 0) {
      FUN_0008eca0(iVar4);
      uVar2 = FUN_0002edf0("unable to load bold font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  else {
    local_30[1] = 0;
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb3);
  if (*(char *)*puVar3 == '\0') {
    local_30[2] = 0;
  }
  else {
    local_30[2] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,0,uVar2,iVar1);
    if (local_30[2] == 0) {
      FUN_0008eca0(iVar4);
      if (local_30[1] != 0) {
        FUN_0008eca0(local_30[1]);
      }
      uVar2 = FUN_0002edf0("unable to load wide font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  puVar3 = (undefined4 *)FUN_000201c0(*(undefined4 *)(param_1 + 0x2238),0xb4);
  if ((iVar1 == 0) && (*(char *)*puVar3 != '\0')) {
    local_30[3] = FUN_0008ecc0(*(undefined4 *)(param_1 + 4),(char *)*puVar3,1,1,uVar2,0);
    if (local_30[3] == 0) {
      FUN_0008eca0(iVar4);
      if (local_30[1] != 0) {
        FUN_0008eca0(local_30[1]);
      }
      if (local_30[2] != 0) {
        FUN_0008eca0(local_30[2]);
      }
      uVar2 = FUN_0002edf0("unable to load wide bold font \"%s\"",*puVar3);
      goto LAB_0009567c;
    }
  }
  else {
    local_30[3] = 0;
  }
  iVar8 = 0;
  iVar1 = *(int *)(param_1 + 0x3c);
  if (iVar1 == 0) goto LAB_000955d3;
  do {
    FUN_0008eca0(iVar1);
LAB_000955d3:
    *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;
    while( true ) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 4) {
        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0xc);
        *(undefined4 *)(param_1 + 0xcdc) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 8);
        *(undefined4 *)(param_1 + 0xce0) = uVar2;
        uVar5 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x90);
        uVar2 = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 4);
        uVar6 = FUN_0001fb70(*(undefined4 *)(param_1 + 0x2238),0x93);
        uVar7 = FUN_0001fd20(*(undefined4 *)(param_1 + 0x2238),0x91);
        uVar2 = FUN_000a0fd0(param_1 + 0xd28,uVar7,uVar6,uVar2,uVar5);
        *(undefined4 *)(param_1 + 0xcb8) = uVar2;
        *(undefined4 *)(param_1 + 0x225c) = *(undefined4 *)(*(int *)(param_1 + 0x3c) + 0x1c);
        uVar2 = 0;
        goto LAB_0009567c;
      }
      iVar1 = *(int *)(param_1 + 0x3c + iVar8 * 4);
      iVar4 = local_30[iVar8];
      if (iVar1 != 0) break;
      *(int *)(param_1 + 0x3c + iVar8 * 4) = iVar4;
    }
  } while( true );
}

