sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
ioplib.h File Reference
#include <loadcore.h>

Go to the source code of this file.

Functions

iop_library_t * ioplib_getByName (const char *name)
 get library object of any IRX Module
unsigned int ioplib_getTableSize (iop_library_t *lib)
void * ioplib_hookExportEntry (iop_library_t *lib, unsigned int entry, void *func)
 hook an IRX Module exported function
void ioplib_relinkExports (iop_library_t *lib)

Function Documentation

◆ ioplib_getByName()

iop_library_t * ioplib_getByName ( const char * name)

get library object of any IRX Module

Parameters
namename of the module to search for
Returns
NULL on error.

Definition at line 17 of file ioplib.c.

◆ ioplib_getTableSize()

unsigned int ioplib_getTableSize ( iop_library_t * lib)

Definition at line 43 of file ioplib.c.

◆ ioplib_hookExportEntry()

void * ioplib_hookExportEntry ( iop_library_t * lib,
unsigned int entry,
void * func )

hook an IRX Module exported function

Parameters
libLibrary object of the module to hook
entryExport number to be hooked
funcHook function
Returns
on error: NULL | on success: original function pointer

Definition at line 61 of file ioplib.c.

◆ ioplib_relinkExports()

void ioplib_relinkExports ( iop_library_t * lib)

Definition at line 81 of file ioplib.c.