mirror of https://github.com/zeldaret/tp.git
408 lines
16 KiB
Markdown
408 lines
16 KiB
Markdown
# RE Notes
|
|
|
|
|
|
|
|
|
|
## Class Sizes
|
|
Class | Size
|
|
--------------------------------|------
|
|
baseCsr_c | 320
|
|
cBgW | 192
|
|
CPaneMgr | 108
|
|
CPaneMgrAlpha | 28
|
|
CPaneMgrAlphaMorf | 44
|
|
COutFont_c | 580
|
|
COutFontSet_c | 32
|
|
daAlinkHIO_c | 108
|
|
daMidna_matAnm_c | 260
|
|
daBg_brkAnm_c | 8
|
|
daBg_btkAnm_c | 8
|
|
daHoZelda_matAnm_c | 260
|
|
daNpcF_MatAnm | 264
|
|
daNpcT_MatAnm | 264
|
|
dBgS_Acch | 472
|
|
dBgS_AcchCir | 64
|
|
dBgS_GndChk | 88
|
|
dBgS_ObjAcch | 496
|
|
dBgS_ObjLinChk | 112
|
|
dBgW | 192
|
|
dBgWSv | 200
|
|
dBgWKCol | 60
|
|
dBrightCheck_c | 28
|
|
dCcD_GObjInf | 316
|
|
dDemo_actor_c | 108
|
|
dDemo_ambient_c | 12
|
|
dDemo_camera_c | 64
|
|
dDemo_fog_c | 20
|
|
dDemo_light_c | 60
|
|
dDemo_object_c | 176
|
|
dDemo_system_c | 8
|
|
dDlst_2D_c | 360
|
|
dDlst_base_c | 4
|
|
dDlst_GameOverScrnDraw_c | 24
|
|
dDlst_Gameover_CAPTURE_c | 4
|
|
dDlst_KanteraIcon_c | 8
|
|
dDlst_TimerScrnDraw_c | 996
|
|
dFile_info_c | 60
|
|
dFile_select_c | 9084
|
|
dFile_select3D_c | 976
|
|
dFile_warning_c | 64
|
|
dFlower_packet_c | 76372
|
|
dGrass_packet_c | 120600
|
|
dJcame_c | 28
|
|
dJprevCtrl_c | 256
|
|
dJPrev_c | 24
|
|
dKantera_icon_c | 16
|
|
dMap_c | 148
|
|
dMdl_c | 32
|
|
dMdl_mng_c | 132
|
|
dMenu_Collect_c | 12
|
|
dMenu_Collect2D_c | 612
|
|
dMenu_Collect3D_c | 988
|
|
dMenu_Dmap_c | 392
|
|
dMenu_Fishing_c | 508
|
|
dMenu_Fmap_c | 788
|
|
dMenu_Fmap_stage_data_c | 48
|
|
dMenu_Fmap_world_data_c | 20
|
|
dMenu_Fmap2DBack_c | 4680
|
|
dMenu_Fmap2DTop_c | 200
|
|
dMenu_FmapMap_c | 240
|
|
dMenu_Insect_c | 256
|
|
dMenu_ItemExplain_c | 232
|
|
dMenu_Letter_c | 1000
|
|
dMenu_Option_c | 1036
|
|
dMenu_Ring_c | 1748
|
|
dMenu_save_c | 8612
|
|
dMenu_Skill_c | 524
|
|
dMeter2Draw_c | 2148
|
|
dMeterButton_c | 1584
|
|
dMeterMap_c | 52
|
|
dMeterHaihai_c | 44
|
|
dMeterHakusha_c | 280
|
|
dMsgScrn3Select_c | 280
|
|
dMsgScrnArrow_c | 36
|
|
dMsgScrnBoss_c | 204
|
|
dMsgScrnExplain_c | 104
|
|
dMsgScrnHowl_c | 10156
|
|
dMsgScrnItem_c | 416
|
|
dMsgScrnJimaku_c | 208
|
|
dMsgScrnKanban_c | 220
|
|
dMsgScrnLight_c | 36
|
|
dMsgScrnPlace_c | 212
|
|
dMsgScrnStaff_c | 212
|
|
dMsgScrnTalk_c | 1164
|
|
dMsgScrnTree_c | 228
|
|
dMsgString_c | 44
|
|
dName_c | 820
|
|
dPa_control_c | 5096
|
|
dPaControl_c | 4632
|
|
dPaPo_c | 56
|
|
dScope_c | 144
|
|
dSelect_cursor_c | 184
|
|
dSelect_cursorHIO_c | 40
|
|
dSmplMdl_draw_c | 4168
|
|
dSv_event_c | 256
|
|
dSv_memory_c | 32
|
|
dSv_memory2_c | 8
|
|
dSv_MiniGame_c | 24
|
|
dSv_player_c | 496
|
|
dSv_reserve_c | 80
|
|
dSv_save_c | 2392
|
|
DynamicModuleControl | 44
|
|
fmpTresTypeGroupData_c | 12
|
|
fmpTresTypeGroupDataListAll_c | 136
|
|
hsChainShape_c | 16
|
|
J2DAnmColorFull | 68
|
|
J2DAnmColorKey | 68
|
|
J2DAnmTevRegKey | 116
|
|
J2DAnmTexPattern | 52
|
|
J2DAnmTextureSRTKey | 128
|
|
J2DAnmTransformFull | 40
|
|
J2DAnmTransformKey | 44
|
|
J2DAnmVisibilityFull | 28
|
|
J2DAnmVtxColorFull | 60
|
|
J2DAnmVtxColorKey | 60
|
|
J2DIndBlockNull | 4
|
|
J2DIndTexCoordScale | 2
|
|
J2DIndTexMtx | 28
|
|
J2DIndTexOrder | 2
|
|
J2DMaterialAnmPointer | 68
|
|
J2DNameTab | 16
|
|
J2DOrthoGraph | 212
|
|
J2DPane | 256
|
|
J2DPicture | 336
|
|
J2DPictureEx | 416
|
|
J2DScreen | 280
|
|
J2DTevBlock1 | 96
|
|
J2DTevBlock2 | 124
|
|
J2DTevBlock4 | 180
|
|
J2DTevBlock8 | 292
|
|
J2DTevBlock16 | 436
|
|
J2DTexMtx | 84
|
|
J2DTextbox | 312
|
|
J2DTextboxEx | 328
|
|
J2DWindow | 328
|
|
J2DWindowEx | 384
|
|
J3DAnmClusterFull | 20
|
|
J3DAnmClusterKey | 20
|
|
J3DAnmColorFull | 64
|
|
J3DAnmColorKey | 64
|
|
J3DAnmTexPattern | 44
|
|
J3DAnmTevRegKey | 112
|
|
J3DAnmTextureSRTKey | 124
|
|
J3DAnmTransformFull | 36
|
|
J3DAnmTransformFullWithLerp | 36
|
|
J3DAnmTransformKey | 40
|
|
J3DAnmVisibilityFull | 24
|
|
J3DAnmVtxColorFull | 48
|
|
J3DAnmVtxColorKey | 48
|
|
J3DColorBlockAmbientOn | 40
|
|
J3DColorBlockLightOff | 32
|
|
J3DColorBlockLightOn | 76
|
|
J3DColorBlockNull | 4
|
|
J3DColorChan | 2
|
|
J3DDeformData | 40
|
|
J3DDeformer | 20
|
|
J3DDisplayListObj | 16
|
|
J3DDrawBuffer | 36
|
|
J3DGXColor | 4
|
|
J3DGXColorS10 | 8
|
|
J3DIndBlockFull | 124
|
|
J3DIndBlockNull | 4
|
|
J3DIndTevStage | 4
|
|
J3DJoint | 92
|
|
J3DJointBlock | 16
|
|
J3DLightInfo | 904
|
|
J3DLightObj | 116
|
|
J3DMatColorAnm | 8
|
|
J3DMaterial | 76
|
|
J3DMaterial_v21 | 16
|
|
J3DMaterialAnm | 244
|
|
J3DMaterialBlock | 16
|
|
J3DMaterialData | 32
|
|
J3DMaterialDLBlock | 16
|
|
J3DModel | 220
|
|
J3DModelData | 228
|
|
J3DMtxBuffer | 60
|
|
J3DPatchedMaterial | 76
|
|
J3DPEBlockFogOff | 16
|
|
J3DPEBlockFull | 64
|
|
J3DPEBlockNull | 4
|
|
J3DPEBlockOpa | 4
|
|
J3DPEBlockTexEdge | 4
|
|
J3DPEBlockXlu | 4
|
|
J3DShape | 104
|
|
J3DShapeBlock | 16
|
|
J3DShapeDraw | 12
|
|
J3DShapeMtx | 8
|
|
J3DShapeMtxMulti | 16
|
|
J3DShapeMtxBBoardConcatView | 8
|
|
J3DShapeMtxConcatView | 8
|
|
J3dShapeMtxMultiConcatView | 16
|
|
J3DShapeMtxYBBoardConcatView | 8
|
|
J3DSkinDeform | 40
|
|
J3DTevBlock1 | 28
|
|
J3DTevBlock2 | 108
|
|
J3DTevBlock4 | 148
|
|
J3DTevBlock16 | 372
|
|
J3DTevBlockPatched | 216
|
|
J3DTevBlockNull | 8
|
|
J3DTevColorAnm | 8
|
|
J3DTevKColorAnm | 8
|
|
J3DTevOrder | 4
|
|
J3DTevStage | 8
|
|
J3DTevSwapModeTable | 1
|
|
J3DTexCoord | 6
|
|
J3DTexGenBlock4 | 108
|
|
J3DTexGenBlockBasic | 108
|
|
J3DTexGenBlockPatched | 92
|
|
J3DTexGenBlockNull | 4
|
|
J3DTexMtx | 148
|
|
J3DTexMtxAnm | 8
|
|
J3DTexMtxInfo | 148
|
|
J3DTexNoAnm | 12
|
|
J3DTexture | 12
|
|
J3DTextureBlock | 16
|
|
`JASMemPool<JAISe>` | 824
|
|
`JASMemPool<JAISoundChild>` | 100
|
|
`JASMemPool<JAISeq>` | 940
|
|
`JASMemPool<JAIStream>` | 712
|
|
`JASMemPool<Z2SoundHandlePool>` | 20
|
|
`JASMemPool<Z2Audible>` | 104
|
|
`JASMemPool<SpkSound>` | 96
|
|
JAUSectionHeap | 1332
|
|
JAUSeqDataBlock | 32
|
|
JAUSeqDataMgr_SeqCollection | 24
|
|
JAUSoundNameTable | 8
|
|
JAUSoundTable | 8
|
|
JAUStreamFileTable | 8
|
|
JFWDisplay | 76
|
|
JFWSystem | 124
|
|
JKRAramArchive | 108
|
|
JKRMemArchive | 112
|
|
JKRThread | 124
|
|
jmessage_tControl | 56
|
|
jmessage_tReference | 4728
|
|
jmessage_tSequenceProcessor | 184
|
|
jmessage_tRenderingProcessor | 392
|
|
jmessage_string_tControl | 56
|
|
jmessage_string_tReference | 136
|
|
JORFile | 304
|
|
jstudio_tAdaptor_message | 16
|
|
jstudio_tCreateObject_message | 12
|
|
JSUPtrLink | 12
|
|
JUTCacheFont | 184
|
|
JUTDbPrint | 20
|
|
JUTDirectPrint | 44
|
|
JUTFader | 28
|
|
JUTGamePad | 176
|
|
JUTGraphFifo | 28
|
|
JUTNameTab | 16
|
|
JUTPalette | 24
|
|
JUTProcBar | 308
|
|
JUTResFont | 112
|
|
JUTTexture | 64
|
|
JUTVideo | 88
|
|
JUTXfb | 32
|
|
mDoExt_3DlineMat1_c | 60
|
|
mDoExt_arrowPacket | 48
|
|
mDoExt_bckAnm | 28
|
|
mDoExt_blkAnm | 24
|
|
mDoExt_bpkAnm | 24
|
|
mDoExt_brkAnm | 24
|
|
mDoExt_btkAnm | 24
|
|
mDoExt_btpAnm | 24
|
|
mDoExt_circlePacket | 40
|
|
mDoExt_cubePacket | 52
|
|
mDoExt_cube8pPacket | 116
|
|
mDoExt_cylinderMPacket | 72
|
|
mDoExt_cylinderPacket | 44
|
|
mDoExt_invisibleModel | 8
|
|
mDoExt_linePacket | 48
|
|
mDoExt_McaMorf | 84
|
|
mDoExt_McaMorfSO | 88
|
|
mDoExt_pointPacket | 36
|
|
mDoExt_quadPacket | 72
|
|
mDoExt_spherePacket | 40
|
|
mDoExt_trianglePacket | 60
|
|
mDoExt_transAnmBas | 44
|
|
mDoExt_zelAnime | 92
|
|
navi_c | 100
|
|
renderingDmap_c | 56
|
|
STControl | 48
|
|
TAdaptor_actor | 336
|
|
TAdaptor_ambientLight | 104
|
|
TAdaptor_camera | 292
|
|
TAdaptor_fog | 144
|
|
TAdaptor_light | 288
|
|
TAdaptor_particle | 476
|
|
TAdaptor_sound | 328
|
|
TControl | 272
|
|
TCreateObject | 16
|
|
TFactory | 24
|
|
TNextOnFreeList | 4
|
|
TObject_actor | 56
|
|
TObject_ambientLight | 56
|
|
TObject_camera | 56
|
|
TObject_composite | 64
|
|
TObject_constant | 40
|
|
TObject_fog | 56
|
|
TObject_hermite | 128
|
|
TObject_message | 56
|
|
TObject_light | 56
|
|
TObject_list | 120
|
|
TObject_list_parameter | 120
|
|
TObject_particle | 56
|
|
TObject_transition | 112
|
|
TObject_TxyzRy | 24
|
|
TObject_sound | 56
|
|
TParse | 12
|
|
tParse_ | 8
|
|
TResourceContainer | 32
|
|
Z2SoundObjAnime | 76
|
|
Z2SoundObjSimple | 32
|
|
|
|
|
|
|
|
### Unreasonably long symbols
|
|
|
|
- `J3DMtxCalcAnimation<J3DMtxCalcAnimationAdaptorDefault<J3DMtxCalcCalcTransformMaya>,J3DMtxCalcJ3DSysInitMaya>` = 12
|
|
- `J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformBasic,J3DMtxCalcJ3DSysInitBasic>` = 4
|
|
- `J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya,J3DMtxCalcJ3DSysInitMaya>` = 4
|
|
- `J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformSoftimage,J3DMtxCalcJ3DSysInitSoftimage>` = 4
|
|
- jmessage_string_tRenderingProcessor = 1368
|
|
- jmessage_string_tSequenceProcessor = 140
|
|
- `JSUList<JUTException::JUTExMapFile>` = 20
|
|
_____________________________________________
|
|
|
|
|
|
|
|
|
|
|
|
## Member names
|
|
|
|
Class | Var Name | Type | Offset (inc. vt)
|
|
----------------------------|-------------------|-------------------|---------
|
|
dDlst_heapMap_c | m_heap | JKRHeap* | 4
|
|
dMenu_Collect2D_c | mpInsectScrn | dMenu_Insect_c | 164
|
|
dMenu_Letter_c | mpLineParent | CPaneMgr* | 744
|
|
dSelect_cursor_c | mpScreen | J2DScreen* | 4
|
|
dSelect_cursor_c | mpParent | CPaneMgr* | 16
|
|
DummyCheckHeap | mAlloc | void* | 24
|
|
DummyCheckHeap | mSize | int | 28
|
|
DummyCheckHeap | mHeap | JKRHeap* | 32
|
|
JASTrack | mParent | JASTrack* | 300
|
|
mDoDvdThd_mountAramArchive_c| mArchive | JKRAramArchive* | 28
|
|
mDoDvdThd_getResource_c | mArchive | JKRAramArchive* | 24
|
|
mDoExt_bckAnm | mAnm | int | 24
|
|
mDoGph_gInf_c::bloom_c | m_buffer | JKRHeap* | 16
|
|
mDoMain | mHeapBriefType | u8 | ?
|
|
stage_scls_info_dummy_class | num | u32 | 0
|
|
_____________________________________________
|
|
|
|
|
|
|
|
|
|
|
|
## Argument/Temp/Const names
|
|
|
|
Function | Var Name | Type | #
|
|
--------------------------------|-------------------|-------------------|---
|
|
cDyl_Unlink | i_profName | u16 | 1
|
|
dDlst_heapMap_c::draw | block | CMemBlock* | T
|
|
debugDisplay | HeapCheckTableNum | u32 | C
|
|
dStage_changeScene | scls | ? | T
|
|
dStage_changeScene | i_exitId | ? | 2
|
|
dStage_changeScene | room_no | ? | 4
|
|
dStage_playerInit | appen | ? | T
|
|
dStage_playerInit | i | ? | T
|
|
dStage_playerInit | num | ? | T
|
|
dStage_playerInit | stageProc | ? | T
|
|
dStage_stagInfo_GetParticleNo | layer | int | 2
|
|
fopAc_Execute | actor | void* | 1
|
|
JUTGamePad::getPortStatus | port | EPadPort | 1
|
|
main | status | int | T
|
|
mDoExt_bpkAnm::init | i_matTable | J3DMaterialTable* | 1
|
|
mDoExt_bpkAnm::init | i_btp | J3DAnmTexPattern* | 2
|
|
mDoExt_bpkAnm::init | i_anmPlay | int | 3
|
|
mDoExt_createDbPrintHeap | heapSize | int | 1
|
|
mDoExt_initFontCommon | mDoExt_font | ResFONT** | 1
|
|
mDoExt_initFontCommon | mDoExt_resfont | ResFONT** | 2
|
|
mDoExt_invJntPacket::draw | shapePkt | J3DShapePacket* | T
|
|
mDoExt_setCurrentHeap | heap | u32 | 1
|
|
mDoExt_setupShareTexture | i_modelData | J3DModelData* | 1
|
|
mDoExt_setupShareTexture | i_shareModelData | J3DModelData* | 2
|
|
mDoExt_setupShareTexture | texture | J3DTexture* | T
|
|
mDoExt_setupShareTexture | textureName | JUTNameTab* | T
|
|
mDoExt_setupShareTexture | shareTexture | J3DTexture* | T
|
|
mDoExt_setupShareTexture | shareTextureName | JUTNameTab* | T
|
|
mDoExt_setupShareTexture | j | int | T
|
|
mDoExt_setupShareTexture | tevBlock | ? | T
|
|
mDoExt_setupStageTexture | timg | ResTIMG* | T
|
|
mDoExt_removeMsgFont | mDoExt_resfont | ResFONT** | 2
|
|
mDoGph_gInf_c::create | faderPtr | JUTFader* | T
|
|
mDoLib_setResTimgObj | o_tlutObj | _GXTlutObj* | 4
|
|
mDoMch_Create | size | int | T
|
|
_____________________________________________
|
|
|