You are viewing our Forum Archives. To view or take place in current topics click here.
A little game for you guys
Posted:
A little game for you guys Posted:
Status: Offline
Joined: Mar 30, 201113Year Member
Posts: 898
Reputation Power: 41
Status: Offline
Joined: Mar 30, 201113Year Member
Posts: 898
Reputation Power: 41
32 rep if you know what this is/what its for.
class C_BaseCombatWeapon
{
public:
float GetRealSpread(){
__asm
{
mov ecx, this;
mov eax, ecx;
mov eax, [eax];
add eax, 0x5C0;
call [eax];
}
}
float GetRealCone(float m_fGameTime)
{
__asm
{
fld m_fGameTime;
mov ecx, this;
mov eax, ecx;
mov eax, [eax];
add eax, 0x5C4;
call [eax];
}
}
};
#2. Posted:
Status: Offline
Joined: Oct 12, 201113Year Member
Posts: 349
Reputation Power: 20
Status: Offline
Joined: Oct 12, 201113Year Member
Posts: 349
Reputation Power: 20
#3. Posted:
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 1,957
Reputation Power: 401
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 1,957
Reputation Power: 401
PHP_Pro is close.
Its in-line assembly.
You can put this code inside your C Code, the prefix __asm states the start of the in-line assembly
Its in-line assembly.
You can put this code inside your C Code, the prefix __asm states the start of the in-line assembly
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Mar 30, 201113Year Member
Posts: 898
Reputation Power: 41
Status: Offline
Joined: Mar 30, 201113Year Member
Posts: 898
Reputation Power: 41
You are viewing our Forum Archives. To view or take place in current topics click here.