Code (RELEASE) BLACK SCREEN PROTECTION SOURCE CODE (PS3 / SPRX)

PPRX

what you want from me
Messages
45
Reaction score
42
Today i decided to release black screen protection source code to public.
Xbox version was released by sockstress but no one cares about PS3.
Includes BLUS and BLES offsets.
Enjoy :biggrin:

Code:
void TN_Stub(int r3, int r4)
{
    __asm("li 3, 0");
}

int TN_Hook(int r3, int r4)
{
    if(*(int*)0x170864C > 7 && *(int*)0x170864C < 11 ) //BLES -> 0x17087CC
    {
        RAGE_Print("~COL_NET_1~PPRX: ~w~Someone Tried Freeze You with Black Screen!"); //Call PRINT_STRING
    }
    else{
        TN_Stub(r3,r4); //Call Original Function
    }
}

void Hook_Protection()
{
    HookFunctionStart(0x8A2260,(int)TN_Stub,(int)TN_Hook,0); //BLES -> 0x8A2430
}
 
Last edited:

Knife

Hidden Devils
Staff
Messages
1,228
Reaction score
1,176
Nice release, I’ve had this for a while now though, I hope this helps a few members out.
 
Top Bottom