Sly 1:VAULT

From SlyMods
Revision as of 05:01, 19 October 2022 by TheOnlyZac (talk | contribs) (Layout)
Jump to navigation Jump to search
VAULT
Data Structure
GameSly Cooper and the Thievius Raccoonus

VAULT is a struct in Sly Cooper and the Thievius Raccoonus. It is used in the functions OpenVault and UpdateVaultActive. One can be found in memory in each level that contains a vault.

Fields

Offset Type Name Description
0x614 SMA * psmaVault SMA goal to set upon opening the vault.
0x640 int nCombination Vault combination (any three digit number)
0x760 int Thief move mask Mask of bits to unlock on the powerup flags upon opening the vault
0x764 int Dialog index Index of which DIALOG to play upon opening[check]
0x768 DIALOG * [27] Unlock dialogues Array of pointers to all possible DIALOGs that can play upon opening[check]
0x7d8 int cpdialogPending Amount of pending DIALOGs
0x7dc DIALOG * * apdialogPending Array of pending DIALOGs