I was following the tutorial but got stuck here
When i decompiled cs_i386.so , it decompiled fine & i found the func
Code:
//----- (000ABB94) --------------------------------------------------------
int __cdecl InstallGameRules()
{
int result; // eax@2
int v1; // eax@2
int v2; // eax@3
(*(void (__cdecl **)(_DWORD))&g_engfuncs[156])("exec game.cfg\n");
(*(void (**)(void))&g_engfuncs[160])();
if ( *(float *)(gpGlobals + 20) == 0.0 )
{
v2 = __builtin_new(0x2C4u);
result = __18CHalfLifeMultiplay(v2);
}
else
{
v1 = __builtin_new(0x2D8u);
result = __17CHalfLifeTraining(v1);
}
return result;
}
but when i load and decompile mp.dll and Press Ctrl + F5 and save a .C file
only this is present in the result .c file
Code:
//----- (1009C800) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
//----- (1009CDE0) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
//----- (1009D490) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
//----- (1009D520) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
//----- (1009D5D0) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
//----- (1009DC50) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"
What am i doing wrong ???