
/* 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 */

void unifontsel_add_entry
               (void *ctx,char *realfontname,char *family,char *charset,char *style,char *stylekey,
               int size,int flags,unifont_vtable *fontclass)

{
  size_t sVar1;
  size_t sVar2;
  undefined4 *e;
  char *pcVar3;
  int iVar4;
  undefined4 *puVar5;
  size_t sVar6;
  size_t n;
  size_t sVar7;
  size_t sVar8;
  
  sVar7 = 0;
  sVar1 = strlen(realfontname);
  if (family != (char *)0x0) {
    sVar7 = strlen(family);
  }
  sVar6 = 0;
  if (charset != (char *)0x0) {
    sVar6 = strlen(charset);
  }
  sVar8 = 0;
  if (style != (char *)0x0) {
    sVar8 = strlen(style);
  }
  sVar2 = 0;
  if (stylekey != (char *)0x0) {
    sVar2 = strlen(stylekey);
  }
  n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2;
  e = (undefined4 *)safemalloc(n,1);
  e[0xb] = fontclass;
  *e = e + 0xc;
  pcVar3 = stpcpy((char *)(e + 0xc),realfontname);
  pcVar3 = pcVar3 + 1;
  if (family == (char *)0x0) {
    e[1] = 0;
  }
  else {
    e[1] = pcVar3;
    pcVar3 = stpcpy(pcVar3,family);
    pcVar3 = pcVar3 + 1;
  }
  if (charset == (char *)0x0) {
    e[2] = 0;
  }
  else {
    e[2] = pcVar3;
    pcVar3 = stpcpy(pcVar3,charset);
    pcVar3 = pcVar3 + 1;
  }
  if (style == (char *)0x0) {
    e[3] = 0;
  }
  else {
    e[3] = pcVar3;
    pcVar3 = stpcpy(pcVar3,style);
    pcVar3 = pcVar3 + 1;
  }
  if (stylekey == (char *)0x0) {
    e[4] = 0;
  }
  else {
    e[4] = pcVar3;
    pcVar3 = stpcpy(pcVar3,stylekey);
    pcVar3 = pcVar3 + 1;
  }
  if ((int)pcVar3 - (int)e <= (int)n) {
    e[5] = size;
    e[6] = flags;
    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));
    e[7] = iVar4;
    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);
    if (puVar5 == e) {
      add234(*(tree234 **)((int)ctx + 0x6c),e);
      return;
    }
    safefree(e);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");
}



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

void FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,
                 undefined4 param_7,undefined4 param_8,undefined4 param_9)

{
  size_t sVar1;
  size_t sVar2;
  undefined4 *puVar3;
  char *pcVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  size_t sVar7;
  int iVar8;
  size_t sVar9;
  size_t sVar10;
  
  sVar9 = 0;
  sVar1 = strlen(param_2);
  if (param_3 != (char *)0x0) {
    sVar9 = strlen(param_3);
  }
  sVar7 = 0;
  if (param_4 != (char *)0x0) {
    sVar7 = strlen(param_4);
  }
  sVar10 = 0;
  if (param_5 != (char *)0x0) {
    sVar10 = strlen(param_5);
  }
  sVar2 = 0;
  if (param_6 != (char *)0x0) {
    sVar2 = strlen(param_6);
  }
  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;
  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);
  puVar3[0xb] = param_9;
  *puVar3 = puVar3 + 0xc;
  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);
  pcVar4 = pcVar4 + 1;
  if (param_3 == (char *)0x0) {
    puVar3[1] = 0;
  }
  else {
    puVar3[1] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_3);
    pcVar4 = pcVar4 + 1;
  }
  if (param_4 == (char *)0x0) {
    puVar3[2] = 0;
  }
  else {
    puVar3[2] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_4);
    pcVar4 = pcVar4 + 1;
  }
  if (param_5 == (char *)0x0) {
    puVar3[3] = 0;
  }
  else {
    puVar3[3] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_5);
    pcVar4 = pcVar4 + 1;
  }
  if (param_6 == (char *)0x0) {
    puVar3[4] = 0;
  }
  else {
    puVar3[4] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_6);
    pcVar4 = pcVar4 + 1;
  }
  if ((int)pcVar4 - (int)puVar3 <= iVar8) {
    puVar3[5] = param_7;
    puVar3[6] = param_8;
    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));
    puVar3[7] = uVar5;
    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);
    if (puVar6 == puVar3) {
      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);
      return;
    }
    FUN_0002f010(puVar3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");
}


PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
PUSH EBX
CALL 0x0001c4f0
ADD EBX,0x84295
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x44]
PUSH dword ptr [ESP + 0x40]
CALL 0x0001a900
ADD ESP,0x10
MOV ESI,EAX
TEST EBP,EBP
JZ 0x0008c4e8
SUB ESP,0xc
PUSH EBP
CALL 0x0001a900
ADD ESP,0x10
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x3c]
ADD ESI,0x3a
XOR EDX,EDX
TEST EAX,EAX
JZ 0x0008c506
SUB ESP,0xc
PUSH dword ptr [ESP + 0x48]
CALL 0x0001a900
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x40]
ADD ESI,EDI
XOR EDI,EDI
TEST EAX,EAX
JZ 0x0008c52b
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x4c]
CALL 0x0001a900
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EDI,EAX
MOV ECX,dword ptr [ESP + 0x44]
ADD ESI,EDX
XOR EAX,EAX
TEST ECX,ECX
JZ 0x0008c546
SUB ESP,0xc
PUSH dword ptr [ESP + 0x50]
CALL 0x0001a900
ADD ESP,0x10
ADD ESI,EDI
SUB ESP,0x8
ADD ESI,EAX
PUSH 0x1
PUSH ESI
CALL 0x0002e780
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [EDI + 0x2c],EAX
LEA EAX,[EDI + 0x30]
MOV dword ptr [EDI],EAX
POP ECX
POP EDX
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
CALL 0x0001b840
ADD ESP,0x10
ADD EAX,0x1
TEST EBP,EBP
JZ 0x0008c650
SUB ESP,0x8
MOV dword ptr [EDI + 0x4],EAX
PUSH EBP
PUSH EAX
CALL 0x0001b840
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x3c]
ADD EAX,0x1
TEST EDX,EDX
JZ 0x0008c663
SUB ESP,0x8
MOV dword ptr [EDI + 0x8],EAX
PUSH dword ptr [ESP + 0x44]
PUSH EAX
CALL 0x0001b840
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x40]
ADD EAX,0x1
TEST EBP,EBP
JZ 0x0008c676
SUB ESP,0x8
MOV dword ptr [EDI + 0xc],EAX
PUSH dword ptr [ESP + 0x48]
PUSH EAX
CALL 0x0001b840
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x44]
ADD EAX,0x1
TEST ECX,ECX
JZ 0x0008c689
SUB ESP,0x8
MOV dword ptr [EDI + 0x10],EAX
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x0001b840
ADD ESP,0x10
ADD EAX,0x1
SUB EAX,EDI
CMP EAX,ESI
JG 0x0008c6b3
MOV EAX,dword ptr [ESP + 0x48]
SUB ESP,0xc
MOV dword ptr [EDI + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [EDI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX + 0x6c]
CALL 0x00081510
MOV dword ptr [EDI + 0x1c],EAX
POP EAX
POP EDX
PUSH EDI
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX + 0x68]
CALL 0x00081530
ADD ESP,0x10
CMP EAX,EDI
JZ 0x0008c698
SUB ESP,0xc
PUSH EDI
CALL 0x0002f010
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x3c]
MOV dword ptr [EDI + 0x4],0x0
TEST EDX,EDX
JNZ 0x0008c59c
MOV EBP,dword ptr [ESP + 0x40]
MOV dword ptr [EDI + 0x8],0x0
TEST EBP,EBP
JNZ 0x0008c5be
MOV ECX,dword ptr [ESP + 0x44]
MOV dword ptr [EDI + 0xc],0x0
TEST ECX,ECX
JNZ 0x0008c5e0
MOV dword ptr [EDI + 0x10],0x0
JMP 0x0008c5f6
SUB ESP,0x8
PUSH EDI
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX + 0x6c]
CALL 0x00081530
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffbbd10]
PUSH EAX
LEA EAX,[EBX + 0xfffbb81a]
PUSH 0xbb5
PUSH EAX
LEA EAX,[EBX + 0xfffbb882]
PUSH EAX
CALL 0x0001c000
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}\n\n" comment (function_definition "void FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" primitive_type (function_declarator "FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "size_t sVar9;" primitive_type identifier ;) (declaration "size_t sVar10;" primitive_type identifier ;) (expression_statement "sVar9 = 0;" (assignment_expression "sVar9 = 0" identifier = number_literal) ;) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }" if (parenthesized_expression "(param_3 != (char *)0x0)" ( (binary_expression "param_3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar9 = strlen(param_3);\n  }" { (expression_statement "sVar9 = strlen(param_3);" (assignment_expression "sVar9 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) })) (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" identifier = number_literal) ;) (if_statement "if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar7 = strlen(param_4);\n  }" { (expression_statement "sVar7 = strlen(param_4);" (assignment_expression "sVar7 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) })) (expression_statement "sVar10 = 0;" (assignment_expression "sVar10 = 0" identifier = number_literal) ;) (if_statement "if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }" if (parenthesized_expression "(param_5 != (char *)0x0)" ( (binary_expression "param_5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar10 = strlen(param_5);\n  }" { (expression_statement "sVar10 = strlen(param_5);" (assignment_expression "sVar10 = strlen(param_5)" identifier = (call_expression "strlen(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) })) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }" if (parenthesized_expression "(param_6 != (char *)0x0)" ( (binary_expression "param_6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(param_6);\n  }" { (expression_statement "sVar2 = strlen(param_6);" (assignment_expression "sVar2 = strlen(param_6)" identifier = (call_expression "strlen(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) })) (expression_statement "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;" (assignment_expression "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" identifier = (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7" (binary_expression "sVar1 + 0x3a + sVar9" (binary_expression "sVar1 + 0x3a" identifier + number_literal) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);" (assignment_expression "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1)" identifier = (cast_expression "(undefined4 *)FUN_0002e780(iVar8,1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e780(iVar8,1)" identifier (argument_list "(iVar8,1)" ( identifier , number_literal ))))) ;) (expression_statement "puVar3[0xb] = param_9;" (assignment_expression "puVar3[0xb] = param_9" (subscript_expression "puVar3[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar3 = puVar3 + 0xc;" (assignment_expression "*puVar3 = puVar3 + 0xc" (pointer_expression "*puVar3" * identifier) = (binary_expression "puVar3 + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);" (assignment_expression "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2)" identifier = (call_expression "stpcpy((char *)(puVar3 + 0xc),param_2)" identifier (argument_list "((char *)(puVar3 + 0xc),param_2)" ( (cast_expression "(char *)(puVar3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc)" ( (binary_expression "puVar3 + 0xc" identifier + number_literal) ))) , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (if_statement "if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[1] = 0;\n  }" { (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[1] = pcVar4;" (assignment_expression "puVar3[1] = pcVar4" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_3);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_3)" identifier = (call_expression "stpcpy(pcVar4,param_3)" identifier (argument_list "(pcVar4,param_3)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_4 == (char *)0x0)" ( (binary_expression "param_4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[2] = 0;\n  }" { (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[2] = pcVar4;" (assignment_expression "puVar3[2] = pcVar4" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_4);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_4)" identifier = (call_expression "stpcpy(pcVar4,param_4)" identifier (argument_list "(pcVar4,param_4)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_5 == (char *)0x0)" ( (binary_expression "param_5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[3] = 0;\n  }" { (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[3] = pcVar4;" (assignment_expression "puVar3[3] = pcVar4" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_5);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_5)" identifier = (call_expression "stpcpy(pcVar4,param_5)" identifier (argument_list "(pcVar4,param_5)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_6 == (char *)0x0)" ( (binary_expression "param_6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[4] = 0;\n  }" { (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[4] = pcVar4;" (assignment_expression "puVar3[4] = pcVar4" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_6);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_6)" identifier = (call_expression "stpcpy(pcVar4,param_6)" identifier (argument_list "(pcVar4,param_6)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" if (parenthesized_expression "((int)pcVar4 - (int)puVar3 <= iVar8)" ( (binary_expression "(int)pcVar4 - (int)puVar3 <= iVar8" (binary_expression "(int)pcVar4 - (int)puVar3" (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) <= identifier) )) (compound_statement "{\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" { (expression_statement "puVar3[5] = param_7;" (assignment_expression "puVar3[5] = param_7" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[6] = param_8;" (assignment_expression "puVar3[6] = param_8" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));" (assignment_expression "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" identifier = (call_expression "FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x6c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3[7] = uVar5;" (assignment_expression "puVar3[7] = uVar5" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);" (assignment_expression "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" identifier = (cast_expression "(undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x68),puVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) , identifier ))))) ;) (if_statement "if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" if (parenthesized_expression "(puVar6 == puVar3)" ( (binary_expression "puVar6 == puVar3" identifier == identifier) )) (compound_statement "{\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" { (expression_statement "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);" (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x6c),puVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002f010(puVar3);" (call_expression "FUN_0002f010(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");" (call_expression "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" identifier (argument_list "("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" ( (string_literal ""p - (char *)info <= totalsize"" " string_content ") , (string_literal ""unix/gtkfont.c"" " string_content ") , number_literal , (string_literal ""unifontsel_add_entry"" " string_content ") ))) ;) })))
(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\nvoid unifontsel_add_entry\n               (void *ctx,char *realfontname,char *family,char *charset,char *style,char *stylekey,\n               int size,int flags,unifont_vtable *fontclass)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *e;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  size_t n;\n  size_t sVar7;\n  size_t sVar8;\n  \n  sVar7 = 0;\n  sVar1 = strlen(realfontname);\n  if (family != (char *)0x0) {\n    sVar7 = strlen(family);\n  }\n  sVar6 = 0;\n  if (charset != (char *)0x0) {\n    sVar6 = strlen(charset);\n  }\n  sVar8 = 0;\n  if (style != (char *)0x0) {\n    sVar8 = strlen(style);\n  }\n  sVar2 = 0;\n  if (stylekey != (char *)0x0) {\n    sVar2 = strlen(stylekey);\n  }\n  n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2;\n  e = (undefined4 *)safemalloc(n,1);\n  e[0xb] = fontclass;\n  *e = e + 0xc;\n  pcVar3 = stpcpy((char *)(e + 0xc),realfontname);\n  pcVar3 = pcVar3 + 1;\n  if (family == (char *)0x0) {\n    e[1] = 0;\n  }\n  else {\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (charset == (char *)0x0) {\n    e[2] = 0;\n  }\n  else {\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (style == (char *)0x0) {\n    e[3] = 0;\n  }\n  else {\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (stylekey == (char *)0x0) {\n    e[4] = 0;\n  }\n  else {\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }\n  if ((int)pcVar3 - (int)e <= (int)n) {\n    e[5] = size;\n    e[6] = flags;\n    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));\n    e[7] = iVar4;\n    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);\n    if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }\n    safefree(e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}\n\n" comment comment comment (function_definition "void unifontsel_add_entry\n               (void *ctx,char *realfontname,char *family,char *charset,char *style,char *stylekey,\n               int size,int flags,unifont_vtable *fontclass)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *e;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  size_t n;\n  size_t sVar7;\n  size_t sVar8;\n  \n  sVar7 = 0;\n  sVar1 = strlen(realfontname);\n  if (family != (char *)0x0) {\n    sVar7 = strlen(family);\n  }\n  sVar6 = 0;\n  if (charset != (char *)0x0) {\n    sVar6 = strlen(charset);\n  }\n  sVar8 = 0;\n  if (style != (char *)0x0) {\n    sVar8 = strlen(style);\n  }\n  sVar2 = 0;\n  if (stylekey != (char *)0x0) {\n    sVar2 = strlen(stylekey);\n  }\n  n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2;\n  e = (undefined4 *)safemalloc(n,1);\n  e[0xb] = fontclass;\n  *e = e + 0xc;\n  pcVar3 = stpcpy((char *)(e + 0xc),realfontname);\n  pcVar3 = pcVar3 + 1;\n  if (family == (char *)0x0) {\n    e[1] = 0;\n  }\n  else {\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (charset == (char *)0x0) {\n    e[2] = 0;\n  }\n  else {\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (style == (char *)0x0) {\n    e[3] = 0;\n  }\n  else {\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (stylekey == (char *)0x0) {\n    e[4] = 0;\n  }\n  else {\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }\n  if ((int)pcVar3 - (int)e <= (int)n) {\n    e[5] = size;\n    e[6] = flags;\n    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));\n    e[7] = iVar4;\n    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);\n    if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }\n    safefree(e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" primitive_type (function_declarator "unifontsel_add_entry\n               (void *ctx,char *realfontname,char *family,char *charset,char *style,char *stylekey,\n               int size,int flags,unifont_vtable *fontclass)" identifier (parameter_list "(void *ctx,char *realfontname,char *family,char *charset,char *style,char *stylekey,\n               int size,int flags,unifont_vtable *fontclass)" ( (parameter_declaration "void *ctx" primitive_type (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "char *realfontname" primitive_type (pointer_declarator "*realfontname" * identifier)) , (parameter_declaration "char *family" primitive_type (pointer_declarator "*family" * identifier)) , (parameter_declaration "char *charset" primitive_type (pointer_declarator "*charset" * identifier)) , (parameter_declaration "char *style" primitive_type (pointer_declarator "*style" * identifier)) , (parameter_declaration "char *stylekey" primitive_type (pointer_declarator "*stylekey" * identifier)) , (parameter_declaration "int size" primitive_type identifier) , (parameter_declaration "int flags" primitive_type identifier) , (parameter_declaration "unifont_vtable *fontclass" type_identifier (pointer_declarator "*fontclass" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *e;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  size_t n;\n  size_t sVar7;\n  size_t sVar8;\n  \n  sVar7 = 0;\n  sVar1 = strlen(realfontname);\n  if (family != (char *)0x0) {\n    sVar7 = strlen(family);\n  }\n  sVar6 = 0;\n  if (charset != (char *)0x0) {\n    sVar6 = strlen(charset);\n  }\n  sVar8 = 0;\n  if (style != (char *)0x0) {\n    sVar8 = strlen(style);\n  }\n  sVar2 = 0;\n  if (stylekey != (char *)0x0) {\n    sVar2 = strlen(stylekey);\n  }\n  n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2;\n  e = (undefined4 *)safemalloc(n,1);\n  e[0xb] = fontclass;\n  *e = e + 0xc;\n  pcVar3 = stpcpy((char *)(e + 0xc),realfontname);\n  pcVar3 = pcVar3 + 1;\n  if (family == (char *)0x0) {\n    e[1] = 0;\n  }\n  else {\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (charset == (char *)0x0) {\n    e[2] = 0;\n  }\n  else {\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (style == (char *)0x0) {\n    e[3] = 0;\n  }\n  else {\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }\n  if (stylekey == (char *)0x0) {\n    e[4] = 0;\n  }\n  else {\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }\n  if ((int)pcVar3 - (int)e <= (int)n) {\n    e[5] = size;\n    e[6] = flags;\n    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));\n    e[7] = iVar4;\n    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);\n    if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }\n    safefree(e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *e;" type_identifier (pointer_declarator "*e" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t n;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "size_t sVar8;" primitive_type identifier ;) (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" identifier = number_literal) ;) (expression_statement "sVar1 = strlen(realfontname);" (assignment_expression "sVar1 = strlen(realfontname)" identifier = (call_expression "strlen(realfontname)" identifier (argument_list "(realfontname)" ( identifier )))) ;) (if_statement "if (family != (char *)0x0) {\n    sVar7 = strlen(family);\n  }" if (parenthesized_expression "(family != (char *)0x0)" ( (binary_expression "family != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar7 = strlen(family);\n  }" { (expression_statement "sVar7 = strlen(family);" (assignment_expression "sVar7 = strlen(family)" identifier = (call_expression "strlen(family)" identifier (argument_list "(family)" ( identifier )))) ;) })) (expression_statement "sVar6 = 0;" (assignment_expression "sVar6 = 0" identifier = number_literal) ;) (if_statement "if (charset != (char *)0x0) {\n    sVar6 = strlen(charset);\n  }" if (parenthesized_expression "(charset != (char *)0x0)" ( (binary_expression "charset != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar6 = strlen(charset);\n  }" { (expression_statement "sVar6 = strlen(charset);" (assignment_expression "sVar6 = strlen(charset)" identifier = (call_expression "strlen(charset)" identifier (argument_list "(charset)" ( identifier )))) ;) })) (expression_statement "sVar8 = 0;" (assignment_expression "sVar8 = 0" identifier = number_literal) ;) (if_statement "if (style != (char *)0x0) {\n    sVar8 = strlen(style);\n  }" if (parenthesized_expression "(style != (char *)0x0)" ( (binary_expression "style != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar8 = strlen(style);\n  }" { (expression_statement "sVar8 = strlen(style);" (assignment_expression "sVar8 = strlen(style)" identifier = (call_expression "strlen(style)" identifier (argument_list "(style)" ( identifier )))) ;) })) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (if_statement "if (stylekey != (char *)0x0) {\n    sVar2 = strlen(stylekey);\n  }" if (parenthesized_expression "(stylekey != (char *)0x0)" ( (binary_expression "stylekey != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(stylekey);\n  }" { (expression_statement "sVar2 = strlen(stylekey);" (assignment_expression "sVar2 = strlen(stylekey)" identifier = (call_expression "strlen(stylekey)" identifier (argument_list "(stylekey)" ( identifier )))) ;) })) (expression_statement "n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2;" (assignment_expression "n = sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2" identifier = (binary_expression "sVar1 + 0x3a + sVar7 + sVar6 + sVar8 + sVar2" (binary_expression "sVar1 + 0x3a + sVar7 + sVar6 + sVar8" (binary_expression "sVar1 + 0x3a + sVar7 + sVar6" (binary_expression "sVar1 + 0x3a + sVar7" (binary_expression "sVar1 + 0x3a" identifier + number_literal) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "e = (undefined4 *)safemalloc(n,1);" (assignment_expression "e = (undefined4 *)safemalloc(n,1)" identifier = (cast_expression "(undefined4 *)safemalloc(n,1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(n,1)" identifier (argument_list "(n,1)" ( identifier , number_literal ))))) ;) (expression_statement "e[0xb] = fontclass;" (assignment_expression "e[0xb] = fontclass" (subscript_expression "e[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*e = e + 0xc;" (assignment_expression "*e = e + 0xc" (pointer_expression "*e" * identifier) = (binary_expression "e + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar3 = stpcpy((char *)(e + 0xc),realfontname);" (assignment_expression "pcVar3 = stpcpy((char *)(e + 0xc),realfontname)" identifier = (call_expression "stpcpy((char *)(e + 0xc),realfontname)" identifier (argument_list "((char *)(e + 0xc),realfontname)" ( (cast_expression "(char *)(e + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(e + 0xc)" ( (binary_expression "e + 0xc" identifier + number_literal) ))) , identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (if_statement "if (family == (char *)0x0) {\n    e[1] = 0;\n  }\n  else {\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }" if (parenthesized_expression "(family == (char *)0x0)" ( (binary_expression "family == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    e[1] = 0;\n  }" { (expression_statement "e[1] = 0;" (assignment_expression "e[1] = 0" (subscript_expression "e[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }" else (compound_statement "{\n    e[1] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,family);\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "e[1] = pcVar3;" (assignment_expression "e[1] = pcVar3" (subscript_expression "e[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar3 = stpcpy(pcVar3,family);" (assignment_expression "pcVar3 = stpcpy(pcVar3,family)" identifier = (call_expression "stpcpy(pcVar3,family)" identifier (argument_list "(pcVar3,family)" ( identifier , identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }))) (if_statement "if (charset == (char *)0x0) {\n    e[2] = 0;\n  }\n  else {\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }" if (parenthesized_expression "(charset == (char *)0x0)" ( (binary_expression "charset == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    e[2] = 0;\n  }" { (expression_statement "e[2] = 0;" (assignment_expression "e[2] = 0" (subscript_expression "e[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }" else (compound_statement "{\n    e[2] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,charset);\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "e[2] = pcVar3;" (assignment_expression "e[2] = pcVar3" (subscript_expression "e[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar3 = stpcpy(pcVar3,charset);" (assignment_expression "pcVar3 = stpcpy(pcVar3,charset)" identifier = (call_expression "stpcpy(pcVar3,charset)" identifier (argument_list "(pcVar3,charset)" ( identifier , identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }))) (if_statement "if (style == (char *)0x0) {\n    e[3] = 0;\n  }\n  else {\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }" if (parenthesized_expression "(style == (char *)0x0)" ( (binary_expression "style == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    e[3] = 0;\n  }" { (expression_statement "e[3] = 0;" (assignment_expression "e[3] = 0" (subscript_expression "e[3]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }" else (compound_statement "{\n    e[3] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,style);\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "e[3] = pcVar3;" (assignment_expression "e[3] = pcVar3" (subscript_expression "e[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar3 = stpcpy(pcVar3,style);" (assignment_expression "pcVar3 = stpcpy(pcVar3,style)" identifier = (call_expression "stpcpy(pcVar3,style)" identifier (argument_list "(pcVar3,style)" ( identifier , identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }))) (if_statement "if (stylekey == (char *)0x0) {\n    e[4] = 0;\n  }\n  else {\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }" if (parenthesized_expression "(stylekey == (char *)0x0)" ( (binary_expression "stylekey == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    e[4] = 0;\n  }" { (expression_statement "e[4] = 0;" (assignment_expression "e[4] = 0" (subscript_expression "e[4]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }" else (compound_statement "{\n    e[4] = pcVar3;\n    pcVar3 = stpcpy(pcVar3,stylekey);\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "e[4] = pcVar3;" (assignment_expression "e[4] = pcVar3" (subscript_expression "e[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar3 = stpcpy(pcVar3,stylekey);" (assignment_expression "pcVar3 = stpcpy(pcVar3,stylekey)" identifier = (call_expression "stpcpy(pcVar3,stylekey)" identifier (argument_list "(pcVar3,stylekey)" ( identifier , identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }))) (if_statement "if ((int)pcVar3 - (int)e <= (int)n) {\n    e[5] = size;\n    e[6] = flags;\n    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));\n    e[7] = iVar4;\n    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);\n    if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }\n    safefree(e);\n    return;\n  }" if (parenthesized_expression "((int)pcVar3 - (int)e <= (int)n)" ( (binary_expression "(int)pcVar3 - (int)e <= (int)n" (binary_expression "(int)pcVar3 - (int)e" (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)e" ( (type_descriptor "int" primitive_type) ) identifier)) <= (cast_expression "(int)n" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    e[5] = size;\n    e[6] = flags;\n    iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));\n    e[7] = iVar4;\n    puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);\n    if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }\n    safefree(e);\n    return;\n  }" { (expression_statement "e[5] = size;" (assignment_expression "e[5] = size" (subscript_expression "e[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "e[6] = flags;" (assignment_expression "e[6] = flags" (subscript_expression "e[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = count234(*(tree234 **)((int)ctx + 0x6c));" (assignment_expression "iVar4 = count234(*(tree234 **)((int)ctx + 0x6c))" identifier = (call_expression "count234(*(tree234 **)((int)ctx + 0x6c))" identifier (argument_list "(*(tree234 **)((int)ctx + 0x6c))" ( (pointer_expression "*(tree234 **)((int)ctx + 0x6c)" * (cast_expression "(tree234 **)((int)ctx + 0x6c)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x6c)" ( (binary_expression "(int)ctx + 0x6c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (expression_statement "e[7] = iVar4;" (assignment_expression "e[7] = iVar4" (subscript_expression "e[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e);" (assignment_expression "puVar5 = (undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e)" identifier = (cast_expression "(undefined4 *)add234(*(tree234 **)((int)ctx + 0x68),e)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "add234(*(tree234 **)((int)ctx + 0x68),e)" identifier (argument_list "(*(tree234 **)((int)ctx + 0x68),e)" ( (pointer_expression "*(tree234 **)((int)ctx + 0x68)" * (cast_expression "(tree234 **)((int)ctx + 0x68)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x68)" ( (binary_expression "(int)ctx + 0x68" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))))) ;) (if_statement "if (puVar5 == e) {\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }" if (parenthesized_expression "(puVar5 == e)" ( (binary_expression "puVar5 == e" identifier == identifier) )) (compound_statement "{\n      add234(*(tree234 **)((int)ctx + 0x6c),e);\n      return;\n    }" { (expression_statement "add234(*(tree234 **)((int)ctx + 0x6c),e);" (call_expression "add234(*(tree234 **)((int)ctx + 0x6c),e)" identifier (argument_list "(*(tree234 **)((int)ctx + 0x6c),e)" ( (pointer_expression "*(tree234 **)((int)ctx + 0x6c)" * (cast_expression "(tree234 **)((int)ctx + 0x6c)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x6c)" ( (binary_expression "(int)ctx + 0x6c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "safefree(e);" (call_expression "safefree(e)" identifier (argument_list "(e)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");" (call_expression "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" identifier (argument_list "("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" ( (string_literal ""p - (char *)info <= totalsize"" " string_content ") , (string_literal ""unix/gtkfont.c"" " string_content ") , number_literal , (string_literal ""unifontsel_add_entry"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    \n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}\n\n" (function_definition "void FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    \n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" primitive_type (function_declarator "FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    \n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "size_t sVar9;" primitive_type identifier ;) (declaration "size_t sVar10;" primitive_type identifier ;) (expression_statement "sVar9 = 0;" (assignment_expression "sVar9 = 0" identifier = number_literal) ;) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }" if (parenthesized_expression "(param_3 != (char *)0x0)" ( (binary_expression "param_3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar9 = strlen(param_3);\n  }" { (expression_statement "sVar9 = strlen(param_3);" (assignment_expression "sVar9 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) })) (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" identifier = number_literal) ;) (if_statement "if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar7 = strlen(param_4);\n  }" { (expression_statement "sVar7 = strlen(param_4);" (assignment_expression "sVar7 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) })) (expression_statement "sVar10 = 0;" (assignment_expression "sVar10 = 0" identifier = number_literal) ;) (if_statement "if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }" if (parenthesized_expression "(param_5 != (char *)0x0)" ( (binary_expression "param_5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar10 = strlen(param_5);\n  }" { (expression_statement "sVar10 = strlen(param_5);" (assignment_expression "sVar10 = strlen(param_5)" identifier = (call_expression "strlen(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) })) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }" if (parenthesized_expression "(param_6 != (char *)0x0)" ( (binary_expression "param_6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(param_6);\n  }" { (expression_statement "sVar2 = strlen(param_6);" (assignment_expression "sVar2 = strlen(param_6)" identifier = (call_expression "strlen(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) })) (expression_statement "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;" (assignment_expression "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" identifier = (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7" (binary_expression "sVar1 + 0x3a + sVar9" (binary_expression "sVar1 + 0x3a" identifier + number_literal) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);" (assignment_expression "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1)" identifier = (cast_expression "(undefined4 *)FUN_0002e780(iVar8,1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e780(iVar8,1)" identifier (argument_list "(iVar8,1)" ( identifier , number_literal ))))) ;) (expression_statement "puVar3[0xb] = param_9;" (assignment_expression "puVar3[0xb] = param_9" (subscript_expression "puVar3[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar3 = puVar3 + 0xc;" (assignment_expression "*puVar3 = puVar3 + 0xc" (pointer_expression "*puVar3" * identifier) = (binary_expression "puVar3 + 0xc" identifier + number_literal)) ;) (expression_statement "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);" (assignment_expression "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2)" identifier = (call_expression "stpcpy((char *)(puVar3 + 0xc),param_2)" identifier (argument_list "((char *)(puVar3 + 0xc),param_2)" ( (cast_expression "(char *)(puVar3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc)" ( (binary_expression "puVar3 + 0xc" identifier + number_literal) ))) , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (if_statement "if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[1] = 0;\n  }" { (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[1] = pcVar4;" (assignment_expression "puVar3[1] = pcVar4" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_3);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_3)" identifier = (call_expression "stpcpy(pcVar4,param_3)" identifier (argument_list "(pcVar4,param_3)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_4 == (char *)0x0)" ( (binary_expression "param_4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[2] = 0;\n  }" { (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[2] = pcVar4;" (assignment_expression "puVar3[2] = pcVar4" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_4);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_4)" identifier = (call_expression "stpcpy(pcVar4,param_4)" identifier (argument_list "(pcVar4,param_4)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_5 == (char *)0x0)" ( (binary_expression "param_5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[3] = 0;\n  }" { (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[3] = pcVar4;" (assignment_expression "puVar3[3] = pcVar4" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_5);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_5)" identifier = (call_expression "stpcpy(pcVar4,param_5)" identifier (argument_list "(pcVar4,param_5)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(param_6 == (char *)0x0)" ( (binary_expression "param_6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3[4] = 0;\n  }" { (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" else (compound_statement "{\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "puVar3[4] = pcVar4;" (assignment_expression "puVar3[4] = pcVar4" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar4 = stpcpy(pcVar4,param_6);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_6)" identifier = (call_expression "stpcpy(pcVar4,param_6)" identifier (argument_list "(pcVar4,param_6)" ( identifier , identifier )))) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }))) (if_statement "if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" if (parenthesized_expression "((int)pcVar4 - (int)puVar3 <= iVar8)" ( (binary_expression "(int)pcVar4 - (int)puVar3 <= iVar8" (binary_expression "(int)pcVar4 - (int)puVar3" (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) <= identifier) )) (compound_statement "{\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" { (expression_statement "puVar3[5] = param_7;" (assignment_expression "puVar3[5] = param_7" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[6] = param_8;" (assignment_expression "puVar3[6] = param_8" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));" (assignment_expression "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" identifier = (call_expression "FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x6c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3[7] = uVar5;" (assignment_expression "puVar3[7] = uVar5" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);" (assignment_expression "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" identifier = (cast_expression "(undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x68),puVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) , identifier ))))) ;) (if_statement "if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" if (parenthesized_expression "(puVar6 == puVar3)" ( (binary_expression "puVar6 == puVar3" identifier == identifier) )) (compound_statement "{\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" { (expression_statement "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);" (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x6c),puVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002f010(puVar3);" (call_expression "FUN_0002f010(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");" (call_expression "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" identifier (argument_list "("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" ( (string_literal ""p - (char *)info <= totalsize"" " string_content ") , (string_literal ""unix/gtkfont.c"" " string_content ") , number_literal , (string_literal ""unifontsel_add_entry"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression IDENT + LIT) + IDENT) + IDENT) + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_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) )))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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) )))) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    \n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" (primitive_type "void") (function_declarator "FUN_0008c4b0(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" (identifier "FUN_0008c4b0") (parameter_list "(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,\n                 undefined4 param_7,undefined4 param_8,undefined4 param_9)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "char *param_5" (primitive_type "char") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "char *param_6" (primitive_type "char") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")"))) (compound_statement "{\n  size_t sVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  size_t sVar7;\n  int iVar8;\n  size_t sVar9;\n  size_t sVar10;\n  \n  sVar9 = 0;\n  sVar1 = strlen(param_2);\n  if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }\n  sVar7 = 0;\n  if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }\n  sVar10 = 0;\n  if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }\n  sVar2 = 0;\n  if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }\n  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;\n  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);\n  puVar3[0xb] = param_9;\n  *puVar3 = puVar3 + 0xc;\n  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);\n  pcVar4 = pcVar4 + 1;\n  if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }\n  if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }\n  if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }\n                    \n  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "size_t sVar7;" (primitive_type "size_t") (identifier "sVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "size_t sVar9;" (primitive_type "size_t") (identifier "sVar9") (; ";")) (declaration "size_t sVar10;" (primitive_type "size_t") (identifier "sVar10") (; ";")) (expression_statement "sVar9 = 0;" (assignment_expression "sVar9 = 0" (identifier "sVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" (identifier "sVar1") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (param_3 != (char *)0x0) {\n    sVar9 = strlen(param_3);\n  }" (if "if") (parenthesized_expression "(param_3 != (char *)0x0)" (( "(") (binary_expression "param_3 != (char *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar9 = strlen(param_3);\n  }" ({ "{") (expression_statement "sVar9 = strlen(param_3);" (assignment_expression "sVar9 = strlen(param_3)" (identifier "sVar9") (= "=") (call_expression "strlen(param_3)" (identifier "strlen") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (} "}"))) (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" (identifier "sVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_4 != (char *)0x0) {\n    sVar7 = strlen(param_4);\n  }" (if "if") (parenthesized_expression "(param_4 != (char *)0x0)" (( "(") (binary_expression "param_4 != (char *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar7 = strlen(param_4);\n  }" ({ "{") (expression_statement "sVar7 = strlen(param_4);" (assignment_expression "sVar7 = strlen(param_4)" (identifier "sVar7") (= "=") (call_expression "strlen(param_4)" (identifier "strlen") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (} "}"))) (expression_statement "sVar10 = 0;" (assignment_expression "sVar10 = 0" (identifier "sVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_5 != (char *)0x0) {\n    sVar10 = strlen(param_5);\n  }" (if "if") (parenthesized_expression "(param_5 != (char *)0x0)" (( "(") (binary_expression "param_5 != (char *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar10 = strlen(param_5);\n  }" ({ "{") (expression_statement "sVar10 = strlen(param_5);" (assignment_expression "sVar10 = strlen(param_5)" (identifier "sVar10") (= "=") (call_expression "strlen(param_5)" (identifier "strlen") (argument_list "(param_5)" (( "(") (identifier "param_5") () ")")))) (; ";")) (} "}"))) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" (identifier "sVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_6 != (char *)0x0) {\n    sVar2 = strlen(param_6);\n  }" (if "if") (parenthesized_expression "(param_6 != (char *)0x0)" (( "(") (binary_expression "param_6 != (char *)0x0" (identifier "param_6") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar2 = strlen(param_6);\n  }" ({ "{") (expression_statement "sVar2 = strlen(param_6);" (assignment_expression "sVar2 = strlen(param_6)" (identifier "sVar2") (= "=") (call_expression "strlen(param_6)" (identifier "strlen") (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;" (assignment_expression "iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" (identifier "iVar8") (= "=") (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7 + sVar10" (binary_expression "sVar1 + 0x3a + sVar9 + sVar7" (binary_expression "sVar1 + 0x3a + sVar9" (binary_expression "sVar1 + 0x3a" (identifier "sVar1") (+ "+") (number_literal "0x3a")) (+ "+") (identifier "sVar9")) (+ "+") (identifier "sVar7")) (+ "+") (identifier "sVar10")) (+ "+") (identifier "sVar2"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);" (assignment_expression "puVar3 = (undefined4 *)FUN_0002e780(iVar8,1)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_0002e780(iVar8,1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002e780(iVar8,1)" (identifier "FUN_0002e780") (argument_list "(iVar8,1)" (( "(") (identifier "iVar8") (, ",") (number_literal "1") () ")"))))) (; ";")) (expression_statement "puVar3[0xb] = param_9;" (assignment_expression "puVar3[0xb] = param_9" (subscript_expression "puVar3[0xb]" (identifier "puVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "param_9")) (; ";")) (expression_statement "*puVar3 = puVar3 + 0xc;" (assignment_expression "*puVar3 = puVar3 + 0xc" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "puVar3 + 0xc" (identifier "puVar3") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);" (assignment_expression "pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2)" (identifier "pcVar4") (= "=") (call_expression "stpcpy((char *)(puVar3 + 0xc),param_2)" (identifier "stpcpy") (argument_list "((char *)(puVar3 + 0xc),param_2)" (( "(") (cast_expression "(char *)(puVar3 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0xc)" (( "(") (binary_expression "puVar3 + 0xc" (identifier "puVar3") (+ "+") (number_literal "0xc")) () ")"))) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_3 == (char *)0x0) {\n    puVar3[1] = 0;\n  }\n  else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" (if "if") (parenthesized_expression "(param_3 == (char *)0x0)" (( "(") (binary_expression "param_3 == (char *)0x0" (identifier "param_3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3[1] = 0;\n  }" ({ "{") (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" (else "else") (compound_statement "{\n    puVar3[1] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_3);\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "puVar3[1] = pcVar4;" (assignment_expression "puVar3[1] = pcVar4" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar4 = stpcpy(pcVar4,param_3);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_3)" (identifier "pcVar4") (= "=") (call_expression "stpcpy(pcVar4,param_3)" (identifier "stpcpy") (argument_list "(pcVar4,param_3)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (param_4 == (char *)0x0) {\n    puVar3[2] = 0;\n  }\n  else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" (if "if") (parenthesized_expression "(param_4 == (char *)0x0)" (( "(") (binary_expression "param_4 == (char *)0x0" (identifier "param_4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3[2] = 0;\n  }" ({ "{") (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" (else "else") (compound_statement "{\n    puVar3[2] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_4);\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "puVar3[2] = pcVar4;" (assignment_expression "puVar3[2] = pcVar4" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar4 = stpcpy(pcVar4,param_4);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_4)" (identifier "pcVar4") (= "=") (call_expression "stpcpy(pcVar4,param_4)" (identifier "stpcpy") (argument_list "(pcVar4,param_4)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (param_5 == (char *)0x0) {\n    puVar3[3] = 0;\n  }\n  else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" (if "if") (parenthesized_expression "(param_5 == (char *)0x0)" (( "(") (binary_expression "param_5 == (char *)0x0" (identifier "param_5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3[3] = 0;\n  }" ({ "{") (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" (else "else") (compound_statement "{\n    puVar3[3] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_5);\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "puVar3[3] = pcVar4;" (assignment_expression "puVar3[3] = pcVar4" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar4 = stpcpy(pcVar4,param_5);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_5)" (identifier "pcVar4") (= "=") (call_expression "stpcpy(pcVar4,param_5)" (identifier "stpcpy") (argument_list "(pcVar4,param_5)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (param_6 == (char *)0x0) {\n    puVar3[4] = 0;\n  }\n  else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" (if "if") (parenthesized_expression "(param_6 == (char *)0x0)" (( "(") (binary_expression "param_6 == (char *)0x0" (identifier "param_6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3[4] = 0;\n  }" ({ "{") (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" (else "else") (compound_statement "{\n    puVar3[4] = pcVar4;\n    pcVar4 = stpcpy(pcVar4,param_6);\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "puVar3[4] = pcVar4;" (assignment_expression "puVar3[4] = pcVar4" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar4 = stpcpy(pcVar4,param_6);" (assignment_expression "pcVar4 = stpcpy(pcVar4,param_6)" (identifier "pcVar4") (= "=") (call_expression "stpcpy(pcVar4,param_6)" (identifier "stpcpy") (argument_list "(pcVar4,param_6)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_6") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if ((int)pcVar4 - (int)puVar3 <= iVar8) {\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" (if "if") (parenthesized_expression "((int)pcVar4 - (int)puVar3 <= iVar8)" (( "(") (binary_expression "(int)pcVar4 - (int)puVar3 <= iVar8" (binary_expression "(int)pcVar4 - (int)puVar3" (cast_expression "(int)pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar4")) (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) (<= "<=") (identifier "iVar8")) () ")")) (compound_statement "{\n    puVar3[5] = param_7;\n    puVar3[6] = param_8;\n    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));\n    puVar3[7] = uVar5;\n    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);\n    if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }\n    FUN_0002f010(puVar3);\n    return;\n  }" ({ "{") (expression_statement "puVar3[5] = param_7;" (assignment_expression "puVar3[5] = param_7" (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_7")) (; ";")) (expression_statement "puVar3[6] = param_8;" (assignment_expression "puVar3[6] = param_8" (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_8")) (; ";")) (expression_statement "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));" (assignment_expression "uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" (identifier "uVar5") (= "=") (call_expression "FUN_00081510(*(undefined4 *)(param_1 + 0x6c))" (identifier "FUN_00081510") (argument_list "(*(undefined4 *)(param_1 + 0x6c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) () ")")))) (; ";")) (expression_statement "puVar3[7] = uVar5;" (assignment_expression "puVar3[7] = uVar5" (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);" (assignment_expression "puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3)" (identifier "FUN_00081530") (argument_list "(*(undefined4 *)(param_1 + 0x68),puVar3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (, ",") (identifier "puVar3") () ")"))))) (; ";")) (if_statement "if (puVar6 == puVar3) {\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" (if "if") (parenthesized_expression "(puVar6 == puVar3)" (( "(") (binary_expression "puVar6 == puVar3" (identifier "puVar6") (== "==") (identifier "puVar3")) () ")")) (compound_statement "{\n      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);\n      return;\n    }" ({ "{") (expression_statement "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);" (call_expression "FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3)" (identifier "FUN_00081530") (argument_list "(*(undefined4 *)(param_1 + 0x6c),puVar3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (, ",") (identifier "puVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002f010(puVar3);" (call_expression "FUN_0002f010(puVar3)" (identifier "FUN_0002f010") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");" (call_expression "__assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" (identifier "__assert_fail") (argument_list "("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry")" (( "(") (string_literal ""p - (char *)info <= totalsize"" (" """) (string_content "p - (char *)info <= totalsize") (" """)) (, ",") (string_literal ""unix/gtkfont.c"" (" """) (string_content "unix/gtkfont.c") (" """)) (, ",") (number_literal "0xbb5") (, ",") (string_literal ""unifontsel_add_entry"" (" """) (string_content "unifontsel_add_entry") (" """)) () ")"))) (; ";")) (} "}")))

/* 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 */

void function_1
               (void *ctx,char *realfontname,char *var_2,char *var_3,char *var_4,char *var_5,
               int size,int flags,type_1 *fontclass)

{
  size_t var_6;
  size_t var_10;
  type_2 *var_12;
  char *var_14;
  int iVar4;
  type_2 *var_17;
  size_t var_8;
  size_t n;
  size_t var_7;
  size_t var_9;
  
  var_7 = 0;
  var_6 = var_1(realfontname);
  if (var_2 != (char *)0x0) {
    var_7 = var_1(var_2);
  }
  var_8 = 0;
  if (var_3 != (char *)0x0) {
    var_8 = var_1(var_3);
  }
  var_9 = 0;
  if (var_4 != (char *)0x0) {
    var_9 = var_1(var_4);
  }
  var_10 = 0;
  if (var_5 != (char *)0x0) {
    var_10 = var_1(var_5);
  }
  n = var_6 + 0x3a + var_7 + var_8 + var_9 + var_10;
  var_12 = (type_2 *)var_11(n,1);
  var_12[0xb] = fontclass;
  *var_12 = var_12 + 0xc;
  var_14 = var_13((char *)(var_12 + 0xc),realfontname);
  var_14 = var_14 + 1;
  if (var_2 == (char *)0x0) {
    var_12[1] = 0;
  }
  else {
    var_12[1] = var_14;
    var_14 = var_13(var_14,var_2);
    var_14 = var_14 + 1;
  }
  if (var_3 == (char *)0x0) {
    var_12[2] = 0;
  }
  else {
    var_12[2] = var_14;
    var_14 = var_13(var_14,var_3);
    var_14 = var_14 + 1;
  }
  if (var_4 == (char *)0x0) {
    var_12[3] = 0;
  }
  else {
    var_12[3] = var_14;
    var_14 = var_13(var_14,var_4);
    var_14 = var_14 + 1;
  }
  if (var_5 == (char *)0x0) {
    var_12[4] = 0;
  }
  else {
    var_12[4] = var_14;
    var_14 = var_13(var_14,var_5);
    var_14 = var_14 + 1;
  }
  if ((int)var_14 - (int)var_12 <= (int)n) {
    var_12[5] = size;
    var_12[6] = flags;
    iVar4 = var_15(*(type_3 **)((int)ctx + 0x6c));
    var_12[7] = iVar4;
    var_17 = (type_2 *)var_16(*(type_3 **)((int)ctx + 0x68),var_12);
    if (var_17 == var_12) {
      var_16(*(type_3 **)((int)ctx + 0x6c),var_12);
      return;
    }
    var_18(var_12);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_19("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");
}


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

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

void MASKED(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,char *param_6,
                 undefined4 param_7,undefined4 param_8,undefined4 param_9)

{
  size_t sVar1;
  size_t sVar2;
  undefined4 *puVar3;
  char *pcVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  size_t sVar7;
  int iVar8;
  size_t sVar9;
  size_t sVar10;
  
  sVar9 = 0;
  sVar1 = strlen(param_2);
  if (param_3 != (char *)0x0) {
    sVar9 = strlen(param_3);
  }
  sVar7 = 0;
  if (param_4 != (char *)0x0) {
    sVar7 = strlen(param_4);
  }
  sVar10 = 0;
  if (param_5 != (char *)0x0) {
    sVar10 = strlen(param_5);
  }
  sVar2 = 0;
  if (param_6 != (char *)0x0) {
    sVar2 = strlen(param_6);
  }
  iVar8 = sVar1 + 0x3a + sVar9 + sVar7 + sVar10 + sVar2;
  puVar3 = (undefined4 *)FUN_0002e780(iVar8,1);
  puVar3[0xb] = param_9;
  *puVar3 = puVar3 + 0xc;
  pcVar4 = stpcpy((char *)(puVar3 + 0xc),param_2);
  pcVar4 = pcVar4 + 1;
  if (param_3 == (char *)0x0) {
    puVar3[1] = 0;
  }
  else {
    puVar3[1] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_3);
    pcVar4 = pcVar4 + 1;
  }
  if (param_4 == (char *)0x0) {
    puVar3[2] = 0;
  }
  else {
    puVar3[2] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_4);
    pcVar4 = pcVar4 + 1;
  }
  if (param_5 == (char *)0x0) {
    puVar3[3] = 0;
  }
  else {
    puVar3[3] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_5);
    pcVar4 = pcVar4 + 1;
  }
  if (param_6 == (char *)0x0) {
    puVar3[4] = 0;
  }
  else {
    puVar3[4] = pcVar4;
    pcVar4 = stpcpy(pcVar4,param_6);
    pcVar4 = pcVar4 + 1;
  }
  if ((int)pcVar4 - (int)puVar3 <= iVar8) {
    puVar3[5] = param_7;
    puVar3[6] = param_8;
    uVar5 = FUN_00081510(*(undefined4 *)(param_1 + 0x6c));
    puVar3[7] = uVar5;
    puVar6 = (undefined4 *)FUN_00081530(*(undefined4 *)(param_1 + 0x68),puVar3);
    if (puVar6 == puVar3) {
      FUN_00081530(*(undefined4 *)(param_1 + 0x6c),puVar3);
      return;
    }
    FUN_0002f010(puVar3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("p - (char *)info <= totalsize","unix/gtkfont.c",0xbb5,"unifontsel_add_entry");
}

