Skip to content

Commit

Permalink
preliminary address update for 1.7.36
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpatt committed Oct 9, 2023
1 parent a527d8e commit 8c5332f
Show file tree
Hide file tree
Showing 25 changed files with 7,353 additions and 7,353 deletions.
4 changes: 2 additions & 2 deletions sfse/GameChargen.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ class ChargenDataModel : public IDataModel, public BSTSingletonSDM<ChargenDataMo

static ChargenDataModel* GetSingleton()
{
RelocPtr<ChargenDataModel*> singleton(0x058FB0B8);
RelocPtr<ChargenDataModel*> singleton(0x05906238);
return *singleton;
}

// Contains main UI data model wrappers, decode these later
// This function will pull data from the TESNPC into this wrapper
DEFINE_MEMBER_FN_2(Update, void, 0x01890848, TESNPC*, void** unk2); // Unk2 looks like somekind of restore point, is usually CharGenMenu+0x2D0
DEFINE_MEMBER_FN_2(Update, void, 0x01890958, TESNPC*, void** unk2); // Unk2 looks like somekind of restore point, is usually CharGenMenu+0x2D0
};
}

Expand Down
2 changes: 1 addition & 1 deletion sfse/GameConsole.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "sfse/GameConsole.h"
#include <stdarg.h>

RelocPtr <ConsoleLog*> g_console(0x058FAC50);
RelocPtr <ConsoleLog*> g_console(0x05905DD0);

void Console_Print(const char* fmt, ...)
{
Expand Down
2 changes: 1 addition & 1 deletion sfse/GameConsole.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class ConsoleLog
{
public:
DEFINE_MEMBER_FN_2(VPrint, void, 0x02886AD8, const char* fmt, va_list args);
DEFINE_MEMBER_FN_2(VPrint, void, 0x02886F18, const char* fmt, va_list args);
};

extern RelocPtr <ConsoleLog*> g_console;
Expand Down
2 changes: 1 addition & 1 deletion sfse/GameData.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class TESDataHandler :

static TESDataHandler* GetSingleton()
{
RelocPtr<TESDataHandler*> singleton(0x054CDF28);
RelocPtr<TESDataHandler*> singleton(0x054D9028);
return *singleton;
}
};
Expand Down
1,398 changes: 699 additions & 699 deletions sfse/GameEvents.h

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sfse/GameForms.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "sfse/GameForms.h"

RelocAddr<TESForm::_GetFormByNumericID> TESForm::GetFormByNumericID(0x014D7780);
RelocAddr<TESForm::_GetFormByEditorID> TESForm::GetFormByEditorID(0x014D78DC);
RelocAddr<TESForm::_GetFormByNumericID> TESForm::GetFormByNumericID(0x014D7870);
RelocAddr<TESForm::_GetFormByEditorID> TESForm::GetFormByEditorID(0x014D79CC);
2 changes: 1 addition & 1 deletion sfse/GameMemory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "sfse/GameMemory.h"

RelocAddr<_GetMemoryManager> GetMemoryManager(0x00546464);
RelocAddr<_GetMemoryManager> GetMemoryManager(0x00546554);

void* Heap_Allocate(size_t size)
{
Expand Down
6 changes: 3 additions & 3 deletions sfse/GameMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ static_assert(offsetof(ScrapHeap, currentThreadId) == 0x4B8);
class MemoryManager
{
public:
DEFINE_MEMBER_FN_3(Allocate, void*, 0x00546484, size_t size, size_t alignment, bool aligned);
DEFINE_MEMBER_FN_2(Free, void, 0x0055A8E4, void* buf, bool aligned);
DEFINE_MEMBER_FN_0(GetThreadScrapHeap, ScrapHeap*, 0x00837CD4);
DEFINE_MEMBER_FN_3(Allocate, void*, 0x00546574, size_t size, size_t alignment, bool aligned);
DEFINE_MEMBER_FN_2(Free, void, 0x0055A9D4, void* buf, bool aligned);
DEFINE_MEMBER_FN_0(GetThreadScrapHeap, ScrapHeap*, 0x00837DC4);
};

using _GetMemoryManager = MemoryManager * (*)();
Expand Down
4 changes: 2 additions & 2 deletions sfse/GameObjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ class TESNPC :
u8 pronoun; // 480
u8 pad481[7]; // 481

DEFINE_MEMBER_FN_1(DeriveGeneticParentAppearance, void, 0x01B27E98, TESNPC* source);
DEFINE_MEMBER_FN_1(CopyAppearance, void, 0x01B262D0, TESNPC* source);
DEFINE_MEMBER_FN_1(DeriveGeneticParentAppearance, void, 0x01B27FA8, TESNPC* source);
DEFINE_MEMBER_FN_1(CopyAppearance, void, 0x01B263E0, TESNPC* source);
};
static_assert(sizeof(TESNPC) == 0x488);
static_assert(sizeof(TESNPC::HeadPartData) == 0x28);
Expand Down
2 changes: 1 addition & 1 deletion sfse/GameRTTI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

