--0x21A0E4, ::CChat,
--0x647B0, ::OnLostDevice,
--0x635D0, ::OnResetDevice,
--0x64600, ::Draw->call
--0x642E7, ::Render,
--0xB3D40, getChatFontName,
--0x64010, ::AddEntry,
--0xB87E7, ::Scroll->call DXUT__Scroll,
--0xB3C60, ::ScrollToBottom,
--0x63828, ::PageUp,
--0x637C0, ::PageDown,
--0x63700, CInput,
--0x63760, CInput::AddCommand,
--0x21A0E8, CConfig?,
--0x65AD0, CConfig?::SaveVariable,
--0x21A0E0, CConfig?::ReadVariable,
--0x624C0, CNetGame
--0x62250,
--0x21A0F8,
function sampSaveVariableToConfig(name, value)
return ffi.cast("int(__thiscall*)(uintptr_t, const char*, int, int)", sampGetBase() + 0x624C0)(
ffi.cast("uintptr_t*", sampGetBase() + 0x65AD0)[0],
name,
value
)
--inline void sampSaveVariableToConfig(const char* name, int value)
--{
-- reinterpret_cast<int(__thiscall*)(uintptr_t, const char*, int, int)>(sampGetBase() + SAMP_OFFSET[16])
--}
end