benilla-re systems structs docs

CSimpleMovieFrame::~CSimpleMovieFrame

function · ui · orchestration

Address
0x78c280 · 96 bytes, up to 0x78c2df
Signature
void __thiscall (CSimpleMovieFrame *this)
Meaning
Stops a playing movie, running OnMovieFinished, releases the three scripts and the captions, then destroys the frame
Confidence
verified, proof one
Finding
ui/movieframe#destroying-a-movie-frame

Finding: Destroying a movie frame in ui: the movie frame

The destructor body 0x78c280 stores the frame's two vtables back and stops the movie as StopMovie does, so a frame destroyed while playing runs its OnMovieFinished first. Then it releases the three script slots, OnMovieFinished +0x320, OnMovieShowSubtitle +0x328 and OnMovieHideSubtitle +0x330, frees a caption array left at +0x3d4 and runs the frame destructor. A frame that is not playing runs no script.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.