
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void set_busy_status(void *frontend,int status)

{
  *(int *)((int)frontend + 0xcf4) = status;
  update_mouseptr((gui_data *)frontend);
  return;
}



void FUN_00059490(int param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0xcf4) = param_2;
  FUN_000582b0();
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0xcf4],EDX
JMP 0x000582b0
(translation_unit "void FUN_00059490(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}\n\n" (function_definition "void FUN_00059490(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" primitive_type (function_declarator "FUN_00059490(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0xcf4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcf4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xcf4)" * (cast_expression "(undefined4 *)(param_1 + 0xcf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcf4)" ( (binary_expression "param_1 + 0xcf4" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000582b0();" (call_expression "FUN_000582b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_busy_status(void *frontend,int status)\n\n{\n  *(int *)((int)frontend + 0xcf4) = status;\n  update_mouseptr((gui_data *)frontend);\n  return;\n}\n\n" comment comment (function_definition "void set_busy_status(void *frontend,int status)\n\n{\n  *(int *)((int)frontend + 0xcf4) = status;\n  update_mouseptr((gui_data *)frontend);\n  return;\n}" primitive_type (function_declarator "set_busy_status(void *frontend,int status)" identifier (parameter_list "(void *frontend,int status)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "int status" primitive_type identifier) ))) (compound_statement "{\n  *(int *)((int)frontend + 0xcf4) = status;\n  update_mouseptr((gui_data *)frontend);\n  return;\n}" { (expression_statement "*(int *)((int)frontend + 0xcf4) = status;" (assignment_expression "*(int *)((int)frontend + 0xcf4) = status" (pointer_expression "*(int *)((int)frontend + 0xcf4)" * (cast_expression "(int *)((int)frontend + 0xcf4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)frontend + 0xcf4)" ( (binary_expression "(int)frontend + 0xcf4" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "update_mouseptr((gui_data *)frontend);" (call_expression "update_mouseptr((gui_data *)frontend)" identifier (argument_list "((gui_data *)frontend)" ( (cast_expression "(gui_data *)frontend" ( (type_descriptor "gui_data *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00059490(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}\n\n" (function_definition "void FUN_00059490(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" primitive_type (function_declarator "FUN_00059490(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0xcf4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcf4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xcf4)" * (cast_expression "(undefined4 *)(param_1 + 0xcf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcf4)" ( (binary_expression "param_1 + 0xcf4" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000582b0();" (call_expression "FUN_000582b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00059490(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00059490(int param_1,undefined4 param_2)" (identifier "FUN_00059490") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xcf4) = param_2;\n  FUN_000582b0();\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0xcf4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xcf4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xcf4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xcf4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xcf4)" (( "(") (binary_expression "param_1 + 0xcf4" (identifier "param_1") (+ "+") (number_literal "0xcf4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_000582b0();" (call_expression "FUN_000582b0()" (identifier "FUN_000582b0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(void *frontend,int status)

{
  *(int *)((int)frontend + 0xcf4) = status;
  var_1((type_1 *)frontend);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0xcf4) = param_2;
  FUN_000582b0();
  return;
}

