Some signatures
I haven't played this game in forever and so I have no use of these.
CPedFactory
Explosion
W2S
Also, a fun thing you can do with the explosion function is to hook the BulletImpact function (just look it up in IDA) and create explosions on ever impact. This applies for all players and NPC's, not sure if they have to be near you though.
CPedFactory
Code:
SIGNATURE: 48 8B 3D ? ? ? ? 48 8B 9E ? ? ? ? E8 ? ? ? ? 66 89 45 DF
Code:
SIGNATURE:
40 55 48 8D 6C 24 B9 48 81 EC ?? ?? ?? ?? F3 0F 10 01 F3 0F 10 49 08 F3 0F 10 59 10 8B 0D ?? ?? ?? ?? 45 33 C0 83 C8 FF 44 21 45 E7
USAGE:
typedef __int64(__fastcall *tCreateExplosion)(float* pos, int type, float dist, bool a, bool b, float c);
float fPos[6] = { pos.x, 0.0f, pos.y, 0.0f, pos.z, 0.0f };
CreateExplosion(fPos, type, dist, true, false, 5.0f);
Code:
SIGNATURE: 48 89 5C 24 ? 55 56 57 48 83 EC 70 65 4C 8B 0C 25 ? ? ? ? USAGE: typedef bool(__fastcall *tWorldToScreen)(D3DXVECTOR3 * worldPos, float * screenPosX, float * screenPosY); float x = 0.0f, y = 0.0f; bool ret = false; ret = oWorldToScreen(&worldPos, &x, &y); pos.x = 1920 /*res.x*/ * x; pos.y = 1080 /*res.y*/ * y; return ret;