
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void droplist_selchange(GtkComboBox *combo,gpointer data)

{
  undefined4 uVar1;
  void *e;
  tree234 *t;
  int *piVar2;
  
  uVar1 = gtk_widget_get_type();
  e = (void *)g_type_check_instance_cast(combo,uVar1);
  t = *(tree234 **)((int)data + 4);
  if (t != (tree234 *)0x0) {
    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {
      e = (void *)gtk_widget_get_parent(e);
      if (e == (void *)0x0) {
        return;
      }
      t = *(tree234 **)((int)data + 4);
    }
    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);
  }
  return;
}



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

void FUN_000a3970(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  
  uVar1 = gtk_widget_get_type();
  iVar2 = g_type_check_instance_cast(param_1,uVar1);
  iVar3 = *(int *)(param_2 + 4);
  if (iVar3 != 0) {
    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {
      iVar2 = gtk_widget_get_parent(iVar2);
      if (iVar2 == 0) {
        return;
      }
      iVar3 = *(int *)(param_2 + 4);
    }
    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c520
ADD EBX,0x96dd7
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x24]
CALL 0x0001a580
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x2c]
CALL 0x0001a5e0
ADD ESP,0x10
MOV EBP,EAX
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x000a39e6
LEA EDI,[EBX + 0xfff68390]
JMP 0x000a39c5
SUB ESP,0xc
PUSH EBP
CALL 0x0001bed0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000a39e6
MOV EAX,dword ptr [ESI + 0x4]
SUB ESP,0x4
PUSH EDI
PUSH EBP
PUSH EAX
CALL 0x0009ee90
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000a39b0
MOV EAX,dword ptr [EAX]
PUSH 0x3
PUSH dword ptr [ESI + 0x8]
PUSH ESI
PUSH EAX
CALL dword ptr [EAX + 0x10]
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000a3970(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000a3970(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a3970(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "uVar1 = gtk_widget_get_type();" (assignment_expression "uVar1 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = g_type_check_instance_cast(param_1,uVar1);" (assignment_expression "iVar2 = g_type_check_instance_cast(param_1,uVar1)" identifier = (call_expression "g_type_check_instance_cast(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" { (while_statement "while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" while (parenthesized_expression "(piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0)" ( (comma_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" identifier = (cast_expression "(int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" identifier (argument_list "(iVar3,iVar2,FUN_000a2ae0)" ( identifier , identifier , identifier ))))) , (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" { (expression_statement "iVar2 = gtk_widget_get_parent(iVar2);" (assignment_expression "iVar2 = gtk_widget_get_parent(iVar2)" identifier = (call_expression "gtk_widget_get_parent(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);" (call_expression "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" (parenthesized_expression "(**(code **)(*piVar4 + 0x10))" ( (pointer_expression "**(code **)(*piVar4 + 0x10)" * (pointer_expression "*(code **)(*piVar4 + 0x10)" * (cast_expression "(code **)(*piVar4 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0x10)" ( (binary_expression "*piVar4 + 0x10" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" ( (pointer_expression "*piVar4" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid droplist_selchange(GtkComboBox *combo,gpointer data)\n\n{\n  undefined4 uVar1;\n  void *e;\n  tree234 *t;\n  int *piVar2;\n  \n  uVar1 = gtk_widget_get_type();\n  e = (void *)g_type_check_instance_cast(combo,uVar1);\n  t = *(tree234 **)((int)data + 4);\n  if (t != (tree234 *)0x0) {\n    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }\n    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);\n  }\n  return;\n}\n\n" comment comment (function_definition "void droplist_selchange(GtkComboBox *combo,gpointer data)\n\n{\n  undefined4 uVar1;\n  void *e;\n  tree234 *t;\n  int *piVar2;\n  \n  uVar1 = gtk_widget_get_type();\n  e = (void *)g_type_check_instance_cast(combo,uVar1);\n  t = *(tree234 **)((int)data + 4);\n  if (t != (tree234 *)0x0) {\n    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }\n    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);\n  }\n  return;\n}" primitive_type (function_declarator "droplist_selchange(GtkComboBox *combo,gpointer data)" identifier (parameter_list "(GtkComboBox *combo,gpointer data)" ( (parameter_declaration "GtkComboBox *combo" type_identifier (pointer_declarator "*combo" * identifier)) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  void *e;\n  tree234 *t;\n  int *piVar2;\n  \n  uVar1 = gtk_widget_get_type();\n  e = (void *)g_type_check_instance_cast(combo,uVar1);\n  t = *(tree234 **)((int)data + 4);\n  if (t != (tree234 *)0x0) {\n    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }\n    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "void *e;" primitive_type (pointer_declarator "*e" * identifier) ;) (declaration "tree234 *t;" type_identifier (pointer_declarator "*t" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "uVar1 = gtk_widget_get_type();" (assignment_expression "uVar1 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "e = (void *)g_type_check_instance_cast(combo,uVar1);" (assignment_expression "e = (void *)g_type_check_instance_cast(combo,uVar1)" identifier = (cast_expression "(void *)g_type_check_instance_cast(combo,uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "g_type_check_instance_cast(combo,uVar1)" identifier (argument_list "(combo,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "t = *(tree234 **)((int)data + 4);" (assignment_expression "t = *(tree234 **)((int)data + 4)" identifier = (pointer_expression "*(tree234 **)((int)data + 4)" * (cast_expression "(tree234 **)((int)data + 4)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)data + 4)" ( (binary_expression "(int)data + 4" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (t != (tree234 *)0x0) {\n    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }\n    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);\n  }" if (parenthesized_expression "(t != (tree234 *)0x0)" ( (binary_expression "t != (tree234 *)0x0" identifier != (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }\n    (**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);\n  }" { (while_statement "while (piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0) {\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }" while (parenthesized_expression "(piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0)" ( (comma_expression "piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find), piVar2 == (int *)0x0" (assignment_expression "piVar2 = (int *)find234(t,e,uctrl_cmp_bywidget_find)" identifier = (cast_expression "(int *)find234(t,e,uctrl_cmp_bywidget_find)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "find234(t,e,uctrl_cmp_bywidget_find)" identifier (argument_list "(t,e,uctrl_cmp_bywidget_find)" ( identifier , identifier , identifier ))))) , (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      e = (void *)gtk_widget_get_parent(e);\n      if (e == (void *)0x0) {\n        return;\n      }\n      t = *(tree234 **)((int)data + 4);\n    }" { (expression_statement "e = (void *)gtk_widget_get_parent(e);" (assignment_expression "e = (void *)gtk_widget_get_parent(e)" identifier = (cast_expression "(void *)gtk_widget_get_parent(e)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gtk_widget_get_parent(e)" identifier (argument_list "(e)" ( identifier ))))) ;) (if_statement "if (e == (void *)0x0) {\n        return;\n      }" if (parenthesized_expression "(e == (void *)0x0)" ( (binary_expression "e == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "t = *(tree234 **)((int)data + 4);" (assignment_expression "t = *(tree234 **)((int)data + 4)" identifier = (pointer_expression "*(tree234 **)((int)data + 4)" * (cast_expression "(tree234 **)((int)data + 4)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)data + 4)" ( (binary_expression "(int)data + 4" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,data,*(undefined4 *)((int)data + 8),3)" (parenthesized_expression "(**(code **)(*piVar2 + 0x10))" ( (pointer_expression "**(code **)(*piVar2 + 0x10)" * (pointer_expression "*(code **)(*piVar2 + 0x10)" * (cast_expression "(code **)(*piVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x10)" ( (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(*piVar2,data,*(undefined4 *)((int)data + 8),3)" ( (pointer_expression "*piVar2" * identifier) , identifier , (pointer_expression "*(undefined4 *)((int)data + 8)" * (cast_expression "(undefined4 *)((int)data + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 8)" ( (binary_expression "(int)data + 8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000a3970(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000a3970(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a3970(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "uVar1 = gtk_widget_get_type();" (assignment_expression "uVar1 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = g_type_check_instance_cast(param_1,uVar1);" (assignment_expression "iVar2 = g_type_check_instance_cast(param_1,uVar1)" identifier = (call_expression "g_type_check_instance_cast(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" { (while_statement "while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" while (parenthesized_expression "(piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0)" ( (comma_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" identifier = (cast_expression "(int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" identifier (argument_list "(iVar3,iVar2,FUN_000a2ae0)" ( identifier , identifier , identifier ))))) , (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" { (expression_statement "iVar2 = gtk_widget_get_parent(iVar2);" (assignment_expression "iVar2 = gtk_widget_get_parent(iVar2)" identifier = (call_expression "gtk_widget_get_parent(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);" (call_expression "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" (parenthesized_expression "(**(code **)(*piVar4 + 0x10))" ( (pointer_expression "**(code **)(*piVar4 + 0x10)" * (pointer_expression "*(code **)(*piVar4 + 0x10)" * (cast_expression "(code **)(*piVar4 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0x10)" ( (binary_expression "*piVar4 + 0x10" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" ( (pointer_expression "*piVar4" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000a3970(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000a3970(undefined4 param_1,int param_2)" (identifier "FUN_000a3970") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  \n  uVar1 = gtk_widget_get_type();\n  iVar2 = g_type_check_instance_cast(param_1,uVar1);\n  iVar3 = *(int *)(param_2 + 4);\n  if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (expression_statement "uVar1 = gtk_widget_get_type();" (assignment_expression "uVar1 = gtk_widget_get_type()" (identifier "uVar1") (= "=") (call_expression "gtk_widget_get_type()" (identifier "gtk_widget_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = g_type_check_instance_cast(param_1,uVar1);" (assignment_expression "iVar2 = g_type_check_instance_cast(param_1,uVar1)" (identifier "iVar2") (= "=") (call_expression "g_type_check_instance_cast(param_1,uVar1)" (identifier "g_type_check_instance_cast") (argument_list "(param_1,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }\n    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);\n  }" ({ "{") (while_statement "while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" (while "while") (parenthesized_expression "(piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0)" (( "(") (comma_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0)" (identifier "FUN_0009ee90") (argument_list "(iVar3,iVar2,FUN_000a2ae0)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar2") (, ",") (identifier "FUN_000a2ae0") () ")"))))) (, ",") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      iVar2 = gtk_widget_get_parent(iVar2);\n      if (iVar2 == 0) {\n        return;\n      }\n      iVar3 = *(int *)(param_2 + 4);\n    }" ({ "{") (expression_statement "iVar2 = gtk_widget_get_parent(iVar2);" (assignment_expression "iVar2 = gtk_widget_get_parent(iVar2)" (identifier "iVar2") (= "=") (call_expression "gtk_widget_get_parent(iVar2)" (identifier "gtk_widget_get_parent") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_2 + 4);" (assignment_expression "iVar3 = *(int *)(param_2 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);" (call_expression "(**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" (parenthesized_expression "(**(code **)(*piVar4 + 0x10))" (( "(") (pointer_expression "**(code **)(*piVar4 + 0x10)" (* "*") (pointer_expression "*(code **)(*piVar4 + 0x10)" (* "*") (cast_expression "(code **)(*piVar4 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar4 + 0x10)" (( "(") (binary_expression "*piVar4 + 0x10" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3)" (( "(") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (, ",") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "3") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *combo,type_2 data)

{
  type_3 uVar1;
  void *var_7;
  type_4 *var_3;
  int *var_5;
  
  uVar1 = var_1();
  var_7 = (void *)var_2(combo,uVar1);
  var_3 = *(type_4 **)((int)data + 4);
  if (var_3 != (type_4 *)0x0) {
    while (var_5 = (int *)var_4(var_3,var_7,uctrl_cmp_bywidget_find), var_5 == (int *)0x0) {
      var_7 = (void *)var_6(var_7);
      if (var_7 == (void *)0x0) {
        return;
      }
      var_3 = *(type_4 **)((int)data + 4);
    }
    (**(type_5 **)(*var_5 + 0x10))(*var_5,data,*(type_3 *)((int)data + 8),3);
  }
  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: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (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))))) (number_literal)))))) (return_statement))))

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

void MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  
  uVar1 = gtk_widget_get_type();
  iVar2 = g_type_check_instance_cast(param_1,uVar1);
  iVar3 = *(int *)(param_2 + 4);
  if (iVar3 != 0) {
    while (piVar4 = (int *)FUN_0009ee90(iVar3,iVar2,FUN_000a2ae0), piVar4 == (int *)0x0) {
      iVar2 = gtk_widget_get_parent(iVar2);
      if (iVar2 == 0) {
        return;
      }
      iVar3 = *(int *)(param_2 + 4);
    }
    (**(code **)(*piVar4 + 0x10))(*piVar4,param_2,*(undefined4 *)(param_2 + 8),3);
  }
  return;
}