typedef void* (*_Runtime_DynamicCast_Internal)(void* srcObj, u32 arg1, const void* fromType, const void* toType, u32 arg4);

RelocAddr <_Runtime_DynamicCast_Internal> Runtime_DynamicCast_Internal(0x034CB000); // __RTDynamicCast
RelocAddr <_Runtime_DynamicCast_Internal> Runtime_DynamicCast_Internal(0x034CB6C0); // __RTDynamicCast

void* Runtime_DynamicCast(void* srcObj, const void* fromType, const void* toType)
{
Expand Down
13,156 changes: 6,578 additions & 6,578 deletions sfse/GameRTTI.inl

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sfse/GameReferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ class TESObjectREFR : public TESForm
u8 unk10A; // 10A
u8 unk10B; // 10B

DEFINE_MEMBER_FN_0(IsInSpaceship, bool, 0x02B3E1F4)
DEFINE_MEMBER_FN_0(IsInSpace, bool, 0x01A0DB78)
DEFINE_MEMBER_FN_1(HasKeyword, bool, 0x0139E788, BGSKeyword*);
DEFINE_MEMBER_FN_0(IsInSpaceship, bool, 0x02B3E644)
DEFINE_MEMBER_FN_0(IsInSpace, bool, 0x01A0DC88)
DEFINE_MEMBER_FN_1(HasKeyword, bool, 0x0139E878, BGSKeyword*);
};
static_assert(sizeof(TESObjectREFR) == 0x110);

Expand Down Expand Up @@ -382,10 +382,10 @@ class Actor : public TESObjectREFR

// This function is very slow, do not use for realtime updates, mainly used for "entire character changed"
// The fields represent which subsets of chargen to update, usually you want (false, 0x28, false)
DEFINE_MEMBER_FN_3(UpdateAppearance, void, 0x024AC55C, bool unk1, u32 flags, bool changeRace);
DEFINE_MEMBER_FN_3(UpdateAppearance, void, 0x024AC91C, bool unk1, u32 flags, bool changeRace);

DEFINE_MEMBER_FN_0(UpdateChargenAppearance, void, 0x02315938);
DEFINE_MEMBER_FN_1(SetSkinTone, void, 0x023155B0, u32 skinToneIndex);
DEFINE_MEMBER_FN_0(UpdateChargenAppearance, void, 0x02315CF8);
DEFINE_MEMBER_FN_1(SetSkinTone, void, 0x02315970, u32 skinToneIndex);

u64 unk110[(0x260 - 0x110) >> 3]; // 110
void* unk260; // 260
Expand Down
4 changes: 2 additions & 2 deletions sfse/GameScript.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "GameScript.h"

RelocPtr <Script::SCRIPT_FUNCTION> g_firstScriptCommand(0x05514E30);
RelocPtr <Script::SCRIPT_FUNCTION> g_firstConsoleCommand(0x055085C0);
RelocPtr <Script::SCRIPT_FUNCTION> g_firstScriptCommand(0x0551FF30);
RelocPtr <Script::SCRIPT_FUNCTION> g_firstConsoleCommand(0x055136C0);
8 changes: 4 additions & 4 deletions sfse/GameSettings.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "sfse/GameSettings.h"

RelocPtr <INISettingCollection *> SettingT<INISettingCollection>::pCollection(0x05916E48);
RelocPtr <INIPrefSettingCollection *> SettingT<INIPrefSettingCollection>::pCollection(0x05916E68);
RelocPtr <RegSettingCollection *> SettingT<RegSettingCollection>::pCollection(0x05915A68);
RelocPtr <GameSettingCollection *> SettingT<GameSettingCollection>::pCollection(0x058F8278);
RelocPtr <INISettingCollection *> SettingT<INISettingCollection>::pCollection(0x05921F58);
RelocPtr <INIPrefSettingCollection *> SettingT<INIPrefSettingCollection>::pCollection(0x05921F78);
RelocPtr <RegSettingCollection *> SettingT<RegSettingCollection>::pCollection(0x05920B68);
RelocPtr <GameSettingCollection *> SettingT<GameSettingCollection>::pCollection(0x059033F8);

