resonance 1.0.1
Loading...
Searching...
No Matches
InputCheatDetectorMet Class Reference

Cheat detector for the front end. More...

#include <inputcheatdetectormet.h>

Inheritance diagram for InputCheatDetectorMet:
Collaboration diagram for InputCheatDetectorMet:

Public Member Functions

 InputCheatDetectorMet (std::vector< CheatSequence > *pCheats)
 Attach the detector to a table of cheats.
virtual void UnusedHook ()
 Do nothing.
Public Member Functions inherited from InputCheatDetector
 InputCheatDetector (std::vector< CheatSequence > *pCheats)
 Attach the detector to a table of cheats.
virtual void OnControllerReading (int nType, int nSlot, int nButton, float flValue)
 Match one controller reading against the table.
Public Member Functions inherited from RawController
virtual ~RawController ()

Detailed Description

Cheat detector for the front end.

Its RTTI descriptor is at 0x008efcb0. It has InputCheatDetector as its one public base at offset 0. It adds no member, and MetaGameWorld allocates it at 8 bytes. Its vtable at 0x00810ee8 has four entries and a zero terminator at index 4: the type function at 0x003d4708, the destructor at 0x003d4758, InputCheatDetector's slot 2 at 0x001dc658 inherited, and its own slot 3 at 0x003d4788.

The destructor at 0x003d4758 stores RawController's table and releases the object. It is byte-identical to InputCheatDetector's at 0x001deb00, a re-emission of the same inline chain in the front-end translation unit, and is implicitly declared, so this class owes no definition.

The constructor has no address. MetaGameWorld's constructor runs InputCheatDetector's at 0x001daaf8 and then stores this class's table over the base table, the expansion of an inline constructor that forwards its one argument.

Constructor & Destructor Documentation

◆ InputCheatDetectorMet()

InputCheatDetectorMet::InputCheatDetectorMet ( std::vector< CheatSequence > * pCheats)
inlineexplicit

Attach the detector to a table of cheats.

Inline, with no address of its own. MetaGameWorld's constructor expands it at 0x003d3150.

Parameters
pCheatsThe table to match against.

Member Function Documentation

◆ UnusedHook()

virtual void InputCheatDetectorMet::UnusedHook ( )
virtual

Do nothing.

Slot 3.

Ghidra address:
NTSC-U/C: 0x003d4788
Ghidra address:
PAL: 0x0040c678

Implements InputCheatDetector.


The documentation for this class was generated from the following file: