diff --git a/config/SALP4Q/splits.txt b/config/SALP4Q/splits.txt index bceb885..b6bcf40 100644 --- a/config/SALP4Q/splits.txt +++ b/config/SALP4Q/splits.txt @@ -25,6 +25,10 @@ Alice/K/KAliceHero/CKHkAliceHero.cpp: Libraries/zlib/inffast.c: .rodata start:0x804E1448 end:0x804E1498 +K/KCore/Main/CKYellowPages.cpp: + .text start:0x801BC62C end:0x801BCB14 + .sbss start:0x805F48D8 end:0x805F48DC + Libraries/zlib/inftrees.c: .text start:0x8035E6F4 end:0x8035EE70 .rodata start:0x804E1EF0 end:0x804E2020 diff --git a/config/SALP4Q/symbols.txt b/config/SALP4Q/symbols.txt index 8041f57..7ce3789 100644 --- a/config/SALP4Q/symbols.txt +++ b/config/SALP4Q/symbols.txt @@ -2327,7 +2327,7 @@ _bss_init_info = .init:0x8000669C; // type:object size:0x20 scope:global data:4b @eti_8000C184 = extabindex:0x8000C184; // type:object size:0xC scope:local hidden _eti_init_info = extabindex:0x8000C190; // type:object size:0x20 scope:global fn_8000C1C0 = .text:0x8000C1C0; // type:function size:0x144 -fn_8000C304 = .text:0x8000C304; // type:function size:0xC +GetKGameManager__13CKYellowPagesFv = .text:0x8000C304; // type:function size:0xC fn_8000C310 = .text:0x8000C310; // type:function size:0x38 fn_8000C348 = .text:0x8000C348; // type:function size:0x20 fn_8000C368 = .text:0x8000C368; // type:function size:0x4 @@ -2357,7 +2357,7 @@ fn_8000C7C0 = .text:0x8000C7C0; // type:function size:0xAC fn_8000C86C = .text:0x8000C86C; // type:function size:0x10 fn_8000C87C = .text:0x8000C87C; // type:function size:0x20 fn_8000C89C = .text:0x8000C89C; // type:function size:0x8 -fn_8000C8A4 = .text:0x8000C8A4; // type:function size:0xC +GetServiceCamera__13CKYellowPagesFv = .text:0x8000C8A4; // type:function size:0xC fn_8000C8B0 = .text:0x8000C8B0; // type:function size:0x10 fn_8000C8C0 = .text:0x8000C8C0; // type:function size:0x8 fn_8000C8C8 = .text:0x8000C8C8; // type:function size:0x90 @@ -2495,7 +2495,7 @@ fn_800103C4 = .text:0x800103C4; // type:function size:0x158 fn_8001051C = .text:0x8001051C; // type:function size:0x5C fn_80010578 = .text:0x80010578; // type:function size:0x8 fn_80010580 = .text:0x80010580; // type:function size:0x10 -fn_80010590 = .text:0x80010590; // type:function size:0xC +GetKGameUIManager__13CKYellowPagesFv = .text:0x80010590; // type:function size:0xC fn_8001059C = .text:0x8001059C; // type:function size:0x8 fn_800105A4 = .text:0x800105A4; // type:function size:0x8 fn_800105AC = .text:0x800105AC; // type:function size:0x10 @@ -2524,7 +2524,7 @@ fn_80010E70 = .text:0x80010E70; // type:function size:0x8 fn_80010E78 = .text:0x80010E78; // type:function size:0x10 fn_80010E88 = .text:0x80010E88; // type:function size:0x8 fn_80010E90 = .text:0x80010E90; // type:function size:0x4 -fn_80010E94 = .text:0x80010E94; // type:function size:0xC +GetServicePathFinding__13CKYellowPagesFv = .text:0x80010E94; // type:function size:0xC fn_80010EA0 = .text:0x80010EA0; // type:function size:0x18 fn_80010EB8 = .text:0x80010EB8; // type:function size:0xC fn_80010EC4 = .text:0x80010EC4; // type:function size:0x20 @@ -2568,7 +2568,7 @@ fn_80011D04 = .text:0x80011D04; // type:function size:0x14 fn_80011D18 = .text:0x80011D18; // type:function size:0x1C fn_80011D34 = .text:0x80011D34; // type:function size:0x8 fn_80011D3C = .text:0x80011D3C; // type:function size:0x34 -fn_80011D70 = .text:0x80011D70; // type:function size:0xC +GetServiceCollision__13CKYellowPagesFv = .text:0x80011D70; // type:function size:0xC fn_80011D7C = .text:0x80011D7C; // type:function size:0x8 fn_80011D84 = .text:0x80011D84; // type:function size:0x8 fn_80011D8C = .text:0x80011D8C; // type:function size:0x8 @@ -2741,7 +2741,7 @@ fn_800152F0 = .text:0x800152F0; // type:function size:0x4 fn_800152F4 = .text:0x800152F4; // type:function size:0x10 fn_80015304 = .text:0x80015304; // type:function size:0x2C fn_80015330 = .text:0x80015330; // type:function size:0x8 -fn_80015338 = .text:0x80015338; // type:function size:0xC +GetServiceFx__13CKYellowPagesFv = .text:0x80015338; // type:function size:0xC fn_80015344 = .text:0x80015344; // type:function size:0x8 fn_8001534C = .text:0x8001534C; // type:function size:0x10 fn_8001535C = .text:0x8001535C; // type:function size:0x48 @@ -2818,7 +2818,7 @@ fn_80016CF0 = .text:0x80016CF0; // type:function size:0x1C fn_80016D0C = .text:0x80016D0C; // type:function size:0x58 fn_80016D64 = .text:0x80016D64; // type:function size:0x2D0 fn_80017034 = .text:0x80017034; // type:function size:0x8 -fn_8001703C = .text:0x8001703C; // type:function size:0xC +GetScreen__13CKYellowPagesFv = .text:0x8001703C; // type:function size:0xC fn_80017048 = .text:0x80017048; // type:function size:0x4 fn_8001704C = .text:0x8001704C; // type:function size:0x24 fn_80017070 = .text:0x80017070; // type:function size:0x8 @@ -2855,7 +2855,7 @@ fn_80017AFC = .text:0x80017AFC; // type:function size:0x28 fn_80017B24 = .text:0x80017B24; // type:function size:0x10 fn_80017B34 = .text:0x80017B34; // type:function size:0x8 fn_80017B3C = .text:0x80017B3C; // type:function size:0x20 -fn_80017B5C = .text:0x80017B5C; // type:function size:0xC +GetServiceBonus__13CKYellowPagesFv = .text:0x80017B5C; // type:function size:0xC fn_80017B68 = .text:0x80017B68; // type:function size:0xC fn_80017B74 = .text:0x80017B74; // type:function size:0x324 fn_80017E98 = .text:0x80017E98; // type:function size:0x8 @@ -3063,7 +3063,7 @@ fn_8001B564 = .text:0x8001B564; // type:function size:0xC fn_8001B570 = .text:0x8001B570; // type:function size:0xC fn_8001B57C = .text:0x8001B57C; // type:function size:0xC fn_8001B588 = .text:0x8001B588; // type:function size:0x48 -fn_8001B5D0 = .text:0x8001B5D0; // type:function size:0xC +GetInputModule__13CKYellowPagesFv = .text:0x8001B5D0; // type:function size:0xC fn_8001B5DC = .text:0x8001B5DC; // type:function size:0x8 fn_8001B5E4 = .text:0x8001B5E4; // type:function size:0x5C fn_8001B640 = .text:0x8001B640; // type:function size:0x10 @@ -3298,7 +3298,7 @@ fn_800200EC = .text:0x800200EC; // type:function size:0x10 fn_800200FC = .text:0x800200FC; // type:function size:0x44 fn_80020140 = .text:0x80020140; // type:function size:0x108 fn_80020248 = .text:0x80020248; // type:function size:0x10 -fn_80020258 = .text:0x80020258; // type:function size:0xC +GetServiceCinematic__13CKYellowPagesFv = .text:0x80020258; // type:function size:0xC fn_80020264 = .text:0x80020264; // type:function size:0x80 fn_800202E4 = .text:0x800202E4; // type:function size:0xC fn_800202F0 = .text:0x800202F0; // type:function size:0xC @@ -3334,7 +3334,7 @@ fn_800212D4 = .text:0x800212D4; // type:function size:0x8 fn_800212DC = .text:0x800212DC; // type:function size:0x8 fn_800212E4 = .text:0x800212E4; // type:function size:0xC4 fn_800213A8 = .text:0x800213A8; // type:function size:0x13C -fn_800214E4 = .text:0x800214E4; // type:function size:0xC +GetCommunSectorRootNode__13CKYellowPagesFv = .text:0x800214E4; // type:function size:0xC fn_800214F0 = .text:0x800214F0; // type:function size:0x58 fn_80021548 = .text:0x80021548; // type:function size:0x4C fn_80021594 = .text:0x80021594; // type:function size:0x10C @@ -3397,7 +3397,7 @@ fn_80023248 = .text:0x80023248; // type:function size:0xA4 fn_800232EC = .text:0x800232EC; // type:function size:0x64 fn_80023350 = .text:0x80023350; // type:function size:0xC fn_8002335C = .text:0x8002335C; // type:function size:0x4C -fn_800233A8 = .text:0x800233A8; // type:function size:0xC +GetSavingManager__13CKYellowPagesFv = .text:0x800233A8; // type:function size:0xC fn_800233B4 = .text:0x800233B4; // type:function size:0x54 fn_80023408 = .text:0x80023408; // type:function size:0x10 fn_80023418 = .text:0x80023418; // type:function size:0x48 @@ -3892,7 +3892,7 @@ fn_800326A4 = .text:0x800326A4; // type:function size:0x124 fn_800327C8 = .text:0x800327C8; // type:function size:0xE4 fn_800328AC = .text:0x800328AC; // type:function size:0x98 fn_80032944 = .text:0x80032944; // type:function size:0x8 -fn_8003294C = .text:0x8003294C; // type:function size:0xC +GetServiceShadow__13CKYellowPagesFv = .text:0x8003294C; // type:function size:0xC fn_80032958 = .text:0x80032958; // type:function size:0x10 fn_80032968 = .text:0x80032968; // type:function size:0x8 fn_80032970 = .text:0x80032970; // type:function size:0x54 @@ -3995,7 +3995,7 @@ fn_80034628 = .text:0x80034628; // type:function size:0xC fn_80034634 = .text:0x80034634; // type:function size:0x8 fn_8003463C = .text:0x8003463C; // type:function size:0x278 fn_800348B4 = .text:0x800348B4; // type:function size:0x8 -fn_800348BC = .text:0x800348BC; // type:function size:0xC +GetTimeManager__13CKYellowPagesFv = .text:0x800348BC; // type:function size:0xC fn_800348C8 = .text:0x800348C8; // type:function size:0x10 fn_800348D8 = .text:0x800348D8; // type:function size:0x10 fn_800348E8 = .text:0x800348E8; // type:function size:0x10 @@ -4014,10 +4014,10 @@ fn_80034D40 = .text:0x80034D40; // type:function size:0x18 fn_80034D58 = .text:0x80034D58; // type:function size:0x18 fn_80034D70 = .text:0x80034D70; // type:function size:0x8 fn_80034D78 = .text:0x80034D78; // type:function size:0x8 -fn_80034D80 = .text:0x80034D80; // type:function size:0xC +GetSoundModule__13CKYellowPagesFv = .text:0x80034D80; // type:function size:0xC fn_80034D8C = .text:0x80034D8C; // type:function size:0x54 fn_80034DE0 = .text:0x80034DE0; // type:function size:0x1D8 -fn_80034FB8 = .text:0x80034FB8; // type:function size:0xC +GetServiceDetect__13CKYellowPagesFv = .text:0x80034FB8; // type:function size:0xC fn_80034FC4 = .text:0x80034FC4; // type:function size:0x8 fn_80034FCC = .text:0x80034FCC; // type:function size:0xA8 fn_80035074 = .text:0x80035074; // type:function size:0x10 @@ -4151,7 +4151,7 @@ fn_80038570 = .text:0x80038570; // type:function size:0x6C fn_800385DC = .text:0x800385DC; // type:function size:0x6C fn_80038648 = .text:0x80038648; // type:function size:0x98 fn_800386E0 = .text:0x800386E0; // type:function size:0x8C -fn_8003876C = .text:0x8003876C; // type:function size:0xC +GetCoreManager__13CKYellowPagesFv = .text:0x8003876C; // type:function size:0xC fn_80038778 = .text:0x80038778; // type:function size:0x8C fn_80038804 = .text:0x80038804; // type:function size:0x4 fn_80038808 = .text:0x80038808; // type:function size:0x8 @@ -4741,7 +4741,7 @@ fn_8004BE94 = .text:0x8004BE94; // type:function size:0x2F8 fn_8004C18C = .text:0x8004C18C; // type:function size:0xC fn_8004C198 = .text:0x8004C198; // type:function size:0x28 fn_8004C1C0 = .text:0x8004C1C0; // type:function size:0x10 -fn_8004C1D0 = .text:0x8004C1D0; // type:function size:0xC +GetCurrentLevel__13CKYellowPagesFv = .text:0x8004C1D0; // type:function size:0xC fn_8004C1DC = .text:0x8004C1DC; // type:function size:0x9C fn_8004C278 = .text:0x8004C278; // type:function size:0xC fn_8004C284 = .text:0x8004C284; // type:function size:0x10 @@ -5541,7 +5541,7 @@ fn_8005D9B4 = .text:0x8005D9B4; // type:function size:0x38 fn_8005D9EC = .text:0x8005D9EC; // type:function size:0x4 fn_8005D9F0 = .text:0x8005D9F0; // type:function size:0x24 fn_8005DA14 = .text:0x8005DA14; // type:function size:0xB8 -fn_8005DACC = .text:0x8005DACC; // type:function size:0xC +GetGraphicModule__13CKYellowPagesFv = .text:0x8005DACC; // type:function size:0xC fn_8005DAD8 = .text:0x8005DAD8; // type:function size:0x54 fn_8005DB2C = .text:0x8005DB2C; // type:function size:0x24 fn_8005DB50 = .text:0x8005DB50; // type:function size:0x10 @@ -7439,14 +7439,14 @@ fn_8008D170 = .text:0x8008D170; // type:function size:0xA0 fn_8008D210 = .text:0x8008D210; // type:function size:0x4 fn_8008D214 = .text:0x8008D214; // type:function size:0x8 fn_8008D21C = .text:0x8008D21C; // type:function size:0x8 -fn_8008D224 = .text:0x8008D224; // type:function size:0xC +GetManager2d__13CKYellowPagesFv = .text:0x8008D224; // type:function size:0xC fn_8008D230 = .text:0x8008D230; // type:function size:0x3C4 fn_8008D5F4 = .text:0x8008D5F4; // type:function size:0x6C fn_8008D660 = .text:0x8008D660; // type:function size:0x8 fn_8008D668 = .text:0x8008D668; // type:function size:0x10 fn_8008D678 = .text:0x8008D678; // type:function size:0x340 fn_8008D9B8 = .text:0x8008D9B8; // type:function size:0x8 -fn_8008D9C0 = .text:0x8008D9C0; // type:function size:0xC +GetLocManager__13CKYellowPagesFv = .text:0x8008D9C0; // type:function size:0xC fn_8008D9CC = .text:0x8008D9CC; // type:function size:0x8 fn_8008D9D4 = .text:0x8008D9D4; // type:function size:0x4C fn_8008DA20 = .text:0x8008DA20; // type:function size:0xC4 @@ -7591,20 +7591,20 @@ fn_8008FDBC = .text:0x8008FDBC; // type:function size:0xD8 fn_8008FE94 = .text:0x8008FE94; // type:function size:0x78 fn_8008FF0C = .text:0x8008FF0C; // type:function size:0x64 fn_8008FF70 = .text:0x8008FF70; // type:function size:0x8 -fn_8008FF78 = .text:0x8008FF78; // type:function size:0xC +GetFlashManager__13CKYellowPagesFv = .text:0x8008FF78; // type:function size:0xC fn_8008FF84 = .text:0x8008FF84; // type:function size:0xDC fn_80090060 = .text:0x80090060; // type:function size:0x8 fn_80090068 = .text:0x80090068; // type:function size:0x8 fn_80090070 = .text:0x80090070; // type:function size:0xAC fn_8009011C = .text:0x8009011C; // type:function size:0xB4 -fn_800901D0 = .text:0x800901D0; // type:function size:0xC +GetGameLoop__13CKYellowPagesFv = .text:0x800901D0; // type:function size:0xC fn_800901DC = .text:0x800901DC; // type:function size:0xE0 fn_800902BC = .text:0x800902BC; // type:function size:0x94 fn_80090350 = .text:0x80090350; // type:function size:0x7C fn_800903CC = .text:0x800903CC; // type:function size:0xAC fn_80090478 = .text:0x80090478; // type:function size:0x9C fn_80090514 = .text:0x80090514; // type:function size:0x414 -fn_80090928 = .text:0x80090928; // type:function size:0xC +GetTrcManager__13CKYellowPagesFv = .text:0x80090928; // type:function size:0xC fn_80090934 = .text:0x80090934; // type:function size:0x8 fn_8009093C = .text:0x8009093C; // type:function size:0x10 fn_8009094C = .text:0x8009094C; // type:function size:0x8 @@ -8312,7 +8312,7 @@ fn_800A6480 = .text:0x800A6480; // type:function size:0xC fn_800A648C = .text:0x800A648C; // type:function size:0x5C fn_800A64E8 = .text:0x800A64E8; // type:function size:0x1A0 fn_800A6688 = .text:0x800A6688; // type:function size:0xC -fn_800A6694 = .text:0x800A6694; // type:function size:0xC +GetServicePhysics__13CKYellowPagesFv = .text:0x800A6694; // type:function size:0xC fn_800A66A0 = .text:0x800A66A0; // type:function size:0xB4 fn_800A6754 = .text:0x800A6754; // type:function size:0x28 fn_800A677C = .text:0x800A677C; // type:function size:0x8 @@ -8864,7 +8864,7 @@ fn_800B7368 = .text:0x800B7368; // type:function size:0x8 fn_800B7370 = .text:0x800B7370; // type:function size:0x10 fn_800B7380 = .text:0x800B7380; // type:function size:0x6B0 fn_800B7A30 = .text:0x800B7A30; // type:function size:0x8 -fn_800B7A38 = .text:0x800B7A38; // type:function size:0xC +GetServiceBeacon__13CKYellowPagesFv = .text:0x800B7A38; // type:function size:0xC fn_800B7A44 = .text:0x800B7A44; // type:function size:0x8 fn_800B7A4C = .text:0x800B7A4C; // type:function size:0x8 fn_800B7A54 = .text:0x800B7A54; // type:function size:0x8 @@ -9364,7 +9364,7 @@ fn_800C6D60 = .text:0x800C6D60; // type:function size:0x8 fn_800C6D68 = .text:0x800C6D68; // type:function size:0x1E0 fn_800C6F48 = .text:0x800C6F48; // type:function size:0xE0 fn_800C7028 = .text:0x800C7028; // type:function size:0xC -fn_800C7034 = .text:0x800C7034; // type:function size:0xC +GetServiceSekensor__13CKYellowPagesFv = .text:0x800C7034; // type:function size:0xC fn_800C7040 = .text:0x800C7040; // type:function size:0xA8 fn_800C70E8 = .text:0x800C70E8; // type:function size:0xA4 fn_800C718C = .text:0x800C718C; // type:function size:0x1C @@ -9830,7 +9830,7 @@ fn_800CFE90 = .text:0x800CFE90; // type:function size:0x28 fn_800CFEB8 = .text:0x800CFEB8; // type:function size:0x4 fn_800CFEBC = .text:0x800CFEBC; // type:function size:0x1FC fn_800D00B8 = .text:0x800D00B8; // type:function size:0x4C -fn_800D0104 = .text:0x800D0104; // type:function size:0xC +GetServiceAvoidance__13CKYellowPagesFv = .text:0x800D0104; // type:function size:0xC fn_800D0110 = .text:0x800D0110; // type:function size:0x10 fn_800D0120 = .text:0x800D0120; // type:function size:0x10 fn_800D0130 = .text:0x800D0130; // type:function size:0x10 @@ -10707,7 +10707,7 @@ fn_800E65F8 = .text:0x800E65F8; // type:function size:0x4 fn_800E65FC = .text:0x800E65FC; // type:function size:0x94 fn_800E6690 = .text:0x800E6690; // type:function size:0x10 fn_800E66A0 = .text:0x800E66A0; // type:function size:0x770 -fn_800E6E10 = .text:0x800E6E10; // type:function size:0xC +GetServiceInput__13CKYellowPagesFv = .text:0x800E6E10; // type:function size:0xC fn_800E6E1C = .text:0x800E6E1C; // type:function size:0x13C fn_800E6F58 = .text:0x800E6F58; // type:function size:0x4 fn_800E6F5C = .text:0x800E6F5C; // type:function size:0x20C @@ -10965,7 +10965,7 @@ fn_800ED408 = .text:0x800ED408; // type:function size:0x10 fn_800ED418 = .text:0x800ED418; // type:function size:0x92C fn_800EDD44 = .text:0x800EDD44; // type:function size:0x8 fn_800EDD4C = .text:0x800EDD4C; // type:function size:0x8 -fn_800EDD54 = .text:0x800EDD54; // type:function size:0xC +GetServiceMusic__13CKYellowPagesFv = .text:0x800EDD54; // type:function size:0xC fn_800EDD60 = .text:0x800EDD60; // type:function size:0x8 fn_800EDD68 = .text:0x800EDD68; // type:function size:0xAF4 fn_800EE85C = .text:0x800EE85C; // type:function size:0xC @@ -11481,7 +11481,7 @@ fn_800F6C94 = .text:0x800F6C94; // type:function size:0xA8 fn_800F6D3C = .text:0x800F6D3C; // type:function size:0x5E8 fn_800F7324 = .text:0x800F7324; // type:function size:0x10 fn_800F7334 = .text:0x800F7334; // type:function size:0x40 -fn_800F7374 = .text:0x800F7374; // type:function size:0xC +GetUnk6__13CKYellowPagesFv = .text:0x800F7374; // type:function size:0xC fn_800F7380 = .text:0x800F7380; // type:function size:0x8 fn_800F7388 = .text:0x800F7388; // type:function size:0x28 fn_800F73B0 = .text:0x800F73B0; // type:function size:0x10 @@ -16923,7 +16923,7 @@ fn_801A1A10 = .text:0x801A1A10; // type:function size:0x64 fn_801A1A74 = .text:0x801A1A74; // type:function size:0x58 fn_801A1ACC = .text:0x801A1ACC; // type:function size:0xC fn_801A1AD8 = .text:0x801A1AD8; // type:function size:0x88 -fn_801A1B60 = .text:0x801A1B60; // type:function size:0xC +GetFileIOManager__13CKYellowPagesFv = .text:0x801A1B60; // type:function size:0xC fn_801A1B6C = .text:0x801A1B6C; // type:function size:0x10 fn_801A1B7C = .text:0x801A1B7C; // type:function size:0x10 fn_801A1B8C = .text:0x801A1B8C; // type:function size:0x10 @@ -16971,7 +16971,7 @@ fn_801A280C = .text:0x801A280C; // type:function size:0xF0 fn_801A28FC = .text:0x801A28FC; // type:function size:0xCC fn_801A29C8 = .text:0x801A29C8; // type:function size:0x84 fn_801A2A4C = .text:0x801A2A4C; // type:function size:0x54 -fn_801A2AA0 = .text:0x801A2AA0; // type:function size:0xC +GetLoadingInterface__13CKYellowPagesFv = .text:0x801A2AA0; // type:function size:0xC fn_801A2AAC = .text:0x801A2AAC; // type:function size:0x10 fn_801A2ABC = .text:0x801A2ABC; // type:function size:0xCC fn_801A2B88 = .text:0x801A2B88; // type:function size:0x5C @@ -17551,7 +17551,7 @@ fn_801B00A4 = .text:0x801B00A4; // type:function size:0xC fn_801B00B0 = .text:0x801B00B0; // type:function size:0x38 fn_801B00E8 = .text:0x801B00E8; // type:function size:0x8 fn_801B00F0 = .text:0x801B00F0; // type:function size:0x8 -fn_801B00F8 = .text:0x801B00F8; // type:function size:0xC +GetCoreFactory__13CKYellowPagesFv = .text:0x801B00F8; // type:function size:0xC fn_801B0104 = .text:0x801B0104; // type:function size:0xC fn_801B0110 = .text:0x801B0110; // type:function size:0x10 fn_801B0120 = .text:0x801B0120; // type:function size:0x8 @@ -17747,7 +17747,7 @@ fn_801B266C = .text:0x801B266C; // type:function size:0x10 fn_801B267C = .text:0x801B267C; // type:function size:0x8 fn_801B2684 = .text:0x801B2684; // type:function size:0x8 fn_801B268C = .text:0x801B268C; // type:function size:0x8 -fn_801B2694 = .text:0x801B2694; // type:function size:0xC +GetRendererRootNode__13CKYellowPagesFv = .text:0x801B2694; // type:function size:0xC fn_801B26A0 = .text:0x801B26A0; // type:function size:0x24 fn_801B26C4 = .text:0x801B26C4; // type:function size:0x8 fn_801B26CC = .text:0x801B26CC; // type:function size:0x88 @@ -17958,8 +17958,8 @@ fn_801B642C = .text:0x801B642C; // type:function size:0x40 fn_801B646C = .text:0x801B646C; // type:function size:0xC0 fn_801B652C = .text:0x801B652C; // type:function size:0x70 fn_801B659C = .text:0x801B659C; // type:function size:0xCC -fn_801B6668 = .text:0x801B6668; // type:function size:0xC -fn_801B6674 = .text:0x801B6674; // type:function size:0xC +GetUnk2__13CKYellowPagesFv = .text:0x801B6668; // type:function size:0xC +GetServiceManager__13CKYellowPagesFv = .text:0x801B6674; // type:function size:0xC fn_801B6680 = .text:0x801B6680; // type:function size:0x38 fn_801B66B8 = .text:0x801B66B8; // type:function size:0x58 fn_801B6710 = .text:0x801B6710; // type:function size:0x58 @@ -18265,60 +18265,60 @@ fn_801BC400 = .text:0x801BC400; // type:function size:0xEC fn_801BC4EC = .text:0x801BC4EC; // type:function size:0x44 fn_801BC530 = .text:0x801BC530; // type:function size:0xB4 fn_801BC5E4 = .text:0x801BC5E4; // type:function size:0x48 -fn_801BC62C = .text:0x801BC62C; // type:function size:0xEC -fn_801BC718 = .text:0x801BC718; // type:function size:0x44 +__ct__13CKYellowPagesFv = .text:0x801BC62C; // type:function size:0xEC +__dt__13CKYellowPagesFv = .text:0x801BC718; // type:function size:0x44 fn_801BC75C = .text:0x801BC75C; // type:function size:0x158 -fn_801BC8B4 = .text:0x801BC8B4; // type:function size:0xC -fn_801BC8C0 = .text:0x801BC8C0; // type:function size:0x8 -fn_801BC8C8 = .text:0x801BC8C8; // type:function size:0xC -fn_801BC8D4 = .text:0x801BC8D4; // type:function size:0xC -fn_801BC8E0 = .text:0x801BC8E0; // type:function size:0xC -fn_801BC8EC = .text:0x801BC8EC; // type:function size:0xC -fn_801BC8F8 = .text:0x801BC8F8; // type:function size:0xC -fn_801BC904 = .text:0x801BC904; // type:function size:0xC -fn_801BC910 = .text:0x801BC910; // type:function size:0xC -fn_801BC91C = .text:0x801BC91C; // type:function size:0xC -fn_801BC928 = .text:0x801BC928; // type:function size:0xC -fn_801BC934 = .text:0x801BC934; // type:function size:0xC -fn_801BC940 = .text:0x801BC940; // type:function size:0xC -fn_801BC94C = .text:0x801BC94C; // type:function size:0xC -fn_801BC958 = .text:0x801BC958; // type:function size:0xC -fn_801BC964 = .text:0x801BC964; // type:function size:0xC -fn_801BC970 = .text:0x801BC970; // type:function size:0xC -fn_801BC97C = .text:0x801BC97C; // type:function size:0xC -fn_801BC988 = .text:0x801BC988; // type:function size:0xC -fn_801BC994 = .text:0x801BC994; // type:function size:0xC -fn_801BC9A0 = .text:0x801BC9A0; // type:function size:0xC -fn_801BC9AC = .text:0x801BC9AC; // type:function size:0xC -fn_801BC9B8 = .text:0x801BC9B8; // type:function size:0xC -fn_801BC9C4 = .text:0x801BC9C4; // type:function size:0xC -fn_801BC9D0 = .text:0x801BC9D0; // type:function size:0xC -fn_801BC9DC = .text:0x801BC9DC; // type:function size:0xC -fn_801BC9E8 = .text:0x801BC9E8; // type:function size:0xC -fn_801BC9F4 = .text:0x801BC9F4; // type:function size:0xC -fn_801BCA00 = .text:0x801BCA00; // type:function size:0xC -fn_801BCA0C = .text:0x801BCA0C; // type:function size:0xC -fn_801BCA18 = .text:0x801BCA18; // type:function size:0xC -fn_801BCA24 = .text:0x801BCA24; // type:function size:0xC -fn_801BCA30 = .text:0x801BCA30; // type:function size:0xC -fn_801BCA3C = .text:0x801BCA3C; // type:function size:0xC -fn_801BCA48 = .text:0x801BCA48; // type:function size:0xC -fn_801BCA54 = .text:0x801BCA54; // type:function size:0xC -fn_801BCA60 = .text:0x801BCA60; // type:function size:0xC -fn_801BCA6C = .text:0x801BCA6C; // type:function size:0xC -fn_801BCA78 = .text:0x801BCA78; // type:function size:0xC -fn_801BCA84 = .text:0x801BCA84; // type:function size:0xC -fn_801BCA90 = .text:0x801BCA90; // type:function size:0xC -fn_801BCA9C = .text:0x801BCA9C; // type:function size:0xC -fn_801BCAA8 = .text:0x801BCAA8; // type:function size:0xC -fn_801BCAB4 = .text:0x801BCAB4; // type:function size:0xC -fn_801BCAC0 = .text:0x801BCAC0; // type:function size:0xC -fn_801BCACC = .text:0x801BCACC; // type:function size:0xC -fn_801BCAD8 = .text:0x801BCAD8; // type:function size:0xC -fn_801BCAE4 = .text:0x801BCAE4; // type:function size:0xC -fn_801BCAF0 = .text:0x801BCAF0; // type:function size:0xC -fn_801BCAFC = .text:0x801BCAFC; // type:function size:0xC -fn_801BCB08 = .text:0x801BCB08; // type:function size:0xC +SetServiceCamera__13CKYellowPagesFPv = .text:0x801BC8B4; // type:function size:0xC +SetInstance__13CKYellowPagesFv = .text:0x801BC8C0; // type:function size:0x8 +SetLoadingInterface__13CKYellowPagesFPv = .text:0x801BC8C8; // type:function size:0xC +SetBeaconService__13CKYellowPagesFPv = .text:0x801BC8D4; // type:function size:0xC +SetServiceAvoidance__13CKYellowPagesFPv = .text:0x801BC8E0; // type:function size:0xC +SetServiceCinematic__13CKYellowPagesFPv = .text:0x801BC8EC; // type:function size:0xC +SetServiceSekensor__13CKYellowPagesFPv = .text:0x801BC8F8; // type:function size:0xC +SetServiceShadow__13CKYellowPagesFPv = .text:0x801BC904; // type:function size:0xC +SetCurrentLevel__13CKYellowPagesFPv = .text:0x801BC910; // type:function size:0xC +SetKGameManager__13CKYellowPagesFPv = .text:0x801BC91C; // type:function size:0xC +SetKGameUIManager__13CKYellowPagesFPv = .text:0x801BC928; // type:function size:0xC +SetLocManager__13CKYellowPagesFPv = .text:0x801BC934; // type:function size:0xC +SetGraphicModule__13CKYellowPagesFPv = .text:0x801BC940; // type:function size:0xC +SetRendererRootNode__13CKYellowPagesFPv = .text:0x801BC94C; // type:function size:0xC +SetRootNode2__13CKYellowPagesFPv = .text:0x801BC958; // type:function size:0xC +SetCommunSectorRootNode__13CKYellowPagesFPv = .text:0x801BC964; // type:function size:0xC +SetInputModule__13CKYellowPagesFPv = .text:0x801BC970; // type:function size:0xC +SetSoundModule__13CKYellowPagesFPv = .text:0x801BC97C; // type:function size:0xC +SetCoreFactory__13CKYellowPagesFPv = .text:0x801BC988; // type:function size:0xC +SetServiceManager__13CKYellowPagesFPv = .text:0x801BC994; // type:function size:0xC +SetServiceLife__13CKYellowPagesFPv = .text:0x801BC9A0; // type:function size:0xC +SetCoreManager__13CKYellowPagesFPv = .text:0x801BC9AC; // type:function size:0xC +SetFileIOManager__13CKYellowPagesFPv = .text:0x801BC9B8; // type:function size:0xC +SetGameLoop__13CKYellowPagesFPv = .text:0x801BC9C4; // type:function size:0xC +SetManager2d__13CKYellowPagesFPv = .text:0x801BC9D0; // type:function size:0xC +SetTextureManager__13CKYellowPagesFPv = .text:0x801BC9DC; // type:function size:0xC +SetAnimationManager__13CKYellowPagesFPv = .text:0x801BC9E8; // type:function size:0xC +SetTimeManager__13CKYellowPagesFPv = .text:0x801BC9F4; // type:function size:0xC +SetTrcManager__13CKYellowPagesFPv = .text:0x801BCA00; // type:function size:0xC +SetSavingManager__13CKYellowPagesFPv = .text:0x801BCA0C; // type:function size:0xC +SetLoadingManager__13CKYellowPagesFPv = .text:0x801BCA18; // type:function size:0xC +SetServiceCollision__13CKYellowPagesFPv = .text:0x801BCA24; // type:function size:0xC +SetServicePhysics__13CKYellowPagesFPv = .text:0x801BCA30; // type:function size:0xC +SetServicePathFinding__13CKYellowPagesFPv = .text:0x801BCA3C; // type:function size:0xC +SetServiceProjectiles__13CKYellowPagesFPv = .text:0x801BCA48; // type:function size:0xC +SetServiceFx__13CKYellowPagesFPv = .text:0x801BCA54; // type:function size:0xC +SetServiceBonus__13CKYellowPagesFPv = .text:0x801BCA60; // type:function size:0xC +SetServiceCounter__13CKYellowPagesFPv = .text:0x801BCA6C; // type:function size:0xC +SetServiceTrigger__13CKYellowPagesFPv = .text:0x801BCA78; // type:function size:0xC +SetServiceDetect__13CKYellowPagesFPv = .text:0x801BCA84; // type:function size:0xC +SetFlashManager__13CKYellowPagesFPv = .text:0x801BCA90; // type:function size:0xC +SetServiceMusic__13CKYellowPagesFPv = .text:0x801BCA9C; // type:function size:0xC +SetServiceInput__13CKYellowPagesFPv = .text:0x801BCAA8; // type:function size:0xC +SetVideoManager__13CKYellowPagesFPv = .text:0x801BCAB4; // type:function size:0xC +SetUnk6__13CKYellowPagesFPv = .text:0x801BCAC0; // type:function size:0xC +SetUnk5__13CKYellowPagesFPv = .text:0x801BCACC; // type:function size:0xC +SetUnk1__13CKYellowPagesFPv = .text:0x801BCAD8; // type:function size:0xC +SetUnk3__13CKYellowPagesFPv = .text:0x801BCAE4; // type:function size:0xC +SetServiceInputCommands__13CKYellowPagesFPv = .text:0x801BCAF0; // type:function size:0xC +SetUnk2__13CKYellowPagesFPv = .text:0x801BCAFC; // type:function size:0xC +SetUnk4__13CKYellowPagesFPv = .text:0x801BCB08; // type:function size:0xC fn_801BCB14 = .text:0x801BCB14; // type:function size:0x48 fn_801BCB5C = .text:0x801BCB5C; // type:function size:0x44 fn_801BCBA0 = .text:0x801BCBA0; // type:function size:0x10 @@ -18418,7 +18418,7 @@ fn_801C065C = .text:0x801C065C; // type:function size:0x8 fn_801C0664 = .text:0x801C0664; // type:function size:0x18 fn_801C067C = .text:0x801C067C; // type:function size:0x4 fn_801C0680 = .text:0x801C0680; // type:function size:0x68 -fn_801C06E8 = .text:0x801C06E8; // type:function size:0x8 +GetInstance__13CKYellowPagesFv = .text:0x801C06E8; // type:function size:0x8 fn_801C06F0 = .text:0x801C06F0; // type:function size:0x1C fn_801C070C = .text:0x801C070C; // type:function size:0x24 fn_801C0730 = .text:0x801C0730; // type:function size:0x64 @@ -18454,7 +18454,7 @@ fn_801C1188 = .text:0x801C1188; // type:function size:0x50 fn_801C11D8 = .text:0x801C11D8; // type:function size:0x54 fn_801C122C = .text:0x801C122C; // type:function size:0x6C fn_801C1298 = .text:0x801C1298; // type:function size:0x54 -fn_801C12EC = .text:0x801C12EC; // type:function size:0xC +GetAnimationManager__13CKYellowPagesFv = .text:0x801C12EC; // type:function size:0xC fn_801C12F8 = .text:0x801C12F8; // type:function size:0x94 fn_801C138C = .text:0x801C138C; // type:function size:0x8 fn_801C1394 = .text:0x801C1394; // type:function size:0x30 @@ -19173,7 +19173,7 @@ fn_801CEA5C = .text:0x801CEA5C; // type:function size:0x18 fn_801CEA74 = .text:0x801CEA74; // type:function size:0x8 fn_801CEA7C = .text:0x801CEA7C; // type:function size:0x8 fn_801CEA84 = .text:0x801CEA84; // type:function size:0xC -fn_801CEA90 = .text:0x801CEA90; // type:function size:0xC +GetTextureManager__13CKYellowPagesFv = .text:0x801CEA90; // type:function size:0xC fn_801CEA9C = .text:0x801CEA9C; // type:function size:0x8 fn_801CEAA4 = .text:0x801CEAA4; // type:function size:0xC fn_801CEAB0 = .text:0x801CEAB0; // type:function size:0x8 @@ -21480,7 +21480,7 @@ fn_8020E7D8 = .text:0x8020E7D8; // type:function size:0x8 fn_8020E7E0 = .text:0x8020E7E0; // type:function size:0x8 fn_8020E7E8 = .text:0x8020E7E8; // type:function size:0x10 fn_8020E7F8 = .text:0x8020E7F8; // type:function size:0x8 -fn_8020E800 = .text:0x8020E800; // type:function size:0xC +GetRootNode2__13CKYellowPagesFv = .text:0x8020E800; // type:function size:0xC fn_8020E80C = .text:0x8020E80C; // type:function size:0x88 fn_8020E894 = .text:0x8020E894; // type:function size:0x34 fn_8020E8C8 = .text:0x8020E8C8; // type:function size:0x20 @@ -22632,7 +22632,7 @@ fn_8022E110 = .text:0x8022E110; // type:function size:0x8 fn_8022E118 = .text:0x8022E118; // type:function size:0x8 fn_8022E120 = .text:0x8022E120; // type:function size:0x18 fn_8022E138 = .text:0x8022E138; // type:function size:0x1C -fn_8022E154 = .text:0x8022E154; // type:function size:0xC +GetServiceTrigger__13CKYellowPagesFv = .text:0x8022E154; // type:function size:0xC fn_8022E160 = .text:0x8022E160; // type:function size:0x3C fn_8022E19C = .text:0x8022E19C; // type:function size:0x4 fn_8022E1A0 = .text:0x8022E1A0; // type:function size:0x34 @@ -32748,7 +32748,7 @@ fn_8031C650 = .text:0x8031C650; // type:function size:0x5C fn_8031C6AC = .text:0x8031C6AC; // type:function size:0x10 fn_8031C6BC = .text:0x8031C6BC; // type:function size:0x58 fn_8031C714 = .text:0x8031C714; // type:function size:0x18 -fn_8031C72C = .text:0x8031C72C; // type:function size:0xC +GetServiceInputCommands__13CKYellowPagesFv = .text:0x8031C72C; // type:function size:0xC fn_8031C738 = .text:0x8031C738; // type:function size:0x8 fn_8031C740 = .text:0x8031C740; // type:function size:0x8 fn_8031C748 = .text:0x8031C748; // type:function size:0x18 @@ -50364,7 +50364,7 @@ lbl_805F48BC = .sbss:0x805F48BC; // type:object size:0x4 data:4byte lbl_805F48C0 = .sbss:0x805F48C0; // type:object size:0x8 data:4byte lbl_805F48C8 = .sbss:0x805F48C8; // type:object size:0x8 lbl_805F48D0 = .sbss:0x805F48D0; // type:object size:0x8 -lbl_805F48D8 = .sbss:0x805F48D8; // type:object size:0x8 data:4byte +g_pYellowPages = .sbss:0x805F48D8; // type:object size:0x4 data:4byte lbl_805F48E0 = .sbss:0x805F48E0; // type:object size:0x8 lbl_805F48E8 = .sbss:0x805F48E8; // type:object size:0x8 lbl_805F48F0 = .sbss:0x805F48F0; // type:object size:0x8 diff --git a/configure.py b/configure.py index 60052ae..9cb104e 100644 --- a/configure.py +++ b/configure.py @@ -340,6 +340,10 @@ def MatchingFor(*versions): "host": False, "progress_category": "game", # str | List[str] "objects": [ + # Engine + Object(MatchingFor(), "K/KCore/Main/CKYellowPages.cpp", extra_cflags=[ + "-opt nopeephole", + ]), # 2- Hooks Object(MatchingFor(), "Alice/K/KAliceHero/CKHkAliceHero.cpp"), # 4 - Groups diff --git a/src/K/KCore/Main/CKYellowPages.cpp b/src/K/KCore/Main/CKYellowPages.cpp new file mode 100644 index 0000000..3c6fee5 --- /dev/null +++ b/src/K/KCore/Main/CKYellowPages.cpp @@ -0,0 +1,577 @@ +#include "types.h" // IWYU pragma: export +#include "K/KCore/Main/CKYellowPages.h" + +static CKYellowPages* g_pYellowPages; + +CKYellowPages::CKYellowPages() +{ + this->m_pTimeManager = NULL; + this->m_pGraphic = NULL; + this->m_pScreen = NULL; + this->m_pRendererRootNode = NULL; + this->m_pCommunSectorRootNode = NULL; + this->m_pCoreFactory = NULL; + this->m_pServiceManager = NULL; + this->m_pFileIOManager = NULL; + this->m_pCoreManager = NULL; + this->m_pGameLoop = NULL; + this->m_pTextureManager = NULL; + this->m_pAnimationManager = NULL; + this->m_pLoadingManager = NULL; + this->m_pLoadingInterface = NULL; + this->m_pSrvCollision = NULL; + this->m_pSrvPathFinding = NULL; + this->m_pSrvCamera = NULL; + this->m_pSrvCinematic = NULL; + this->m_pTrcManager = NULL; + this->m_pManager2d = NULL; + this->m_pKGameManager = NULL; + this->m_pKGameUIManager = NULL; + this->m_pCurrentLevel = NULL; + this->m_pLocManager = NULL; + this->m_pSrvBeacon = NULL; + this->m_pInput = NULL; + this->m_pSound = NULL; + this->m_pServiceLife = NULL; + this->m_pSrvAvoidance = NULL; + this->m_pSrvSekensor = NULL; + this->m_pSrvShadow = NULL; + this->m_pSrvFx = NULL; + this->m_pSrvProjectiles = NULL; + this->m_pFlashManager = NULL; + this->m_pSrvMusic = NULL; + this->m_pSrvBonus = NULL; + this->m_pUnk1 = NULL; + this->m_pUnkRootNode = NULL; + this->m_pSrvDetect = NULL; + this->m_pSrvCounter = NULL; + this->m_pSrvTrigger = NULL; + this->m_pSrvPhysics = NULL; + this->m_pSrvInput = NULL; + this->m_pVideoManager = NULL; + this->m_pUnk5 = NULL; + this->m_pSavingManager = NULL; + this->SetInstance(); +} + +CKYellowPages::~CKYellowPages() {} + +void CKYellowPages::SetInstance() +{ + g_pYellowPages = this; +} + +CKYellowPages* CKYellowPages::GetInstance() +{ + return g_pYellowPages; +} + +void CKYellowPages::SetServiceCamera(void* pServiceCamera) +{ + g_pYellowPages->m_pSrvCamera = pServiceCamera; +} + +void CKYellowPages::SetLoadingInterface(void* pLoadingInterface) +{ + g_pYellowPages->m_pLoadingInterface = pLoadingInterface; +} + +void CKYellowPages::SetBeaconService(void* pBeaconService) +{ + g_pYellowPages->m_pSrvBeacon = pBeaconService; +} + +void CKYellowPages::SetServiceAvoidance(void* pServiceAvoidance) +{ + g_pYellowPages->m_pSrvAvoidance = pServiceAvoidance; +} + +void CKYellowPages::SetServiceCinematic(void *pServiceCinematic) +{ + g_pYellowPages->m_pSrvCinematic = pServiceCinematic; +} + +void CKYellowPages::SetServiceSekensor(void* pServiceSekensor) +{ + g_pYellowPages->m_pSrvSekensor = pServiceSekensor; +} + +void CKYellowPages::SetServiceShadow(void* pServiceShadow) +{ + g_pYellowPages->m_pSrvShadow = pServiceShadow; +} + +void CKYellowPages::SetCurrentLevel(void* pCurrentLevel) +{ + g_pYellowPages->m_pCurrentLevel = pCurrentLevel; +} + +void CKYellowPages::SetKGameManager(void *pKGameManager) +{ + g_pYellowPages->m_pKGameManager = pKGameManager; +} + +void CKYellowPages::SetKGameUIManager(void *pKGameUIManager) +{ + g_pYellowPages->m_pKGameUIManager = pKGameUIManager; +} + +void CKYellowPages::SetLocManager(void* pLocManager) +{ + g_pYellowPages->m_pLocManager = pLocManager; +} + +void CKYellowPages::SetGraphicModule(void* pGraphicModule) +{ + g_pYellowPages->m_pGraphic = pGraphicModule; +} + +void CKYellowPages::SetScreen(void* pScreen) +{ + g_pYellowPages->m_pScreen = pScreen; +} + +void CKYellowPages::SetRendererRootNode(void* pRendererRootNode) +{ + g_pYellowPages->m_pRendererRootNode = pRendererRootNode; +} + +void CKYellowPages::SetRootNode2(void* pRootNode2) +{ + g_pYellowPages->m_pUnkRootNode = pRootNode2; +} + +void CKYellowPages::SetCommunSectorRootNode(void* pCommunSectorRootNode) +{ + g_pYellowPages->m_pCommunSectorRootNode = pCommunSectorRootNode; +} + +void CKYellowPages::SetInputModule(void* pInputModule) +{ + g_pYellowPages->m_pInput = pInputModule; +} + +void CKYellowPages::SetSoundModule(void* pSoundModule) +{ + g_pYellowPages->m_pSound = pSoundModule; +} + +void CKYellowPages::SetCoreFactory(void* pCoreFactory) +{ + g_pYellowPages->m_pCoreFactory = pCoreFactory; +} + +void CKYellowPages::SetServiceManager(void* pServiceManager) +{ + g_pYellowPages->m_pServiceManager = pServiceManager; +} + +void CKYellowPages::SetServiceLife(void* pServiceLife) +{ + g_pYellowPages->m_pServiceLife = pServiceLife; +} + +void CKYellowPages::SetCoreManager(void* pCoreManager) +{ + g_pYellowPages->m_pCoreManager = pCoreManager; +} + +void CKYellowPages::SetFileIOManager(void* pFileIOManager) +{ + g_pYellowPages->m_pFileIOManager = pFileIOManager; +} + +void CKYellowPages::SetGameLoop(void* pGameLoop) +{ + g_pYellowPages->m_pGameLoop = pGameLoop; +} + +void CKYellowPages::SetManager2d(void* pManager2d) +{ + g_pYellowPages->m_pManager2d = pManager2d; +} + +void CKYellowPages::SetTextureManager(void* pTextureManager) +{ + g_pYellowPages->m_pTextureManager = pTextureManager; +} + +void CKYellowPages::SetAnimationManager(void* pAnimationManager) +{ + g_pYellowPages->m_pAnimationManager = pAnimationManager; +} + +void CKYellowPages::SetTimeManager(void* pTimeManager) +{ + g_pYellowPages->m_pTimeManager = pTimeManager; +} + +void CKYellowPages::SetTrcManager(void* pTrcManager) +{ + g_pYellowPages->m_pTrcManager = pTrcManager; +} + +void CKYellowPages::SetSavingManager(void* pSavingManager) +{ + g_pYellowPages->m_pSavingManager = pSavingManager; +} + +void CKYellowPages::SetLoadingManager(void* pLoadingManager) +{ + g_pYellowPages->m_pLoadingManager = pLoadingManager; +} + +void CKYellowPages::SetServiceCollision(void* pServiceCollision) +{ + g_pYellowPages->m_pSrvCollision = pServiceCollision; +} + +void CKYellowPages::SetServicePhysics(void* pServicePhysics) +{ + g_pYellowPages->m_pSrvPhysics = pServicePhysics; +} + +void CKYellowPages::SetServicePathFinding(void* pServicePathFinding) +{ + g_pYellowPages->m_pSrvPathFinding = pServicePathFinding; +} + +void CKYellowPages::SetServiceProjectiles(void* pServiceProjectiles) +{ + g_pYellowPages->m_pSrvProjectiles = pServiceProjectiles; +} + +void CKYellowPages::SetServiceFx(void* pServiceFx) +{ + g_pYellowPages->m_pSrvFx = pServiceFx; +} + +void CKYellowPages::SetServiceBonus(void* pServiceBonus) +{ + g_pYellowPages->m_pSrvBonus = pServiceBonus; +} + +void CKYellowPages::SetServiceCounter(void* pServiceCounter) +{ + g_pYellowPages->m_pSrvCounter = pServiceCounter; +} + +void CKYellowPages::SetServiceTrigger(void* pServiceTrigger) +{ + g_pYellowPages->m_pSrvTrigger = pServiceTrigger; +} + +void CKYellowPages::SetServiceDetect(void* pServiceDetect) +{ + g_pYellowPages->m_pSrvDetect = pServiceDetect; +} + +void CKYellowPages::SetFlashManager(void *pFlashManager) +{ + g_pYellowPages->m_pFlashManager = pFlashManager; +} + +void CKYellowPages::SetServiceMusic(void *pServiceMusic) +{ + g_pYellowPages->m_pSrvMusic = pServiceMusic; +} + +void CKYellowPages::SetServiceInput(void *pServiceInput) +{ + g_pYellowPages->m_pSrvInput = pServiceInput; +} + +void CKYellowPages::SetVideoManager(void* pVideoManager) +{ + g_pYellowPages->m_pVideoManager = pVideoManager; +} + +void CKYellowPages::SetUnk6(void* pUnk6) +{ + g_pYellowPages->m_pUnk6 = pUnk6; +} + +void CKYellowPages::SetUnk5(void* pUnk5) +{ + g_pYellowPages->m_pUnk5 = pUnk5; +} + +void CKYellowPages::SetUnk1(void* pUnk1) +{ + g_pYellowPages->m_pUnk1 = pUnk1; +} + +void CKYellowPages::SetUnk3(void *pUnk3) +{ + g_pYellowPages->m_pUnk3 = pUnk3; +} + +void CKYellowPages::SetServiceInputCommands(void *pServiceInputCommands) +{ + g_pYellowPages->m_pSrvInputCommands = pServiceInputCommands; +} + +void CKYellowPages::SetUnk2(void* pUnk2) +{ + g_pYellowPages->m_pUnk2 = pUnk2; +} + +void CKYellowPages::SetUnk4(void* pUnk4) +{ + g_pYellowPages->m_pUnk4 = pUnk4; +} + +void* CKYellowPages::GetLoadingInterface() +{ + return g_pYellowPages->m_pLoadingInterface; +} + +void* CKYellowPages::GetGraphicModule() +{ + return g_pYellowPages->m_pGraphic; +} + +void* CKYellowPages::GetScreen() +{ + return g_pYellowPages->m_pScreen; +} + +void* CKYellowPages::GetRendererRootNode() +{ + return g_pYellowPages->m_pRendererRootNode; +} + +void* CKYellowPages::GetRootNode2() +{ + return g_pYellowPages->m_pUnkRootNode; +} + +void* CKYellowPages::GetCommunSectorRootNode() +{ + return g_pYellowPages->m_pCommunSectorRootNode; +} + +void* CKYellowPages::GetInputModule() +{ + return g_pYellowPages->m_pInput; +} + +void* CKYellowPages::GetSoundModule() +{ + return g_pYellowPages->m_pSound; +} + +void* CKYellowPages::GetCoreFactory() +{ + return g_pYellowPages->m_pCoreFactory; +} + +void* CKYellowPages::GetServiceManager() +{ + return g_pYellowPages->m_pServiceManager; +} + +void* CKYellowPages::GetServiceLife() +{ + return g_pYellowPages->m_pServiceLife; +} + +void* CKYellowPages::GetCoreManager() +{ + return g_pYellowPages->m_pCoreManager; +} + +void* CKYellowPages::GetFileIOManager() +{ + return g_pYellowPages->m_pFileIOManager; +} + +void* CKYellowPages::GetGameLoop() +{ + return g_pYellowPages->m_pGameLoop; +} + +void* CKYellowPages::GetManager2d() +{ + return g_pYellowPages->m_pManager2d; +} + +void* CKYellowPages::GetFlashManager() +{ + return g_pYellowPages->m_pFlashManager; +} + +void* CKYellowPages::GetTextureManager() +{ + return g_pYellowPages->m_pTextureManager; +} + +void* CKYellowPages::GetAnimationManager() +{ + return g_pYellowPages->m_pAnimationManager; +} + +void* CKYellowPages::GetTimeManager() +{ + return g_pYellowPages->m_pTimeManager; +} + +void* CKYellowPages::GetLoadingManager() +{ + return g_pYellowPages->m_pLoadingManager; +} + +void* CKYellowPages::GetSavingManager() +{ + return g_pYellowPages->m_pSavingManager; +} + +void* CKYellowPages::GetUnk6() +{ + return g_pYellowPages->m_pUnk6; +} + +void* CKYellowPages::GetServiceCollision() +{ + return g_pYellowPages->m_pSrvCollision; +} + +void* CKYellowPages::GetServicePhysics() +{ + return g_pYellowPages->m_pSrvPhysics; +} + +void* CKYellowPages::GetServiceFx() +{ + return g_pYellowPages->m_pSrvFx; +} + +void* CKYellowPages::GetServiceBonus() +{ + return g_pYellowPages->m_pSrvBonus; +} + +void* CKYellowPages::GetServiceProjectiles() +{ + return g_pYellowPages->m_pSrvProjectiles; +} + +void* CKYellowPages::GetServicePathFinding() +{ + return g_pYellowPages->m_pSrvPathFinding; +} + +void* CKYellowPages::GetServiceCamera() +{ + return g_pYellowPages->m_pSrvCamera; +} + +void* CKYellowPages::GetServiceAvoidance() +{ + return g_pYellowPages->m_pSrvAvoidance; +} + +void* CKYellowPages::GetServiceBeacon() +{ + return g_pYellowPages->m_pSrvBeacon; +} + +void* CKYellowPages::GetTrcManager() +{ + return g_pYellowPages->m_pTrcManager; +} + +void* CKYellowPages::GetServiceCinematic() +{ + return g_pYellowPages->m_pSrvCinematic; +} + +void* CKYellowPages::GetServiceSekensor() +{ + return g_pYellowPages->m_pSrvSekensor; +} + +void* CKYellowPages::GetServiceShadow() +{ + return g_pYellowPages->m_pSrvShadow; +} + +void* CKYellowPages::GetKGameManager() +{ + return g_pYellowPages->m_pKGameManager; +} + +void* CKYellowPages::GetKGameUIManager() +{ + return g_pYellowPages->m_pKGameUIManager; +} + +void* CKYellowPages::GetCurrentLevel() +{ + return g_pYellowPages->m_pCurrentLevel; +} + +void* CKYellowPages::GetLocManager() +{ + return g_pYellowPages->m_pLocManager; +} + +void* CKYellowPages::GetServiceCounter() +{ + return g_pYellowPages->m_pSrvCounter; +} + +void* CKYellowPages::GetServiceTrigger() +{ + return g_pYellowPages->m_pSrvTrigger; +} + +void* CKYellowPages::GetServiceDetect() +{ + return g_pYellowPages->m_pSrvDetect; +} + +void* CKYellowPages::GetServiceMusic() +{ + return g_pYellowPages->m_pSrvMusic; +} + +void* CKYellowPages::GetServiceInput() +{ + return g_pYellowPages->m_pSrvInput; +} + +void* CKYellowPages::GetVideoManager() +{ + return g_pYellowPages->m_pVideoManager; +} + +void* CKYellowPages::GetUnk1() +{ + return g_pYellowPages->m_pUnk1; +} + +void* CKYellowPages::GetUnk2() +{ + return g_pYellowPages->m_pUnk2; +} + +void* CKYellowPages::GetUnk3() +{ + return g_pYellowPages->m_pUnk3; +} + +void* CKYellowPages::GetServiceInputCommands() +{ + return g_pYellowPages->m_pSrvInputCommands; +} + +void* CKYellowPages::GetUnk4() +{ + return g_pYellowPages->m_pUnk4; +} + +void* CKYellowPages::GetUnk5() +{ + return g_pYellowPages->m_pUnk5; +} diff --git a/src/K/KCore/Main/CKYellowPages.h b/src/K/KCore/Main/CKYellowPages.h new file mode 100644 index 0000000..58b118e --- /dev/null +++ b/src/K/KCore/Main/CKYellowPages.h @@ -0,0 +1,168 @@ +#ifndef CKYELLOWPAGES_H + #define CKYELLOWPAGES_H + + class CKYellowPages + { + public: + void* m_pLoadingInterface; // 0x00 + void* m_pGraphic; // 0x04 + void* m_pScreen; // 0x08 + void* m_pRendererRootNode; // 0x0C + void* m_pUnkRootNode; // 0x10 + void* m_pCommunSectorRootNode; // 0x14 + void* m_pInput; // 0x18 + void* m_pSound; // 0x1C + void* m_pCoreFactory; // 0x20 + void* m_pServiceManager; // 0x24 + void* m_pServiceLife; // 0x28 + void* m_pCoreManager; // 0x2C + void* m_pFileIOManager; // 0x30 + void* m_pGameLoop; // 0x34 + void* m_pManager2d; // 0x38 + void* m_pFlashManager; // 0x3C + void* m_pTextureManager; // 0x40 + void* m_pAnimationManager; // 0x44 + void* m_pTimeManager; // 0x48 + void* m_pLoadingManager; // 0x4C + void* m_pSavingManager; // 0x50 + void* m_pUnk6; // 0x54 - CKParams?? + void* m_pSrvCollision; // 0x58 + void* m_pSrvPhysics; // 0x5C + void* m_pSrvFx; // 0x60 + void* m_pSrvBonus; // 0x64 + void* m_pSrvProjectiles; // 0x68 + void* m_pSrvPathFinding; // 0x6C + void* m_pSrvCamera; // 0x70 + void* m_pSrvAvoidance; // 0x74 + void* m_pSrvBeacon; // 0x78 + void* m_pTrcManager; // 0x7C + void* m_pSrvCinematic; // 0x80 + void* m_pSrvSekensor; // 0x84 + void* m_pSrvShadow; // 0x88 + void* m_pKGameManager; // 0x8C + void* m_pKGameUIManager; // 0x90 + void* m_pCurrentLevel; // 0x94 + void* m_pLocManager; // 0x98 + void* m_pSrvCounter; // 0x9C + void* m_pSrvTrigger; // 0xA0 + void* m_pSrvDetect; // 0xA4 + void* m_pSrvMusic; // 0xA8 + void* m_pSrvInput; // 0xAC + void* m_pVideoManager; // 0xB0 + void* m_pUnk1; // 0xB4 + void* m_pUnk2; // 0xB8 + void* m_pUnk3; // 0xBC + void* m_pSrvInputCommands; // 0xC0 + void* m_pUnk4; // 0xC4 + void* m_pUnk5; // 0xC8 + + CKYellowPages(); + ~CKYellowPages(); + static void SetServiceCamera(void* pServiceCamera); + void SetInstance(); + CKYellowPages* GetInstance(); + static void SetLoadingInterface(void* pLoadingInterface); + static void SetBeaconService(void* pBeaconService); + static void SetServiceAvoidance(void* pServiceAvoidance); + static void SetServiceCinematic(void* pServiceCinematic); + static void SetServiceSekensor(void* pServiceSekensor); + static void SetServiceShadow(void* pServiceShadow); + static void SetCurrentLevel(void* pCurrentLevel); + static void SetKGameManager(void* pKGameManager); + static void SetKGameUIManager(void* pKGameUIManager); + static void SetLocManager(void* pLocManager); + static void SetGraphicModule(void* pGraphicModule); + static void SetScreen(void* pScreen); + static void SetRendererRootNode(void* pRendererRootNode); + static void SetRootNode2(void* pRootNode2); + static void SetCommunSectorRootNode(void* pCommunSectorRootNode); + static void SetInputModule(void* pInputModule); + static void SetSoundModule(void* pSoundModule); + static void SetCoreFactory(void* pCoreFactory); + static void SetServiceManager(void* pServiceManager); + static void SetServiceLife(void* pServiceLife); + static void SetCoreManager(void* pCoreManager); + static void SetFileIOManager(void* pFileIOManager); + static void SetGameLoop(void* pGameLoop); + static void SetManager2d(void* pManager2d); + static void SetTextureManager(void* pTextureManager); + static void SetAnimationManager(void* pAnimationManager); + static void SetTimeManager(void* pTimeManager); + static void SetTrcManager(void* pTrcManager); + static void SetSavingManager(void* pSavingManager); + static void SetLoadingManager(void* pLoadingManager); + static void SetServiceCollision(void* pServiceCollision); + static void SetServicePhysics(void* pServicePhysics); + static void SetServicePathFinding(void* pServicePathFinding); + static void SetServiceProjectiles(void* pServiceProjectiles); + static void SetServiceFx(void* pServiceFx); + static void SetServiceBonus(void* pServiceBonus); + static void SetServiceCounter(void* pServiceCounter); + static void SetServiceTrigger(void* pServiceTrigger); + static void SetServiceDetect(void* pServiceDetect); + static void SetFlashManager(void* pFlashManager); + static void SetServiceMusic(void* pServiceMusic); + static void SetServiceInput(void* pServiceInput); + static void SetVideoManager(void* pVideoManager); + static void SetUnk6(void* pUnk6); + static void SetUnk5(void* pUnk5); + static void SetUnk1(void* pUnk1); + static void SetUnk3(void* pUnk3); + static void SetServiceInputCommands(void* pServiceInputCommands); + static void SetUnk2(void* pUnk2); + static void SetUnk4(void* pUnk4); + + static inline void* GetLoadingInterface(); + static inline void* GetGraphicModule(); + static inline void* GetScreen(); + static inline void* GetRendererRootNode(); + static inline void* GetRootNode2(); + static inline void* GetCommunSectorRootNode(); + static inline void* GetInputModule(); + static inline void* GetSoundModule(); + static inline void* GetCoreFactory(); + static inline void* GetServiceManager(); + static inline void* GetServiceLife(); // unused + stripped? + static inline void* GetCoreManager(); + static inline void* GetFileIOManager(); + static inline void* GetGameLoop(); + static inline void* GetManager2d(); + static inline void* GetFlashManager(); + static inline void* GetTextureManager(); + static inline void* GetAnimationManager(); + static inline void* GetTimeManager(); + static inline void* GetLoadingManager(); + static inline void* GetSavingManager(); + static inline void* GetUnk6(); + static inline void* GetServiceCollision(); + static inline void* GetServicePhysics(); + static inline void* GetServiceFx(); + static inline void* GetServiceBonus(); + static inline void* GetServiceProjectiles(); // unused + stripped? + static inline void* GetServicePathFinding(); + static inline void* GetServiceCamera(); + static inline void* GetServiceAvoidance(); + static inline void* GetServiceBeacon(); + static inline void* GetTrcManager(); + static inline void* GetServiceCinematic(); + static inline void* GetServiceSekensor(); + static inline void* GetServiceShadow(); + static inline void* GetKGameManager(); + static inline void* GetKGameUIManager(); + static inline void* GetCurrentLevel(); + static inline void* GetLocManager(); + static inline void* GetServiceCounter(); // unused + stripped? + static inline void* GetServiceTrigger(); + static inline void* GetServiceDetect(); + static inline void* GetServiceMusic(); + static inline void* GetServiceInput(); + static inline void* GetVideoManager(); + static inline void* GetUnk1(); // unused + stripped? + static inline void* GetUnk2(); + static inline void* GetUnk3(); // unused + stripped? + static inline void* GetServiceInputCommands(); + static inline void* GetUnk4(); // unused + stripped? + static inline void* GetUnk5(); // unused + stripped? + }; + +#endif