
void dlg_fontsel_set(control *ctrl,void *dlg,FontSpec *fs)

{
  code *pcVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  dlgparam *dp;
  int iVar5;
  
                    /* WARNING: Load size is inaccurate */
  if (*dlg == (tree234 *)0x0) {
    (*(code *)PTR_dupstr_0011131c)(fs->name);
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44));
  uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name);
  if (*(int *)*puVar2 == 8) {
    iVar5 = puVar2[4];
    if (iVar5 != 0) {
      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();
      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);
      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);
      (*(code *)PTR_safefree_001112f0)(uVar3);
      return;
    }
    (*(code *)PTR___assert_fail_00111f50)
              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,
               PTR_E1_202__001112f8 + 0x7dc4);
    return;
  }
  (*(code *)PTR___assert_fail_00111f50)
            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,
             PTR_E1_202__001112f8 + 0x7dc4);
  return;
}



void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)

{
  code *pcVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  int iVar5;
  
  if (*param_2 == 0) {
    (*(code *)PTR_dupstr_0011131c)(*param_3);
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);
  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);
  if (*(int *)*puVar2 == 8) {
    iVar5 = puVar2[4];
    if (iVar5 != 0) {
      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();
      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);
      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);
      (*(code *)PTR_safefree_001112f0)(uVar3);
      return;
    }
    (*(code *)PTR___assert_fail_00111f50)
              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);
    return;
  }
  (*(code *)PTR___assert_fail_00111f50)
            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);
  return;
}


