Post: [SPRX] Real Way to call functions
07-27-2014, 11:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Real Way to call functions



GSSC:
    
struct tocs {
int32_t gsscof;
int32_t toc;
};

tocs gssscfunc = { 0x34A1DC, 0xD67E98 };
typedef void(*Se***SC)(int client, int type, char* command);

Se***SC GSSC = (Se***SC)(tocs*)&gssscfunc;



Se***SC = S e t G S S C <- ngu sucks Happy
How to use:
    
GSSC(0,0,"O \"This is a test\"");



Or like this ( thx to seb5594)
    
#define TOC ( 0xD67E98 )

#include <sys/types.h>

struct opd_s
{
int32_t sub;
int32_t toc;
};

typedef struct scr_entref_t
{
short entnum;
short classnum;
} scr_entref_t;

void SV_GameSendServerCommand(int, char*);

void SV_GameSendServerCommand(int Client, char* Command)
{
opd_s SV1 = { 0x34A1DC, TOC };
void(*SVGSSC)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV1;
SVGSSC(Client, 0, Command);
}


and remember the toc is diffrent in any games for bo2 its :0xD67E98
Credits:
Me - making it
seb5594
Shark & Vezah - explaining the toc
Last edited by EnVatoHD ; 07-28-2014 at 11:44 AM.

The following 28 users say thank you to EnVatoHD for this useful post:

B777x, Bad Luck Brian, BaSs_HaXoR, Boliberrys, CrEaTiiOn_420, ErasedDev, iRnZ, iTпDM, ItsLollo1000, KareraHekku, LaRip8, milky4444, Norway-_-1999, John, NotALegitPlayer, Notorious, Obris, OLDSCHOOLMODZHD, ryu_hayabusa80, Shark, Swaqq, TotalModzHD, VezahMoDz, wdegrgefwef, Winter, Fatality, xPAQz, xREVISIONxMoDz
07-29-2014, 01:28 AM #20
Originally posted by SC58 View Post
Damn if it's lame and bother's you that bad why don't you grow up and ignore me or block me on here lol

Or Is that too much to ask for cause your one of them people who love to here what everyone is saying?


I don't have the time for that, nor would i care too. I don't mind it when your being a chill dude, just not when your putting yourself above others, and making others feel less-worthy. Its not right.

The following user thanked BaSs_HaXoR for this useful post:

07-29-2014, 02:15 AM #21
Kurt
Banned
Originally posted by SC58 View Post
Damn if it's lame and bother's you that bad why don't you grow up and ignore me or block me on here lol

Or Is that too much to ask for cause your one of them people who love to here what everyone is saying?

wot... did you actually use correct grammar this time?

The following user thanked Kurt for this useful post:

Notorious
07-29-2014, 02:43 AM #22
Originally posted by HaXoR View Post
I don't have the time for that, nor would i care too. I don't mind it when your being a chill dude, just not when your putting yourself above others, and making others feel less-worthy. Its not right.


It's the internet; grow a pair.
07-29-2014, 09:06 AM #23
ErasedDev
Climbing up the ladder
Originally posted by DexModderFTW View Post
wot... did you actually use correct grammar this time?

No he didn't , He wrote " here " instead of hear .
Or he's missing a sentence . " (To be here and see what people are sayin' ) " .
09-27-2014, 11:57 AM #24
hey, do you have an idea for the TOC of GTA V? thanks Smile

The following user thanked BFoGvDo for this useful post:

Thirst
10-07-2014, 10:07 PM #25
iTпDM
Vault dweller
Thanks also always
10-15-2014, 01:43 AM #26
Pyro577
< ^ > < ^ >
Originally posted by BFoGvDo View Post
hey, do you have an idea for the TOC of GTA V? thanks Smile


Find it?
10-15-2014, 12:25 PM #27
no... I search how can I find the offsets of the buttons and the offset for the toc...
12-06-2014, 11:04 AM #28
Sorry, I don't have seen the notifications. For have the toc you need to lunch your game with a debug eboot, then go on target manager, lunch the debugger and attach the process, normally, you see the register, see the offset of the register 2 (r2) that the toc Smile
( Thanks to blb for xplain me that Smile )

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo