Call to undefined method CI_Input::get_cookie() - Code Igniter
Since you’ve loaded the cookie helper, you can just fetch the cookie with a function.
$_platform = get_cookie('platform');
And if I recall correctly, getting the cookie via Input class is like this:
$_platform = $this->input->cookie('platform');