SimpleFrameScript_Scripts.cpp (7 Lua functions, register/unregister), CreateScriptMetaTable/DestroyScriptMetaTable, IsA, GetObjectTypeName and GetScriptMetaTable for 25 classes with their statics. CScriptRegion dtor, LoadXML, anim hooks and its 25 script methods; UnflattenFrame, DragBy, GetRectFramePoints (0x512410, name ours); CRenderBatch and the strata node; small CSimpleFrame/CSimpleTop/FontString/Texture/Font leaves. Anim-family, CSimpleTitleRegion and CSimpleMovieFrame headers rebuilt from the binary. Frame includes CSimpleModelFFX.h because 0x81B870 calls CSimpleModelFFX::CreateScriptMetaTable directly. Button/Checkbox IsA unchecked until the IDB splits 0x9621E0-0x962300. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
24 lines
566 B
C++
24 lines
566 B
C++
#include "Engine/Source/Frame/CSimpleTop.h"
|
|
#include "Engine/Source/Frame/CSimpleFrame.h"
|
|
|
|
// STATIC: 0x00B499A8
|
|
CSimpleTop* CSimpleTop::s_instance;
|
|
|
|
// VERIFY: 3a1b6d83 auto
|
|
// OFFSET: 0x004883B0
|
|
CSimpleTop* CSimpleTop::GetInstance() {
|
|
return CSimpleTop::s_instance;
|
|
}
|
|
|
|
// VERIFY: df78660e auto
|
|
// OFFSET: 0x00494F90
|
|
void CSimpleTop::RegisterFrame(CSimpleFrame* frame) {
|
|
this->m_frames.LinkToTail(frame);
|
|
}
|
|
|
|
// VERIFY: b22dcea3 auto
|
|
// OFFSET: 0x00495050
|
|
void CSimpleTop::RegisterForCleanup(CSimpleFrame* frame) {
|
|
this->m_destroyed.LinkToTail(frame);
|
|
}
|