u32 Setting::GetType(void) const
{
Expand Down
2 changes: 1 addition & 1 deletion sfse/GameSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class GameSettingCollection : public SettingCollectionMap<Setting>
public:
virtual ~GameSettingCollection();

DEFINE_MEMBER_FN_1(GetSetting, Setting*, 0x015860F4, const char*);
DEFINE_MEMBER_FN_1(GetSetting, Setting*, 0x015861E4, const char*);
};
static_assert(sizeof(GameSettingCollection) == 0x158);

Expand Down
12 changes: 6 additions & 6 deletions sfse/GameStreams.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ class BSResourceNiBinaryStream : public NiBinaryStream
u64 uiStreamPos; // 20
BSResource::ErrorCode eLastError; // 28

DEFINE_MEMBER_FN_1(Construct, void, 0x03479C10, const char* apName);
DEFINE_MEMBER_FN_0(Destroy, void, 0x03479CB4);
DEFINE_MEMBER_FN_1(Seek_Impl, void, 0x0347A4BC, s64 iNumBytes);
DEFINE_MEMBER_FN_1(GetBufferInfo_Impl, void, 0x03479F14, BufferInfo& info);
DEFINE_MEMBER_FN_2(DoRead_Impl, u64, 0x03479D9C, void* apBuffer, u64 auiBytes);
DEFINE_MEMBER_FN_2(DoWrite_Impl, u64, 0x03479E00, const void* apBuffer, u64 auiBytes);
DEFINE_MEMBER_FN_1(Construct, void, 0x0347A2D0, const char* apName);
DEFINE_MEMBER_FN_0(Destroy, void, 0x0347A374);
DEFINE_MEMBER_FN_1(Seek_Impl, void, 0x0347AB7C, s64 iNumBytes);
DEFINE_MEMBER_FN_1(GetBufferInfo_Impl, void, 0x0347A5D4, BufferInfo& info);
DEFINE_MEMBER_FN_2(DoRead_Impl, u64, 0x0347A45C, void* apBuffer, u64 auiBytes);
DEFINE_MEMBER_FN_2(DoWrite_Impl, u64, 0x0347A4C0, const void* apBuffer, u64 auiBytes);
};
static_assert(sizeof(BSResourceNiBinaryStream) == 0x30);
8 changes: 4 additions & 4 deletions sfse/GameTypes.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "sfse/GameTypes.h"

RelocAddr <BSStringPool::Entry::GetEntryT> BSStringPool::Entry::GetEntry(0x0314D050);
RelocAddr <BSStringPool::Entry::GetEntryWT> BSStringPool::Entry::GetEntryW(0x0314D860);
RelocAddr <BSStringPool::Entry::ReleaseT> BSStringPool::Entry::Release(0x008365FC);
RelocAddr <BSStringPool::Entry::GetEntryT> BSStringPool::Entry::GetEntry(0x0314D4A0);
RelocAddr <BSStringPool::Entry::GetEntryWT> BSStringPool::Entry::GetEntryW(0x0314DCB0);
RelocAddr <BSStringPool::Entry::ReleaseT> BSStringPool::Entry::Release(0x008366EC);

RelocPtr<u32> BSCRC32::uiCRCTable(0x03F24170);
RelocPtr<u32> BSCRC32::uiCRCTable(0x03F26170);
4 changes: 2 additions & 2 deletions sfse/GameUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ class UI :
u64 unk400[(0x4F8 - 0x400) >> 3]; // 400

// This properly locks the data structure, use this
DEFINE_MEMBER_FN_2(IsMenuOpen, bool, 0x02E744B0, const BSFixedString&);
DEFINE_MEMBER_FN_2(IsMenuOpen, bool, 0x02E74900, const BSFixedString&);

static UI* GetSingleton()
{
RelocPtr<UI*> singleton(0x056F12B0);
RelocPtr<UI*> singleton(0x056FC430);
return *singleton;
}
};
Expand Down
2 changes: 1 addition & 1 deletion sfse/Hooks_Data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "sfse/GameSettings.h"
#endif

RelocAddr <uintptr_t> GameDataLoad_Target(0x023EF430 + 0x1058); // End of this function before the retn
RelocAddr <uintptr_t> GameDataLoad_Target(0x023EF7F0 + 0x1058); // End of this function before the retn