lui gp,0x7
addiu gp,gp,0x220c
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x0(a1)
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a2,zero
sw ra,0x24(sp)
beq v0,zero,0x000a71b8
_sw s1,0x20(sp)
lw a2,-0x76c8(gp)
or a1,a0,zero
lw t9,-0x7e74(gp)
or a0,v0,zero
bal 0x0009fed4
_addiu a2,a2,0x3d44
lw gp,0x10(sp)
lw a0,0x0(s0)
lw t9,-0x7f94(gp)
jalr t9
_or s0,v0,zero
li v1,0x8
lw a0,0x0(s0)
or s1,v0,zero
lw v0,0x0(a0)
bne v0,v1,0x000a7170
_lw gp,0x10(sp)
lw s0,0x10(s0)
beq s0,zero,0x000a7194
_lw t9,-0x71c8(gp)
jalr t9
_nop
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7090(gp)
jalr t9
_or a0,v0,zero
or a0,s1,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7fc0(gp)
jr t9
_addiu sp,sp,0x28
lw a3,-0x7fb8(gp)
li a2,0x39d
lw a1,-0x7fb8(gp)
lw a0,-0x7fb8(gp)
lw t9,-0x7360(gp)
addiu a3,a3,0x7dc4
addiu a1,a1,0x6a84
jalr t9
_addiu a0,a0,0x6ca0
lw a3,-0x7fb8(gp)
li a2,0x39e
lw a1,-0x7fb8(gp)
lw a0,-0x7fb8(gp)
lw t9,-0x7360(gp)
addiu a3,a3,0x7dc4
addiu a1,a1,0x6a84
jalr t9
_addiu a0,a0,0x6c8c
lw t9,-0x7f94(gp)
jalr t9
_lw a0,0x0(a2)
lw v0,0x0(zero)
teq zero,zero
(translation_unit "void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}\n\n" (function_definition "void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" primitive_type (function_declarator "dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { (expression_statement "(*(code *)PTR_dupstr_0011131c)(*param_3);" (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) comment (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" identifier = (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" identifier (argument_list "(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" ( (pointer_expression "*param_2" * identifier) , identifier , (binary_expression "PTR_LAB_00111be8 + 0x3d44" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3)" identifier = (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" if (parenthesized_expression "(*(int *)*puVar2 == 8)" ( (binary_expression "*(int *)*puVar2 == 8" (pointer_expression "*(int *)*puVar2" * (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) == number_literal) )) (compound_statement "{\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" { (expression_statement "iVar5 = puVar2[4];" (assignment_expression "iVar5 = puVar2[4]" identifier = (subscript_expression "puVar2[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();" (assignment_expression "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)()" identifier = (call_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)()" (parenthesized_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)" ( (pointer_expression "*(code *)PTR_gtk_entry_get_type_001120e8" * (cast_expression "(code *)PTR_gtk_entry_get_type_001120e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);" (assignment_expression "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,uVar4)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);" (call_expression "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3)" (parenthesized_expression "(*(code *)PTR_gtk_entry_set_text_00112220)" ( (pointer_expression "*(code *)PTR_gtk_entry_set_text_00112220" * (cast_expression "(code *)PTR_gtk_entry_set_text_00112220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,uVar3)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" ( (binary_expression "PTR_DAT_001112f8 + 0x6c8c" identifier + number_literal) , (binary_expression "PTR_DAT_001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" ( (binary_expression "PTR_DAT_001112f8 + 0x6ca0" identifier + number_literal) , (binary_expression "PTR_DAT_001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dlg_fontsel_set(control *ctrl,void *dlg,FontSpec *fs)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  dlgparam *dp;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n    (*(code *)PTR_dupstr_0011131c)(fs->name);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44));\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4);\n  return;\n}\n\n" (function_definition "void dlg_fontsel_set(control *ctrl,void *dlg,FontSpec *fs)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  dlgparam *dp;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n    (*(code *)PTR_dupstr_0011131c)(fs->name);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44));\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4);\n  return;\n}" primitive_type (function_declarator "dlg_fontsel_set(control *ctrl,void *dlg,FontSpec *fs)" identifier (parameter_list "(control *ctrl,void *dlg,FontSpec *fs)" ( (parameter_declaration "control *ctrl" type_identifier (pointer_declarator "*ctrl" * identifier)) , (parameter_declaration "void *dlg" primitive_type (pointer_declarator "*dlg" * identifier)) , (parameter_declaration "FontSpec *fs" type_identifier (pointer_declarator "*fs" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  dlgparam *dp;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  if (*dlg == (tree234 *)0x0) {\n    (*(code *)PTR_dupstr_0011131c)(fs->name);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44));\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "dlgparam *dp;" type_identifier (pointer_declarator "*dp" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) comment (if_statement "if (*dlg == (tree234 *)0x0) {\n    (*(code *)PTR_dupstr_0011131c)(fs->name);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*dlg == (tree234 *)0x0)" ( (binary_expression "*dlg == (tree234 *)0x0" (pointer_expression "*dlg" * identifier) == (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_dupstr_0011131c)(fs->name);\n                    /* WARNING: Does not return */\n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { (expression_statement "(*(code *)PTR_dupstr_0011131c)(fs->name);" (call_expression "(*(code *)PTR_dupstr_0011131c)(fs->name)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fs->name)" ( (field_expression "fs->name" identifier -> field_identifier) ))) ;) comment (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44));" (assignment_expression "puVar2 = (undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44))" identifier = (cast_expression "(undefined4 *)find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44))" identifier (argument_list "(*dlg,ctrl,(cmpfn234)(PTR_LAB_00111be8 + 0x3d44))" ( (pointer_expression "*dlg" * identifier) , identifier , (call_expression "(cmpfn234)(PTR_LAB_00111be8 + 0x3d44)" (parenthesized_expression "(cmpfn234)" ( identifier )) (argument_list "(PTR_LAB_00111be8 + 0x3d44)" ( (binary_expression "PTR_LAB_00111be8 + 0x3d44" identifier + number_literal) ))) ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_0011131c)(fs->name)" identifier = (call_expression "(*(code *)PTR_dupstr_0011131c)(fs->name)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fs->name)" ( (field_expression "fs->name" identifier -> field_identifier) )))) ;) (if_statement "if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);\n    return;\n  }" if (parenthesized_expression "(*(int *)*puVar2 == 8)" ( (binary_expression "*(int *)*puVar2 == 8" (pointer_expression "*(int *)*puVar2" * (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) == number_literal) )) (compound_statement "{\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);\n    return;\n  }" { (expression_statement "iVar5 = puVar2[4];" (assignment_expression "iVar5 = puVar2[4]" identifier = (subscript_expression "puVar2[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();" (assignment_expression "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)()" identifier = (call_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)()" (parenthesized_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)" ( (pointer_expression "*(code *)PTR_gtk_entry_get_type_001120e8" * (cast_expression "(code *)PTR_gtk_entry_get_type_001120e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);" (assignment_expression "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,uVar4)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);" (call_expression "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3)" (parenthesized_expression "(*(code *)PTR_gtk_entry_set_text_00112220)" ( (pointer_expression "*(code *)PTR_gtk_entry_set_text_00112220" * (cast_expression "(code *)PTR_gtk_entry_set_text_00112220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,uVar3)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_E1_202__001112f8 + 0x6c8c,PTR_E1_202__001112f8 + 0x6a84,0x39e,\n               PTR_E1_202__001112f8 + 0x7dc4)" ( (binary_expression "PTR_E1_202__001112f8 + 0x6c8c" identifier + number_literal) , (binary_expression "PTR_E1_202__001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_E1_202__001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_E1_202__001112f8 + 0x6ca0,PTR_E1_202__001112f8 + 0x6a84,0x39d,\n             PTR_E1_202__001112f8 + 0x7dc4)" ( (binary_expression "PTR_E1_202__001112f8 + 0x6ca0" identifier + number_literal) , (binary_expression "PTR_E1_202__001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_E1_202__001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}\n\n" (function_definition "void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" primitive_type (function_declarator "dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" { (expression_statement "(*(code *)PTR_dupstr_0011131c)(*param_3);" (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" identifier = (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" identifier (argument_list "(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" ( (pointer_expression "*param_2" * identifier) , identifier , (binary_expression "PTR_LAB_00111be8 + 0x3d44" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3)" identifier = (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" ( (pointer_expression "*(code *)PTR_dupstr_0011131c" * (cast_expression "(code *)PTR_dupstr_0011131c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" if (parenthesized_expression "(*(int *)*puVar2 == 8)" ( (binary_expression "*(int *)*puVar2 == 8" (pointer_expression "*(int *)*puVar2" * (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) == number_literal) )) (compound_statement "{\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" { (expression_statement "iVar5 = puVar2[4];" (assignment_expression "iVar5 = puVar2[4]" identifier = (subscript_expression "puVar2[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();" (assignment_expression "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)()" identifier = (call_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)()" (parenthesized_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)" ( (pointer_expression "*(code *)PTR_gtk_entry_get_type_001120e8" * (cast_expression "(code *)PTR_gtk_entry_get_type_001120e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);" (assignment_expression "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,uVar4)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);" (call_expression "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3)" (parenthesized_expression "(*(code *)PTR_gtk_entry_set_text_00112220)" ( (pointer_expression "*(code *)PTR_gtk_entry_set_text_00112220" * (cast_expression "(code *)PTR_gtk_entry_set_text_00112220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,uVar3)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" ( (binary_expression "PTR_DAT_001112f8 + 0x6c8c" identifier + number_literal) , (binary_expression "PTR_DAT_001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" ( (pointer_expression "*(code *)PTR___assert_fail_00111f50" * (cast_expression "(code *)PTR___assert_fail_00111f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" ( (binary_expression "PTR_DAT_001112f8 + 0x6ca0" identifier + number_literal) , (binary_expression "PTR_DAT_001112f8 + 0x6a84" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001112f8 + 0x7dc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)\n\n{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" (primitive_type "void") (function_declarator "dlg_fontsel_set(undefined4 param_1,int *param_2,undefined4 *param_3)" (identifier "dlg_fontsel_set") (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }\n  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);\n  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);\n  if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }\n  (*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (if_statement "if (*param_2 == 0) {\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" (if "if") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_dupstr_0011131c)(*param_3);\n                    \n    pcVar1 = (code *)trap(0);\n    (*pcVar1)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_dupstr_0011131c)(*param_3);" (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" (( "(") (pointer_expression "*(code *)PTR_dupstr_0011131c" (* "*") (cast_expression "(code *)PTR_dupstr_0011131c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_0011131c"))) () ")")) (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "pcVar1 = (code *)trap(0);" (assignment_expression "pcVar1 = (code *)trap(0)" (identifier "pcVar1") (= "=") (cast_expression "(code *)trap(0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "trap(0)" (identifier "trap") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);" (assignment_expression "puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" (identifier "find234") (argument_list "(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "param_1") (, ",") (binary_expression "PTR_LAB_00111be8 + 0x3d44" (identifier "PTR_LAB_00111be8") (+ "+") (number_literal "0x3d44")) () ")"))))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupstr_0011131c)(*param_3)" (parenthesized_expression "(*(code *)PTR_dupstr_0011131c)" (( "(") (pointer_expression "*(code *)PTR_dupstr_0011131c" (* "*") (cast_expression "(code *)PTR_dupstr_0011131c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_0011131c"))) () ")")) (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (if_statement "if (*(int *)*puVar2 == 8) {\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)*puVar2 == 8)" (( "(") (binary_expression "*(int *)*puVar2 == 8" (pointer_expression "*(int *)*puVar2" (* "*") (cast_expression "(int *)*puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (== "==") (number_literal "8")) () ")")) (compound_statement "{\n    iVar5 = puVar2[4];\n    if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }\n    (*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);\n    return;\n  }" ({ "{") (expression_statement "iVar5 = puVar2[4];" (assignment_expression "iVar5 = puVar2[4]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (iVar5 != 0) {\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();\n      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);\n      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);\n      (*(code *)PTR_safefree_001112f0)(uVar3);\n      return;\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();" (assignment_expression "uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)()" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)()" (parenthesized_expression "(*(code *)PTR_gtk_entry_get_type_001120e8)" (( "(") (pointer_expression "*(code *)PTR_gtk_entry_get_type_001120e8" (* "*") (cast_expression "(code *)PTR_gtk_entry_get_type_001120e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_entry_get_type_001120e8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);" (assignment_expression "uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" (( "(") (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" (* "*") (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_type_check_instance_cast_00112600"))) () ")")) (argument_list "(iVar5,uVar4)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);" (call_expression "(*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3)" (parenthesized_expression "(*(code *)PTR_gtk_entry_set_text_00112220)" (( "(") (pointer_expression "*(code *)PTR_gtk_entry_set_text_00112220" (* "*") (cast_expression "(code *)PTR_gtk_entry_set_text_00112220" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_entry_set_text_00112220"))) () ")")) (argument_list "(uVar4,uVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_001112f0)(uVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00111f50" (* "*") (cast_expression "(code *)PTR___assert_fail_00111f50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00111f50"))) () ")")) (argument_list "(PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4)" (( "(") (binary_expression "PTR_DAT_001112f8 + 0x6c8c" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6c8c")) (, ",") (binary_expression "PTR_DAT_001112f8 + 0x6a84" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6a84")) (, ",") (number_literal "0x39e") (, ",") (binary_expression "PTR_DAT_001112f8 + 0x7dc4" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x7dc4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);" (call_expression "(*(code *)PTR___assert_fail_00111f50)\n            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_00111f50)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00111f50" (* "*") (cast_expression "(code *)PTR___assert_fail_00111f50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00111f50"))) () ")")) (argument_list "(PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4)" (( "(") (binary_expression "PTR_DAT_001112f8 + 0x6ca0" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6ca0")) (, ",") (binary_expression "PTR_DAT_001112f8 + 0x6a84" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6a84")) (, ",") (number_literal "0x39d") (, ",") (binary_expression "PTR_DAT_001112f8 + 0x7dc4" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x7dc4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ctrl,void *dlg,type_2 *fs)

{
  type_3 *pcVar1;
  type_4 *puVar2;
  type_4 uVar3;
  type_4 uVar4;
  type_5 *dp;
  int var_4;
  
                    /* WARNING: Load size is inaccurate */
  if (*dlg == (type_6 *)0x0) {
    (*(type_3 *)PTR_dupstr_0011131c)(fs->name);
                    /* WARNING: Does not return */
    pcVar1 = (type_3 *)var_1(0);
    (*pcVar1)();
  }
  puVar2 = (type_4 *)var_2(*dlg,ctrl,(cmpfn234)(var_3 + 0x3d44));
  uVar3 = (*(type_3 *)PTR_dupstr_0011131c)(fs->name);
  if (*(int *)*puVar2 == 8) {
    var_4 = puVar2[4];
    if (var_4 != 0) {
      uVar4 = (*(type_3 *)PTR_gtk_entry_get_type_001120e8)();
      uVar4 = (*(type_3 *)PTR_g_type_check_instance_cast_00112600)(var_4,uVar4);
      (*(type_3 *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);
      (*(type_3 *)PTR_safefree_001112f0)(uVar3);
      return;
    }
    (*(type_3 *)PTR___assert_fail_00111f50)
              (var_5 + 0x6c8c,var_5 + 0x6a84,0x39e,
               var_5 + 0x7dc4);
    return;
  }
  (*(type_3 *)PTR___assert_fail_00111f50)
            (var_5 + 0x6ca0,var_5 + 0x6a84,0x39d,
             var_5 + 0x7dc4);
  return;
}


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

void MASKED(undefined4 param_1,int *param_2,undefined4 *param_3)

{
  code *pcVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  int iVar5;
  
  if (*param_2 == 0) {
    (*(code *)PTR_dupstr_0011131c)(*param_3);
                    /* WARNING: Does not return */
    pcVar1 = (code *)trap(0);
    (*pcVar1)();
  }
  puVar2 = (undefined4 *)find234(*param_2,param_1,PTR_LAB_00111be8 + 0x3d44);
  uVar3 = (*(code *)PTR_dupstr_0011131c)(*param_3);
  if (*(int *)*puVar2 == 8) {
    iVar5 = puVar2[4];
    if (iVar5 != 0) {
      uVar4 = (*(code *)PTR_gtk_entry_get_type_001120e8)();
      uVar4 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar5,uVar4);
      (*(code *)PTR_gtk_entry_set_text_00112220)(uVar4,uVar3);
      (*(code *)PTR_safefree_001112f0)(uVar3);
      return;
    }
    (*(code *)PTR___assert_fail_00111f50)
              (PTR_DAT_001112f8 + 0x6c8c,PTR_DAT_001112f8 + 0x6a84,0x39e,PTR_DAT_001112f8 + 0x7dc4);
    return;
  }
  (*(code *)PTR___assert_fail_00111f50)
            (PTR_DAT_001112f8 + 0x6ca0,PTR_DAT_001112f8 + 0x6a84,0x39d,PTR_DAT_001112f8 + 0x7dc4);
  return;
}

