Got this code, from a friend, everyone knows that determined, you sit in the car and drives, you press the circle button, and the cinematic cam changes the view.
This code disables this cinematic camera.
Credits: I do not know who did it, sorry but still have fun .....!
bool nocine = false;
if (nocine)
{
CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);
CAM::STOP_GAMEPLAY_HINT(true);
AUDIO::STOP_AUDIO_SCENE("HINT_CAM_SCENE");
::_STOP_SCREEN_EFFECT("FocusIn");
::_STOP_SCREEN_EFFECT("FocusOut");
}
static void SET_CINEMATIC_BUTTON_ACTIVE(Any p0) { invoke<Void>(0x3FBC5D00, p0); } // 0x3FBC5D00
static void STOP_GAMEPLAY_HINT(Any p0) { invoke<Void>(0x1BC28B7B, p0); } // 0x1BC28B7B
static void STOP_AUDIO_SCENE(char *scene) { invoke<Void>(0xA08D8C58, scene); } // 0xA08D8C58
void _STOP_SCREEN_EFFECT(char *effectName)
{
NativeArg_l.argPointer = (uint32_t*)Args;
NativeArg_l.returnParam = (uint32_t*)Return;
NativeArg_l.numOfArgs = 1;
SetArg(Args, 0, effectName);
opd_s _STOP_SCREEN_EFFECT = { 0x01578234, TOC };
((void(*)(NativeArg_ss*))&_STOP_SCREEN_EFFECT)(&NativeArg_l);
}
struct NativeArg_ss
{
uint32_t* returnParam;
uint32_t numOfArgs;
uint32_t* argPointer;
}
NativeArg_l;
char Args[4 * 30];
char Return[0x20];
template<typename T>
void SetArg(char* arg, int index, T val)
{
*(T*)(arg + (index * 4)) = val;
}
This code disables this cinematic camera.
Credits: I do not know who did it, sorry but still have fun .....!
bool nocine = false;
if (nocine)
{
CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);
CAM::STOP_GAMEPLAY_HINT(true);
AUDIO::STOP_AUDIO_SCENE("HINT_CAM_SCENE");
::_STOP_SCREEN_EFFECT("FocusIn");
::_STOP_SCREEN_EFFECT("FocusOut");
}
static void SET_CINEMATIC_BUTTON_ACTIVE(Any p0) { invoke<Void>(0x3FBC5D00, p0); } // 0x3FBC5D00
static void STOP_GAMEPLAY_HINT(Any p0) { invoke<Void>(0x1BC28B7B, p0); } // 0x1BC28B7B
static void STOP_AUDIO_SCENE(char *scene) { invoke<Void>(0xA08D8C58, scene); } // 0xA08D8C58
void _STOP_SCREEN_EFFECT(char *effectName)
{
NativeArg_l.argPointer = (uint32_t*)Args;
NativeArg_l.returnParam = (uint32_t*)Return;
NativeArg_l.numOfArgs = 1;
SetArg(Args, 0, effectName);
opd_s _STOP_SCREEN_EFFECT = { 0x01578234, TOC };
((void(*)(NativeArg_ss*))&_STOP_SCREEN_EFFECT)(&NativeArg_l);
}
struct NativeArg_ss
{
uint32_t* returnParam;
uint32_t numOfArgs;
uint32_t* argPointer;
}
NativeArg_l;
char Args[4 * 30];
char Return[0x20];
template<typename T>
void SetArg(char* arg, int index, T val)
{
*(T*)(arg + (index * 4)) = val;
}