
void logevent(void *frontend,char *string)

{
  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20));
  logevent_dlg(*(void **)((int)frontend + 0x223c),string);
  return;
}



void logevent(int param_1,undefined4 param_2)

{
  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));
  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);
  return;
}


lui gp,0x5
addiu gp,gp,0x6f8
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7968(gp)
sw s0,0x1c(sp)
or s0,a0,zero
sw s1,0x20(sp)
or s1,a1,zero
sw ra,0x24(sp)
sw gp,0x10(sp)
jalr t9
_lw a0,0xd20(a0)
or a1,s1,zero
lw gp,0x10(sp)
lw a0,0x223c(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7964(gp)
b 0x000608ac
_addiu sp,sp,0x28
(translation_unit "void logevent(int param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}\n\n" (function_definition "void logevent(int param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" primitive_type (function_declarator "logevent(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  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" { (expression_statement "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));" (call_expression "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20))" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b5868)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b5868" * (cast_expression "(code *)PTR_log_eventlog_000b5868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xd20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" * (cast_expression "(undefined4 *)(param_1 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd20)" ( (binary_expression "param_1 + 0xd20" identifier + number_literal) )))) ))) ;) (expression_statement "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" * (cast_expression "(undefined4 *)(param_1 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x223c)" ( (binary_expression "param_1 + 0x223c" identifier + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void logevent(void *frontend,char *string)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20));\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}\n\n" (function_definition "void logevent(void *frontend,char *string)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20));\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}" primitive_type (function_declarator "logevent(void *frontend,char *string)" identifier (parameter_list "(void *frontend,char *string)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20));\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}" { (expression_statement "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20));" (call_expression "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)((int)frontend + 0xd20))" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b5868)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b5868" * (cast_expression "(code *)PTR_log_eventlog_000b5868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)frontend + 0xd20))" ( (pointer_expression "*(undefined4 *)((int)frontend + 0xd20)" * (cast_expression "(undefined4 *)((int)frontend + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)frontend + 0xd20)" ( (binary_expression "(int)frontend + 0xd20" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "logevent_dlg(*(void **)((int)frontend + 0x223c),string);" (call_expression "logevent_dlg(*(void **)((int)frontend + 0x223c),string)" identifier (argument_list "(*(void **)((int)frontend + 0x223c),string)" ( (pointer_expression "*(void **)((int)frontend + 0x223c)" * (cast_expression "(void **)((int)frontend + 0x223c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)frontend + 0x223c)" ( (binary_expression "(int)frontend + 0x223c" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void logevent(int param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}\n\n" (function_definition "void logevent(int param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" primitive_type (function_declarator "logevent(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  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" { (expression_statement "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));" (call_expression "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20))" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b5868)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b5868" * (cast_expression "(code *)PTR_log_eventlog_000b5868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0xd20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" * (cast_expression "(undefined4 *)(param_1 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd20)" ( (binary_expression "param_1 + 0xd20" identifier + number_literal) )))) ))) ;) (expression_statement "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" * (cast_expression "(undefined4 *)(param_1 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x223c)" ( (binary_expression "param_1 + 0x223c" identifier + number_literal) )))) , 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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void logevent(int param_1,undefined4 param_2)\n\n{\n  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" (primitive_type "void") (function_declarator "logevent(int param_1,undefined4 param_2)" (identifier "logevent") (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  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));\n  logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" ({ "{") (expression_statement "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));" (call_expression "(*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20))" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b5868)" (( "(") (pointer_expression "*(code *)PTR_log_eventlog_000b5868" (* "*") (cast_expression "(code *)PTR_log_eventlog_000b5868" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_log_eventlog_000b5868"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0xd20))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xd20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd20)" (( "(") (binary_expression "param_1 + 0xd20" (identifier "param_1") (+ "+") (number_literal "0xd20")) () ")")))) () ")"))) (; ";")) (expression_statement "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "logevent_dlg(*(undefined4 *)(param_1 + 0x223c),param_2)" (identifier "logevent_dlg") (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x223c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x223c)" (( "(") (binary_expression "param_1 + 0x223c" (identifier "param_1") (+ "+") (number_literal "0x223c")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *frontend,char *string)

{
  (*(type_1 *)PTR_log_eventlog_000b5868)(*(type_2 *)((int)frontend + 0xd20));
  var_1(*(void **)((int)frontend + 0x223c),string);
  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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier)))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  (*(code *)PTR_log_eventlog_000b5868)(*(undefined4 *)(param_1 + 0xd20));
  MASKED_dlg(*(undefined4 *)(param_1 + 0x223c),param_2);
  return;
}

