
void free_entry(conf_entry *entry)

{
  int iVar1;
  
  iVar1 = (entry->key).primary * 4;
  if (*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2) {
                    /* WARNING: Subroutine does not return */
    safefree((entry->key).secondary.s);
  }
  iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc);
  if (iVar1 == 2) {
                    /* WARNING: Subroutine does not return */
    safefree((entry->value).u.stringval);
  }
  if (iVar1 == 3) {
    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);
                    /* WARNING: Subroutine does not return */
    safefree(entry);
  }
  if (iVar1 != 4) {
                    /* WARNING: Subroutine does not return */
    safefree(entry);
  }
  (*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval);
                    /* WARNING: Subroutine does not return */
  safefree(entry);
}



void FUN_00016c58(int *param_1)

{
  int iVar1;
  
  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {
    safefree(param_1[1]);
    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);
  }
  else {
    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);
  }
  if (iVar1 == 2) {
    safefree(param_1[2]);
    safefree(param_1);
    return;
  }
  if (iVar1 == 3) {
    (*(code *)PTR_filename_free_0006a140)(param_1[2]);
    safefree(param_1);
    return;
  }
  if (iVar1 != 4) {
    safefree(param_1);
    return;
  }
  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);
  safefree(param_1);
  return;
}


lui gp,0x6
addiu gp,gp,-0x4c28
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,0x0(a0)
lw v1,-0x7fc8(gp)
li a1,0x2
sw s0,0x18(sp)
or s0,a0,zero
addiu v1,v1,-0x23fc
sw gp,0x10(sp)
sll a0,v0,0x2
sw ra,0x1c(sp)
addu v1,v1,a0
lw v0,0x0(v1)
beq v0,a1,0x00016cdc
_lw v0,-0x7fc8(gp)
li v1,0x2
addiu v0,v0,-0x26dc
addu v0,v0,a0
lw v0,0x0(v0)
beq v0,v1,0x00016d14
_lw t9,-0x7fac(gp)
li v1,0x3
beq v0,v1,0x00016d38
_li v1,0x4
beq v0,v1,0x00016d60
_lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7fac(gp)
lw s0,0x18(sp)
b 0x000201c4
_addiu sp,sp,0x20
lw t9,-0x7fac(gp)
bal 0x000201c4
_lw a0,0x4(s0)
li v1,0x2
lw gp,0x10(sp)
lw v0,0x0(s0)
sll a0,v0,0x2
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x26dc
addu v0,v0,a0
lw v0,0x0(v0)
bne v0,v1,0x00016cb8
_li v1,0x3
lw t9,-0x7fac(gp)
bal 0x000201c4
_lw a0,0x8(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fac(gp)
b 0x000201c4
_addiu sp,sp,0x20
lw t9,-0x7ef0(gp)
jalr t9
_lw a0,0x8(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fac(gp)
b 0x000201c4
_addiu sp,sp,0x20
lw t9,-0x7eec(gp)
jalr t9
_lw a0,0x8(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fac(gp)
b 0x000201c4
_addiu sp,sp,0x20
(translation_unit "void FUN_00016c58(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00016c58(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00016c58(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2)" ( (binary_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2" (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) )))) == number_literal) )) (compound_statement "{\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" { (expression_statement "safefree(param_1[1]);" (call_expression "safefree(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" identifier = (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) ;) }) (else_clause "else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" else (compound_statement "{\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" { (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" identifier = (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" { (expression_statement "safefree(param_1[2]);" (call_expression "safefree(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 3)" ( (binary_expression "iVar1 == 3" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" { (expression_statement "(*(code *)PTR_filename_free_0006a140)(param_1[2]);" (call_expression "(*(code *)PTR_filename_free_0006a140)(param_1[2])" (parenthesized_expression "(*(code *)PTR_filename_free_0006a140)" ( (pointer_expression "*(code *)PTR_filename_free_0006a140" * (cast_expression "(code *)PTR_filename_free_0006a140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n    safefree(param_1);\n    return;\n  }" { (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_fontspec_free_0006a144)(param_1[2]);" (call_expression "(*(code *)PTR_fontspec_free_0006a144)(param_1[2])" (parenthesized_expression "(*(code *)PTR_fontspec_free_0006a144)" ( (pointer_expression "*(code *)PTR_fontspec_free_0006a144" * (cast_expression "(code *)PTR_fontspec_free_0006a144" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void free_entry(conf_entry *entry)\n\n{\n  int iVar1;\n  \n  iVar1 = (entry->key).primary * 4;\n  if (*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->key).secondary.s);\n  }\n  iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc);\n  if (iVar1 == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->value).u.stringval);\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  (*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n  safefree(entry);\n}\n\n" (function_definition "void free_entry(conf_entry *entry)\n\n{\n  int iVar1;\n  \n  iVar1 = (entry->key).primary * 4;\n  if (*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->key).secondary.s);\n  }\n  iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc);\n  if (iVar1 == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->value).u.stringval);\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  (*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n  safefree(entry);\n}" primitive_type (function_declarator "free_entry(conf_entry *entry)" identifier (parameter_list "(conf_entry *entry)" ( (parameter_declaration "conf_entry *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (entry->key).primary * 4;\n  if (*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->key).secondary.s);\n  }\n  iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc);\n  if (iVar1 == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->value).u.stringval);\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }\n  (*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n  safefree(entry);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (entry->key).primary * 4;" (assignment_expression "iVar1 = (entry->key).primary * 4" identifier = (binary_expression "(entry->key).primary * 4" (field_expression "(entry->key).primary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) * number_literal)) ;) (if_statement "if (*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->key).secondary.s);\n  }" if (parenthesized_expression "(*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2)" ( (binary_expression "*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc) == 2" (pointer_expression "*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc)" * (cast_expression "(int *)(PTR_D0_238__0006a068 + iVar1 + -0x23fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_D0_238__0006a068 + iVar1 + -0x23fc)" ( (binary_expression "PTR_D0_238__0006a068 + iVar1 + -0x23fc" (binary_expression "PTR_D0_238__0006a068 + iVar1" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->key).secondary.s);\n  }" { comment (expression_statement "safefree((entry->key).secondary.s);" (call_expression "safefree((entry->key).secondary.s)" identifier (argument_list "((entry->key).secondary.s)" ( (field_expression "(entry->key).secondary.s" (field_expression "(entry->key).secondary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) })) (expression_statement "iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc)" identifier = (pointer_expression "*(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc)" * (cast_expression "(int *)(PTR_D0_238__0006a068 + iVar1 + -0x26dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_D0_238__0006a068 + iVar1 + -0x26dc)" ( (binary_expression "PTR_D0_238__0006a068 + iVar1 + -0x26dc" (binary_expression "PTR_D0_238__0006a068 + iVar1" identifier + identifier) + number_literal) ))))) ;) (if_statement "if (iVar1 == 2) {\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->value).u.stringval);\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    safefree((entry->value).u.stringval);\n  }" { comment (expression_statement "safefree((entry->value).u.stringval);" (call_expression "safefree((entry->value).u.stringval)" identifier (argument_list "((entry->value).u.stringval)" ( (field_expression "(entry->value).u.stringval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) })) (if_statement "if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }" if (parenthesized_expression "(iVar1 == 3)" ( (binary_expression "iVar1 == 3" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }" { (expression_statement "(*(code *)PTR_filename_free_0006a140)((entry->value).u.intval);" (call_expression "(*(code *)PTR_filename_free_0006a140)((entry->value).u.intval)" (parenthesized_expression "(*(code *)PTR_filename_free_0006a140)" ( (pointer_expression "*(code *)PTR_filename_free_0006a140" * (cast_expression "(code *)PTR_filename_free_0006a140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((entry->value).u.intval)" ( (field_expression "(entry->value).u.intval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) comment (expression_statement "safefree(entry);" (call_expression "safefree(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) })) (if_statement "if (iVar1 != 4) {\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    safefree(entry);\n  }" { comment (expression_statement "safefree(entry);" (call_expression "safefree(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval);" (call_expression "(*(code *)PTR_fontspec_free_0006a144)((entry->value).u.intval)" (parenthesized_expression "(*(code *)PTR_fontspec_free_0006a144)" ( (pointer_expression "*(code *)PTR_fontspec_free_0006a144" * (cast_expression "(code *)PTR_fontspec_free_0006a144" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((entry->value).u.intval)" ( (field_expression "(entry->value).u.intval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) comment (expression_statement "safefree(entry);" (call_expression "safefree(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) })))
(translation_unit "void FUN_00016c58(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00016c58(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00016c58(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2)" ( (binary_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2" (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) )))) == number_literal) )) (compound_statement "{\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" { (expression_statement "safefree(param_1[1]);" (call_expression "safefree(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" identifier = (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) ;) }) (else_clause "else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" else (compound_statement "{\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" { (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" identifier = (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" * (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" ( (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" { (expression_statement "safefree(param_1[2]);" (call_expression "safefree(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 == 3)" ( (binary_expression "iVar1 == 3" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" { (expression_statement "(*(code *)PTR_filename_free_0006a140)(param_1[2]);" (call_expression "(*(code *)PTR_filename_free_0006a140)(param_1[2])" (parenthesized_expression "(*(code *)PTR_filename_free_0006a140)" ( (pointer_expression "*(code *)PTR_filename_free_0006a140" * (cast_expression "(code *)PTR_filename_free_0006a140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n    safefree(param_1);\n    return;\n  }" { (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_fontspec_free_0006a144)(param_1[2]);" (call_expression "(*(code *)PTR_fontspec_free_0006a144)(param_1[2])" (parenthesized_expression "(*(code *)PTR_fontspec_free_0006a144)" ( (pointer_expression "*(code *)PTR_fontspec_free_0006a144" * (cast_expression "(code *)PTR_fontspec_free_0006a144" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00016c58(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00016c58(int *param_1)" (identifier "FUN_00016c58") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }\n  if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }\n  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);\n  safefree(param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }\n  else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2)" (( "(") (binary_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2" (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" (* "*") (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc)" (( "(") (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" (identifier "PTR_DAT_0006a068") (+ "+") (binary_expression "*param_1 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x23fc")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    safefree(param_1[1]);\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" ({ "{") (expression_statement "safefree(param_1[1]);" (call_expression "safefree(param_1[1])" (identifier "safefree") (argument_list "(param_1[1])" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (* "*") (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (( "(") (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" (identifier "PTR_DAT_0006a068") (+ "+") (binary_expression "*param_1 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x26dc")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" (else "else") (compound_statement "{\n    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (* "*") (cast_expression "(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc)" (( "(") (binary_expression "PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc" (binary_expression "PTR_DAT_0006a068 + *param_1 * 4" (identifier "PTR_DAT_0006a068") (+ "+") (binary_expression "*param_1 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x26dc")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 2) {\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    safefree(param_1[2]);\n    safefree(param_1);\n    return;\n  }" ({ "{") (expression_statement "safefree(param_1[2]);" (call_expression "safefree(param_1[2])" (identifier "safefree") (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar1 == 3) {\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 3)" (( "(") (binary_expression "iVar1 == 3" (identifier "iVar1") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    (*(code *)PTR_filename_free_0006a140)(param_1[2]);\n    safefree(param_1);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_filename_free_0006a140)(param_1[2]);" (call_expression "(*(code *)PTR_filename_free_0006a140)(param_1[2])" (parenthesized_expression "(*(code *)PTR_filename_free_0006a140)" (( "(") (pointer_expression "*(code *)PTR_filename_free_0006a140" (* "*") (cast_expression "(code *)PTR_filename_free_0006a140" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_filename_free_0006a140"))) () ")")) (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar1 != 4) {\n    safefree(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 4)" (( "(") (binary_expression "iVar1 != 4" (identifier "iVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n    safefree(param_1);\n    return;\n  }" ({ "{") (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_fontspec_free_0006a144)(param_1[2]);" (call_expression "(*(code *)PTR_fontspec_free_0006a144)(param_1[2])" (parenthesized_expression "(*(code *)PTR_fontspec_free_0006a144)" (( "(") (pointer_expression "*(code *)PTR_fontspec_free_0006a144" (* "*") (cast_expression "(code *)PTR_fontspec_free_0006a144" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fontspec_free_0006a144"))) () ")")) (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *entry)

{
  int var_2;
  
  var_2 = (entry->key).primary * 4;
  if (*(int *)(var_1 + var_2 + -0x23fc) == 2) {
                    /* WARNING: Subroutine does not return */
    var_3((entry->key).secondary.s);
  }
  var_2 = *(int *)(var_1 + var_2 + -0x26dc);
  if (var_2 == 2) {
                    /* WARNING: Subroutine does not return */
    var_3((entry->value).u.stringval);
  }
  if (var_2 == 3) {
    (*(type_2 *)PTR_filename_free_0006a140)((entry->value).u.intval);
                    /* WARNING: Subroutine does not return */
    var_3(entry);
  }
  if (var_2 != 4) {
                    /* WARNING: Subroutine does not return */
    var_3(entry);
  }
  (*(type_2 *)PTR_fontspec_free_0006a144)((entry->value).u.intval);
                    /* WARNING: Subroutine does not return */
  var_3(entry);
}


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

void MASKED(int *param_1)

{
  int iVar1;
  
  if (*(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x23fc) == 2) {
    safefree(param_1[1]);
    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);
  }
  else {
    iVar1 = *(int *)(PTR_DAT_0006a068 + *param_1 * 4 + -0x26dc);
  }
  if (iVar1 == 2) {
    safefree(param_1[2]);
    safefree(param_1);
    return;
  }
  if (iVar1 == 3) {
    (*(code *)PTR_filename_free_0006a140)(param_1[2]);
    safefree(param_1);
    return;
  }
  if (iVar1 != 4) {
    safefree(param_1);
    return;
  }
  (*(code *)PTR_fontspec_free_0006a144)(param_1[2]);
  safefree(param_1);
  return;
}

