Skip to content

[Memhack] VictoryScreen

DasKeifer edited this page Feb 11, 2026 · 4 revisions

Memhack VictoryScreen

The Memhack VictoryScreen struct represents the victory screen object that contains the pod reward pilot. I think maybe "Victory" here refers to winning a mission and not the whole game.

It has the standard memhack base struct functions/fields.

Table of Contents

Data

Field Type Offset Description
podRewardPilot pointer (Pilot) 0x404 Pointer to the pilot found in a time pod

Data Functions

These are functions that draw from the data in the struct or set the data in the struct

getPodRewardPilot

  • Pilot VictoryScreen:getPodRewardPilot()

Returns the Pilot struct for the pilot found in a time pod.

Example:

local game = Game:GetMemhackObj()
local victoryScreen = game:getVictoryScreen()
if victoryScreen then
    local pilot = victoryScreen:getPodRewardPilot()
    if pilot then
        LOG("Pod reward pilot: " .. pilot:getName())
    end
end

getPodRewardPilotPtr

  • int VictoryScreen:getPodRewardPilotPtr()

Returns the raw pointer to the pod reward pilot. Returns 0 if not available.

Example:

local ptr = victoryScreen:getPodRewardPilotPtr()
if ptr ~= 0 then
    LOG(string.format("Pod pilot at: 0x%X", ptr))
end

Clone this wiki locally