void Hook_GameData_Loaded()
{
Expand Down
4 changes: 2 additions & 2 deletions sfse/Hooks_Scaleform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#endif

typedef bool(*_IMenu_LoadMovie)(IMenu* menu, bool addEventDispatcher, bool unk2);
RelocAddr <_IMenu_LoadMovie> IMenu_LoadMovie(0x02E7D434); // IMenu vtable +7
RelocAddr <_IMenu_LoadMovie> IMenu_LoadMovie(0x02E7D884); // IMenu vtable +7
_IMenu_LoadMovie IMenu_LoadMovie_Original = nullptr;

using _BSScaleformManager_ctor = BSScaleformManager*(*)(BSScaleformManager* __this);
RelocAddr <_BSScaleformManager_ctor> BSScaleformManager_ctor(0x02E7FB30);
RelocAddr <_BSScaleformManager_ctor> BSScaleformManager_ctor(0x02E7FF80);
_BSScaleformManager_ctor BSScaleformManager_ctor_Original = nullptr;

static std::list<SFSEMenuInterface::RegisterCallback> s_plugins;
Expand Down
4 changes: 2 additions & 2 deletions sfse/Hooks_Script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool GetSFSEVersion_Execute(const SCRIPT_PARAMETER* paramInfo, const char*, TESO
}

typedef bool (*_ConsoleCommandInit)(void* unk1);
RelocAddr <_ConsoleCommandInit> ConsoleCommandInit(0x01AEB220);
RelocAddr <_ConsoleCommandInit> ConsoleCommandInit(0x01AEB330);
_ConsoleCommandInit ConsoleCommandInit_Original = nullptr;

void ConsoleCommandInit_Hook(void* unk1)
Expand Down Expand Up @@ -109,7 +109,7 @@ void ConsoleCommandInit_Hook(void* unk1)
cmd.bInvalidatesCellList = 0;
}

RelocAddr<void*> EmptyFunc(0x012559D0);
RelocAddr<void*> EmptyFunc(0x01255AC0);
_MESSAGE("%s (%s)", iter->pFunctionName, iter->pExecuteFunction == EmptyFunc ? "Empty" : "Implemented");
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion sfse/Hooks_Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const char * kHook_ShowVersion_FormatString =
"%08x v%s [SFSE " __PREPRO_TOKEN_STR__(SFSE_VERSION_INTEGER) "."
__PREPRO_TOKEN_STR__(SFSE_VERSION_INTEGER_MINOR) "."
__PREPRO_TOKEN_STR__(SFSE_VERSION_INTEGER_BETA) "]";
RelocAddr <uintptr_t> kHook_ShowVersion_Offset(0x0207ABF0 + 0x5D);
RelocAddr <uintptr_t> kHook_ShowVersion_Offset(0x0207AD40 + 0x5D);

void Hooks_Version_Apply()
{
Expand Down
14 changes: 7 additions & 7 deletions sfse/PapyrusNativeFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class NativeFunctionBase : public IFunction
u16 unk0A; // 0A

MEMBER_FN_PREFIX(ParameterInfo);
DEFINE_MEMBER_FN(GetParam, u64 *, 0x0307ADAC, u32 idx, BSFixedString * nameOut, u64 * typeOut);
DEFINE_MEMBER_FN(GetParam, u64 *, 0x0307B1FC, u32 idx, BSFixedString * nameOut, u64 * typeOut);
};

virtual BSFixedString * GetName(void) override { return &m_fnName; }
Expand Down Expand Up @@ -134,11 +134,11 @@ class NativeFunctionBase : public IFunction
virtual bool Run(VMValue * baseValue, VMClassRegistry * registry, u32 arg2, VMValue * resultValue, VMState * state) = 0;

MEMBER_FN_PREFIX(NativeFunctionBase);
DEFINE_MEMBER_FN(Impl_Invoke, u32, 0x0307AA84, u64 unk0, u64 unk1, VMClassRegistry * registry, VMState * unk3);
DEFINE_MEMBER_FN(Impl_Invoke, u32, 0x0307AED4, u64 unk0, u64 unk1, VMClassRegistry * registry, VMState * unk3);
// ??_7?$NativeFunction1@VActiveEffect@@XPEAVTESForm@@@BSScript@@6B@ entry 0x10
DEFINE_MEMBER_FN(Impl_Fn10, BSFixedString *, 0x0307AE14);
DEFINE_MEMBER_FN(Impl_GetParamInfo, bool, 0x0307AEB0, u32 idx, void * out);
DEFINE_MEMBER_FN(Impl_Fn15, void *, 0x0307AE1C, u64 arg0, u64 arg1);
DEFINE_MEMBER_FN(Impl_Fn10, BSFixedString *, 0x0307B264);
DEFINE_MEMBER_FN(Impl_GetParamInfo, bool, 0x0307B300, u32 idx, void * out);
DEFINE_MEMBER_FN(Impl_Fn15, void *, 0x0307B26C, u64 arg0, u64 arg1);

