
/* WARNING: Enum "GdkEventType": Some values do not have unique names */

int win_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);
    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);
    return 1;
  }
  if (((event->state & 8) != 0) && (0 < *event->string)) {
    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);
    iVar3 = puVar1[2];
    if (0 < iVar3) {
      if (iVar3 < 3) {
        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);
      }
      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {
                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */
                    /* WARNING: Treating indirect jump as call */
        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)
                          ))();
        return iVar3;
      }
    }
  }
  return 0;
}



undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);
    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);
    return 1;
  }
  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {
    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);
    iVar3 = puVar1[2];
    if (0 < iVar3) {
      if (iVar3 < 3) {
        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);
      }
      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {
                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */
                    /* WARNING: Treating indirect jump as call */
        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))
                          ();
        return uVar2;
      }
    }
  }
  return 0;
}


lui gp,0x7
addiu gp,gp,0x420c
addu gp,gp,t9
addiu sp,sp,-0x30
lw v1,0x14(a1)
ori v0,zero,0xff1b
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq v1,v0,0x000a5158
_sw s0,0x18(sp)
lw v0,0x10(a1)
andi v0,v0,0x8
bne v0,zero,0x000a5110
_nop
or v0,zero,zero
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw v0,0x1c(a1)
lb s0,0x0(v0)
blez s0,0x000a50f0
_or v0,zero,zero
sll v0,s0,0x1
lw v1,0x14(a2)
addu v0,v0,s0
sll v0,v0,0x2
addu v0,v1,v0
lw v1,0x8(v0)
blez v1,0x000a50ec
_slti a0,v1,0x3
beq a0,zero,0x000a51a8
_lw t9,-0x6d78(gp)
jalr t9
_lw a0,0x0(v0)
b 0x000a50f0
_or v0,zero,zero
lw a0,0x1c(a2)
beq a0,zero,0x000a50dc
_lw t9,-0x6cb0(gp)
jalr t9
_li a1,0x50
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x7fb8(gp)
lw t9,-0x7364(gp)
jalr t9
_addiu a1,a1,0x6adc
li v0,0x1
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
li a0,0x3
bne v1,a0,0x000a50ec
_or s1,v0,zero
lw a1,0x4(v0)
lw a0,0x0(a1)
lw v0,0x0(a0)
sltiu v1,v0,0x9
beq v1,zero,0x000a50ec
_or s2,a1,zero
sll v1,v0,0x2
lw v0,-0x7fb8(gp)
addiu v0,v0,0x7650
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw t9,-0x6cb0(gp)
lw a0,0x14(a1)
jalr t9
_li a1,0x50
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x7fb8(gp)
lw t9,-0x7364(gp)
jalr t9
_addiu a1,a1,0x6adc
lw v0,0x4(s1)
lw gp,0x10(sp)
lw t9,-0x6d78(gp)
jalr t9
_lw a0,0x10(v0)
b 0x000a50f0
_or v0,zero,zero
lw a0,0x18(a1)
beq a0,zero,0x000a5378
_lw t9,-0x6d78(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x6e58(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,v0,zero
lw v1,0x4(s1)
lw t9,-0x6cb0(gp)
jalr t9
_lw a0,0x18(v1)
lw gp,0x10(sp)
lw t9,-0x6c20(gp)
jalr t9
_or a0,v0,zero
b 0x000a50f0
_or v0,zero,zero
lw t9,-0x6d78(gp)
jalr t9
_lw a0,0x4(a1)
li a1,0x50
lw gp,0x10(sp)
lw v0,0x4(s1)
lw t9,-0x6cb0(gp)
jalr t9
_lw a0,0x4(v0)
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x7fb8(gp)
lw t9,-0x7364(gp)
jalr t9
_addiu a1,a1,0x6adc
b 0x000a50f0
_or v0,zero,zero
lb v0,0x1c(a0)
beq s0,v0,0x000a5394
_nop
lw v0,0x2c(a0)
beq v0,zero,0x000a50ec
_nop
lw v1,0x24(a0)
blez v1,0x000a50ec
_lw s3,-0x7fb8(gp)
or s2,zero,zero
b 0x000a5314
_addiu s3,s3,0x6adc
lw v1,0x0(a1)
addiu s2,s2,0x1
lw v0,0x24(v1)
slt v0,s2,v0
beq v0,zero,0x000a50f0
_or v0,zero,zero
lw v0,0x2c(v1)
addu v0,v0,s2
lb v0,0x0(v0)
bne s0,v0,0x000a52f8
_sll s4,s2,0x2
lw v0,0x8(a1)
lw t9,-0x6d78(gp)
addu v0,v0,s4
jalr t9
_lw a0,0x0(v0)
li a1,0x50
lw v0,0x4(s1)
lw gp,0x10(sp)
lw v0,0x8(v0)
lw t9,-0x6cb0(gp)
addu s4,v0,s4
jalr t9
_lw a0,0x0(s4)
or a1,s3,zero
lw gp,0x10(sp)
lw t9,-0x7364(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
b 0x000a52f8
_lw a1,0x4(s1)
lw a0,0x1c(a1)
beq a0,zero,0x000a5424
_lw a3,-0x7fb8(gp)
jalr t9
_nop
b 0x000a50f0
_or v0,zero,zero
lw v0,0x24(a0)
blez v0,0x000a50ec
_lw t9,-0x6d20(gp)
jalr t9
_or s0,zero,zero
lw gp,0x10(sp)
b 0x000a53d0
_or s3,v0,zero
lw s2,0x4(s1)
addiu s0,s0,0x1
lw v0,0x0(s2)
lw v0,0x24(v0)
slt v0,s0,v0
beq v0,zero,0x000a50f0
_or v0,zero,zero
lw v0,0x8(s2)
sll s2,s0,0x2
lw t9,-0x6cb0(gp)
or a1,s3,zero
addu v0,v0,s2
jalr t9
_lw a0,0x0(v0)
lw gp,0x10(sp)
lw t9,-0x739c(gp)
jalr t9
_or a0,v0,zero
beq v0,zero,0x000a53b4
_lw gp,0x10(sp)
lw v0,0x4(s1)
lw t9,-0x6d78(gp)
lw v0,0x8(v0)
addu s2,v0,s2
jalr t9
_lw a0,0x0(s2)
b 0x000a53b4
_lw gp,0x10(sp)
li a2,0xad7
lw a1,-0x7fb8(gp)
lw a0,-0x7fb8(gp)
lw t9,-0x7360(gp)
addiu a3,a3,0x7d58
addiu a1,a1,0x6a84
jalr t9
_addiu a0,a0,0x6ae4
(translation_unit "undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "win_key_press(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0))" ( (binary_expression "(*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x14) == 0xff1b)" ( (binary_expression "*(int *)(param_2 + 0x14) == 0xff1b" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_3 + 0x1c) != 0" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" (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 "(*(int *)(param_3 + 0x1c),0x50)" ( (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);" (call_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc)" (parenthesized_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)" ( (pointer_expression "*(code *)PTR_g_signal_emit_by_name_00111f4c" * (cast_expression "(code *)PTR_g_signal_emit_by_name_00111f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,PTR_DAT_001112f8 + 0x6adc)" ( identifier , (binary_expression "PTR_DAT_001112f8 + 0x6adc" identifier + number_literal) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" if (parenthesized_expression "(((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c)))" ( (binary_expression "((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))" (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 8) != 0)" ( (binary_expression "(*(uint *)(param_2 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 8)" ( (binary_expression "*(uint *)(param_2 + 0x10) & 8" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(0 < **(char **)(param_2 + 0x1c))" ( (binary_expression "0 < **(char **)(param_2 + 0x1c)" number_literal < (pointer_expression "**(char **)(param_2 + 0x1c)" * (pointer_expression "*(char **)(param_2 + 0x1c)" * (cast_expression "(char **)(param_2 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" ( (binary_expression "*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) + (binary_expression "**(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "**(char **)(param_2 + 0x1c)" * (pointer_expression "*(char **)(param_2 + 0x1c)" * (cast_expression "(char **)(param_2 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) * number_literal)) )))) ;) (expression_statement "iVar3 = puVar1[2];" (assignment_expression "iVar3 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" { (if_statement "if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }" { (expression_statement "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);" (call_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)" ( (pointer_expression "*(code *)PTR_gtk_widget_grab_focus_00112538" * (cast_expression "(code *)PTR_gtk_widget_grab_focus_00112538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar1)" ( (pointer_expression "*puVar1" * identifier) ))) ;) }) (else_clause "else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" else (if_statement "if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" if (parenthesized_expression "((iVar3 == 3) && (**(uint **)puVar1[1] < 9))" ( (binary_expression "(iVar3 == 3) && (**(uint **)puVar1[1] < 9)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) && (parenthesized_expression "(**(uint **)puVar1[1] < 9)" ( (binary_expression "**(uint **)puVar1[1] < 9" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) < number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" { comment comment (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" * (cast_expression "(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650" (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4" identifier + (binary_expression "**(uint **)puVar1[1] * 4" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })))) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nint win_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((event->state & 8) != 0) && (0 < *event->string)) {\n    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "int win_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((event->state & 8) != 0) && (0 < *event->string)) {\n    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "win_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data)" identifier (parameter_list "(GtkWidget *widget,GdkEventKey *event,gpointer data)" ( (parameter_declaration "GtkWidget *widget" type_identifier (pointer_declarator "*widget" * identifier)) , (parameter_declaration "GdkEventKey *event" type_identifier (pointer_declarator "*event" * identifier)) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((event->state & 8) != 0) && (0 < *event->string)) {\n    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);\n    return 1;\n  }" if (parenthesized_expression "((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0))" ( (binary_expression "(event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)" (parenthesized_expression "(event->keyval == 0xff1b)" ( (binary_expression "event->keyval == 0xff1b" (field_expression "event->keyval" identifier -> field_identifier) == number_literal) )) && (parenthesized_expression "(*(int *)((int)data + 0x1c) != 0)" ( (binary_expression "*(int *)((int)data + 0x1c) != 0" (pointer_expression "*(int *)((int)data + 0x1c)" * (cast_expression "(int *)((int)data + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x1c)" ( (binary_expression "(int)data + 0x1c" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);\n    return 1;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50)" (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 "(*(int *)((int)data + 0x1c),0x50)" ( (pointer_expression "*(int *)((int)data + 0x1c)" * (cast_expression "(int *)((int)data + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x1c)" ( (binary_expression "(int)data + 0x1c" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal )))) ;) (expression_statement "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc);" (call_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_E1_202__001112f8 + 0x6adc)" (parenthesized_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)" ( (pointer_expression "*(code *)PTR_g_signal_emit_by_name_00111f4c" * (cast_expression "(code *)PTR_g_signal_emit_by_name_00111f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,PTR_E1_202__001112f8 + 0x6adc)" ( identifier , (binary_expression "PTR_E1_202__001112f8 + 0x6adc" identifier + number_literal) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((event->state & 8) != 0) && (0 < *event->string)) {\n    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }\n  }" if (parenthesized_expression "(((event->state & 8) != 0) && (0 < *event->string))" ( (binary_expression "((event->state & 8) != 0) && (0 < *event->string)" (parenthesized_expression "((event->state & 8) != 0)" ( (binary_expression "(event->state & 8) != 0" (parenthesized_expression "(event->state & 8)" ( (binary_expression "event->state & 8" (field_expression "event->state" identifier -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(0 < *event->string)" ( (binary_expression "0 < *event->string" number_literal < (pointer_expression "*event->string" * (field_expression "event->string" identifier -> field_identifier))) ))) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc)" identifier = (cast_expression "(undefined4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)data + 0x14) + *event->string * 0xc)" ( (binary_expression "*(int *)((int)data + 0x14) + *event->string * 0xc" (pointer_expression "*(int *)((int)data + 0x14)" * (cast_expression "(int *)((int)data + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x14)" ( (binary_expression "(int)data + 0x14" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (binary_expression "*event->string * 0xc" (pointer_expression "*event->string" * (field_expression "event->string" identifier -> field_identifier)) * number_literal)) )))) ;) (expression_statement "iVar3 = puVar1[2];" (assignment_expression "iVar3 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }\n    }" { (if_statement "if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }" { (expression_statement "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);" (call_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)" ( (pointer_expression "*(code *)PTR_gtk_widget_grab_focus_00112538" * (cast_expression "(code *)PTR_gtk_widget_grab_focus_00112538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar1)" ( (pointer_expression "*puVar1" * identifier) ))) ;) }) (else_clause "else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }" else (if_statement "if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }" if (parenthesized_expression "((iVar3 == 3) && (**(uint **)puVar1[1] < 9))" ( (binary_expression "(iVar3 == 3) && (**(uint **)puVar1[1] < 9)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) && (parenthesized_expression "(**(uint **)puVar1[1] < 9)" ( (binary_expression "**(uint **)puVar1[1] < 9" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) < number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();\n        return iVar3;\n      }" { comment comment (expression_statement "iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))();" (assignment_expression "iVar3 = (*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          ))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          )" * (cast_expression "(code *)(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)\n                          )" ( (binary_expression "&_gp + *(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" * (cast_expression "(int *)(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (binary_expression "PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4 + 0x7650" (binary_expression "PTR_E1_202__001112f8 + **(uint **)puVar1[1] * 4" identifier + (binary_expression "**(uint **)puVar1[1] * 4" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })))) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "win_key_press(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0))" ( (binary_expression "(*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x14) == 0xff1b)" ( (binary_expression "*(int *)(param_2 + 0x14) == 0xff1b" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_3 + 0x1c) != 0" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" (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 "(*(int *)(param_3 + 0x1c),0x50)" ( (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);" (call_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc)" (parenthesized_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)" ( (pointer_expression "*(code *)PTR_g_signal_emit_by_name_00111f4c" * (cast_expression "(code *)PTR_g_signal_emit_by_name_00111f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,PTR_DAT_001112f8 + 0x6adc)" ( identifier , (binary_expression "PTR_DAT_001112f8 + 0x6adc" identifier + number_literal) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" if (parenthesized_expression "(((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c)))" ( (binary_expression "((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))" (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 8) != 0)" ( (binary_expression "(*(uint *)(param_2 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 8)" ( (binary_expression "*(uint *)(param_2 + 0x10) & 8" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(0 < **(char **)(param_2 + 0x1c))" ( (binary_expression "0 < **(char **)(param_2 + 0x1c)" number_literal < (pointer_expression "**(char **)(param_2 + 0x1c)" * (pointer_expression "*(char **)(param_2 + 0x1c)" * (cast_expression "(char **)(param_2 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" ( (binary_expression "*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) + (binary_expression "**(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "**(char **)(param_2 + 0x1c)" * (pointer_expression "*(char **)(param_2 + 0x1c)" * (cast_expression "(char **)(param_2 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) * number_literal)) )))) ;) (expression_statement "iVar3 = puVar1[2];" (assignment_expression "iVar3 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" { (if_statement "if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" if (parenthesized_expression "(iVar3 < 3)" ( (binary_expression "iVar3 < 3" identifier < number_literal) )) (compound_statement "{\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }" { (expression_statement "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);" (call_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)" ( (pointer_expression "*(code *)PTR_gtk_widget_grab_focus_00112538" * (cast_expression "(code *)PTR_gtk_widget_grab_focus_00112538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar1)" ( (pointer_expression "*puVar1" * identifier) ))) ;) }) (else_clause "else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" else (if_statement "if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" if (parenthesized_expression "((iVar3 == 3) && (**(uint **)puVar1[1] < 9))" ( (binary_expression "(iVar3 == 3) && (**(uint **)puVar1[1] < 9)" (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) && (parenthesized_expression "(**(uint **)puVar1[1] < 9)" ( (binary_expression "**(uint **)puVar1[1] < 9" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) < number_literal) ))) )) (compound_statement "{\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" { (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" * (cast_expression "(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" ( (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650" (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4" identifier + (binary_expression "**(uint **)puVar1[1] * 4" (pointer_expression "**(uint **)puVar1[1]" * (pointer_expression "*(uint **)puVar1[1]" * (cast_expression "(uint **)puVar1[1]" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })))) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (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 ( (pointer_expression * IDENT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 win_key_press(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "win_key_press(undefined4 param_1,int param_2,int param_3)" (identifier "win_key_press") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }\n  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0))" (( "(") (binary_expression "(*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x14) == 0xff1b)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) == 0xff1b" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0xff1b")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_3 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x1c) != 0" (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);\n    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);\n    return 1;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50)" (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 "(*(int *)(param_3 + 0x1c),0x50)" (( "(") (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0x50") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);" (call_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc)" (parenthesized_expression "(*(code *)PTR_g_signal_emit_by_name_00111f4c)" (( "(") (pointer_expression "*(code *)PTR_g_signal_emit_by_name_00111f4c" (* "*") (cast_expression "(code *)PTR_g_signal_emit_by_name_00111f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_signal_emit_by_name_00111f4c"))) () ")")) (argument_list "(uVar2,PTR_DAT_001112f8 + 0x6adc)" (( "(") (identifier "uVar2") (, ",") (binary_expression "PTR_DAT_001112f8 + 0x6adc" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6adc")) () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c)))" (( "(") (binary_expression "((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))" (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 8) != 0)" (( "(") (binary_expression "(*(uint *)(param_2 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 8)" (( "(") (binary_expression "*(uint *)(param_2 + 0x10) & 8" (pointer_expression "*(uint *)(param_2 + 0x10)" (* "*") (cast_expression "(uint *)(param_2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < **(char **)(param_2 + 0x1c))" (( "(") (binary_expression "0 < **(char **)(param_2 + 0x1c)" (number_literal "0") (< "<") (pointer_expression "**(char **)(param_2 + 0x1c)" (* "*") (pointer_expression "*(char **)(param_2 + 0x1c)" (* "*") (cast_expression "(char **)(param_2 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);\n    iVar3 = puVar1[2];\n    if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc)" (( "(") (binary_expression "*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "**(char **)(param_2 + 0x1c) * 0xc" (pointer_expression "**(char **)(param_2 + 0x1c)" (* "*") (pointer_expression "*(char **)(param_2 + 0x1c)" (* "*") (cast_expression "(char **)(param_2 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (expression_statement "iVar3 = puVar1[2];" (assignment_expression "iVar3 = puVar1[2]" (identifier "iVar3") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (0 < iVar3) {\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n      if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }\n    }" ({ "{") (if_statement "if (iVar3 < 3) {\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }\n      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(iVar3 < 3)" (( "(") (binary_expression "iVar3 < 3" (identifier "iVar3") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);\n      }" ({ "{") (expression_statement "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);" (call_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_grab_focus_00112538)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_grab_focus_00112538" (* "*") (cast_expression "(code *)PTR_gtk_widget_grab_focus_00112538" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_grab_focus_00112538"))) () ")")) (argument_list "(*puVar1)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (} "}")) (else_clause "else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" (else "else") (if_statement "if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" (if "if") (parenthesized_expression "((iVar3 == 3) && (**(uint **)puVar1[1] < 9))" (( "(") (binary_expression "(iVar3 == 3) && (**(uint **)puVar1[1] < 9)" (parenthesized_expression "(iVar3 == 3)" (( "(") (binary_expression "iVar3 == 3" (identifier "iVar3") (== "==") (number_literal "3")) () ")")) (&& "&&") (parenthesized_expression "(**(uint **)puVar1[1] < 9)" (( "(") (binary_expression "**(uint **)puVar1[1] < 9" (pointer_expression "**(uint **)puVar1[1]" (* "*") (pointer_expression "*(uint **)puVar1[1]" (* "*") (cast_expression "(uint **)puVar1[1]" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))))) (< "<") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();\n        return uVar2;\n      }" ({ "{") (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" (identifier "uVar2") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))\n                          ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (* "*") (cast_expression "(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)" (( "(") (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650" (binary_expression "PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4" (identifier "PTR_DAT_001112f8") (+ "+") (binary_expression "**(uint **)puVar1[1] * 4" (pointer_expression "**(uint **)puVar1[1]" (* "*") (pointer_expression "*(uint **)puVar1[1]" (* "*") (cast_expression "(uint **)puVar1[1]" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))))) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x7650")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "GdkEventType": Some values do not have unique names */

int function_1(type_1 *widget,type_2 *event,type_3 data)

{
  type_4 *puVar1;
  type_4 uVar2;
  int var_2;
  
  if ((event->keyval == 0xff1b) && (*(int *)((int)data + 0x1c) != 0)) {
    uVar2 = (*(type_5 *)PTR_g_type_check_instance_cast_00112600)(*(int *)((int)data + 0x1c),0x50);
    (*(type_5 *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,var_1 + 0x6adc);
    return 1;
  }
  if (((event->state & 8) != 0) && (0 < *event->string)) {
    puVar1 = (type_4 *)(*(int *)((int)data + 0x14) + *event->string * 0xc);
    var_2 = puVar1[2];
    if (0 < var_2) {
      if (var_2 < 3) {
        (*(type_5 *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);
      }
      else if ((var_2 == 3) && (**(type_6 **)puVar1[1] < 9)) {
                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */
                    /* WARNING: Treating indirect jump as call */
        var_2 = (*(type_5 *)(&_gp + *(int *)(var_1 + **(type_6 **)puVar1[1] * 4 + 0x7650)
                          ))();
        return var_2;
      }
    }
  }
  return 0;
}


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

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

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if ((*(int *)(param_2 + 0x14) == 0xff1b) && (*(int *)(param_3 + 0x1c) != 0)) {
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(int *)(param_3 + 0x1c),0x50);
    (*(code *)PTR_g_signal_emit_by_name_00111f4c)(uVar2,PTR_DAT_001112f8 + 0x6adc);
    return 1;
  }
  if (((*(uint *)(param_2 + 0x10) & 8) != 0) && (0 < **(char **)(param_2 + 0x1c))) {
    puVar1 = (undefined4 *)(*(int *)(param_3 + 0x14) + **(char **)(param_2 + 0x1c) * 0xc);
    iVar3 = puVar1[2];
    if (0 < iVar3) {
      if (iVar3 < 3) {
        (*(code *)PTR_gtk_widget_grab_focus_00112538)(*puVar1);
      }
      else if ((iVar3 == 3) && (**(uint **)puVar1[1] < 9)) {
                    /* WARNING: Could not emulate address calculation at 0x000a51d8 */
                    /* WARNING: Treating indirect jump as call */
        uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001112f8 + **(uint **)puVar1[1] * 4 + 0x7650)))
                          ();
        return uVar2;
      }
    }
  }
  return 0;
}

