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

void selection_get(GtkWidget *widget,GtkSelectionData *seldata,guint info,guint time_stamp,
                  gpointer data)

{
  GdkAtom p_Var1;
  
  p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata);
  if (utf8_string_atom == p_Var1) {
    gtk_selection_data_set
              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),
               *(undefined4 *)((int)data + 0xcd8));
    return;
  }
  if (compound_text_atom != p_Var1) {
    gtk_selection_data_set
              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),
               *(undefined4 *)((int)data + 0xcd0));
    return;
  }
  gtk_selection_data_set
            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))
  ;
  return;
}



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

void FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int param_5)

{
  int iVar1;
  
  iVar1 = gtk_selection_data_get_target(param_2);
  if (DAT_000b1278 == iVar1) {
    gtk_selection_data_set
              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));
    return;
  }
  if (DAT_000b126c != iVar1) {
    gtk_selection_data_set
              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));
    return;
  }
  gtk_selection_data_set
            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x14]
CALL 0x0001b410
ADD EBX,0x58da8
MOV EDI,dword ptr [ESP + 0x20]
SUB ESP,0xc
PUSH ESI
CALL 0x00019360
LEA EDX,[EBX + 0xad4]
ADD ESP,0x10
CMP dword ptr [EDX],EAX
JZ 0x00057a70
LEA EDX,[EBX + 0xac8]
CMP dword ptr [EDX],EAX
JZ 0x00057a48
SUB ESP,0xc
PUSH dword ptr [EDI + 0xcd0]
PUSH dword ptr [EDI + 0xcc4]
PUSH 0x8
PUSH EAX
PUSH ESI
CALL 0x0001afa0
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH dword ptr [EDI + 0xcd4]
PUSH dword ptr [EDI + 0xcc8]
PUSH 0x8
PUSH EAX
PUSH ESI
CALL 0x0001afa0
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH dword ptr [EDI + 0xcd8]
PUSH dword ptr [EDI + 0xccc]
PUSH 0x8
PUSH EAX
PUSH ESI
CALL 0x0001afa0
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}\n\n" comment (function_definition "void FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" primitive_type (function_declarator "FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = gtk_selection_data_get_target(param_2);" (assignment_expression "iVar1 = gtk_selection_data_get_target(param_2)" identifier = (call_expression "gtk_selection_data_get_target(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" if (parenthesized_expression "(DAT_000b1278 == iVar1)" ( (binary_expression "DAT_000b1278 == iVar1" identifier == identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xccc)" * (cast_expression "(undefined4 *)(param_5 + 0xccc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xccc)" ( (binary_expression "param_5 + 0xccc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd8)" * (cast_expression "(undefined4 *)(param_5 + 0xcd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd8)" ( (binary_expression "param_5 + 0xcd8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" if (parenthesized_expression "(DAT_000b126c != iVar1)" ( (binary_expression "DAT_000b126c != iVar1" identifier != identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xcc4)" * (cast_expression "(undefined4 *)(param_5 + 0xcc4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcc4)" ( (binary_expression "param_5 + 0xcc4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd0)" * (cast_expression "(undefined4 *)(param_5 + 0xcd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd0)" ( (binary_expression "param_5 + 0xcd0" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));" (call_expression "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xcc8)" * (cast_expression "(undefined4 *)(param_5 + 0xcc8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcc8)" ( (binary_expression "param_5 + 0xcc8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd4)" * (cast_expression "(undefined4 *)(param_5 + 0xcd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd4)" ( (binary_expression "param_5 + 0xcd4" identifier + 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 selection_get(GtkWidget *widget,GtkSelectionData *seldata,guint info,guint time_stamp,\n                  gpointer data)\n\n{\n  GdkAtom p_Var1;\n  \n  p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata);\n  if (utf8_string_atom == p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));\n    return;\n  }\n  if (compound_text_atom != p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))\n  ;\n  return;\n}\n\n" comment comment (function_definition "void selection_get(GtkWidget *widget,GtkSelectionData *seldata,guint info,guint time_stamp,\n                  gpointer data)\n\n{\n  GdkAtom p_Var1;\n  \n  p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata);\n  if (utf8_string_atom == p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));\n    return;\n  }\n  if (compound_text_atom != p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))\n  ;\n  return;\n}" primitive_type (function_declarator "selection_get(GtkWidget *widget,GtkSelectionData *seldata,guint info,guint time_stamp,\n                  gpointer data)" identifier (parameter_list "(GtkWidget *widget,GtkSelectionData *seldata,guint info,guint time_stamp,\n                  gpointer data)" ( (parameter_declaration "GtkWidget *widget" type_identifier (pointer_declarator "*widget" * identifier)) , (parameter_declaration "GtkSelectionData *seldata" type_identifier (pointer_declarator "*seldata" * identifier)) , (parameter_declaration "guint info" type_identifier identifier) , (parameter_declaration "guint time_stamp" type_identifier identifier) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  GdkAtom p_Var1;\n  \n  p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata);\n  if (utf8_string_atom == p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));\n    return;\n  }\n  if (compound_text_atom != p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))\n  ;\n  return;\n}" { (declaration "GdkAtom p_Var1;" type_identifier identifier ;) (expression_statement "p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata);" (assignment_expression "p_Var1 = (GdkAtom)gtk_selection_data_get_target(seldata)" identifier = (cast_expression "(GdkAtom)gtk_selection_data_get_target(seldata)" ( (type_descriptor "GdkAtom" type_identifier) ) (call_expression "gtk_selection_data_get_target(seldata)" identifier (argument_list "(seldata)" ( identifier ))))) ;) (if_statement "if (utf8_string_atom == p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));\n    return;\n  }" if (parenthesized_expression "(utf8_string_atom == p_Var1)" ( (binary_expression "utf8_string_atom == p_Var1" identifier == identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8));" (call_expression "gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8))" identifier (argument_list "(seldata,p_Var1,8,*(undefined4 *)((int)data + 0xccc),\n               *(undefined4 *)((int)data + 0xcd8))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)((int)data + 0xccc)" * (cast_expression "(undefined4 *)((int)data + 0xccc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xccc)" ( (binary_expression "(int)data + 0xccc" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)((int)data + 0xcd8)" * (cast_expression "(undefined4 *)((int)data + 0xcd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xcd8)" ( (binary_expression "(int)data + 0xcd8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (compound_text_atom != p_Var1) {\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));\n    return;\n  }" if (parenthesized_expression "(compound_text_atom != p_Var1)" ( (binary_expression "compound_text_atom != p_Var1" identifier != identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0));" (call_expression "gtk_selection_data_set\n              (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0))" identifier (argument_list "(seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc4),\n               *(undefined4 *)((int)data + 0xcd0))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)((int)data + 0xcc4)" * (cast_expression "(undefined4 *)((int)data + 0xcc4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xcc4)" ( (binary_expression "(int)data + 0xcc4" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)((int)data + 0xcd0)" * (cast_expression "(undefined4 *)((int)data + 0xcd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xcd0)" ( (binary_expression "(int)data + 0xcd0" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "gtk_selection_data_set\n            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))\n  ;" (call_expression "gtk_selection_data_set\n            (seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))" identifier (argument_list "(seldata,p_Var1,8,*(undefined4 *)((int)data + 0xcc8),*(undefined4 *)((int)data + 0xcd4))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)((int)data + 0xcc8)" * (cast_expression "(undefined4 *)((int)data + 0xcc8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xcc8)" ( (binary_expression "(int)data + 0xcc8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)((int)data + 0xcd4)" * (cast_expression "(undefined4 *)((int)data + 0xcd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xcd4)" ( (binary_expression "(int)data + 0xcd4" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}\n\n" (function_definition "void FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" primitive_type (function_declarator "FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = gtk_selection_data_get_target(param_2);" (assignment_expression "iVar1 = gtk_selection_data_get_target(param_2)" identifier = (call_expression "gtk_selection_data_get_target(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" if (parenthesized_expression "(DAT_000b1278 == iVar1)" ( (binary_expression "DAT_000b1278 == iVar1" identifier == identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xccc)" * (cast_expression "(undefined4 *)(param_5 + 0xccc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xccc)" ( (binary_expression "param_5 + 0xccc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd8)" * (cast_expression "(undefined4 *)(param_5 + 0xcd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd8)" ( (binary_expression "param_5 + 0xcd8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" if (parenthesized_expression "(DAT_000b126c != iVar1)" ( (binary_expression "DAT_000b126c != iVar1" identifier != identifier) )) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" { (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xcc4)" * (cast_expression "(undefined4 *)(param_5 + 0xcc4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcc4)" ( (binary_expression "param_5 + 0xcc4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd0)" * (cast_expression "(undefined4 *)(param_5 + 0xcd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd0)" ( (binary_expression "param_5 + 0xcd0" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));" (call_expression "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" identifier (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(param_5 + 0xcc8)" * (cast_expression "(undefined4 *)(param_5 + 0xcc8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcc8)" ( (binary_expression "param_5 + 0xcc8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_5 + 0xcd4)" * (cast_expression "(undefined4 *)(param_5 + 0xcd4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xcd4)" ( (binary_expression "param_5 + 0xcd4" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000579f0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" (identifier "FUN_000579f0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = gtk_selection_data_get_target(param_2);\n  if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }\n  if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }\n  gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = gtk_selection_data_get_target(param_2);" (assignment_expression "iVar1 = gtk_selection_data_get_target(param_2)" (identifier "iVar1") (= "=") (call_expression "gtk_selection_data_get_target(param_2)" (identifier "gtk_selection_data_get_target") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (DAT_000b1278 == iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000b1278 == iVar1)" (( "(") (binary_expression "DAT_000b1278 == iVar1" (identifier "DAT_000b1278") (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));\n    return;\n  }" ({ "{") (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" (identifier "gtk_selection_data_set") (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8))" (( "(") (identifier "param_2") (, ",") (identifier "iVar1") (, ",") (number_literal "8") (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xccc)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xccc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xccc)" (( "(") (binary_expression "param_5 + 0xccc" (identifier "param_5") (+ "+") (number_literal "0xccc")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xcd8)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xcd8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xcd8)" (( "(") (binary_expression "param_5 + 0xcd8" (identifier "param_5") (+ "+") (number_literal "0xcd8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (DAT_000b126c != iVar1) {\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000b126c != iVar1)" (( "(") (binary_expression "DAT_000b126c != iVar1" (identifier "DAT_000b126c") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n    gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));\n    return;\n  }" ({ "{") (expression_statement "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));" (call_expression "gtk_selection_data_set\n              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" (identifier "gtk_selection_data_set") (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0))" (( "(") (identifier "param_2") (, ",") (identifier "iVar1") (, ",") (number_literal "8") (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xcc4)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xcc4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xcc4)" (( "(") (binary_expression "param_5 + 0xcc4" (identifier "param_5") (+ "+") (number_literal "0xcc4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xcd0)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xcd0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xcd0)" (( "(") (binary_expression "param_5 + 0xcd0" (identifier "param_5") (+ "+") (number_literal "0xcd0")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));" (call_expression "gtk_selection_data_set\n            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" (identifier "gtk_selection_data_set") (argument_list "(param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4))" (( "(") (identifier "param_2") (, ",") (identifier "iVar1") (, ",") (number_literal "8") (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xcc8)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xcc8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xcc8)" (( "(") (binary_expression "param_5 + 0xcc8" (identifier "param_5") (+ "+") (number_literal "0xcc8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_5 + 0xcd4)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0xcd4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xcd4)" (( "(") (binary_expression "param_5 + 0xcd4" (identifier "param_5") (+ "+") (number_literal "0xcd4")) () ")")))) () ")"))) (; ";")) (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 *widget,type_2 *seldata,type_3 info,type_3 time_stamp,
                  type_4 data)

{
  type_5 var_3;
  
  var_3 = (type_5)var_1(seldata);
  if (var_2 == var_3) {
    var_4
              (seldata,var_3,8,*(type_6 *)((int)data + 0xccc),
               *(type_6 *)((int)data + 0xcd8));
    return;
  }
  if (var_5 != var_3) {
    var_4
              (seldata,var_3,8,*(type_6 *)((int)data + 0xcc4),
               *(type_6 *)((int)data + 0xcd0));
    return;
  }
  var_4
            (seldata,var_3,8,*(type_6 *)((int)data + 0xcc8),*(type_6 *)((int)data + 0xcd4))
  ;
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (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: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (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))))) (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)))))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (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))))) (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)))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (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))))) (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)))))))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int param_5)

{
  int iVar1;
  
  iVar1 = gtk_selection_data_get_target(param_2);
  if (DAT_000b1278 == iVar1) {
    gtk_selection_data_set
              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xccc),*(undefined4 *)(param_5 + 0xcd8));
    return;
  }
  if (DAT_000b126c != iVar1) {
    gtk_selection_data_set
              (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc4),*(undefined4 *)(param_5 + 0xcd0));
    return;
  }
  gtk_selection_data_set
            (param_2,iVar1,8,*(undefined4 *)(param_5 + 0xcc8),*(undefined4 *)(param_5 + 0xcd4));
  return;
}

