
FontSpec * read_setting_fontspec(void *handle,char *name)

{
  FontSpec *fs;
  char *key;
  char *name_00;
  FontSpec *pFVar1;
  char *pcVar2;
  
  key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0);
  name_00 = read_setting_s(handle,key);
  pcVar2 = name_00;
  if (name_00 == (char *)0x0) {
    (*(code *)PTR_safefree_000790f0)(key);
    pcVar2 = read_setting_s(handle,name);
    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {
      (*(code *)PTR_safefree_000790f0)(pcVar2);
      return (FontSpec *)0x0;
    }
    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);
    key = name_00;
  }
  pFVar1 = fontspec_new(name_00);
  (*(code *)PTR_safefree_000790f0)(key);
  (*(code *)PTR_safefree_000790f0)(pcVar2);
  return pFVar1;
}



undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)

{
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  char *pcVar4;
  
  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);
  pcVar2 = (char *)read_setting_s(param_1,pcVar1);
  pcVar4 = pcVar2;
  if (pcVar2 == (char *)0x0) {
    (*(code *)PTR_safefree_000790f0)(pcVar1);
    pcVar4 = (char *)read_setting_s(param_1,param_2);
    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {
      (*(code *)PTR_safefree_000790f0)(pcVar4);
      return 0;
    }
    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);
    pcVar1 = pcVar2;
  }
  uVar3 = fontspec_new(pcVar2);
  (*(code *)PTR_safefree_000790f0)(pcVar1);
  (*(code *)PTR_safefree_000790f0)(pcVar4);
  return uVar3;
}


