Skip to content

Commit 6b50ec7

Browse files
committed
Add symbols, implementations
1 parent 6962a13 commit 6b50ec7

19 files changed

Lines changed: 236 additions & 116 deletions

configs/sym.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,11 @@ _$_Q212BookMetaphor12SettingsPage = 0x00191FE0; // type:func
445445
__Q212BookMetaphor10CheatsPage = 0x00193440; // type:func
446446
_$_Q212BookMetaphor10CheatsPage = 0x00193498; // type:func
447447
__Q212BookMetaphor27ChangeLevelBackgroundThreadii = 0x00194770; // type:func
448-
__17BookMetaphorLayer = 0x0019b6c0; // type:func
448+
func_0019E378__Q212BookMetaphor4Page = 0x0019E378; // type:func
449+
func_0019E3A8__Q212BookMetaphor4Page = 0x0019E3A8; // type:func
450+
func_0019E3B0__Q212BookMetaphor4Page = 0x0019E3B0; // type:func
451+
__17BookMetaphorLayer = 0x0019B6C0; // type:func
452+
_$_17BookMetaphorLayer = 0x0019B7A0; // type:func
449453
__tf9GameLayer = 0x0019d5c0;
450454
__tf6Thread = 0x0019d620;
451455
__tfQ212BookMetaphor4Page = 0x0019d6d0;
@@ -595,8 +599,10 @@ _$_18BMHighlightMoveReq = 0x001D9CF0; // type:func
595599
__tf18BMHighlightMoveReq = 0x001D9D10;
596600
_$_15BMPageActionReq = 0x001D9DE8; // type:func
597601
__tf15BMPageActionReq = 0x001D9E08;
602+
func_001D9FB0__15BMPageActionReq = 0x001D9FB0; // type:func
598603
_$_10FadeOutReq = 0x001D9FB8; // type:func
599604
__tf10FadeOutReq = 0x001d9fd8;
605+
func_001DA048__10FadeOutReq = 0x001DA048; // type:func
600606
_$_9FadeInReq = 0x001DA0A8; // type:func
601607
__tf9FadeInReq = 0x001da0c8;
602608
// Gameutil.cpp
@@ -639,6 +645,9 @@ Objtable_InternalInitialise__Fv = 0x001ec730; // type:func
639645
Objtable_InternalFinalise__Fv = 0x001ec808; // type:func
640646
Objtable_Initialise__Fv = 0x001ec888; // type:func
641647
Objtable_Finalise__Fv = 0x001ec8b8; // type:func
648+
649+
// Paused
650+
__11PausedLayer = 0x001ED1F8; // type:func
642651
__tf11PausedLayer = 0x001ed318;
643652

644653
// Platform

include/Dogs/Game.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
#include "FGDK3/GameShell.h"
77

8+
#include "unk.h"
9+
810
Status Game_InternalInitialise(void);
911
void Game_InternalFinalise(void);
1012
Status Game_Initialise(void);
@@ -68,5 +70,12 @@ class Game_Document : public GameShell {
6870

6971
};
7072

73+
#ifdef __cplusplus
74+
extern "C" {
75+
#endif
76+
void func_001D3F58(s_0044EB68*);
77+
#ifdef __cplusplus
78+
}
79+
#endif
7180

7281
#endif

include/Dogs/GameState.h

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ifndef GAMESTATE_H
22
#define GAMESTATE_H
3-
/*
3+
44
namespace GameState {
55
class GameStateReq {
66

@@ -12,7 +12,7 @@ namespace GameState {
1212
};
1313

1414
};
15-
*/
15+
1616
/*
1717
class BMPageChangeReq : GameState::GameStateReq {
1818
public:
@@ -47,20 +47,22 @@ class BMPageChangeReq : GameState::GameStateReq {
4747
// BMHighlightMoveReq(int move);
4848
// };
4949
//
50-
// class BMPageActionReq : public GameState::GameStateReq {
51-
// public:
52-
// BMPageActionReq(int);
53-
// };
54-
//
50+
class BMPageActionReq : public GameState::GameStateReq {
51+
public:
52+
BMPageActionReq(int);
53+
int func_001D9FB0();
54+
};
55+
5556
// class FadeInReq : public GameState::GameStateReq {
5657
// public:
5758
// FadeInReq(float);
5859
// };
5960
//
60-
// class FadeOutReq : public GameState::GameStateReq {
61-
// public:
62-
// FadeOutReq(float);
63-
// };
61+
class FadeOutReq : public GameState::GameStateReq {
62+
public:
63+
FadeOutReq(float);
64+
void func_001DA048(); // do fadeout
65+
};
6466

6567
#ifdef __cplusplus
6668
extern "C" {
@@ -69,7 +71,7 @@ int func_001D95B0(void);
6971
int func_001D9A50(void);
7072
int func_001D9B20(void);
7173
int func_001D9BF0(void);
72-
int func_001D9FB0(void);
74+
7375
void func_001DA1B8(void);
7476
#ifdef __cplusplus
7577
}

include/Dogs/Paused.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#ifndef PAUSED_H
22
#define PAUSED_H
33

4-
/*
4+
#include "unk.h"
5+
56
class PausedLayer : public GameLayer {
7+
public:
8+
PausedLayer();
9+
virtual ~PausedLayer();
610
};
7-
*/
11+
812

