10 libptr = GetLoadcoreInternalData()->let_next;
12 while (libptr != NULL) {
14 for (i = 0; i < 8; i++) {
15 if (libptr->name[i] != name[i])
24 libptr = libptr->prev;
42 while (*exp++ != NULL)
48void *ioplib_hookExportEntry(
iop_library_t *lib,
unsigned int entry,
void *func)
50 if (entry < ioplib_getTableSize(lib)) {
54 exp = &lib->exports[entry];
74 for (table = lib->caller; table != NULL; table = table->next) {
76 for (stub = (
struct irx_import_stub *)table->stubs; stub->jump != 0; stub++) {
78 stub->jump = 0x08000000 | (((u32)lib->exports[stub->fno] << 4) >> 6);
int CpuResumeIntr(int state)
int CpuSuspendIntr(int *state)