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

void do_beep(void *frontend,int mode)

{
  undefined4 uVar1;
  
  if (mode != 1) {
    return;
  }
  uVar1 = gdk_display_get_default();
  gdk_display_beep(uVar1);
  return;
}



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

void FUN_0005a0e0(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 1) {
    return;
  }
  uVar1 = gdk_display_get_default();
  gdk_display_beep(uVar1);
  return;
}


PUSH EBX
CALL 0x0001b410
ADD EBX,0x566be
SUB ESP,0x8
CMP dword ptr [ESP + 0x14],0x1
JZ 0x0005a100
ADD ESP,0x8
POP EBX
RET
CALL 0x00019e00
SUB ESP,0xc
PUSH EAX
CALL 0x0001acf0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005a0e0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_0005a0e0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0005a0e0(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  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 1) {\n    return;\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = gdk_display_get_default();" (assignment_expression "uVar1 = gdk_display_get_default()" identifier = (call_expression "gdk_display_get_default()" identifier (argument_list "()" ( )))) ;) (expression_statement "gdk_display_beep(uVar1);" (call_expression "gdk_display_beep(uVar1)" identifier (argument_list "(uVar1)" ( 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 do_beep(void *frontend,int mode)\n\n{\n  undefined4 uVar1;\n  \n  if (mode != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}\n\n" comment comment (function_definition "void do_beep(void *frontend,int mode)\n\n{\n  undefined4 uVar1;\n  \n  if (mode != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" primitive_type (function_declarator "do_beep(void *frontend,int mode)" identifier (parameter_list "(void *frontend,int mode)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "int mode" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (mode != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (mode != 1) {\n    return;\n  }" if (parenthesized_expression "(mode != 1)" ( (binary_expression "mode != 1" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = gdk_display_get_default();" (assignment_expression "uVar1 = gdk_display_get_default()" identifier = (call_expression "gdk_display_get_default()" identifier (argument_list "()" ( )))) ;) (expression_statement "gdk_display_beep(uVar1);" (call_expression "gdk_display_beep(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005a0e0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_0005a0e0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0005a0e0(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  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 1) {\n    return;\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = gdk_display_get_default();" (assignment_expression "uVar1 = gdk_display_get_default()" identifier = (call_expression "gdk_display_get_default()" identifier (argument_list "()" ( )))) ;) (expression_statement "gdk_display_beep(uVar1);" (call_expression "gdk_display_beep(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (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 ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005a0e0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005a0e0(undefined4 param_1,int param_2)" (identifier "FUN_0005a0e0") (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  \n  if (param_2 != 1) {\n    return;\n  }\n  uVar1 = gdk_display_get_default();\n  gdk_display_beep(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 != 1) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = gdk_display_get_default();" (assignment_expression "uVar1 = gdk_display_get_default()" (identifier "uVar1") (= "=") (call_expression "gdk_display_get_default()" (identifier "gdk_display_get_default") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "gdk_display_beep(uVar1);" (call_expression "gdk_display_beep(uVar1)" (identifier "gdk_display_beep") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (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 var_1)

{
  type_1 uVar1;
  
  if (var_1 != 1) {
    return;
  }
  uVar1 = var_2();
  var_3(uVar1);
  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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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;
  
  if (param_2 != 1) {
    return;
  }
  uVar1 = gdk_display_get_default();
  gdk_display_beep(uVar1);
  return;
}