913
#ifdef __cplusplus
1014
extern "C" {

include/Dogs/SpecialIKComponents.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
11
#ifndef SPECIALIKCOMPONENTS_H
22
#define SPECIALIKCOMPONENTS_H
33

4-
/*
4+
#include "FGDK3/Animate.h"
5+
6+
57
class LookAroundIKAnimation : public AnimationComponent {
8+
public:
9+
virtual ~LookAroundIKAnimation();
10+
// func_00229B40
611
};
712

813
class PickUpStretchAnimation : public AnimationComponent {
14+
public:
15+
virtual ~PickUpStretchAnimation();
16+
// func_0022A5C0
917
};
1018

1119
class GroundConformanceAnimation : public AnimationComponent {
20+
public:
21+
virtual ~GroundConformanceAnimation();
22+
// func_0022A9A0
1223
};
1324

14-
*/
25+
1526

1627
#endif

include/FGDK3/Playstation2/File_CD.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@
88
#include "FGDK3/ThrowCat.h"
99
#include "FGDK3/Playstation2/sifManager.h"
1010

11+
#include "unk.h"
12+
13+
class File_CD : public File::Access{
14+
public:
15+
File_CD(sceCdlFILE *fp);
16+
virtual ~File_CD();
17+
};
18+
1119
extern void * const File_CD_StdInit_UsedModules[];
1220

1321
Status File_CD_InternalInitialise(void);
1422
void File_CD_InternalFinalise(void);
1523
Status File_CD_Initialise(void);
1624
void File_CD_Finalise(void);
1725

18-
class File_CD {
19-
public:
20-
File_CD(sceCdlFILE *fp);
21-
virtual ~File_CD();
22-
};
26+
2327

2428
#endif

include/FGDK3/Playstation2/File_MemCard.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
#include "FGDK3/Playstation2/sifManager.h"
88
#include "FGDK3/Playstation2/TimSrv.h"
99

10+
#include "unk.h"
11+
12+
class File_MemCard : public File::Access {
13+
public:
14+
void* unk8;
15+
int m_fd; // sce filedescriptor
16+
int m_offset; // sce offset
17+
int unk14;
18+
// File_MemCard(void*, int, int)
19+
virtual ~File_MemCard();
20+
};
21+
1022
extern void * const File_MemCard_StdInit_UsedModules[];
1123

1224
Status File_MemCard_InternalInitialise(void);

include/unk.h

Lines changed: 77 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
#include "FGDK3/Playstation2/Thread.h"
66

77
#include "Dogs/SimObj.h"
8+
#include "FGDK3/Widget.h"
9+
10+
811
// Unknown data and functions.
912

1013
extern int D_0034C300[];
@@ -207,72 +210,101 @@ struct ShapeParams_Dynamic : public ShapeParams {
207210

208211
class ShapeInstance {
209212
public:
210-
211-
ShapeInstance();
212-
virtual ~ShapeInstance();
213+
ShapeInstance();
214+
virtual ~ShapeInstance();
213215
};
214216

215-
struct GE_DMAPktRc1i69 {
216-
GE_DMAPktRc1i69();
217-
virtual ~GE_DMAPktRc1i69();
217+
class GE_DMAPktRc1i69 { // GE_DMAPktRc1i69 : public GE_DMAPktRcGeneric
218+
public:
219+
GE_DMAPktRc1i69();
220+
virtual ~GE_DMAPktRc1i69();
218221
};
219222

220-
struct Action {
221-
int unk0;
222-
Action();
223-
virtual ~Action();
224-
virtual void func_002462a8() = 0;
223+
class Action {
224+
public:
225+
int unk0;
226+
Action();
227+
virtual ~Action();
228+
virtual void func_002462a8() = 0;
225229
};
226230

227-
struct Resource_LayoutUnit {
228-
int unk0;
229-
void* unk4;
230-
Resource_LayoutUnit(void*);
231-
virtual ~Resource_LayoutUnit();
231+
class Resource_LayoutUnit {
232+
public:
233+
int unk0;
234+
void* unk4;
235+
Resource_LayoutUnit(void*);
236+
virtual ~Resource_LayoutUnit();
232237
};
233238
/*
234-
struct Resource_LayoutOverlay : public Resource_LayoutUnit {
235-
int unkC;
236-
void* unk10;
239+
class Resource_LayoutOverlay : public Resource_LayoutUnit {
240+
public:
241+
int unkC;
242+
void* unk10;
243+
//Resource_LayoutOverlay
244+
virtual ~Resource_LayoutOverlay();
237245
238246
}*/
239247

240248

241-
struct Resource_LayoutGroup : public Resource_LayoutUnit {
242-
int unkC;
243-
void* unk10;
244-
Resource_LayoutGroup(void*, int, void*);
245-
virtual ~Resource_LayoutGroup();
249+
class Resource_LayoutGroup : public Resource_LayoutUnit {
250+
public:
251+
int unkC;
252+
void* unk10;
253+
Resource_LayoutGroup(void*, int, void*);
254+
virtual ~Resource_LayoutGroup();
246255
};
247-
/*
256+
257+
// class Resource_LayoutInclusiveGroup : public Resource_LayoutGroup {
258+
// public:
259+
// virtual ~Resource_LayoutInclusiveGroup();
260+
//
261+
// };
262+
263+
248264
class FileSystemDisc {
265+
public:
266+
FileSystemDisc();
267+
FileSystemDisc(int, void*);
268+
virtual ~FileSystemDisc();
249269
};
250270

251271
class FileSystemDisc_CD : public FileSystemDisc {
272+
public:
273+
FileSystemDisc_CD();
274+
virtual ~FileSystemDisc_CD();
252275
};
253276

254277
class FileSystemDiscRoot : public FileSystemDisc {
278+
public:
279+
FileSystemDiscRoot();
280+
// func_002FFA20
281+
// func_002FFA58
282+
// func_002FFAC0
283+
// func_002FFAF8
284+
virtual ~FileSystemDiscRoot();
285+
int func_002FFA90();
255286
};
256-
*/
257287

258-
/*
288+
289+
259290
class StorageDevice {
291+
public:
292+
//StorageDevice
293+
virtual ~StorageDevice();
260294
};
261295

296+
/*
262297
class StorageDevice_MemCard : public StorageDevice {
263298
public:
264299
StorageDevice_MemCard(int card);
265-
};
266-
*/
300+
};*/
301+
267302

268303
/*
269304
class Widget_Desktop : public Widget_Border {
270305
};
271306
*/
272307

273-
class StorageDevice {
274-
275-
};
276308

277309
namespace File {
278310
struct Access {
@@ -352,6 +384,9 @@ namespace BookMetaphor {
352384
public:
353385
int unk0;
354386
virtual ~Page();
387+
void func_0019E378();
388+
int func_0019E3A8();
389+
int func_0019E3B0();
355390

356391
};
357392

@@ -417,12 +452,16 @@ namespace BookMetaphor {
417452
};
418453
};
419454

420-
class GameLayer {
421-
455+
class GameLayer : public Widget_WithChildren {
456+
public:
457+
int unkD0;
458+
GameLayer();
422459
};
423460

424461
class BookMetaphorLayer : public GameLayer {
425-
462+
public:
463+
BookMetaphorLayer();
464+
virtual ~BookMetaphorLayer();
426465
};
427466

428467
class GE_GSPageMgr {
@@ -493,9 +532,9 @@ void func_00187490(s_func_00187490* arg0, void* dest, int arg2, size_t arg3);
493532

494533
// bookmetaphor
495534
void func_00196418(void);
496-
void func_0019E378(void);
497-
int func_0019E3A8(void);
498-
int func_0019E3B0(void);
535+
536+
537+
499538

500539
//void func_001AD180(void);
501540
void func_001AD560(void);

0 commit comments

Comments
 (0)