api: more research

This commit is contained in:
Hyper 2024-11-21 05:09:38 +00:00
parent 7062c8e266
commit b30423ff6a
5 changed files with 5 additions and 6 deletions

View file

@ -14,7 +14,7 @@ namespace SWA
xpointer<CApplicationDocument> m_pApplicationDocument;
};
SWA_INSERT_PADDING(0x04); // vftable ptr
xpointer<void> m_pVftable;
xpointer<CMember> m_pMember;
SWA_INSERT_PADDING(0x18);
};

View file

@ -20,7 +20,7 @@ namespace SWA
// TODO: Hedgehog::Base::TSynchronizedPtr<CApplicationDocument>
static CApplicationDocument* GetInstance();
SWA_INSERT_PADDING(0x04);
xpointer<void> m_pVftable;
xpointer<CMember> m_pMember;
SWA_INSERT_PADDING(0x14);
be<uint32_t> m_Region;

View file

@ -24,7 +24,7 @@ namespace SWA
// TODO: Hedgehog::Base::TSynchronizedPtr<CGameDocument>
static CGameDocument* GetInstance();
SWA_INSERT_PADDING(0x04); // vftable ptr
xpointer<void> m_pVftable;
xpointer<CMember> m_pMember;
};
}

View file

@ -21,7 +21,7 @@ namespace SWA
SWA_INSERT_PADDING(0x70);
};
SWA_INSERT_PADDING(0x04); // vftable ptr
xpointer<void> m_pVftable;
xpointer<CMember> m_pMember;
};
}

View file

@ -5,13 +5,12 @@
namespace SWA
{
class CInputState // : public Hedgehog::Base::CSynchronizedObject
class CInputState : public Hedgehog::Base::CSynchronizedObject
{
public:
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
static CInputState* GetInstance();
SWA_INSERT_PADDING(0x4);
SPadState m_PadStates[8];
be<uint32_t> m_CurrentPadStateIndex;