rename function according to leaked source code

This commit is contained in:
Misha 2024-02-11 08:15:55 -05:00
parent 1f9bf3742e
commit 4bbbc7fb20
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ class LegoModelPresenter : public MxVideoPresenter {
AutoROI* m_roi; // 0x64
MxBool m_addedToView; // 0x68
undefined4 LoadModel(MxStreamChunk* p_chunk);
MxResult CreateROI(MxStreamChunk* p_chunk);
};
#endif // LEGOMODELPRESENTER_H

View File

@ -48,7 +48,7 @@ void LegoModelPresenter::Destroy(MxBool p_fromDestructor)
}
// STUB: LEGO1 0x1007f6b0
undefined4 LegoModelPresenter::LoadModel(MxStreamChunk* p_chunk)
MxResult LegoModelPresenter::CreateROI(MxStreamChunk* p_chunk)
{
// TODO
return FAILURE;
@ -84,10 +84,10 @@ void LegoModelPresenter::ReadyTickle()
if (chunk != NULL && chunk->GetTime() <= m_action->GetElapsedTime()) {
chunk = m_subscriber->NextChunk();
undefined4 und = LoadModel(chunk);
MxResult result = CreateROI(chunk);
m_subscriber->DestroyChunk(chunk);
if (und == 0) {
if (result == SUCCESS) {
VideoManager()->Get3DManager()->GetLego3DView()->Add(*m_roi);
VideoManager()->Get3DManager()->GetLego3DView()->Moved(*m_roi);