lui gp,0x2
addiu gp,gp,0x7a24
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7aac(gp)
or a2,zero,zero
sw s4,0x30(sp)
or s4,a1,zero
sw s2,0x28(sp)
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s3,0x2c(sp)
or s3,a0,zero
sw s1,0x24(sp)
or a0,s4,zero
sw s0,0x20(sp)
lw a1,-0x7fc8(gp)
lw s2,-0x7c68(gp)
jalr t9
_addiu a1,a1,-0x6b4
or a0,s3,zero
or a1,v0,zero
or t9,s2,zero
bal 0x0005947c
_or s1,v0,zero
beq v0,zero,0x00059714
_lw gp,0x10(sp)
lw t9,-0x7fb0(gp)
or s0,v0,zero
or a0,v0,zero
bal 0x00051900
_nop
or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f80(gp)
jalr t9
_sw v0,0x1c(sp)
lw gp,0x10(sp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s0,zero
lw ra,0x34(sp)
lw v0,0x1c(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7f80(gp)
jalr t9
_or a0,s1,zero
or a1,s4,zero
or t9,s2,zero
bal 0x0005947c
_or a0,s3,zero
lw gp,0x10(sp)
beq v0,zero,0x00059770
_or s0,v0,zero
lb v0,0x0(v0)
beq v0,zero,0x00059770
_lw a0,-0x7fc8(gp)
or a2,zero,zero
lw t9,-0x7aac(gp)
or a1,s0,zero
jalr t9
_addiu a0,a0,0x71c8
lw gp,0x10(sp)
or s1,v0,zero
or a0,v0,zero
b 0x000596c4
_lw t9,-0x7fb0(gp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s0,zero
or v0,zero,zero
lw ra,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}\n\n" (function_definition "undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" type_identifier (function_declarator "read_setting_fontspec(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_j_000790a8 + -0x6b4,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + -0x6b4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "pcVar2 = (char *)read_setting_s(param_1,pcVar1);" (assignment_expression "pcVar2 = (char *)read_setting_s(param_1,pcVar1)" identifier = (cast_expression "(char *)read_setting_s(param_1,pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "read_setting_s(param_1,pcVar1)" identifier (argument_list "(param_1,pcVar1)" ( identifier , identifier ))))) ;) (expression_statement "pcVar4 = pcVar2;" (assignment_expression "pcVar4 = pcVar2" identifier = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "pcVar4 = (char *)read_setting_s(param_1,param_2);" (assignment_expression "pcVar4 = (char *)read_setting_s(param_1,param_2)" identifier = (cast_expression "(char *)read_setting_s(param_1,param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "read_setting_s(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (if_statement "if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" if (parenthesized_expression "((pcVar4 == (char *)0x0) || (*pcVar4 == '\0'))" ( (binary_expression "(pcVar4 == (char *)0x0) || (*pcVar4 == '\0')" (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar4 == '\0')" ( (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" ( (binary_expression "PTR_s_j_000790a8 + 0x71c8" identifier + number_literal) , identifier , number_literal ))))) ;) (expression_statement "pcVar1 = pcVar2;" (assignment_expression "pcVar1 = pcVar2" identifier = identifier) ;) })) (expression_statement "uVar3 = fontspec_new(pcVar2);" (assignment_expression "uVar3 = fontspec_new(pcVar2)" identifier = (call_expression "fontspec_new(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "FontSpec * read_setting_fontspec(void *handle,char *name)\n\n{\n  FontSpec *fs;\n  char *key;\n  char *name_00;\n  FontSpec *pFVar1;\n  char *pcVar2;\n  \n  key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0);\n  name_00 = read_setting_s(handle,key);\n  pcVar2 = name_00;\n  if (name_00 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(key);\n    pcVar2 = read_setting_s(handle,name);\n    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }\n    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);\n    key = name_00;\n  }\n  pFVar1 = fontspec_new(name_00);\n  (*(code *)PTR_safefree_000790f0)(key);\n  (*(code *)PTR_safefree_000790f0)(pcVar2);\n  return pFVar1;\n}\n\n" (function_definition "FontSpec * read_setting_fontspec(void *handle,char *name)\n\n{\n  FontSpec *fs;\n  char *key;\n  char *name_00;\n  FontSpec *pFVar1;\n  char *pcVar2;\n  \n  key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0);\n  name_00 = read_setting_s(handle,key);\n  pcVar2 = name_00;\n  if (name_00 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(key);\n    pcVar2 = read_setting_s(handle,name);\n    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }\n    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);\n    key = name_00;\n  }\n  pFVar1 = fontspec_new(name_00);\n  (*(code *)PTR_safefree_000790f0)(key);\n  (*(code *)PTR_safefree_000790f0)(pcVar2);\n  return pFVar1;\n}" type_identifier (pointer_declarator "* read_setting_fontspec(void *handle,char *name)" * (function_declarator "read_setting_fontspec(void *handle,char *name)" identifier (parameter_list "(void *handle,char *name)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  FontSpec *fs;\n  char *key;\n  char *name_00;\n  FontSpec *pFVar1;\n  char *pcVar2;\n  \n  key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0);\n  name_00 = read_setting_s(handle,key);\n  pcVar2 = name_00;\n  if (name_00 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(key);\n    pcVar2 = read_setting_s(handle,name);\n    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }\n    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);\n    key = name_00;\n  }\n  pFVar1 = fontspec_new(name_00);\n  (*(code *)PTR_safefree_000790f0)(key);\n  (*(code *)PTR_safefree_000790f0)(pcVar2);\n  return pFVar1;\n}" { (declaration "FontSpec *fs;" type_identifier (pointer_declarator "*fs" * identifier) ;) (declaration "char *key;" primitive_type (pointer_declarator "*key" * identifier) ;) (declaration "char *name_00;" primitive_type (pointer_declarator "*name_00" * identifier) ;) (declaration "FontSpec *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0);" (assignment_expression "key = (char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(name,PTR_s_j_000790a8 + -0x6b4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name,PTR_s_j_000790a8 + -0x6b4,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + -0x6b4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "name_00 = read_setting_s(handle,key);" (assignment_expression "name_00 = read_setting_s(handle,key)" identifier = (call_expression "read_setting_s(handle,key)" identifier (argument_list "(handle,key)" ( identifier , identifier )))) ;) (expression_statement "pcVar2 = name_00;" (assignment_expression "pcVar2 = name_00" identifier = identifier) ;) (if_statement "if (name_00 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(key);\n    pcVar2 = read_setting_s(handle,name);\n    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }\n    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);\n    key = name_00;\n  }" if (parenthesized_expression "(name_00 == (char *)0x0)" ( (binary_expression "name_00 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(key);\n    pcVar2 = read_setting_s(handle,name);\n    if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }\n    name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);\n    key = name_00;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(key);" (call_expression "(*(code *)PTR_safefree_000790f0)(key)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(key)" ( identifier ))) ;) (expression_statement "pcVar2 = read_setting_s(handle,name);" (assignment_expression "pcVar2 = read_setting_s(handle,name)" identifier = (call_expression "read_setting_s(handle,name)" identifier (argument_list "(handle,name)" ( identifier , identifier )))) ;) (if_statement "if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }" if (parenthesized_expression "((pcVar2 == (char *)0x0) || (*pcVar2 == '\0'))" ( (binary_expression "(pcVar2 == (char *)0x0) || (*pcVar2 == '\0')" (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar2 == '\0')" ( (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      (*(code *)PTR_safefree_000790f0)(pcVar2);\n      return (FontSpec *)0x0;\n    }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar2);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return (FontSpec *)0x0;" return (cast_expression "(FontSpec *)0x0" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0);" (assignment_expression "name_00 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar2,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + 0x71c8,pcVar2,0)" ( (binary_expression "PTR_s_j_000790a8 + 0x71c8" identifier + number_literal) , identifier , number_literal ))))) ;) (expression_statement "key = name_00;" (assignment_expression "key = name_00" identifier = identifier) ;) })) (expression_statement "pFVar1 = fontspec_new(name_00);" (assignment_expression "pFVar1 = fontspec_new(name_00)" identifier = (call_expression "fontspec_new(name_00)" identifier (argument_list "(name_00)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(key);" (call_expression "(*(code *)PTR_safefree_000790f0)(key)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(key)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar2);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return pFVar1;" return identifier ;) })))
(translation_unit "undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}\n\n" (function_definition "undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" type_identifier (function_declarator "read_setting_fontspec(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_j_000790a8 + -0x6b4,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + -0x6b4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "pcVar2 = (char *)read_setting_s(param_1,pcVar1);" (assignment_expression "pcVar2 = (char *)read_setting_s(param_1,pcVar1)" identifier = (cast_expression "(char *)read_setting_s(param_1,pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "read_setting_s(param_1,pcVar1)" identifier (argument_list "(param_1,pcVar1)" ( identifier , identifier ))))) ;) (expression_statement "pcVar4 = pcVar2;" (assignment_expression "pcVar4 = pcVar2" identifier = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "pcVar4 = (char *)read_setting_s(param_1,param_2);" (assignment_expression "pcVar4 = (char *)read_setting_s(param_1,param_2)" identifier = (cast_expression "(char *)read_setting_s(param_1,param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "read_setting_s(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (if_statement "if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" if (parenthesized_expression "((pcVar4 == (char *)0x0) || (*pcVar4 == '\0'))" ( (binary_expression "(pcVar4 == (char *)0x0) || (*pcVar4 == '\0')" (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar4 == '\0')" ( (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" ( (pointer_expression "*(code *)PTR_dupcat_000795c4" * (cast_expression "(code *)PTR_dupcat_000795c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" ( (binary_expression "PTR_s_j_000790a8 + 0x71c8" identifier + number_literal) , identifier , number_literal ))))) ;) (expression_statement "pcVar1 = pcVar2;" (assignment_expression "pcVar1 = pcVar2" identifier = identifier) ;) })) (expression_statement "uVar3 = fontspec_new(pcVar2);" (assignment_expression "uVar3 = fontspec_new(pcVar2)" identifier = (call_expression "fontspec_new(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 read_setting_fontspec(undefined4 param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "read_setting_fontspec(undefined4 param_1,undefined4 param_2)" (identifier "read_setting_fontspec") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  \n  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);\n  pcVar2 = (char *)read_setting_s(param_1,pcVar1);\n  pcVar4 = pcVar2;\n  if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }\n  uVar3 = fontspec_new(pcVar2);\n  (*(code *)PTR_safefree_000790f0)(pcVar1);\n  (*(code *)PTR_safefree_000790f0)(pcVar4);\n  return uVar3;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (identifier "pcVar1") (= "=") (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" (( "(") (pointer_expression "*(code *)PTR_dupcat_000795c4" (* "*") (cast_expression "(code *)PTR_dupcat_000795c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupcat_000795c4"))) () ")")) (argument_list "(param_2,PTR_s_j_000790a8 + -0x6b4,0)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_j_000790a8 + -0x6b4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "-0x6b4")) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "pcVar2 = (char *)read_setting_s(param_1,pcVar1);" (assignment_expression "pcVar2 = (char *)read_setting_s(param_1,pcVar1)" (identifier "pcVar2") (= "=") (cast_expression "(char *)read_setting_s(param_1,pcVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "read_setting_s(param_1,pcVar1)" (identifier "read_setting_s") (argument_list "(param_1,pcVar1)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar1") () ")"))))) (; ";")) (expression_statement "pcVar4 = pcVar2;" (assignment_expression "pcVar4 = pcVar2" (identifier "pcVar4") (= "=") (identifier "pcVar2")) (; ";")) (if_statement "if (pcVar2 == (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(pcVar1);\n    pcVar4 = (char *)read_setting_s(param_1,param_2);\n    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }\n    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);\n    pcVar1 = pcVar2;\n  }" ({ "{") (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "pcVar4 = (char *)read_setting_s(param_1,param_2);" (assignment_expression "pcVar4 = (char *)read_setting_s(param_1,param_2)" (identifier "pcVar4") (= "=") (cast_expression "(char *)read_setting_s(param_1,param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "read_setting_s(param_1,param_2)" (identifier "read_setting_s") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (if_statement "if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" (if "if") (parenthesized_expression "((pcVar4 == (char *)0x0) || (*pcVar4 == '\0'))" (( "(") (binary_expression "(pcVar4 == (char *)0x0) || (*pcVar4 == '\0')" (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*pcVar4 == '\0')" (( "(") (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_safefree_000790f0)(pcVar4);\n      return 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (parenthesized_expression "(*(code *)PTR_dupcat_000795c4)" (( "(") (pointer_expression "*(code *)PTR_dupcat_000795c4" (* "*") (cast_expression "(code *)PTR_dupcat_000795c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupcat_000795c4"))) () ")")) (argument_list "(PTR_s_j_000790a8 + 0x71c8,pcVar4,0)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x71c8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x71c8")) (, ",") (identifier "pcVar4") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "pcVar1 = pcVar2;" (assignment_expression "pcVar1 = pcVar2" (identifier "pcVar1") (= "=") (identifier "pcVar2")) (; ";")) (} "}"))) (expression_statement "uVar3 = fontspec_new(pcVar2);" (assignment_expression "uVar3 = fontspec_new(pcVar2)" (identifier "uVar3") (= "=") (call_expression "fontspec_new(pcVar2)" (identifier "fontspec_new") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar1);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  char *pcVar4;
  
  pcVar1 = (char *)(*(code *)PTR_dupcat_000795c4)(param_2,PTR_s_j_000790a8 + -0x6b4,0);
  pcVar2 = (char *)read_setting_s(param_1,pcVar1);
  pcVar4 = pcVar2;
  if (pcVar2 == (char *)0x0) {
    (*(code *)PTR_safefree_000790f0)(pcVar1);
    pcVar4 = (char *)read_setting_s(param_1,param_2);
    if ((pcVar4 == (char *)0x0) || (*pcVar4 == '\0')) {
      (*(code *)PTR_safefree_000790f0)(pcVar4);
      return 0;
    }
    pcVar2 = (char *)(*(code *)PTR_dupcat_000795c4)(PTR_s_j_000790a8 + 0x71c8,pcVar4,0);
    pcVar1 = pcVar2;
  }
  uVar3 = fontspec_new(pcVar2);
  (*(code *)PTR_safefree_000790f0)(pcVar1);
  (*(code *)PTR_safefree_000790f0)(pcVar4);
  return uVar3;
}

