pub unsafe fn menu_get_cur_main_page(obj: *mut Object) -> Result<*mut Object>
This function is unsafe because it may dereference raw pointers.