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

void get_window_pixels(void *frontend,int *x,int *y)

{
  undefined4 uVar1;
  
  uVar1 = gtk_window_get_type();
                    /* WARNING: Load size is inaccurate */
  uVar1 = g_type_check_instance_cast(*frontend,uVar1);
  gtk_window_get_size(uVar1,x,y);
  return;
}



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

void FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  uVar1 = gtk_window_get_type();
  uVar1 = g_type_check_instance_cast(*param_1,uVar1);
  gtk_window_get_size(uVar1,param_2,param_3);
  return;
}


PUSH EBX
CALL 0x0001a360
ADD EBX,0x4f9ae
SUB ESP,0x8
CALL 0x00019ef0
SUB ESP,0x8
PUSH EAX
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX]
CALL 0x00018580
ADD ESP,0xc
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
CALL 0x00019700
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = g_type_check_instance_cast(*param_1,uVar1);" (assignment_expression "uVar1 = 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)" ( (pointer_expression "*param_1" * identifier) , identifier )))) ;) (expression_statement "gtk_window_get_size(uVar1,param_2,param_3);" (call_expression "gtk_window_get_size(uVar1,param_2,param_3)" identifier (argument_list "(uVar1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (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 get_window_pixels(void *frontend,int *x,int *y)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = g_type_check_instance_cast(*frontend,uVar1);\n  gtk_window_get_size(uVar1,x,y);\n  return;\n}\n\n" comment comment (function_definition "void get_window_pixels(void *frontend,int *x,int *y)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = g_type_check_instance_cast(*frontend,uVar1);\n  gtk_window_get_size(uVar1,x,y);\n  return;\n}" primitive_type (function_declarator "get_window_pixels(void *frontend,int *x,int *y)" identifier (parameter_list "(void *frontend,int *x,int *y)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "int *x" primitive_type (pointer_declarator "*x" * identifier)) , (parameter_declaration "int *y" primitive_type (pointer_declarator "*y" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n                    /* WARNING: Load size is inaccurate */\n  uVar1 = g_type_check_instance_cast(*frontend,uVar1);\n  gtk_window_get_size(uVar1,x,y);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) comment (expression_statement "uVar1 = g_type_check_instance_cast(*frontend,uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*frontend,uVar1)" identifier = (call_expression "g_type_check_instance_cast(*frontend,uVar1)" identifier (argument_list "(*frontend,uVar1)" ( (pointer_expression "*frontend" * identifier) , identifier )))) ;) (expression_statement "gtk_window_get_size(uVar1,x,y);" (call_expression "gtk_window_get_size(uVar1,x,y)" identifier (argument_list "(uVar1,x,y)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = g_type_check_instance_cast(*param_1,uVar1);" (assignment_expression "uVar1 = 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)" ( (pointer_expression "*param_1" * identifier) , identifier )))) ;) (expression_statement "gtk_window_get_size(uVar1,param_2,param_3);" (call_expression "gtk_window_get_size(uVar1,param_2,param_3)" identifier (argument_list "(uVar1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00051e30(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00051e30") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (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")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n  gtk_window_get_size(uVar1,param_2,param_3);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" (identifier "uVar1") (= "=") (call_expression "gtk_window_get_type()" (identifier "gtk_window_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = g_type_check_instance_cast(*param_1,uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*param_1,uVar1)" (identifier "uVar1") (= "=") (call_expression "g_type_check_instance_cast(*param_1,uVar1)" (identifier "g_type_check_instance_cast") (argument_list "(*param_1,uVar1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "gtk_window_get_size(uVar1,param_2,param_3);" (call_expression "gtk_window_get_size(uVar1,param_2,param_3)" (identifier "gtk_window_get_size") (argument_list "(uVar1,param_2,param_3)" (( "(") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_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(void *frontend,int *x,int *y)

{
  type_1 uVar1;
  
  uVar1 = var_1();
                    /* WARNING: Load size is inaccurate */
  uVar1 = var_2(*frontend,uVar1);
  var_3(uVar1,x,y);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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 (pointer_expression argument: (identifier)) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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 uVar1;
  
  uVar1 = gtk_window_get_type();
  uVar1 = g_type_check_instance_cast(*param_1,uVar1);
  gtk_window_get_size(uVar1,param_2,param_3);
  return;
}

