What's new

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

PPRX

PPRX

what you want from me
Messages
46
Reaction score
43
Points
90
Sin$
0
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:
Token

Token

Godly Sinner
Administrator
Content Team
Hidden Devils
Grammar Nazi Frame In Gold Odysseus' Summit
Messages
2,405
Solutions
2
Reaction score
1,836
Points
2,110
Sin$
95
Nice release, I’ve had this for a while now though, I hope this helps a few members out.
 
Top Bottom
Login
Register