d_a_e_wb equivalent (#2667)

* Some work d_a_e_wb

* Match more in e_wb

* d_a_e_wb equivalent
This commit is contained in:
hatal175 2025-09-18 03:09:59 +03:00 committed by GitHub
parent d912d85322
commit 1aeb2a0c54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 3651 additions and 1331 deletions

View File

@ -445,14 +445,17 @@ S_find = .bss:0x000000AC; // type:object size:0x2 scope:global data:2byte
lbl_70_bss_AE = .bss:0x000000AE; // type:object size:0x1 data:byte
@4242 = .bss:0x000000B0; // type:object size:0xC scope:local
S_find_pos = .bss:0x000000BC; // type:object size:0xC scope:global align:4 data:float
lbl_70_bss_C8 = .bss:0x000000C8; // type:object size:0x1 data:byte
data_80519200 = .bss:0x000000C8; // type:object size:0x1 data:byte
data_80519201 = .bss:0x000000C9; // type:object size:0x1 data:byte
target_info = .bss:0x000000CC; // type:object size:0x28 scope:global data:4byte
target_info_count = .bss:0x000000F4; // type:object size:0x4 scope:global data:4byte
data_80519230 = .bss:0x000000F8; // type:object size:0x1 scope:local data:byte
check_index$5284 = .bss:0x000000FC; // type:object size:0xFF scope:local
rd_count = .bss:0x000001FC; // type:object size:0x4 scope:global data:4byte
lbl_70_bss_200 = .bss:0x00000200; // type:object size:0x1 data:byte
c_start = .bss:0x00000204; // type:object size:0x4 scope:global
@11269 = .bss:0x00000208; // type:object size:0xC scope:local
init$8899 = .bss:0x00000214; // type:object size:0x1 scope:local
@11272 = .bss:0x00000218; // type:object size:0xC scope:local
@11273 = .bss:0x00000224; // type:object size:0xC scope:local
@11274 = .bss:0x00000230; // type:object size:0xC scope:local
@ -460,9 +463,11 @@ c_start = .bss:0x00000204; // type:object size:0x4 scope:global
@11276 = .bss:0x00000248; // type:object size:0xC scope:local
set_pos$11268 = .bss:0x00000254; // type:object size:0x48 scope:local
@11412 = .bss:0x0000029C; // type:object size:0xC scope:local
init$9041 = .bss:0x000002A8; // type:object size:0x1 scope:local
@11415 = .bss:0x000002AC; // type:object size:0xC scope:local
@11416 = .bss:0x000002B8; // type:object size:0xC scope:local
set_pos$11411 = .bss:0x000002C4; // type:object size:0x24 scope:local
instanceCount = .bss:0x000002E8; // type:object size:0x1 scope:local
sInstance__40JASGlobalInstance<19JASDefaultBankTable> = .bss:0x000002EC; // type:object size:0x4 scope:global
sInstance__35JASGlobalInstance<14JASAudioThread> = .bss:0x000002F0; // type:object size:0x4 scope:global
sInstance__27JASGlobalInstance<7Z2SeMgr> = .bss:0x000002F4; // type:object size:0x4 scope:global

View File

@ -542,7 +542,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
lbl_244_bss_45 = .bss:0x00000045; // type:object size:0x1 data:byte
lbl_244_bss_46 = .bss:0x00000046; // type:object size:0x1 data:byte
lbl_244_bss_47 = .bss:0x00000047; // type:object size:0x1 data:byte
lbl_244_bss_48 = .bss:0x00000048; // type:object size:0x1 data:byte
l_HIOInit = .bss:0x00000048; // type:object size:0x1 data:byte
@4435 = .bss:0x0000004C; // type:object size:0xC scope:local
l_HIO = .bss:0x00000058; // type:object size:0x5C scope:global data:byte
@4746 = .bss:0x000000B4; // type:object size:0xC scope:local
@ -569,13 +569,16 @@ init$3883 = .bss:0x0000024C; // type:object size:0x1 scope:local
@6615 = .bss:0x00000250; // type:object size:0xC scope:local
ikki2_pos$6611 = .bss:0x0000025C; // type:object size:0x18 scope:local
@7515 = .bss:0x00000274; // type:object size:0xC scope:local
init$4754 = .bss:0x00000280; // type:object size:0x1 scope:local
sc$7514 = .bss:0x00000284; // type:object size:0xC scope:local
rd_count = .bss:0x00000290; // type:object size:0x4 scope:global data:4byte
@7814 = .bss:0x00000294; // type:object size:0xC scope:local
init$5045 = .bss:0x000002A0; // type:object size:0x1 scope:local
@7817 = .bss:0x000002A4; // type:object size:0xC scope:local
@7818 = .bss:0x000002B0; // type:object size:0xC scope:local
sh_pos$7813 = .bss:0x000002BC; // type:object size:0x24 scope:local
@7820 = .bss:0x000002E0; // type:object size:0xC scope:local
init$5051 = .bss:0x000002EC; // type:object size:0x1 scope:local
@7823 = .bss:0x000002F0; // type:object size:0xC scope:local
@7824 = .bss:0x000002FC; // type:object size:0xC scope:local
sh_posH$7819 = .bss:0x00000308; // type:object size:0x24 scope:local

View File

@ -119,10 +119,7 @@ public:
/* 0x0690 */ s16 mActionID;
/* 0x0692 */ s16 field_0x692;
/* 0x0694 */ int mShadowKey;
/* 0x0698 */ s16 field_0x698;
/* 0x069A */ s16 field_0x69a;
/* 0x069C */ s16 field_0x69c;
/* 0x069E */ s16 field_0x69e;
/* 0x0698 */ s16 field_0x698[4];
/* 0x06A0 */ s16 field_0x6a0;
/* 0x06A2 */ u8 field_0x6a2[0x6ae - 0x6a2];
/* 0x06AE */ csXyz field_0x6ae;
@ -131,7 +128,7 @@ public:
/* 0x06B8 */ u8 field_0x6b8[0x6ba - 0x6b8];
/* 0x06BA */ s16 field_0x6ba;
/* 0x06BC */ u8 field_0x6bc;
/* 0x06BD */ u8 field_0x6bd;
/* 0x06BD */ s8 field_0x6bd;
/* 0x06BE */ u16 field_0x6be;
/* 0x06C0 */ s8 field_0x6c0;
/* 0x06C4 */ f32 field_0x6c4;
@ -147,7 +144,7 @@ public:
/* 0x06DE */ s16 field_0x6de;
/* 0x06E0 */ s16 field_0x6e0;
/* 0x06E2 */ s16 field_0x6e2;
/* 0x06E4 */ u8 field_0x6e4;
/* 0x06E4 */ s8 field_0x6e4;
/* 0x06E5 */ u8 field_0x6e5[0x6ec - 0x6e5];
/* 0x06EC */ csXyz field_0x6ec[0x1d];
/* 0x079A */ s16 field_0x79a;
@ -163,21 +160,19 @@ public:
/* 0x07A8 */ f32 field_0x7a8;
/* 0x07AC */ dBgS_AcchCir field_0x7ac;
/* 0x07EC */ dBgS_ObjAcch mAcch;
/* 0x09C4 */ dCcD_Stts field_0x9c4;
/* 0x09C4 */ dCcD_Stts mStts;
/* 0x0A00 */ dCcD_Sph field_0xa00[7];
/* 0x1288 */ dCcD_Sph field_0x1288;
/* 0x13C0 */ dCcU_AtInfo field_0x13c0;
/* 0x13E4 */ u8 field_0x13e4;
/* 0x13E8 */ u32 field_0x13e8;
/* 0x13EC */ u32 field_0x13ec;
/* 0x13E8 */ u32 field_0x13e8[2];
/* 0x13F0 */ u32 field_0x13f0;
/* 0x13F4 */ u32 field_0x13f4;
/* 0x13F8 */ u32 field_0x13f8;
/* 0x13FC */ u32 field_0x13fc;
/* 0x1400 */ u32 field_0x1400;
/* 0x1404 */ u32 field_0x1404;
/* 0x1408 */ u32 field_0x1408;
/* 0x140C */ u32 field_0x140c;
/* 0x1408 */ u32 field_0x1408[2];
/* 0x1410 */ u32 field_0x1410;
/* 0x1414 */ u32 field_0x1414;
/* 0x1418 */ u32 field_0x1418;
@ -196,7 +191,7 @@ public:
/* 0x1648 */ mDoExt_3DlineMat1_c field_0x1648;
/* 0x1684 */ f32 field_0x1684;
/* 0x1688 */ s16 field_0x1688;
/* 0x168A */ u16 field_0x168a;
/* 0x168A */ s16 field_0x168a;
/* 0x168C */ f32 field_0x168c;
/* 0x1690 */ f32 field_0x1690;
/* 0x1694 */ u8 field_0x1694[0x169e - 0x1694];
@ -216,7 +211,7 @@ public:
/* 0x1710 */ f32 field_0x1710;
/* 0x1714 */ f32 field_0x1714;
/* 0x1718 */ f32 field_0x1718;
/* 0x171C */ u8 field_0x171c[0x1720 - 0x171c];
/* 0x171C */ f32 field_0x171c;
/* 0x1720 */ s8 field_0x1720;
/* 0x1721 */ s8 field_0x1721;
/* 0x1722 */ s8 field_0x1722;
@ -233,40 +228,6 @@ public:
STATIC_ASSERT(sizeof(e_wb_class) == 0x17EC);
class daE_WB_HIO_c : public JORReflexible {
public:
/* 807D248C */ daE_WB_HIO_c();
/* 807E20DC */ virtual ~daE_WB_HIO_c() {};
void genMessage(JORMContext*);
/* イノシシ - Wild Boar */
/* 0x00 */ // vtable
/* 0x04 */ s8 mId;
/* 0x08 */ f32 base_size; // 基本サイズ - Base Size
/* 0x0C */ f32 leader_size_ratio; // リーダーサイズ比 - Leader Size Ratio
/* 0x10 */ f32 movement_speed; // 移動速度 - Movement Speed
/* 0x14 */ f32 max_speed; // 最速度 - Max Speed
/* 0x18 */ f32 cavalry_battle_max_speed; // 騎馬戦最速 - Cavalry Battle Max Speed
/* 0x1C */ f32 normal_speed_vi;
/* 0x20 */ f32 medium_speed_vi;
/* 0x24 */ f32 mMaxSpeedVi;
/* 0x28 */ f32 leader_walking_speed; // 歩き速(リ)- Leader Walking Speed
/* 0x2C */ f32 leader_max_speed; // 最速度(リ)- Leader Max Speed
/* 0x30 */ f32 leader_cavalry_battle_max_speed; // 騎馬戦最(リ)- Leader Cavalry Battle Max Speed
/* 0x34 */ f32 mSingleRiderSpeed;
/* 0x38 */ f32 player_recognition_dist; // PL認識距離 - Player Recognition Distance
/* 0x3C */ f32 mPlayerMountedMaxSpeed;
/* 0x40 */ f32 mPlayerMountedMotionPlaybackSpeed;
/* 0x44 */ s16 mPlayerMountedDashTime;
/* 0x48 */ f32 mSearchIgnoreDistance1;
/* 0x4C */ f32 mSearchIgnoreDistance2;
/* 0x50 */ f32 mGuidanceDisplayDistance1;
/* 0x54 */ f32 mGuidanceDisplayDistance2;
/* 0x58 */ u8 field_0x58;
/* 0x59 */ u8 mNoReins;
};
STATIC_ASSERT(sizeof(daE_WB_HIO_c) == 0x5C);
#endif /* D_A_E_WB_H */

View File

@ -135,8 +135,17 @@ public:
m_demoMode = 1;
}
/* 807E27F8 */ void onDemoJumpDistance(f32, f32);
/* 807E28B8 */ void changeDemoPos0(cXyz const*);
/* 807E27F8 */ void onDemoJumpDistance(f32 param_1, f32 param_2) {
field_0x1768 = param_1;
field_0x176c = param_2;
field_0x1770 = param_1;
}
/* 807E28B8 */ void changeDemoPos0(cXyz const* pos) {
m_demoPos0 = *pos;
}
/* 80838498 */ void coHitCallbackBoarJump(fopAc_ac_c*);
/* 80838798 */ void coHitCallbackBoarHit(fopAc_ac_c*, dCcD_GObjInf*);
/* 80838904 */ void coHitCallbackCowHit(fopAc_ac_c*);

