iwd2ee/ieex_override/IEex_Helper_Addresses.lua

IEex_Helper_Addresses = {
	["AssertionFailed"] = 0x780C00,
	["AsyncTimeDelta"] = 0x8CF6E4,
	["Blt_TexSurfaces_6_7_FogOfWar_ToSurface"] = 0x551FF0,
	["BltPalletedDataToRawSurface"] = 0x7CE830,
	["CAIConditionResponse::Construct"] = 0x40F960,
	["CAIConditionResponse::Destruct"] = 0x40F9E0,
	["CAIScript::Read"] = 0x40F160,
	["CBaldurEngine::FetchDialogString"] = 0x427B60,
	["CChitin::ParseCommandLine"] = 0x7917F0,
	["CChitin::SetupThreads"] = 0x790080,
	["CFile::Read"] = 0x7FD7B9,
	["CFile::Seek"] = 0x7FD83E,
	["CGameArea::NoteThreadManipulatingLists"] = 0x46A2E0,
	["CGameArea::Render"] = 0x477740,
	["CGameObjectArray::GetShare"] = 0x599A50,
	["CGameObjectArray::UndoShare"] = 0x599E70,
	["CGameSprite::DEFAULT_ATTACK"] = 0x85BBD0,
	["CGameSprite::GetIdleSequence"] = 0x7071F0,
	["CGameSprite::GetLauncher"] = 0x718650,
	["CGameSprite::HaveSpell"] = 0x725330,
	["CInfGame::AsciiToVirtualKey"] = 0x5A97D0,
	["CInfGame::GetDefaultKeybindVirtualKey"] = 0x5A9830,
	["CInfGame::GetIntModMaxAllowedSpellLevel"] = 0x5456C0,
	["CInfGame::GetSpellLevelMinusOneForClassAndKit"] = 0x5CAC30,
	["CInfGame::InitHotkeyMap"] = 0x5A98F0,
	["CInfGame::ProcessHotkeyINIValue"] = 0x5A9A30,
	["CInfGame::UpdateKeybindMapping"] = 0x5A9B00,
	["CInfGame::VirtualKeyToAscii"] = 0x5A9780,
	["CInfinity::AdjustViewPosition"] = 0x5D1C30,
	["CInfinity::RenderMessageScreen"] = 0x5D2530,
	["CInfinity::Scroll"] = 0x5D1380,
	["CInfinity::SetViewPosition"] = 0x5D11F0,
	["CInfTileSet::ReadyTexture"] = 0x5CB260,
	["CInfTileSet::RenderTexture"] = 0x5CB780,
	["CInfToolTip::FormatTooltipPrefix"] = 0x598D30,
	["CItem::ConstructFull"] = 0x4E7E90,
	["CItem::DecrementDemands"] = 0x4E82F0,
	["CItem::Demand"] = 0x4E82B0,
	["CItem::Destruct"] = 0x4E8180,
	["CItem::GetAbilityNum"] = 0x4E9610,
	["CItem::GetItemType"] = 0x4E97E0,
	["CItem::GetMaxStackable"] = 0x4E9EB0,
	["CloseHandle"] = 0x847320,
	["CMapStringToString::IndexChars"] = 0x7FC1A5,
	["CObList::RemoveAll"] = 0x7FB278,
	["CoInitialize"] = 0x847594,
	["CoUninitialize"] = 0x847598,
	["CPtrList::AddTail"] = 0x7FBE4E,
	["CPtrList::Construct"] = 0x7FB239,
	["CPtrList::Find"] = 0x7FB41A,
	["CPtrList::RemoveAt"] = 0x7FB3E3,
	["CPtrList_CAIConditionResponse::VFTable"] = 0x847D8C,
	["CreateEventA"] = 0x847104,
	["CreateThreadWrapper"] = 0x7E9429,
	["CRes::DecrementRequests"] = 0x77E370,
	["CResBAM::DecrementDemands"] = 0x77F820,
	["CResBAM::GetFrameData"] = 0x77F5F0,
	["CResBAM::IsFrameCompressed"] = 0x77F5C0,
	["CResourceManager::DumpRes"] = 0x787CE0,
	["CResourceManager::FillLooseResourceViewBase"] = 0x787180,
	["CResourceManager::GetLooseResourceFileSize"] = 0x786F30,
	["CResourceManager::GetResObject"] = 0x786DF0,
	["CResourceManagerBIFEntry::FillViewBase"] = 0x78A7E0,
	["CResourceManagerBIFEntry::GetFileSize"] = 0x78A280,
	["CResourceManagerUnknown5::AddEntryIntoHashtable"] = 0x78AEF0,
	["CResourceManagerUnknown5::GetHashEntry"] = 0x78B410,
	["CResRef::Construct1"] = 0x78A960,
	["CResRef::CopyToString"] = 0x78A9F0,
	["CResRef::operator_equ"] = 0x78AC30,
	["CResRefArray::FindResRef"] = 0x5CA160,
	["CResTile::DecrementDemands"] = 0x7807D0,
	["CResTile::Demand"] = 0x780790,
	["CResTile::GetDimension"] = 0x780780,
	["CResTile::GetTileData"] = 0x780770,
	["CResWED::GetLayerHeader"] = 0x401190,
	["CResWED::GetLayerTileListOffset"] = 0x4012E0,
	["CResWED::GetTileData"] = 0x4011C0,
	["CScreenKeys::DismissPanel1"] = 0x639E70,
	["CScreenKeys::DismissPopup"] = 0x63A100,
	["CScreenKeys::OnKeyDownProcess"] = 0x639160,
	["CScreenKeys::OnPanel1ButtonClick"] = 0x63A480,
	["CScreenKeys::SetSelectedDisplayIndex"] = 0x63AA60,
	["CScreenKeys::SetStagedKeybind"] = 0x63A910,
	["CScreenKeys::SummonPopup"] = 0x639F40,
	["CScreenKeys::UpdateHoverPalettes"] = 0x63A7A0,
	["CScreenKeys::UpdateLabelPalettes"] = 0x63A660,
	["CScreenKeys::UpdateMainPanel"] = 0x639A50,
	["CSingleLock::Construct"] = 0x7E6CBB,
	["CSingleLock::Destruct"] = 0x42D790,
	["CSingleLock::Lock"] = 0x7E6CE2,
	["CSingleLock::Unlock"] = 0x7E6CF7,
	["CSoundImp::Construct"] = 0x7A8BB0,
	["CSoundImp::Destruct"] = 0x7A8E20,
	["CSoundMixer::CleanUp"] = 0x7AB1E0,
	["CSpell::ConstructFromResRef"] = 0x585FD0,
	["CSpell::DecrementDemands"] = 0x54A3C0,
	["CSpell::Demand"] = 0x54A380,
	["CSpell::UsableBySprite"] = 0x54AA40,
	["CSpellListArray::FindID"] = 0x725E70,
	["CString::afxPchNil"] = 0x8C1758,
	["CString::ConstructFromChars"] = 0x7FCC88,
	["CString::ConstructFromCString"] = 0x7FC98F,
	["CString::Destruct"] = 0x7FCC1A,
	["CString::Format"] = 0x7FAEE8,
	["CString::GetBuffer"] = 0x7FCFFE,
	["CString::GetLength"] = 0x41E160,
	["CString::IndexOf"] = 0x7FAB62,
	["CString::LoadStringA"] = 0x800599,
	["CString::ReleaseBuffer"] = 0x7FD04D,
	["CString::SetFromChar"] = 0x7FA827,
	["CString::SetFromChars"] = 0x7FCD57,
	["CString::SetFromCString"] = 0x7FCD07,
	["CTlkTable::Fetch"] = 0x7941D0,
	["CUIControlBase::TimerAsynchronousUpdate"] = 0x4D25B0,
	["CUIControlLabel::SetPalette"] = 0x4E4780,
	["CUIControlLabel::SetText"] = 0x4E46F0,
	["CUIManager::ForceToolTip"] = 0x4D46D0,
	["CUIManager::GetPanel"] = 0x4D4000,
	["CUIManager::InvalidateRect"] = 0x4D45E0,
	["CUIManager::OnKeyDown"] = 0x4D4510,
	["CUIManager::OnLButtonDown"] = 0x4D41D0,
	["CUIPanel::GetControl"] = 0x4D2CA0,
	["CUtil::Uncompress"] = 0x780B60,
	["CVidCell::Blt16Palette"] = 0x7AF1C0,
	["CVidCell::Blt16PaletteShadow"] = 0x7AF8A0,
	["CVidCell::Blt16PaletteTransient"] = 0x7AFED0,
	["CVidCell::Blt24Palette"] = 0x7CECD0,
	["CVidCell::Blt24PaletteShadow"] = 0x7CF3F0,
	["CVidCell::Blt24PaletteTransient"] = 0x7CF8D0,
	["CVidCell::Blt32Palette"] = 0x7CFBC0,
	["CVidCell::Blt32PaletteShadow"] = 0x7D0470,
	["CVidCell::Blt32PaletteTransient"] = 0x7D0950,
	["CVidCell::ConstructFromResRef"] = 0x7ACE50,
	["CVidCell::Destruct"] = 0x7AD0F0,
	["CVidCell::FrameSet"] = 0x7ADFF0,
	["CVidCell::GetCurrentFrameSize"] = 0x7AD800,
	["CVidCell::GetNumberSequences"] = 0x7ADF40,
	["CVidCell::GetSequenceLength"] = 0x7ADAE0,
	["CVidCell::PostRenderIcon"] = 0x7B06E0,
	["CVidCell::RenderIcon"] = 0x7AEAD0,
	["CVidCell::RenderIcon3d"] = 0x7C4A90,
	["CVidCell::RenderToFXSurface"] = 0x7B0490,
	["CVidCell::SequenceSet"] = 0x7AE290,
	["CVideo::CheckDoubleSizeDataAllocation"] = 0x7950F0,
	["CVideo::Destruct"] = 0x7950A0,
	["CVideo::ReleaseDDraw"] = 0x795230,
	["CVideoUnknownSub::Blt"] = 0x7B6840,
	["CVideoUnknownSub::BltFast"] = 0x7B68B0,
	["CVidImage::rgbTempPal"] = 0x9064F8,
	["CVidMode::CheckBltResult"] = 0x799F40,
	["CVidMode::LockTexSurface"] = 0x799FA0,
	["CVidMode::UnlockTexSurface"] = 0x79A820,
	["CVidMosaic::Destruct"] = 0x7B0B20,
	["CVidMosaic::Render"] = 0x7B0C80,
	["CVidPalette::Realize"] = 0x7BF150,
	["CVidPalette::SetPalette"] = 0x7BF390,
	["CVidPoly::FillPoly"] = 0x7C13A0,
	["CVidTile::ReadyTexture"] = 0x7B1780,
	["CVidTile::ReadyTextureWithStencil"] = 0x7B1B30,
	["CVidTile::SetRes"] = 0x7B1770,
	["CVidTile::SetRGBAddColor"] = 0x7ACD50,
	["CVidTile::SetRGBTintColor"] = 0x7ACD60,
	["CVisibilityMap::GetFoWTileCode"] = 0x5526E0,
	["CWnd::Detach"] = 0x7FE59B,
	["DirectDrawCreate"] = IEex_ReadDword(0x847024),
	["DispatchMessageA"] = 0x847440,
	["DuplicateHandle"] = 0x8470F4,
	["EnterCriticalSection"] = 0x8472CC,
	["fptc"] = 0x792920,
	["g_pBaldurChitin"] = 0x8CF6DC,
	["g_pChitin"] = 0x8CF6D8,
	["g_pSoundMixer"] = 0x9060EC,
	["g_resolution_x"] = 0x8BA31C,
	["g_resolution_y"] = 0x8BA31E,
	["GetCurrentProcess"] = 0x8470F8,
	["GetCurrentThread"] = 0x8472F4,
	["GetCurrentThreadId"] = 0x847288,
	["GetDeviceBitdepth"] = 0x780CB0,
	["GetLastError"] = 0x847284,
	["GetMessageA"] = 0x847438,
	["GetPrivateProfileIntA"] = 0x847310,
	["GetTickCount"] = 0x847300,
	["HeapAlloc"] = 0x8471E8,
	["HeapFree"] = 0x8471E4,
	["IntersectRect"] = 0x8474D0,
	["LastAsyncUpdateStartTick"] = 0x8CF6E0,
	["LeaveCriticalSection"] = 0x8472C8,
	["Maximum_Frame_Rate"] = 0x8B9E48,
	["MessageBoxA"] = 0x8474E8,
	["nInvalidatedRenderCount"] = 0x8AB948,
	["nNeededVRamSurfaces"] = 0x8BA320,
	["OLD_SPI_GETSCREENSAVEACTIVE"] = 0x8FB948,
	["operator_delete"] = 0x7FC984,
	["operator_new"] = 0x7FC95B,
	["OPTION_TRANSLUCENT_SHADOWS"] = 0x8BAC8C,
	["OPTIONS_KEYBIND_ASCII_DEFAULTS"] = 0x8AFD24,
	["OPTIONS_KEYBIND_DISPLAY_TO_MAP_INDEX"] = 0x8B3FE0,
	["OPTIONS_KEYBIND_INI_NAMES"] = 0x8AFC50,
	["OPTIONS_KEYBIND_NAME_STRREFS"] = 0x8B40D0,
	["OPTIONS_KEYBIND_SPELL_RESREFS"] = 0x8B4F84,
	["PeekMessageA"] = 0x847434,
	["ProductName"] = 0x8FB944,
	["rand"] = 0x7E8160,
	["RegisterWindowMessageA"] = 0x847464,
	["ResetEvent"] = 0x8472FC,
	["ResumeThread"] = 0x847100,
	["RETVAL_SPI_GETSCREENSAVEACTIVE"] = 0x8FB94C,
	["SleepEx"] = 0x84733C,
	["StartThread3"] = 0x7928C0,
	["StartThread4"] = 0x7928A0,
	["StartThread5"] = 0x792900,
	["StartThread6"] = 0x7928E0,
	["SuspendThread"] = 0x847304,
	["SystemParametersInfoA"] = 0x84746C,
	["timeBeginPeriod"] = 0x84752C,
	["timeGetDevCaps"] = 0x847530,
	["timeSetEvent"] = 0x847528,
	["TranslateMessage"] = 0x84743C,
	["WaitForSingleObject"] = 0x84731C,
}

function IEex_Helper_DefineAddress(symbol, address)
	IEex_Helper_Addresses[symbol] = address
end