protected:
BSFixedString m_fnName; // 10
Expand Down Expand Up @@ -172,8 +172,8 @@ class NativeFunction : public NativeFunctionBase
virtual bool HasCallback(void) override { return m_callback != 0; }

MEMBER_FN_PREFIX(NativeFunction);
DEFINE_MEMBER_FN(Impl_ctor, NativeFunction *, 0x0307A908, const char * fnName, const char * className, u8 unk0, u32 numParams);
DEFINE_MEMBER_FN(Impl_dtor, void, 0x0307A9C4); // same as NativeFunctionBase dtor
DEFINE_MEMBER_FN(Impl_ctor, NativeFunction *, 0x0307AD58, const char * fnName, const char * className, u8 unk0, u32 numParams);
DEFINE_MEMBER_FN(Impl_dtor, void, 0x0307AE14); // same as NativeFunctionBase dtor

protected:
void * m_callback; // 50
Expand Down
2 changes: 1 addition & 1 deletion sfse/ScaleformMemory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "sfse/ScaleformMemory.h"

RelocPtr<Scaleform::MemoryHeap*> Scaleform::Memory::pGlobalHeap(0x0542C998);
RelocPtr<Scaleform::MemoryHeap*> Scaleform::Memory::pGlobalHeap(0x05437A98);

