Post: Hookable Functions/Locations List
06-04-2015, 03:59 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU Smile, today i will be sharing some empty/hookable locations for your sprx's or ppc.
    
1: Menu_Paint
hook/ppc: 0x465308
enable: 0x465244 = 0x41
layout: https://prntscr.com/7cwfhi
2: Item_ListBox_Paint (small)
hook/ppc: 0x4567F8
enable: 0x4566A8 = 0x41
layout: https://prntscr.com/7cwh68
3:Menu_PaintAll
A:FPS
hook/ppc: 0x4667B4
enable: 0x466298 = 0x41
B:Menu
hook/ppc: 0x466708
enable: 0x466278 = 0x40//dont need to do this if your branching from fps
example layout on branching from fps to menu disp.: https://prntscr.com/7cwib2
4: R_SetFrameFog
hook/ppc: 0x7A21E0
5: CG_UpdateClouds
hook/ppc: 0xD9FF0
6: R_SetWind:
hook/ppc: 0x78A738
7: CG_DrawNightVisionOverlay (thanks to SC58 for the name)
hook/ppc: 0x00F80A8

A solution to a small location is being able to branch link or branch controlably to a bigger unused sub/location.
you can use 0x1D2690 (LAN_GetServer).
also please leave some credits if you do use my fps branch method.
Hope this helps Happy
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to milky4444 for this useful post:

-JM-, NickBeHaxing
06-04-2015, 07:31 AM #2
iiiCenTurY
Gym leader
Nice release mate Smile
06-04-2015, 02:46 PM #3
SC58
Former Staff
CG_DrawNightVisionOverlay is the function i always hooked to as it pointless as the game don't have nightvision :p

but thats if u wanna run something every frame, but you can hook any function you want to maybe rebuild it or change the way it gets called etc

The following 2 users say thank you to SC58 for this useful post:

-JM-, milky4444
06-04-2015, 04:46 PM #4
-JM-
Space Ninja
Originally posted by SC58 View Post
CG_DrawNightVisionOverlay is the function i always hooked to as it pointless as the game don't have nightvision :p

but thats if u wanna run something every frame, but you can hook any function you want to maybe rebuild it or change the way it gets called etc


I love the advice Winky Winky

Originally posted by milky4444 View Post
Hi NGU Smile, today i will be sharing some empty/hookable locations for your sprx's or ppc.
    
1: Menu_Paint
hook/ppc: 0x465308
enable: 0x465244 = 0x41
layout: https://prntscr.com/7cwfhi
2: Item_ListBox_Paint (small)
hook/ppc: 0x4567F8
enable: 0x4566A8 = 0x41
layout: https://prntscr.com/7cwh68
3:Menu_PaintAll
A:FPS
hook/ppc: 0x4667B4
enable: 0x466298 = 0x41
B:Menu
hook/ppc: 0x466708
enable: 0x466278 = 0x40//dont need to do this if your branching from fps
example layout on branching from fps to menu disp.: https://prntscr.com/7cwib2
4: R_SetFrameFog
hook/ppc: 0x7A21E0
5: CG_UpdateClouds
hook/ppc: 0xD9FF0
6: R_SetWind:
hook/ppc: 0x78A738

A solution to a small location is being able to branch link or branch controlably to a bigger unused sub/location.
you can use 0x1D2690 (LAN_GetServer).
also please leave some credits if you do use my fps branch method.
Hope this helps Happy


i already made FPS
06-04-2015, 04:57 PM #5
SC58
Former Staff
Originally posted by JM
I love the advice Winky Winky



i already made FPS


I always like to use UI_DrawText or any engine function that uses ScreenPlacement as that will make where ever u draw at on screen render in with what person tv resolution so everything is perfect on yours and there end on where you store the positions at

    
struct ScreenPlacement * scrPlaceView = (ScreenPlacement *)0x00000;
void UI_DrawText - (ScreenPlacement *scrPlace, const char *text, int maxChars, void *font, float x, float y, int horzAlign, int vertAlign, float scale, const float *color, int style)

The following 2 users say thank you to SC58 for this useful post:

-JM-, shakos
06-05-2015, 12:41 AM #6
Originally posted by SC58 View Post
CG_DrawNightVisionOverlay is the function i always hooked to as it pointless as the game don't have nightvision :p

but thats if u wanna run something every frame, but you can hook any function you want to maybe rebuild it or change the way it gets called etc


thanks for the function name. i was able to find it and it works great Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo