SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HashSortTable Class Reference

Public Member Functions

 HashSortTable (u32)
 
bool add (const char *, u32, bool)
 
bool add (u32, u32)
 
bool addOrSkip (u32, u32)
 
void sort ()
 
s32 search (u32, u32 *)
 
s32 search (const char *, u32 *)
 
s32 search (const char *, const char *, u32 *)
 
void swap (const char *, const char *)
 

Public Attributes

u8 _0
 
u32 * mHashCodes
 
u32 * _8
 
u32 * _C
 
u32 * _10
 
u32 _14
 
u32 _18
 

Detailed Description

Definition at line 5 of file HashUtil.hpp.

Constructor & Destructor Documentation

◆ HashSortTable()

HashSortTable::HashSortTable ( u32 cnt)

Definition at line 5 of file HashUtil.cpp.

Member Function Documentation

◆ add() [1/2]

bool HashSortTable::add ( const char * pName,
u32 a2,
bool noSkip )

Definition at line 15 of file HashUtil.cpp.

◆ add() [2/2]

bool HashSortTable::add ( u32 a1,
u32 a2 )

Definition at line 26 of file HashUtil.cpp.

◆ addOrSkip()

bool HashSortTable::addOrSkip ( u32 a1,
u32 a2 )

Definition at line 33 of file HashUtil.cpp.

◆ search() [1/2]

s32 HashSortTable::search ( const char * pStr,
u32 * a2 )

Definition at line 46 of file HashUtil.cpp.

◆ search() [2/2]

s32 HashSortTable::search ( const char * pStr,
const char * a2,
u32 * a3 )

Definition at line 50 of file HashUtil.cpp.

Member Data Documentation

◆ _0

u8 HashSortTable::_0

Definition at line 18 of file HashUtil.hpp.

◆ mHashCodes

u32* HashSortTable::mHashCodes

Definition at line 19 of file HashUtil.hpp.

◆ _8

u32* HashSortTable::_8

Definition at line 20 of file HashUtil.hpp.

◆ _C

u32* HashSortTable::_C

Definition at line 21 of file HashUtil.hpp.

◆ _10

u32* HashSortTable::_10

Definition at line 22 of file HashUtil.hpp.

◆ _14

u32 HashSortTable::_14

Definition at line 23 of file HashUtil.hpp.

◆ _18

u32 HashSortTable::_18

Definition at line 24 of file HashUtil.hpp.