Kuribo64 Wiki
Home | ForumsLogin

WIKI BACKUP

Back to listing

Known Functions

Contents
1. SMG2 Engine
    1.1. BCSV Class
    1.2. Object Class
    1.3. MorphItemObj Class
    1.4. MorphItemRock Class
2. J3D
3. C Runtime
    3.1. Internal
    3.2. stdlib.h
    3.3. string.h
4. Standard Template Library
    4.1. bitset
5. Wii SDK
    5.1. OS
        5.1.1. Cache
        5.1.2. Error Functions
        5.1.3. Interrupts
        5.1.4. Reset
    5.2. DVD
    5.3. WPAD
    5.4. NAND
        5.4.1. Initialization
    5.5. GX
        5.5.1. Lighting
        5.5.2. Framebuffer
        5.5.3. Graphics Pipeline Management
        5.5.4. Performance Metrics
    5.6. Matrix Vector
        5.6.1. Matrices
        5.6.2. Quaternions
    5.7. Audio Subsystem
    5.8. THP
        5.8.1. THP Simple Player
    5.9. Video Interface
    5.10. IOS

This page is for identifying the known functions in SMG2.

1. SMG2 Engine


1.1. BCSV Class


Function Address Description
BCSV::ReadNormalEntry 800678a0 Read a normal entry from a BCSV
BCSV::ReadMaskedEntry 80067810 Read a masked entry from a BCSV
BCSV::ReadStringEntry 80067790 Read a string entry from a BCSV

1.2. Object Class


Function Address Description
Object::Object 80237320 Constructor for Object class
Object::InitFunction 8000C340 Init function for Object class

1.3. MorphItemObj Class


Function Address Description
MorphItemObj::MorphItemObj 802D20D0 Constructor for MorphItemObj class
MorphItemObj::InitFunction 802D21A0 Init function for MorphItemObj class
MorphItemObj::OnCollect 802D2F00 Called when a power-up is collected
MorphItemObj::GetItemID 0 Return the power-up item ID of a power-up (pure virtual)
MorphItemObj::Appear 0 Show the Appear animation of a power-up (pure virtual)

1.4. MorphItemRock Class


Function Address Description
MorphItemRock::MorphItemRock 802D45A0 Constructor for MorphItemRock class
MorphItemRock::InitFunction 802D4610 Init function for MorphItemRock class
MorphItemRock::OnCollect 802D2F00 Called when a Rock Mushroom is collected
MorphItemRock::GetItemID 802D4770 Return the power-up item ID of the Rock Mushroom
MorphItemRock::Appear 802D4670 Show the Appear animation of a Rock Mushroom

2. J3D



3. C Runtime


3.1. Internal


Function Address Description
__div2i 8062e2b4 Divide two 64-bit signed integers
__div2u 8062e1c8 Divide two 64-bit unsigned integers
__shl2i 8062e5dc Left-shift a 64-bit signed integer
__shr2u 8062e600 Right-shift a 64-bit unsigned integer
__fini_cpp_exceptions 8062e938 Finalize the C++ exceptions

3.2. stdlib.h


Function Address Description
abs 8063093c Calculate the absolute value of a number

3.3. string.h


Function Address Description
strcat 8005f630 Concatenate 2 strings
strcmp 8005f5d0 Compare 2 strings
memchr 80631458 Locate character in a block of memory

4. Standard Template Library


4.1. bitset


Function Address Description
bitset::test 8007ad10 Test a bit in a bitset
bitset::set 8007abc0 Set a bit in a bitset
bitset::reset 80078920 Reset a bit in a bitset

5. Wii SDK


5.1. OS


5.1.1. Cache


Function Address Description
DCEnable 805b53f0 Enable the data cache
DCFlushRange 805b5440 Flush the specified region of the data cache
DCFlushRangeNoSync 805b54a0 Invalidate a specified data cache range
DCInvalidateRange 805b5410 Invalidate the specified region of the data cache
DCStoreRange 805b5470 Reflect (write back) the data in the specified region of the data cache to real memory
DCStoreRangeNoSync 805b54d0 Securely update specified memory range with modified data in the cache
DCZeroRange 805b5500 Load the range of memory into the cache and sets all cache blocks to zero
ICEnable 805b5580 Enable the instruction cache
ICFlashInvalidate 805b5570
ICInvalidateRange 805b5530 Invalidate the specified region of the instruction cache
LCDisable 805b55a0 Disable the locked cache

5.1.2. Error Functions


Function Address Description
OSReport 805b6210 Print a formatted message to the debugger

5.1.3. Interrupts


Function Address Description
OSDisableInterrupts 805b99d0 Disable external interrupts
OSEnableInterrupts 805b99f0 Enable external interrupts
OSRestoreInterrupts 805b9a10 Restore a previous interrupt state

5.1.4. Reset


Function Address Description
OSRebootSystem 805be770 Restart the system
OSResetSystem 805bb9d0
OSReturnToMenu 805bb810 Terminate the application and return to the Wii Menu
OSShutdownSystem 805be6f0 Terminate the application and shutdown the system

5.2. DVD


Function Address Description
DVDOpen 805d16f0 Open a file on the DVD
DVDRead 805d1a50 Read data from an open file on the DVD

5.3. WPAD



5.4. NAND


5.4.1. Initialization


Function Address Description
NANDInit 805df840 Initialize the NAND subsystem

5.5. GX


5.5.1. Lighting


Function Address Description
GXInitLightAttn 805cd5d0 Set the coefficients to use for lighting attenuation for a light object
GXInitLightColor 805cd9d0 Set the light color of a light object

5.5.2. Framebuffer


Function Address Description
GXSetDispCopyGamma 805cd2d0 Apply gamma correction to pixels being copied from the EFB to XFB

5.5.3. Graphics Pipeline Management


Function Address Description
GXInit 805c9930 Initialize the GX graphics processor

5.5.4. Performance Metrics


Function Address Description
GXClearGPMetric 805d1280 Clear both virtual GP performance counters to zero

5.6. Matrix Vector


5.6.1. Matrices


Function Address Description
MTXConcat 805c7d70 Multiply two given matrices
MTXScale 805c8280 Generate a scale matrix from X, Y, and Z scales
MTXTrans 805c81f0 Generate a translation matrix from X, Y, and Z translations

5.6.2. Quaternions


Function Address Description
QUATDotProduct 805c8bb0 Compute the dot product of two given quaternions

5.7. Audio Subsystem



5.8. THP


5.8.1. THP Simple Player


Function Address Description
THPSimpleGetCurrentFrame 8057C750 Get the current frame of the THP movie data

5.9. Video Interface


Function Address Description
VIInit 805c4a90 Initialize the VI subsystem

5.10. IOS


Function Address Description
IOS_Open 805e48d0 Open an IOS resource
IOS_Ioctl 805e52a0 Issue a device-specific request to an IOS resource
IOS_IoctlAsync 805e5160 Asynchronous version of above

Page rendered in 0.013 seconds. (2048KB of memory used)
MySQL - queries: 17, rows: 64/64, time: 0.010 seconds.