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

Cheat detector for a game session. More...

#include <inputcheatdetectorgs.h>

Inheritance diagram for InputCheatDetectorGS:
Collaboration diagram for InputCheatDetectorGS:

Public Member Functions

 InputCheatDetectorGS (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 a game session.

Its RTTI descriptor is at 0x008ef5c0. It has InputCheatDetector as its one public base at offset 0. It adds no member, and GrooveWorld allocates it at 8 bytes. Its vtable at 0x007dc408 has four entries and a zero terminator at index 4: the type function at 0x00194058, the destructor at 0x001940a8, InputCheatDetector's slot 2 at 0x001dc658 inherited, and its own slot 3 at 0x001940d8.

The destructor at 0x001940a8 stores RawController's table and releases the object. It is the implicitly declared destructor, re-emitted in GrooveWorld's translation unit, so this class owes no definition.

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

Constructor & Destructor Documentation

◆ InputCheatDetectorGS()

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

Attach the detector to a table of cheats.

Inline, with no address of its own. GrooveWorld's constructor expands it with g_gameCheatSequences.

Parameters
pCheatsThe table to match against.

Member Function Documentation

◆ UnusedHook()

virtual void InputCheatDetectorGS::UnusedHook ( )
virtual

Do nothing.

Slot 3.

Ghidra address:
NTSC-U/C: 0x001940d8
Ghidra address:
PAL: 0x00199d10

Implements InputCheatDetector.


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