View File

@ -50,6 +50,7 @@ enum dCcD_Material {
enum dCcG_At_Spl {
/* 0x0 */ dCcG_At_Spl_UNK_0,
/* 0x1 */ dCcG_At_Spl_UNK_1,
/* 0x7 */ dCcG_At_Spl_UNK_7 = 0x7,
/* 0xD */ dCcG_At_Spl_UNK_D = 0xD,
};

File diff suppressed because it is too large Load Diff

View File

@ -696,7 +696,7 @@ static void ride_off(e_rd_class* i_this) {
}
bullbo->mActionID = 7;
bullbo->field_0x69a = cM_rndF(30.0f) + 80.0f;
bullbo->field_0x698[1] = cM_rndF(30.0f) + 80.0f;
}
}
@ -4145,7 +4145,7 @@ static void damage_check(e_rd_class* i_this) {
}
uVar1 = 3;
bullbo_p->field_0x69e = 100;
bullbo_p->field_0x698[3] = 100;
dComIfGs_onSaveDunSwitch(7);
} else {
uVar1 = 2;
@ -7011,7 +7011,7 @@ static void coach_game_actor_set(e_rd_class* i_this) {
}
}
static s8 gap_05_000002E8_bss;
static s8 instanceCount;
/* 80516B04-805171FC 012184 06F8+00 1/1 0/0 0/0 .text useHeapInit__FP10fopAc_ac_c */
static int useHeapInit(fopAc_ac_c* a_this) {
@ -7419,8 +7419,8 @@ static cPhs__Step daE_RD_Create(fopAc_ac_c* a_this) {
i_this->field_0x1100.Set(at_sph_src);
i_this->field_0x1100.SetStts(&i_this->mStts);
i_this->field_0x970 = gap_05_000002E8_bss | (u16)(cM_rndF(65535.0f)) & 0xFF00;
gap_05_000002E8_bss++;
i_this->field_0x970 = instanceCount | (u16)(cM_rndF(65535.0f)) & 0xFF00;
instanceCount++;
i_this->mSound.init(&a_this->current.pos, &a_this->eyePos, 3, 1);

File diff suppressed because it is too large Load Diff