void* ScaleformHeap_Allocate(u64 size)
{
Expand Down
46 changes: 23 additions & 23 deletions sfse/ScaleformValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,37 +62,37 @@ class Value

virtual ~ObjectInterface();

DEFINE_MEMBER_FN_3(HasMember, bool, 0x00ECF2D0, void* pData, const char* name, bool isDisplayObj);
DEFINE_MEMBER_FN_4(GetMember, bool, 0x00ECF610, void* pData, const char* name, Value* pValue, bool isDisplayObj);
DEFINE_MEMBER_FN_4(SetMember, bool, 0x00ECFA10, void* pData, const char* name, const Value& pValue, bool isDisplayObj);
DEFINE_MEMBER_FN_6(Invoke, bool, 0x00ECFE30, void* pData, Value* result, const char* name, const Value* args, unsigned long long numArgs, bool isDisplayObj);
DEFINE_MEMBER_FN_4(CreateEmptyMovieClip, bool, 0x00ED3550, void* pData, Value* pValue, const char* instanceName, int depth);
DEFINE_MEMBER_FN_6(AttachMovie, bool, 0x00ED3810, void* pData, Value* pValue, const char* symbolName, const char* instanceName, int depth, const void* initArgs);
DEFINE_MEMBER_FN_1(GetArraySize, unsigned int, 0x00ED1110, void* pData);
DEFINE_MEMBER_FN_2(SetArraySize, bool, 0x00ED1120, void* pData, unsigned int size);
DEFINE_MEMBER_FN_3(GetElement, bool, 0x00ED1140, void* pData, unsigned int index, Value* value);
DEFINE_MEMBER_FN_3(SetElement, bool, 0x00ED11D0, void* pData, unsigned int index, const Value& value);
DEFINE_MEMBER_FN_2(PushBack, bool, 0x00ED1410, void* pData, const Value& value);
DEFINE_MEMBER_FN_2(PopBack, bool, 0x00ED1470, void* pData, Value* value);
DEFINE_MEMBER_FN_3(RemoveElements, bool, 0x00ED1520, void* pData, unsigned idx, int count);
DEFINE_MEMBER_FN_4(VisitElements, void, 0x00ED1230, void* pData, ArrVisitor* visitor, unsigned long idx, int count);
DEFINE_MEMBER_FN_3(VisitMembers, void, 0x00ED09D0, void* pData, ObjVisitor* visitor, bool isDisplayObj);
DEFINE_MEMBER_FN_3(HasMember, bool, 0x00ECF3C0, void* pData, const char* name, bool isDisplayObj);
DEFINE_MEMBER_FN_4(GetMember, bool, 0x00ECF700, void* pData, const char* name, Value* pValue, bool isDisplayObj);
DEFINE_MEMBER_FN_4(SetMember, bool, 0x00ECFB00, void* pData, const char* name, const Value& pValue, bool isDisplayObj);
DEFINE_MEMBER_FN_6(Invoke, bool, 0x00ECFF20, void* pData, Value* result, const char* name, const Value* args, unsigned long long numArgs, bool isDisplayObj);
DEFINE_MEMBER_FN_4(CreateEmptyMovieClip, bool, 0x00ED3640, void* pData, Value* pValue, const char* instanceName, int depth);
DEFINE_MEMBER_FN_6(AttachMovie, bool, 0x00ED3900, void* pData, Value* pValue, const char* symbolName, const char* instanceName, int depth, const void* initArgs);
DEFINE_MEMBER_FN_1(GetArraySize, unsigned int, 0x00ED1200, void* pData);
DEFINE_MEMBER_FN_2(SetArraySize, bool, 0x00ED1210, void* pData, unsigned int size);
DEFINE_MEMBER_FN_3(GetElement, bool, 0x00ED1230, void* pData, unsigned int index, Value* value);
DEFINE_MEMBER_FN_3(SetElement, bool, 0x00ED12C0, void* pData, unsigned int index, const Value& value);
DEFINE_MEMBER_FN_2(PushBack, bool, 0x00ED1500, void* pData, const Value& value);
DEFINE_MEMBER_FN_2(PopBack, bool, 0x00ED1560, void* pData, Value* value);
DEFINE_MEMBER_FN_3(RemoveElements, bool, 0x00ED1610, void* pData, unsigned idx, int count);
DEFINE_MEMBER_FN_4(VisitElements, void, 0x00ED1320, void* pData, ArrVisitor* visitor, unsigned long idx, int count);
DEFINE_MEMBER_FN_3(VisitMembers, void, 0x00ED0AC0, void* pData, ObjVisitor* visitor, bool isDisplayObj);
// DeleteMember TBD
DEFINE_MEMBER_FN_3(GetText, bool, 0x00ED31E0, void* pData, Value* value, bool html);
DEFINE_MEMBER_FN_3(SetText, bool, 0x00ED3340, void* pData, const char* text, bool html);
DEFINE_MEMBER_FN_3(SetTextW, bool, 0x00ED3460, void* pData, const wchar_t* text, bool html);
DEFINE_MEMBER_FN_3(GotoAndPlayL, bool, 0x00ED3CC0, void* pData, const char* frame, bool stop);
DEFINE_MEMBER_FN_3(GotoAndPlay, bool, 0x00ED3DC0, void* pData, unsigned frame, bool stop);
DEFINE_MEMBER_FN_2(GetParent, bool, 0x00ED1A40, void* pData, Value* value);
DEFINE_MEMBER_FN_3(GetText, bool, 0x00ED32D0, void* pData, Value* value, bool html);
DEFINE_MEMBER_FN_3(SetText, bool, 0x00ED3430, void* pData, const char* text, bool html);
DEFINE_MEMBER_FN_3(SetTextW, bool, 0x00ED3550, void* pData, const wchar_t* text, bool html);
DEFINE_MEMBER_FN_3(GotoAndPlayL, bool, 0x00ED3DB0, void* pData, const char* frame, bool stop);
DEFINE_MEMBER_FN_3(GotoAndPlay, bool, 0x00ED3EB0, void* pData, unsigned frame, bool stop);
DEFINE_MEMBER_FN_2(GetParent, bool, 0x00ED1B30, void* pData, Value* value);
// GetDisplayInfo TBD
// SetDisplayInfo TBD
// GetDisplayMatrix TBD
// SetDisplayMatrix TBD
// GetColorTransform TBD
// SetColorTransform TBD

DEFINE_MEMBER_FN_2(ObjectAddRef, void, 0x00ECF170, Value* value, void* pData);
DEFINE_MEMBER_FN_2(ObjectRelease, void, 0x00ECF210, Value* value, void* pData);
DEFINE_MEMBER_FN_2(ObjectAddRef, void, 0x00ECF260, Value* value, void* pData);
DEFINE_MEMBER_FN_2(ObjectRelease, void, 0x00ECF300, Value* value, void* pData);

MovieImpl* pMovieRoot;
};
Expand Down

0 comments on commit 8c5332f

Please sign in to comment.