Skip to content

Commit 6bc4faa

Browse files
authored
d_a_obj_brg matching (#2539)
1 parent 522f064 commit 6bc4faa

File tree

6 files changed

+360
-445
lines changed

6 files changed

+360
-445
lines changed

config/GZ2E01/rels/d_a_obj_brg/symbols.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ _epilog = .text:0x0000002C; // type:function size:0x2C scope:global
33
_unresolved = .text:0x00000058; // type:function size:0x20 scope:global
44
__register_global_object = .text:0x00000078; // type:function size:0x1C scope:global
55
__destroy_global_chain = .text:0x00000094; // type:function size:0x58 scope:global
6-
ride_call_back__FP4dBgWP10fopAc_ac_cP10fopAc_ac_c = .text:0x000000EC; // type:function size:0x3F0 scope:global
6+
ride_call_back__FP4dBgWP10fopAc_ac_cP10fopAc_ac_c = .text:0x000000EC; // type:function size:0x3F0 scope:local
77
__dt__4cXyzFv = .text:0x000004DC; // type:function size:0x3C scope:global
8-
daObj_Brg_Draw__FP13obj_brg_class = .text:0x00000518; // type:function size:0xA08 scope:global
8+
daObj_Brg_Draw__FP13obj_brg_class = .text:0x00000518; // type:function size:0xA08 scope:local
99
control1__FP13obj_brg_classP4br_s = .text:0x00000F20; // type:function size:0x324 scope:global
1010
control2__FP13obj_brg_classP4br_s = .text:0x00001244; // type:function size:0x1C4 scope:global
1111
control3__FP13obj_brg_classP4br_s = .text:0x00001408; // type:function size:0xC0 scope:global
1212
cut_control1__FP13obj_brg_classP4br_s = .text:0x000014C8; // type:function size:0x320 scope:global
1313
cut_control2__FP13obj_brg_classP4br_s = .text:0x000017E8; // type:function size:0x330 scope:global
1414
himo_cut_control1__FP13obj_brg_classP4cXyzf = .text:0x00001B18; // type:function size:0x240 scope:global
1515
obj_brg_move__FP13obj_brg_class = .text:0x00001D58; // type:function size:0xCA4 scope:global
16-
daObj_Brg_Execute__FP13obj_brg_class = .text:0x000029FC; // type:function size:0x1618 scope:global
17-
daObj_Brg_IsDelete__FP13obj_brg_class = .text:0x00004014; // type:function size:0x20 scope:global
18-
daObj_Brg_Delete__FP13obj_brg_class = .text:0x00004034; // type:function size:0x5C scope:global
16+
daObj_Brg_Execute__FP13obj_brg_class = .text:0x000029FC; // type:function size:0x1618 scope:local
17+
daObj_Brg_IsDelete__FP13obj_brg_class = .text:0x00004014; // type:function size:0x20 scope:local
18+
daObj_Brg_Delete__FP13obj_brg_class = .text:0x00004034; // type:function size:0x5C scope:local
1919
CreateInit__FP10fopAc_ac_c = .text:0x00004090; // type:function size:0x190 scope:global
20-
CallbackCreateHeap__FP10fopAc_ac_c = .text:0x00004220; // type:function size:0x610 scope:global
21-
daObj_Brg_Create__FP10fopAc_ac_c = .text:0x00004830; // type:function size:0xD24 scope:global
20+
CallbackCreateHeap__FP10fopAc_ac_c = .text:0x00004220; // type:function size:0x610 scope:local
21+
daObj_Brg_Create__FP10fopAc_ac_c = .text:0x00004830; // type:function size:0xD24 scope:local
2222
__dt__8dCcD_CylFv = .text:0x00005554; // type:function size:0xCC scope:global
2323
__ct__8dCcD_CylFv = .text:0x00005620; // type:function size:0x84 scope:global
2424
__dt__8cM3dGCylFv = .text:0x000056A4; // type:function size:0x48 scope:global
@@ -173,10 +173,10 @@ obj_brg_bmd$5576 = .rodata:0x00000160; // type:object size:0xC scope:local
173173
@stringBase0 = .rodata:0x00000244; // type:object size:0x17 scope:local data:string_table
174174
l_color$4002 = .data:0x00000000; // type:object size:0x4 scope:local
175175
l_color$4042 = .data:0x00000004; // type:object size:0x4 scope:local
176-
ita_z_p = .data:0x00000008; // type:object size:0x2C scope:global align:4 data:float
176+
ita_z_p = .data:0x00000008; // type:object size:0x2C scope:local align:4 data:float
177177
himo_cyl_src$5532 = .data:0x00000034; // type:object size:0x44 scope:local
178178
wire_cyl_src$5533 = .data:0x00000078; // type:object size:0x44 scope:local
179-
l_daObj_Brg_Method = .data:0x000000BC; // type:object size:0x20 scope:global
179+
l_daObj_Brg_Method = .data:0x000000BC; // type:object size:0x20 scope:local
180180
g_profile_OBJ_BRG = .data:0x000000DC; // type:object size:0x30 scope:global
181181
__vt__8cM3dGAab = .data:0x0000010C; // type:object size:0xC scope:global
182182
__vt__8cM3dGCyl = .data:0x00000118; // type:object size:0xC scope:global
@@ -199,7 +199,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
199199
@1012 = .bss:0x0000003C; // type:object size:0x1 scope:local
200200
@1010 = .bss:0x00000040; // type:object size:0x1 scope:local
201201
@1009 = .bss:0x00000044; // type:object size:0x1 scope:local
202-
wy = .bss:0x00000046; // type:object size:0x2 scope:global data:2byte
202+
wy = .bss:0x00000046; // type:object size:0x2 scope:local data:2byte
203203
@5786 = .bss:0x00000048; // type:object size:0xC scope:local
204204
@5789 = .bss:0x00000058; // type:object size:0xC scope:local
205205
@5790 = .bss:0x00000064; // type:object size:0xC scope:local

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ def MatchingFor(*versions) -> bool:
18911891
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_bmshutter"),
18921892
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_bombf"),
18931893
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_boumato"),
1894-
ActorRel(NonMatching, "d_a_obj_brg"),
1894+
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_brg"),
18951895
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_bsGate"),
18961896
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_bubblePilar"),
18971897
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_catdoor"),

include/d/actor/d_a_obj_brg.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ class obj_brg_class : public fopAc_ac_c {
8989
/* 0xB1EE */ u8 field_0xB1EE[0xB1EF - 0xB1EE];
9090
/* 0xB1EF */ s8 field_0xb1ef;
9191
/* 0xB1F0 */ s8 field_0xb1f0;
92-
/* 0xB1F1 */ u8 field_0xb1f1;
93-
/* 0xB1F2 */ u8 field_0xb1f2[0xb1f8 - 0xB1F2];
92+
/* 0xB1F1 */ s8 field_0xb1f1;
93+
/* 0xB1F2 */ s8 field_0xb1f2[2];
94+
/* 0xB1F4 */ u8 field_0xb1f4[0xb1f8 - 0xB1F4];
9495
};
9596

9697
STATIC_ASSERT(sizeof(obj_brg_class) == 0xb1f8);

include/d/actor/d_a_player.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ class daPy_py_c : public fopAc_ac_c {
757757
virtual BOOL checkCutCharge() const { return FALSE; }
758758
virtual BOOL checkCutTurnCharge() const { return FALSE; }
759759
virtual BOOL checkCutLargeJumpCharge() const { return FALSE; }
760-
virtual bool getBokoFlamePos(cXyz*) { return FALSE; }
760+
virtual BOOL getBokoFlamePos(cXyz*) { return FALSE; }
761761
virtual BOOL checkComboCutTurn() const { return FALSE; }
762762
virtual BOOL checkClimbMove() const { return FALSE; }
763763
virtual BOOL checkGrassWhistle() const { return FALSE; }

0 commit comments

Comments
 (0)