mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-04 08:21:50 -04:00
T3: batch t3_S61 — restruct: batch t3_S61 rung S — 141 files (TUs; 141 drawable) · 168 bodies: 529 sites → members / 0 kept / 129 skipped · levers off 0 · compiles 324 in 96 s wall · final 141/141 identical · written 141 files | R22 check-all: 218 passed, 0 failed of 218 | type_census: 1650 definitions (523 layouts, 53 duplicate classes, 0 variant camps) · 340812 cast sites in 51350 bodies over 8 base classes (4 forms + A, coverage OK) · 229 lying declarations / 24 callees (+5293 K&R sites, +418 cross-binary apart) · controls 4/4 (restruct_cycle)
This commit is contained in:
+156
-156
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"head": "65b6dde5d1",
|
||||
"head": "35c65708e1",
|
||||
"stamp": "588cbf38c6e4",
|
||||
"generated": "2026-10-02 02:12",
|
||||
"generated": "2026-10-02 02:52",
|
||||
"aliases": [
|
||||
"main",
|
||||
"md_SC07_004",
|
||||
@@ -21,176 +21,176 @@
|
||||
"main": {
|
||||
"objects": 85,
|
||||
"identical": 85,
|
||||
"seconds": 6.695000000000001,
|
||||
"mean_s": 0.079
|
||||
"seconds": 8.086000000000004,
|
||||
"mean_s": 0.095
|
||||
},
|
||||
"md_SC07_004": {
|
||||
"objects": 1,
|
||||
"identical": 1,
|
||||
"seconds": 0.488,
|
||||
"mean_s": 0.488
|
||||
"seconds": 0.58,
|
||||
"mean_s": 0.58
|
||||
},
|
||||
"ov_SC03_015": {
|
||||
"objects": 32,
|
||||
"identical": 32,
|
||||
"seconds": 4.923000000000002,
|
||||
"mean_s": 0.154
|
||||
"seconds": 5.871000000000001,
|
||||
"mean_s": 0.183
|
||||
},
|
||||
"ov_SC04_011": {
|
||||
"objects": 28,
|
||||
"identical": 28,
|
||||
"seconds": 4.029000000000001,
|
||||
"mean_s": 0.144
|
||||
"seconds": 4.917999999999999,
|
||||
"mean_s": 0.176
|
||||
}
|
||||
},
|
||||
"per_object_seconds": {
|
||||
"build/src/800.o": 0.719,
|
||||
"build/src/800_b.o": 0.075,
|
||||
"build/src/800_b_2.o": 0.305,
|
||||
"build/src/800.o": 0.82,
|
||||
"build/src/800_b.o": 0.085,
|
||||
"build/src/800_b_2.o": 0.33,
|
||||
"build/src/800_b_o0a.o": 0.08,
|
||||
"build/src/800_c.o": 0.209,
|
||||
"build/src/800b2.o": 0.069,
|
||||
"build/src/apicard1.o": 0.063,
|
||||
"build/src/apicard2.o": 0.067,
|
||||
"build/src/apicard3.o": 0.068,
|
||||
"build/src/apicard4.o": 0.064,
|
||||
"build/src/apicard5.o": 0.066,
|
||||
"build/src/apicard6.o": 0.067,
|
||||
"build/src/apicard7.o": 0.07,
|
||||
"build/src/boot.o": 0.097,
|
||||
"build/src/gap.o": 0.078,
|
||||
"build/src/libapi1.o": 0.078,
|
||||
"build/src/libapi2.o": 0.059,
|
||||
"build/src/libc2_1.o": 0.061,
|
||||
"build/src/libc2_2.o": 0.058,
|
||||
"build/src/libcd1.o": 0.069,
|
||||
"build/src/libcd2.o": 0.068,
|
||||
"build/src/libetc.o": 0.063,
|
||||
"build/src/libgpu.o": 0.077,
|
||||
"build/src/libgpu2.o": 0.072,
|
||||
"build/src/libgs1.o": 0.058,
|
||||
"build/src/libgs2.o": 0.062,
|
||||
"build/src/libgs3.o": 0.05,
|
||||
"build/src/libgs4.o": 0.062,
|
||||
"build/src/libgs5.o": 0.059,
|
||||
"build/src/libgs6.o": 0.071,
|
||||
"build/src/libgs7.o": 0.066,
|
||||
"build/src/libgs8.o": 0.06,
|
||||
"build/src/libgte1.o": 0.059,
|
||||
"build/src/libgte10.o": 0.062,
|
||||
"build/src/libgte11.o": 0.053,
|
||||
"build/src/libgte12.o": 0.065,
|
||||
"build/src/libgte13.o": 0.064,
|
||||
"build/src/libgte14.o": 0.082,
|
||||
"build/src/libgte15.o": 0.061,
|
||||
"build/src/libgte16.o": 0.047,
|
||||
"build/src/libgte17.o": 0.058,
|
||||
"build/src/libgte18.o": 0.058,
|
||||
"build/src/libgte19.o": 0.063,
|
||||
"build/src/libgte2.o": 0.064,
|
||||
"build/src/libgte20.o": 0.063,
|
||||
"build/src/libgte21.o": 0.064,
|
||||
"build/src/libgte22.o": 0.06,
|
||||
"build/src/libgte23.o": 0.065,
|
||||
"build/src/libgte24.o": 0.062,
|
||||
"build/src/libgte25.o": 0.062,
|
||||
"build/src/libgte26.o": 0.064,
|
||||
"build/src/libgte27.o": 0.065,
|
||||
"build/src/libgte28.o": 0.077,
|
||||
"build/src/libgte29.o": 0.065,
|
||||
"build/src/libgte3.o": 0.058,
|
||||
"build/src/libgte30.o": 0.055,
|
||||
"build/src/libgte4.o": 0.069,
|
||||
"build/src/libgte5.o": 0.067,
|
||||
"build/src/libgte6.o": 0.089,
|
||||
"build/src/libgte7.o": 0.064,
|
||||
"build/src/libgte8.o": 0.062,
|
||||
"build/src/libgte9.o": 0.062,
|
||||
"build/src/libmcrd1.o": 0.069,
|
||||
"build/src/libmcrd2.o": 0.076,
|
||||
"build/src/libpad1.o": 0.071,
|
||||
"build/src/libpad2.o": 0.093,
|
||||
"build/src/sgap.o": 0.073,
|
||||
"build/src/sgap_2.o": 0.059,
|
||||
"build/src/sgap_3.o": 0.069,
|
||||
"build/src/sgap_4.o": 0.078,
|
||||
"build/src/sgap_5.o": 0.07,
|
||||
"build/src/sgap_6.o": 0.071,
|
||||
"build/src/sgap_8.o": 0.076,
|
||||
"build/src/snd1.o": 0.069,
|
||||
"build/src/snd10.o": 0.073,
|
||||
"build/src/snd11.o": 0.065,
|
||||
"build/src/snd12.o": 0.069,
|
||||
"build/src/snd2.o": 0.066,
|
||||
"build/src/snd3.o": 0.066,
|
||||
"build/src/snd4.o": 0.06,
|
||||
"build/src/snd5.o": 0.064,
|
||||
"build/src/snd6.o": 0.064,
|
||||
"build/src/snd7.o": 0.067,
|
||||
"build/src/snd8.o": 0.061,
|
||||
"build/src/snd9.o": 0.067,
|
||||
"build/src/md_SC07_004/md_SC07_004.o": 0.488,
|
||||
"build/src/ov_SC03_015/ov_SC03_015.o": 0.139,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_after.o": 0.501,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8012ACE0.o": 0.409,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135888.o": 0.077,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135A4C.o": 0.076,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135D20.o": 0.14,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801380E0.o": 0.171,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013C98C.o": 0.135,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013F350.o": 0.091,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013FFD8.o": 0.083,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80140608.o": 0.203,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015444C.o": 0.087,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80154C24.o": 0.186,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801588CC.o": 0.107,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80159C84.o": 0.079,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015A3C8.o": 0.084,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015AE2C.o": 0.104,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015C32C.o": 0.464,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8016AB6C.o": 0.246,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80171B4C.o": 0.118,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801734BC.o": 0.218,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801789AC.o": 0.071,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80178D40.o": 0.105,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017A4AC.o": 0.074,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017AE2C.o": 0.153,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017EB7C.o": 0.2,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80184440.o": 0.067,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801848E4.o": 0.275,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0b.o": 0.048,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0c.o": 0.065,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0d.o": 0.07,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0e.o": 0.077,
|
||||
"build/src/ov_SC04_011/ov_SC04_011.o": 0.12,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_after.o": 0.423,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8012ACE0.o": 0.355,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135888.o": 0.057,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135A4C.o": 0.06,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135D20.o": 0.121,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801380E0.o": 0.134,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013C98C.o": 0.121,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013F350.o": 0.081,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013FFD8.o": 0.071,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80140608.o": 0.184,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015444C.o": 0.068,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80154C24.o": 0.175,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801588CC.o": 0.094,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80159C84.o": 0.08,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015A3C8.o": 0.08,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015AE2C.o": 0.099,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015C32C.o": 0.353,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8016AB6C.o": 0.224,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80171B4C.o": 0.099,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801734BC.o": 0.173,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801789AC.o": 0.068,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80178D40.o": 0.093,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017A4AC.o": 0.064,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017AE2C.o": 0.105,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017D494.o": 0.42,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_o0b.o": 0.046,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_o0c.o": 0.061
|
||||
"build/src/800_c.o": 0.22,
|
||||
"build/src/800b2.o": 0.074,
|
||||
"build/src/apicard1.o": 0.107,
|
||||
"build/src/apicard2.o": 0.064,
|
||||
"build/src/apicard3.o": 0.07,
|
||||
"build/src/apicard4.o": 0.07,
|
||||
"build/src/apicard5.o": 0.07,
|
||||
"build/src/apicard6.o": 0.083,
|
||||
"build/src/apicard7.o": 0.066,
|
||||
"build/src/boot.o": 0.101,
|
||||
"build/src/gap.o": 0.093,
|
||||
"build/src/libapi1.o": 0.069,
|
||||
"build/src/libapi2.o": 0.065,
|
||||
"build/src/libc2_1.o": 0.075,
|
||||
"build/src/libc2_2.o": 0.077,
|
||||
"build/src/libcd1.o": 0.084,
|
||||
"build/src/libcd2.o": 0.072,
|
||||
"build/src/libetc.o": 0.077,
|
||||
"build/src/libgpu.o": 0.078,
|
||||
"build/src/libgpu2.o": 0.09,
|
||||
"build/src/libgs1.o": 0.075,
|
||||
"build/src/libgs2.o": 0.073,
|
||||
"build/src/libgs3.o": 0.08,
|
||||
"build/src/libgs4.o": 0.078,
|
||||
"build/src/libgs5.o": 0.081,
|
||||
"build/src/libgs6.o": 0.083,
|
||||
"build/src/libgs7.o": 0.081,
|
||||
"build/src/libgs8.o": 0.074,
|
||||
"build/src/libgte1.o": 0.081,
|
||||
"build/src/libgte10.o": 0.075,
|
||||
"build/src/libgte11.o": 0.08,
|
||||
"build/src/libgte12.o": 0.08,
|
||||
"build/src/libgte13.o": 0.089,
|
||||
"build/src/libgte14.o": 0.099,
|
||||
"build/src/libgte15.o": 0.078,
|
||||
"build/src/libgte16.o": 0.081,
|
||||
"build/src/libgte17.o": 0.073,
|
||||
"build/src/libgte18.o": 0.075,
|
||||
"build/src/libgte19.o": 0.085,
|
||||
"build/src/libgte2.o": 0.09,
|
||||
"build/src/libgte20.o": 0.077,
|
||||
"build/src/libgte21.o": 0.083,
|
||||
"build/src/libgte22.o": 0.087,
|
||||
"build/src/libgte23.o": 0.072,
|
||||
"build/src/libgte24.o": 0.08,
|
||||
"build/src/libgte25.o": 0.077,
|
||||
"build/src/libgte26.o": 0.077,
|
||||
"build/src/libgte27.o": 0.075,
|
||||
"build/src/libgte28.o": 0.088,
|
||||
"build/src/libgte29.o": 0.083,
|
||||
"build/src/libgte3.o": 0.081,
|
||||
"build/src/libgte30.o": 0.083,
|
||||
"build/src/libgte4.o": 0.082,
|
||||
"build/src/libgte5.o": 0.076,
|
||||
"build/src/libgte6.o": 0.077,
|
||||
"build/src/libgte7.o": 0.074,
|
||||
"build/src/libgte8.o": 0.077,
|
||||
"build/src/libgte9.o": 0.081,
|
||||
"build/src/libmcrd1.o": 0.101,
|
||||
"build/src/libmcrd2.o": 0.085,
|
||||
"build/src/libpad1.o": 0.084,
|
||||
"build/src/libpad2.o": 0.09,
|
||||
"build/src/sgap.o": 0.083,
|
||||
"build/src/sgap_2.o": 0.089,
|
||||
"build/src/sgap_3.o": 0.077,
|
||||
"build/src/sgap_4.o": 0.087,
|
||||
"build/src/sgap_5.o": 0.088,
|
||||
"build/src/sgap_6.o": 0.081,
|
||||
"build/src/sgap_8.o": 0.097,
|
||||
"build/src/snd1.o": 0.102,
|
||||
"build/src/snd10.o": 0.083,
|
||||
"build/src/snd11.o": 0.084,
|
||||
"build/src/snd12.o": 0.09,
|
||||
"build/src/snd2.o": 0.087,
|
||||
"build/src/snd3.o": 0.089,
|
||||
"build/src/snd4.o": 0.088,
|
||||
"build/src/snd5.o": 0.098,
|
||||
"build/src/snd6.o": 0.083,
|
||||
"build/src/snd7.o": 0.093,
|
||||
"build/src/snd8.o": 0.077,
|
||||
"build/src/snd9.o": 0.089,
|
||||
"build/src/md_SC07_004/md_SC07_004.o": 0.58,
|
||||
"build/src/ov_SC03_015/ov_SC03_015.o": 0.17,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_after.o": 0.549,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8012ACE0.o": 0.462,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135888.o": 0.088,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135A4C.o": 0.074,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80135D20.o": 0.177,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801380E0.o": 0.205,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013C98C.o": 0.166,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013F350.o": 0.118,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8013FFD8.o": 0.111,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80140608.o": 0.226,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015444C.o": 0.099,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80154C24.o": 0.22,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801588CC.o": 0.135,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80159C84.o": 0.094,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015A3C8.o": 0.114,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015AE2C.o": 0.131,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8015C32C.o": 0.516,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8016AB6C.o": 0.286,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80171B4C.o": 0.126,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801734BC.o": 0.242,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801789AC.o": 0.093,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80178D40.o": 0.144,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017A4AC.o": 0.104,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017AE2C.o": 0.218,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_8017EB7C.o": 0.25,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_80184440.o": 0.077,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_jr_801848E4.o": 0.323,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0b.o": 0.074,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0c.o": 0.089,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0d.o": 0.086,
|
||||
"build/src/ov_SC03_015/ov_SC03_015_o0e.o": 0.104,
|
||||
"build/src/ov_SC04_011/ov_SC04_011.o": 0.17,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_after.o": 0.495,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8012ACE0.o": 0.395,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135888.o": 0.065,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135A4C.o": 0.071,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80135D20.o": 0.151,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801380E0.o": 0.193,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013C98C.o": 0.139,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013F350.o": 0.103,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8013FFD8.o": 0.081,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80140608.o": 0.207,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015444C.o": 0.095,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80154C24.o": 0.214,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801588CC.o": 0.123,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80159C84.o": 0.105,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015A3C8.o": 0.106,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015AE2C.o": 0.132,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8015C32C.o": 0.411,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8016AB6C.o": 0.261,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80171B4C.o": 0.131,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801734BC.o": 0.207,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_801789AC.o": 0.081,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_80178D40.o": 0.12,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017A4AC.o": 0.095,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017AE2C.o": 0.123,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_jr_8017D494.o": 0.494,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_o0b.o": 0.073,
|
||||
"build/src/ov_SC04_011/ov_SC04_011_o0c.o": 0.077
|
||||
},
|
||||
"ok": true,
|
||||
"seconds": 2.0
|
||||
"seconds": 2.3
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2118
-1865
File diff suppressed because it is too large
Load Diff
@@ -1,33 +1,33 @@
|
||||
type_census — 2026-10-02T08:18:50Z at 65b6dde5d1 (src stamp 61641c90bea72ae5, tool e17c5fa676); 7306 files (4121 TUs + 3181 headers), 99109 function definitions; walk 38.0 s, total 196.3 s
|
||||
type_census — 2026-10-02T08:59:44Z at 491f8745cd (src stamp 914ebbc32dd83b02, tool e17c5fa676); 7306 files (4121 TUs + 3181 headers), 99109 function definitions; walk 46.7 s, total 218.1 s
|
||||
|
||||
DEFINITIONS 1650 struct/union bodies (+0 enums): canonical header 1021 · .c file-scope 0 · .c block-scope 600 · per-function shared headers 29 · other headers 0 · include/ 326
|
||||
1024 distinct names · 523 distinct layouts (0 unresolved) · 53 duplicate classes covering 496 names (tier 1 0 same-named, tier 2 53 opaque; 44 layout-twin classes / 472 names kept apart) · 42 exact-text classes / 546 copies · 0 VARIANT names (>1 layout) · 55 dead canonical names · 0 canonical names redefined in .c · 4300 scalar/alias typedefs · 145 forward decls
|
||||
CAST SITES deref 341364 = P 260929 + I 51514 + X 13790 + M 15131 (+ A address-of 18889; + C typed cast-member 170382) in 51489 bodies · coverage OK (raw {'P': 260929, 'I': 51514, 'X': 13790, 'A': 18889, 'C': 170382, 'M': 15131, 'K': 20379}) · refused 0 · absolute 0 · readability regex over raw text 263766
|
||||
by base: param 154747 · local 124987 · gaddr 40113 · nested 9773 · global 8631 · other 1614 · addr-of 1338 · ident 161
|
||||
by width: s2 104123 · u2 85293 · s4 82517 · u1 35463 · agg 13415 · p4 11063 · u4 7608 · s1 1882
|
||||
top bases: param_1(param) 57756 · a0(param) 40706 · arg0(param) 31630 · p(local) 13230 · cach(local) 8246 · buf(local) 7056 · s0(local) 6710 · s1(local) 6454 · flag(local) 5453 · dst(local) 4853 · iVar2(local) 4399 · iVar1(local) 3481 · cur(local) 3375 · p(param) 3082 · e(local) 3029 · src(local) 2599
|
||||
DECLARATIONS 99109 function definitions (1894 K&R) · 4279260 extern function declarations over 12088 names (3773 spelled >1 way) · 6421 names with >1 body text · 1078766 data externs over 55542 symbols (18498 typed >1 way) · asm-label aliases 5148 (159 names) · builtins {'memcpy': 301, 'abs': 1} · attributes {'packed': 26, 'aligned': 6}
|
||||
CAST SITES deref 340812 = P 260377 + I 51514 + X 13790 + M 15131 (+ A address-of 18889; + C typed cast-member 170911) in 51350 bodies · coverage OK (raw {'P': 260377, 'I': 51514, 'X': 13790, 'A': 18889, 'C': 170911, 'M': 15131, 'K': 20402}) · refused 0 · absolute 0 · readability regex over raw text 263214
|
||||
by base: param 154266 · local 124923 · gaddr 40113 · nested 9769 · global 8631 · other 1611 · addr-of 1338 · ident 161
|
||||
by width: s2 104073 · u2 85246 · s4 82469 · u1 35058 · agg 13415 · p4 11063 · u4 7606 · s1 1882
|
||||
top bases: param_1(param) 57353 · a0(param) 40675 · arg0(param) 31603 · p(local) 13196 · cach(local) 8246 · buf(local) 7056 · s0(local) 6695 · s1(local) 6452 · flag(local) 5453 · dst(local) 4853 · iVar2(local) 4399 · iVar1(local) 3481 · cur(local) 3375 · p(param) 3062 · e(local) 3028 · src(local) 2599
|
||||
DECLARATIONS 99109 function definitions (1894 K&R) · 4279260 extern function declarations over 12088 names (3773 spelled >1 way) · 6421 names with >1 body text · 1078766 data externs over 55542 symbols (18498 typed >1 way) · asm-label aliases 5148 (159 names) · builtins {'memcpy': 301, 'abs': 1} · attributes {'aligned': 6, 'packed': 26}
|
||||
lying declarations 229 over 24 callees {'K&R-empty': 216, 'narrow': 13} · K&R sites (marked, counted apart) 5293 over 200 callees · cross-binary (the fleet's definitions disagree, this binary has none) 418 over 96 callees
|
||||
STRUCT MAP 18674 types explain 337444/341364 deref sites (98.9 %); unassigned 3920; 3970 types span ≥2 bodies (281608 sites), 14704 single-body; types with conflicts 850, suspect 11
|
||||
merges by evidence {'param': 39256, 'assign': 19239, 'ret-of': 5757, 'arg': 10951, 'return': 1530, 'assign&': 1263, 'arg&': 276, 'field': 6812, 'nested': 9}; vetoed {'arg-conduit': 140239, 'ret-of-multisource': 6715, 'assign-multisource': 33664, 'arg&-conduit': 14638, 'field-multisource': 5316, 'ret-of': 563, 'assign&-multisource': 12225, 'arg&-no-overlap': 3404, 'assign': 315, 'arg-no-overlap': 38742, 'assign&': 338, 'arg': 132, 'return': 6, 'field': 32}
|
||||
Unkstruct_800B5CB8 sites 18324 bodies 4259 fields 128 size≥0x10c width-conflicts 50 sign-mixed 54 merges {'param': 9074, 'assign': 8588, 'arg': 7025, 'ret-of': 2429} at D_800B5CB8,D_800D3888,D_80181448 ptr D_8006386C,D_80074778,D_80074780
|
||||
STRUCT MAP 18444 types explain 336895/340812 deref sites (98.9 %); unassigned 3917; 3928 types span ≥2 bodies (282194 sites), 14516 single-body; types with conflicts 841, suspect 12
|
||||
merges by evidence {'param': 39256, 'arg': 11076, 'assign': 19265, 'ret-of': 5811, 'assign&': 1288, 'return': 1529, 'arg&': 213, 'field': 6797, 'nested': 9}; vetoed {'arg-conduit': 140394, 'assign-multisource': 33663, 'arg&-conduit': 14638, 'assign&-multisource': 12225, 'arg&-no-overlap': 3562, 'arg-no-overlap': 30073, 'ret-of-multisource': 6715, 'field-multisource': 5315, 'assign&': 314, 'assign': 280, 'ret-of': 320, 'arg': 62, 'return': 3, 'field': 72}
|
||||
Unkstruct_800D3888 sites 20952 bodies 4621 fields 128 size≥0x10c width-conflicts 50 sign-mixed 54 merges {'param': 9622, 'assign': 8701, 'arg': 7346, 'ret-of': 2876} at D_800D3888,D_800DE5A0,D_801269F0 ptr D_8006386C,D_80074778,D_80074780
|
||||
Unkstruct_cb638a45 sites 6477 bodies 381 fields 6 size≥0x10 width-conflicts 0 sign-mixed 0 merges {'param': 12, 'arg': 5}
|
||||
Unkstruct_80126B58 sites 5683 bodies 2651 fields 165 size≥0x24c width-conflicts 48 sign-mixed 50 merges {'param': 2110, 'arg': 1099, 'assign&': 104, 'assign': 43} at D_80126B58 ptr D_80126B58
|
||||
Unkstruct_80126B58 sites 6194 bodies 3144 fields 163 size≥0x24c width-conflicts 48 sign-mixed 51 merges {'param': 2158, 'arg': 1122, 'assign&': 104, 'assign': 44} at D_80126B58 ptr D_80126B58
|
||||
Unkstruct_dac960ce sites 4464 bodies 124 fields 13 size≥0x24c width-conflicts 0 sign-mixed 2 merges {'param': 2}
|
||||
Unkstruct_0caecd54 sites 4340 bodies 124 fields 23 size≥0xfe width-conflicts 0 sign-mixed 1 merges {'param': 2, 'assign': 1, 'return': 1}
|
||||
Unkstruct_f8ed2b9f sites 4061 bodies 4061 fields 1 size≥0x217 width-conflicts 0 sign-mixed 0 merges {'param': 2}
|
||||
Unkstruct_a32b99a1 sites 3936 bodies 123 fields 8 size≥0x4b width-conflicts 0 sign-mixed 1 merges {}
|
||||
Unkstruct_8e3dbe51 sites 3930 bodies 131 fields 5 size≥0x4c width-conflicts 0 sign-mixed 1 merges {}
|
||||
Unkstruct_80126948 sites 3295 bodies 1100 fields 34 size≥0xa4 width-conflicts 1 sign-mixed 10 merges {'assign': 103, 'arg': 16, 'param': 12, 'assign&': 4} at D_80126948,D_80126E60 ptr D_80114EE8,D_801151D4,D_80126948
|
||||
Unkstruct_57a28935 sites 3271 bodies 196 fields 26 size≥0xa4 width-conflicts 3 sign-mixed 9 merges {'param': 268, 'arg': 133}
|
||||
Unkstruct_1fa9e810 sites 3144 bodies 131 fields 3 size≥0x49 width-conflicts 0 sign-mixed 0 merges {}
|
||||
Unkstruct_30b21035 sites 3100 bodies 124 fields 13 size≥0x54 width-conflicts 0 sign-mixed 0 merges {}
|
||||
Unkstruct_80126948 sites 3034 bodies 848 fields 34 size≥0xa4 width-conflicts 0 sign-mixed 10 merges {'assign': 103, 'arg': 14, 'param': 6, 'assign&': 4} at D_80126948,D_80126E60 ptr D_80114EE8,D_801151D4,D_80126948
|
||||
GLOBAL BLOCKS 2124 runs of ≥4 adjacent scalar D_ symbols (14253 symbols): 0x800cf10c+0x34 ×29 (D_800CF10C..D_800CF13C) · 0x800a6580+0x3a ×27 (D_800A6580..D_800A65B8) · 0x801998a4+0x57 ×24 (D_801998A4..D_801998FA) · 0x80199840+0x56 ×23 (D_80199840..D_80199895) · 0x801a9608+0x50 ×22 (D_801A9608..D_801A9654) · 0x801ab708+0x54 ×21 (D_801AB708..D_801AB758) · 0x801b0df0+0x4b ×21 (D_801B0DF0..D_801B0E3A) · 0x801b83a0+0x4e ×21 (D_801B83A0..D_801B83ED)
|
||||
GLOBAL BLOCKS 2130 runs of ≥4 adjacent scalar D_ symbols (14279 symbols): 0x800cf10c+0x34 ×29 (D_800CF10C..D_800CF13C) · 0x800a6580+0x3a ×27 (D_800A6580..D_800A65B8) · 0x801998a4+0x57 ×24 (D_801998A4..D_801998FA) · 0x80199840+0x56 ×23 (D_80199840..D_80199895) · 0x801a9608+0x50 ×22 (D_801A9608..D_801A9654) · 0x801ab708+0x54 ×21 (D_801AB708..D_801AB758) · 0x801b0df0+0x4b ×21 (D_801B0DF0..D_801B0E3A) · 0x801b83a0+0x4e ×21 (D_801B83A0..D_801B83ED)
|
||||
PARKED (P36) 24 classes / 453 bodies / 691 needed sites → .run/P37/census/parked.tsv; needs {'signature': 13, 'struct': 7, '?': 4}; 22 PARK names are minimum-lever banks
|
||||
CONTROLS 4/4: player_block_widths OK (D_80078E8C:4/4 D_80078EB2:2/2 D_80078EB4:2/2 D_80078EB6:2/2 D_80078EB8:2/2 D_80078F08:4/4 D_80078F0C:4/4) · matrix_layouts OK (MATRIX=32 MATRIX_L48=48) · prim_layout_class OK (defs in 1 files, 1 spellings, 1/1 in one layout (64 B)) · tu_conflict_D_800A651C OK (s32:1202 | u8[]:9 | OtBlk[]:9 | OtBlk_80016450[]:8 | s32[]:7)
|
||||
|
||||
duplicate-layout classes (top 12): 4B×56 names (0 defs): B4_80165140, B4_8017F154, B4_8018750C, B4_8018AD9C… | 8B×46 names (0 defs): Blk8S16, Blk8_80126940, Blk8_80180A38, D_80195AF4_t… | 8B×45 names (0 defs): B8, B8_17F474, B8_80165140, B8_801851A8… | 8B×34 names (0 defs): Args_80182194, Blk8017FD54, Blk8_801A6AD0, Blk8_801AD914… | 20B×32 names (0 defs): Blk20_8017D110, Buf8017BF34_8017BF34, Buf8017BF50_8017C234, Loc_80180E10… | 16B×28 names (0 defs): Blk16X, Blk16_8017ECD4, Blk16_8018A4C4, Blk16_8018A8B8… | 6B×25 names (0 defs): D80190448_t, Pt6_8017D65C, ResMapCol, S6… | 32B×25 names (0 defs): Blk20_8016DF5C, Blk20_80180B78, Blk20_80184694, Blk32L_80133298… | 8B×22 names (22 defs): B8014, Blk8_80133CD4, Blk8_801463A0, Blk8_8017FF80… | 12B×19 names (19 defs): Blk12, Prim126, PrimC59C, PrimC974… | 8B×14 names (0 defs): CdFileLoc, Cmd_801805C8, M8_8016B6BC, Pair8_8017DDC4… | 4B×14 names (0 defs): D_801D0660_s, Ent_80186AE4, P4, Pair4_801B02DC…
|
||||
duplicate-layout classes (top 12): 4B×56 names (0 defs): B4_80165140, B4_8017F154, B4_8018750C, B4_8018AD9C… | 8B×46 names (0 defs): Blk8S16, Blk8_80126940, Blk8_80180A38, D_80195AF4_t… | 8B×45 names (0 defs): B8, B8_17F474, B8_80165140, B8_801851A8… | 8B×34 names (0 defs): Args_80182194, Blk8017FD54, Blk8_801A6AD0, Blk8_801AD914… | 20B×32 names (0 defs): Blk20_8017D110, Buf8017BF34_8017BF34, Buf8017BF50_8017C234, Loc_80180E10… | 16B×28 names (0 defs): Blk16X, Blk16_8017ECD4, Blk16_8018A4C4, Blk16_8018A8B8… | 32B×25 names (0 defs): Blk20_8016DF5C, Blk20_80180B78, Blk20_80184694, Blk32L_80133298… | 6B×25 names (0 defs): D80190448_t, Pt6_8017D65C, ResMapCol, S6… | 8B×22 names (22 defs): B8014, Blk8_80133CD4, Blk8_801463A0, Blk8_8017FF80… | 12B×19 names (19 defs): Blk12, Prim126, PrimC59C, PrimC974… | 8B×14 names (0 defs): CdFileLoc, Cmd_801805C8, M8_8016B6BC, Pair8_8017DDC4… | 4B×14 names (0 defs): D_801D0660_s, Ent_80186AE4, P4, Pair4_801B02DC…
|
||||
VARIANT names (top 12):
|
||||
|
||||
type_census: 1650 definitions (523 layouts, 53 duplicate classes, 0 variant camps) · 341364 cast sites in 51489 bodies over 8 base classes (4 forms + A, coverage OK) · 229 lying declarations / 24 callees (+5293 K&R sites, +418 cross-binary apart) · controls 4/4
|
||||
struct_map: 18674 types over 18674 clusters explain 337444/341364 sites (98.9 %); 3920 unassigned sites; 850 types with conflicts
|
||||
type_census: 1650 definitions (523 layouts, 53 duplicate classes, 0 variant camps) · 340812 cast sites in 51350 bodies over 8 base classes (4 forms + A, coverage OK) · 229 lying declarations / 24 callees (+5293 K&R sites, +418 cross-binary apart) · controls 4/4
|
||||
struct_map: 18444 types over 18444 clusters explain 336895/340812 sites (98.9 %); 3917 unassigned sites; 841 types with conflicts
|
||||
|
||||
@@ -5625,12 +5625,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180E3A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180E38[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180E3A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3426,12 +3426,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801816C2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801816C0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801816C2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3423,12 +3423,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186312[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186310[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186312[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80181CD6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80181CD4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80181CD6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184E6A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184E68[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184E6A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018224A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80182248[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018224A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80185432[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185430[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80185432[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801810B2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801810B0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801810B2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186012[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186010[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186012[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80189306[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80189304[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80189306[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3423,12 +3423,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018D6B6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018D6B4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018D6B6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180796[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180794[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180796[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3423,12 +3423,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8019339A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80193398[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8019339A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ s16 func_80185E80(s32 arg0) {
|
||||
if (CAST_SIGN(s16, arg0, 0x100) != 0) {
|
||||
goto ret0;
|
||||
}
|
||||
if (*(s32 *)(arg0 + 0xE8) & 0x200) {
|
||||
if (((Unkstruct_800B5CB8 *)arg0)->unkE8 & 0x200) {
|
||||
goto ret0;
|
||||
}
|
||||
var = p[CAST_SIGN(s16, arg0, 0x102) * 2 + 1];
|
||||
@@ -64,20 +64,20 @@ s16 func_80185E80(s32 arg0) {
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (*(s32 *)(arg0 + 0xE8) & 0x408) {
|
||||
if (((Unkstruct_800B5CB8 *)arg0)->unkE8 & 0x408) {
|
||||
var = 0;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
case 5:
|
||||
if ((*(s32 *)(arg0 + 0xE8) & 0x800) == 0) {
|
||||
if (*(s16 *)(arg0 + 0x76) < 0x81) {
|
||||
if ((((Unkstruct_800B5CB8 *)arg0)->unkE8 & 0x800) == 0) {
|
||||
if (((Unkstruct_800B5CB8 *)arg0)->unk76 < 0x81) {
|
||||
var = 0;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
flags = *(s32 *)(arg0 + 0xE8);
|
||||
flags = ((Unkstruct_800B5CB8 *)arg0)->unkE8;
|
||||
if (flags & 0x800) {
|
||||
var = 0;
|
||||
break;
|
||||
@@ -86,7 +86,7 @@ s16 func_80185E80(s32 arg0) {
|
||||
if ((flags & 0xA) != 2) {
|
||||
goto ret0;
|
||||
}
|
||||
*(u16 *)(arg0 + 0xFE) = *(u16 *)(arg0 + 0xFE) + 1;
|
||||
((Unkstruct_800B5CB8 *)arg0)->unkFE = CAST_SIGN(u16, arg0, 0xFE) + 1;
|
||||
goto ret0;
|
||||
}
|
||||
res = func_80186144((void *)arg0, 8);
|
||||
@@ -108,8 +108,8 @@ s16 func_80185E80(s32 arg0) {
|
||||
((Unkstruct_80126B58 *)arg0)->unk100 = nxt;
|
||||
}
|
||||
if (flag != 0) {
|
||||
if ((*(s32 *)(arg0 + 0xE8) & 0xA) == 2) {
|
||||
*(u16 *)(arg0 + 0xFE) = *(u16 *)(arg0 + 0xFE) + 1;
|
||||
if ((((Unkstruct_800B5CB8 *)arg0)->unkE8 & 0xA) == 2) {
|
||||
((Unkstruct_800B5CB8 *)arg0)->unkFE = CAST_SIGN(u16, arg0, 0xFE) + 1;
|
||||
}
|
||||
}
|
||||
return var;
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801937EA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801937E8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801937EA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3423,12 +3423,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180CFE[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180CFC[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180CFE[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186F36[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186F34[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186F36[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018CF8E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018CF8C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018CF8E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80182582[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80182580[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80182582[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80188BD6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80188BD4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80188BD6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018DCFA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018DCF8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018DCFA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018DEFE[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018DEFC[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018DEFE[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018772A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187728[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018772A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186F8A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186F88[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186F8A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5649,12 +5649,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801866C6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801866C4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801866C6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80181BB6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80181BB4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80181BB6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80187886[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187884[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80187886[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018FFC6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018FFC4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018FFC6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80187FB6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187FB4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80187FB6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80181D7E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80181D7C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80181D7E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018F09A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018F098[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018F09A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80189E92[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80189E90[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80189E92[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6681,7 +6681,7 @@ void func_801813D0(s32 a0) {
|
||||
dur = 0xB4;
|
||||
((Unkstruct_80126B58 *)s0)->unk100 = (rand() & 3) + 1;
|
||||
CAST_WIDTH(s32, s0, 0xE0) = dur;
|
||||
*(u16 *)(s0 + 0x84) = 1;
|
||||
((Unkstruct_80126B58 *)s0)->unk84 = 1;
|
||||
|
||||
if ((rand() & 3) != 0) {
|
||||
v1 = func_800291B4(0xCC) & 0xFF;
|
||||
@@ -6707,10 +6707,10 @@ void func_801813D0(s32 a0) {
|
||||
v0 = 4;
|
||||
}
|
||||
*(u8 *)(s0 + 0xFE) = v0;
|
||||
*(u8 *)(s0 + 0xFF) = 1;
|
||||
((Unkstruct_80126B58 *)s0)->unkFF = 1;
|
||||
} else {
|
||||
*(u8 *)(s0 + 0xFE) = rand() & 3;
|
||||
*(u8 *)(s0 + 0xFF) = 0;
|
||||
((Unkstruct_80126B58 *)s0)->unkFF = 0;
|
||||
}
|
||||
|
||||
end:
|
||||
@@ -6808,11 +6808,11 @@ void func_801816EC(s32 a0) {
|
||||
*(u16 *)(((Unkstruct_80126B58 *)s0)->unk20 + 0x2C) |= 0x10;
|
||||
CAST_WIDTH(s16, s0, 0x34) = 0;
|
||||
((Unkstruct_80126B58 *)s0)->unk1C = 0x1E;
|
||||
*(s16 *)(s0 + 0x98) = 0;
|
||||
((Unkstruct_80126B58 *)s0)->unk98 = 0;
|
||||
func_8002D4C8(0x526, 0);
|
||||
|
||||
p = s0;
|
||||
*(u16 *)(p + 0x7C) = CAST_SIGN(u16, p, 6);
|
||||
((Unkstruct_80126B58 *)p)->unk7C = CAST_SIGN(u16, p, 6);
|
||||
((Unkstruct_80126B58 *)p)->unk7E = CAST_SIGN(u16, p, 0xA);
|
||||
*(u16 *)(p + 0x80) = CAST_SIGN(u16, p, 0xE);
|
||||
func_8016AA50(p, 0xA);
|
||||
@@ -6913,8 +6913,8 @@ void func_80181954(s32 a0) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
flag = *(u8 *)(s0 + 0xFF) ^ 1;
|
||||
*(u8 *)(s0 + 0xFF) = flag;
|
||||
flag = ((Unkstruct_80126B58 *)s0)->unkFF ^ 1;
|
||||
((Unkstruct_80126B58 *)s0)->unkFF = flag;
|
||||
if (flag != 0) {
|
||||
((Unkstruct_80126B58 *)s0)->unk1C = 5;
|
||||
func_8012A828(s0, D_801B0DA4);
|
||||
@@ -6953,7 +6953,7 @@ void func_80181A44(s32 a0) {
|
||||
*(s16 *)(((Unkstruct_80126B58 *)s0)->unk20 + 0x12) = 0;
|
||||
}
|
||||
|
||||
*(s16 *)(s0 + 0x84) = 0xA;
|
||||
((Unkstruct_80126B58 *)s0)->unk84 = 0xA;
|
||||
((Unkstruct_80126B58 *)s0)->unk102 = 1;
|
||||
func_800291A0(0xCC, 1);
|
||||
|
||||
|
||||
@@ -3788,7 +3788,7 @@ void func_801830C0(s32 param_1) {
|
||||
|
||||
func_8012B178(pv, D_8018C50C);
|
||||
|
||||
if ((*(u16 *)(pv + 0x86) & 1) != 0) {
|
||||
if ((((Unkstruct_80126B58 *)pv)->unk86 & 1) != 0) {
|
||||
s32 mask = ((s32 (*)(s32))func_8012CBA4)(pv) & 0x2000;
|
||||
if (mask == 0) {
|
||||
func_8012ADE4((u8 *)pv);
|
||||
@@ -3796,14 +3796,14 @@ void func_801830C0(s32 param_1) {
|
||||
} else {
|
||||
s32 mask = func_8012CBCC(pv) & 0x2000;
|
||||
if (mask != 0) {
|
||||
*(u16 *)(pv + 0x86) |= 1;
|
||||
((Unkstruct_80126B58 *)pv)->unk86 |= 1;
|
||||
}
|
||||
}
|
||||
|
||||
func_80182D88(pv);
|
||||
|
||||
if (func_8012BEE8(pv) != 0) {
|
||||
if ((*(u16 *)(pv + 0x86) & 1) != 0) {
|
||||
if ((((Unkstruct_80126B58 *)pv)->unk86 & 1) != 0) {
|
||||
func_80183284((short *)pv);
|
||||
return;
|
||||
}
|
||||
@@ -3836,9 +3836,9 @@ void func_801830C0(s32 param_1) {
|
||||
}
|
||||
|
||||
if (func_8012CE2C(pv) != 0) {
|
||||
*(u16 *)(pv + 0x86) |= 1;
|
||||
((Unkstruct_80126B58 *)pv)->unk86 |= 1;
|
||||
} else {
|
||||
*(u16 *)(pv + 0x86) &= 0xFFFE;
|
||||
((Unkstruct_80126B58 *)pv)->unk86 &= 0xFFFE;
|
||||
}
|
||||
|
||||
func_8012A828(pv, (void *)D_801E3AE0);
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801829B2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801829B0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801829B2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80183D22[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80183D20[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80183D22[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180C02[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180C00[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180C02[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801839EA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801839E8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801839EA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018E026[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018E024[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018E026[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801819A2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801819A0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801819A2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801899C6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801899C4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801899C6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018E492[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018E490[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018E492[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018A2CA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018A2C8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018A2CA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184906[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184904[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184906[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184E22[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184E20[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184E22[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018C11E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018C11C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018C11E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018E542[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018E540[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018E542[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018F3EA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018F3E8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018F3EA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801877BA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801877B8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801877BA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4955,7 +4955,7 @@ void func_8017EF54(s32 param_1)
|
||||
((Unkstruct_80126B58 *)param_1)->unk2 += 1;
|
||||
*(s16 *)(((Unkstruct_80126B58 *)param_1)->unk20 + 0x18) = 0x2000;
|
||||
*(s16 *)(((Unkstruct_80126B58 *)param_1)->unk20 + 0x1A) = 0x2000;
|
||||
*(s32 *)(param_1 + 0x94) = rand() & 0xF;
|
||||
((Unkstruct_800B5CB8 *)param_1)->unk94 = rand() & 0xF;
|
||||
*(u32 *)(((Unkstruct_80126B58 *)param_1)->unk20 + 4) |= 0x50000000;
|
||||
*(u16 *)(((Unkstruct_80126B58 *)param_1)->unk20 + 0x2C) |= 0x10;
|
||||
}
|
||||
@@ -5286,7 +5286,7 @@ void func_8017F600(s32 arg0)
|
||||
func_8017F49C((void *)arg0);
|
||||
|
||||
((Unkstruct_80126B58 *)arg0)->unk1C = 0x30;
|
||||
*(s16 *)(arg0 + 0x84) = 0x30;
|
||||
((Unkstruct_800B5CB8 *)arg0)->unk84 = 0x30;
|
||||
func_80178B18(arg0, (s32)&D_80188EB8);
|
||||
}
|
||||
}
|
||||
@@ -5317,26 +5317,26 @@ void func_8017F704(s32 arg0)
|
||||
func_8018074C(arg0, arg0 + 0x24);
|
||||
if (((Unkstruct_80126B58 *)arg0)->unk70 == 0) {
|
||||
if (func_8012BEE8(arg0) != 0) {
|
||||
*(u16 *)(arg0 + 0xFE) = *(u16 *)(arg0 + 0xFE) + 4;
|
||||
((Unkstruct_80126B58 *)arg0)->unkE = ((Unkstruct_80126B58 *)arg0)->unk100 - *(u16 *)(arg0 + 0xFE);
|
||||
if (*(s16 *)(arg0 + 0xFE) >= 0x90) {
|
||||
((Unkstruct_800B5CB8 *)arg0)->unkFE = CAST_SIGN(u16, arg0, 0xFE) + 4;
|
||||
((Unkstruct_80126B58 *)arg0)->unkE = ((Unkstruct_80126B58 *)arg0)->unk100 - CAST_SIGN(u16, arg0, 0xFE);
|
||||
if (((Unkstruct_800B5CB8 *)arg0)->unkFE >= 0x90) {
|
||||
func_8017F4BC(arg0);
|
||||
} else {
|
||||
((Unkstruct_80126B58 *)arg0)->unk1C = 3;
|
||||
}
|
||||
}
|
||||
v1 = *(s16 *)(arg0 + 0x84);
|
||||
v1 = ((Unkstruct_800B5CB8 *)arg0)->unk84;
|
||||
if (v1 != 0) {
|
||||
cnt = v1 - 1;
|
||||
*(s16 *)(arg0 + 0x84) = cnt;
|
||||
((Unkstruct_800B5CB8 *)arg0)->unk84 = cnt;
|
||||
if (cnt == 0) {
|
||||
func_8002D4C8(0x757, 0);
|
||||
}
|
||||
}
|
||||
((int (*)(s32))func_80178970)(arg0);
|
||||
} else {
|
||||
((Unkstruct_80126B58 *)arg0)->unkE = ((Unkstruct_80126B58 *)arg0)->unk100 + *(u16 *)(CAST_WIDTH(s32, arg0, 0x64) + 0xFE);
|
||||
if (*(s16 *)(CAST_WIDTH(s32, arg0, 0x64) + 0xFE) >= 0x90) {
|
||||
((Unkstruct_80126B58 *)arg0)->unkE = ((Unkstruct_80126B58 *)arg0)->unk100 + CAST_NONSTRUCT(u16, CAST_WIDTH(s32, arg0, 0x64), 0xFE);
|
||||
if (CAST_NONSTRUCT(s16, CAST_WIDTH(s32, arg0, 0x64), 0xFE) >= 0x90) {
|
||||
func_8017F4BC(arg0);
|
||||
}
|
||||
}
|
||||
@@ -5634,7 +5634,7 @@ void func_8017FE04(s32 a0)
|
||||
{
|
||||
((Unkstruct_80126B58 *)a0)->unk2 = 4;
|
||||
func_8012E8A8((u8 *)a0);
|
||||
*(u16 *)(a0 + 0x98) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk98 = 0;
|
||||
CAST_WIDTH(u16, a0, 0x5C) = 0;
|
||||
func_8012E8E0(a0, (s32)&D_80188EF8);
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80188992[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80188990[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80188992[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018A38E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018A38C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018A38E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801839EE[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801839EC[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801839EE[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018356E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018356C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018356E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018894E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018894C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018894E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80187DDA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187DD8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80187DDA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80185EDA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185ED8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80185EDA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801873A6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801873A4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801873A6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186382[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186380[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186382[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80188C3A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80188C38[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80188C3A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186BEA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186BE8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186BEA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018D77A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018D778[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018D77A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018CE02[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018CE00[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018CE02[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5639,12 +5639,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184F62[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184F60[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184F62[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018375A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80183758[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018375A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180E06[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180E04[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180E06[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184826[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184824[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184826[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3425,12 +3425,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801873DA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801873D8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801873DA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801881E2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801881E0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801881E2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80185892[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185890[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80185892[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801814FA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801814F8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801814FA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80182F66[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80182F64[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80182F66[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018536A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185368[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018536A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80187376[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187374[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80187376[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018C422[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018C420[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018C422[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4577,8 +4577,8 @@ void func_8017E120(s32 a0) {
|
||||
|
||||
func_8012A828(a0, (void *)&D_8018D6D4);
|
||||
|
||||
t = *(u16 *)(a0 + 0x10A) + 1;
|
||||
*(u16 *)(a0 + 0x10A) = t;
|
||||
t = CAST_SIGN(u16, a0, 0x10A) + 1;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk10A = t;
|
||||
|
||||
if ((t & 3) != 0) {
|
||||
if (CAST_SIGN(s16, a0, 0x104) == 0) {
|
||||
@@ -4605,7 +4605,7 @@ void func_8017E120(s32 a0) {
|
||||
}
|
||||
|
||||
i = 8;
|
||||
if (*(s16 *)(a0 + 0x108) >= 0xD) {
|
||||
if (CAST_SIGN(s16, a0, 0x108) >= 0xD) {
|
||||
i = 2;
|
||||
}
|
||||
|
||||
@@ -4621,7 +4621,7 @@ void func_8017E120(s32 a0) {
|
||||
func_80146A6C(2, (void *)a0, 0, 0, 0, 2, 0);
|
||||
}
|
||||
|
||||
*(s16 *)(a0 + 0x108) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk108 = 0;
|
||||
((Unkstruct_80126B58 *)a0)->unk2 = ((Unkstruct_80126B58 *)a0)->unk2 + 1;
|
||||
} else {
|
||||
s16 d = CAST_SIGN(s16, a0, 0x102);
|
||||
@@ -4688,15 +4688,15 @@ void func_8017E324(s32 a0) {
|
||||
|
||||
m = flags & 0x8000;
|
||||
if (m != 0 || (flags & 0x6000) != 0x2000) {
|
||||
if (*(s16 *)(a0 + 0x106) == 0) {
|
||||
*(s16 *)(a0 + 0x106) = 0x111;
|
||||
if (((Unkstruct_800B5CB8 *)a0)->unk106 == 0) {
|
||||
((Unkstruct_800B5CB8 *)a0)->unk106 = 0x111;
|
||||
}
|
||||
if (((Unkstruct_80126B58 *)a0)->unk1C >= 5) {
|
||||
((Unkstruct_80126B58 *)a0)->unk1C = ((Unkstruct_80126B58 *)a0)->unk1C - 4;
|
||||
}
|
||||
*(u16 *)(a0 + 0x108) = *(u16 *)(a0 + 0x108) + 1;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk108 = ((Unkstruct_800B5CB8 *)a0)->unk108 + 1;
|
||||
} else {
|
||||
*(s16 *)(a0 + 0x106) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk106 = 0;
|
||||
}
|
||||
|
||||
v = ((Unkstruct_80126B58 *)a0)->unk1C - 1;
|
||||
@@ -4716,7 +4716,7 @@ void func_8017E324(s32 a0) {
|
||||
allocno (2 deaths) and loses $a1. Both must be s32 -- writing the expression
|
||||
inline lets convert_to_integer narrow it to UNSIGNED HImode (the u16 operand),
|
||||
which emits `ori $a1,$zero,0xfffd` instead of `addiu $a1,$zero,-0x3` + sll/sra. */
|
||||
if (*(s16 *)(a0 + 0x106) == 0) {
|
||||
if (((Unkstruct_800B5CB8 *)a0)->unk106 == 0) {
|
||||
s32 r = func_8012BB3C(a0 + 4, (s32)&D_801D42EC,
|
||||
*(s16 *)(((Unkstruct_80126B58 *)a0)->unk20 + 0x12), 8);
|
||||
s32 p = ((Unkstruct_80126B58 *)a0)->unk20;
|
||||
@@ -4727,13 +4727,13 @@ void func_8017E324(s32 a0) {
|
||||
} else {
|
||||
s32 q = ((Unkstruct_80126B58 *)a0)->unk20;
|
||||
s32 ang1;
|
||||
*(s16 *)(q + 0x12) = *(u16 *)(q + 0x12) + *(s16 *)(a0 + 0x106);
|
||||
*(s16 *)(q + 0x12) = *(u16 *)(q + 0x12) + ((Unkstruct_800B5CB8 *)a0)->unk106;
|
||||
ang1 = -3 - ((Unkstruct_80126B58 *)a0)->unk104;
|
||||
func_8017E8D4(a0, ang1, 0);
|
||||
}
|
||||
if (CAST_SIGN(s16, a0, 0x104) != 0) {
|
||||
if ((u32)*(s32 *)(a0 + 0x94) < 0xB) {
|
||||
*(s32 *)(a0 + 0x94) = *(s32 *)(a0 + 0x94) + 1;
|
||||
if ((u32)((Unkstruct_800B5CB8 *)a0)->unk94 < 0xB) {
|
||||
((Unkstruct_800B5CB8 *)a0)->unk94 = ((Unkstruct_800B5CB8 *)a0)->unk94 + 1;
|
||||
}
|
||||
if ((((Unkstruct_80126B58 *)a0)->unk1C & 7) == 0) {
|
||||
ret = 1;
|
||||
@@ -4770,10 +4770,10 @@ void func_8017E324(s32 a0) {
|
||||
second lui/addiu pair and splits the store into lui+sw($at). */
|
||||
s32 *tbl = &D_8018D8B4;
|
||||
|
||||
*(s16 *)(a0 + 0x10A) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk10A = 0;
|
||||
*tbl = ((Unkstruct_80126B58 *)a0)->unk88 | (CAST_SIGN(s16, a0, 0x8C) << 16);
|
||||
func_80178B70(a0, (s32)tbl - 0x1C);
|
||||
*(s16 *)(a0 + 0x98) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk98 = 0;
|
||||
((Unkstruct_80126B58 *)a0)->unk1C = 0x14;
|
||||
func_8012B200((u8 *)a0);
|
||||
((Unkstruct_80126B58 *)a0)->unk2 = 3;
|
||||
@@ -4781,11 +4781,11 @@ void func_8017E324(s32 a0) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (*(u16 *)(a0 + 0x5E) != 0) {
|
||||
if (CAST_WIDTH(u16, a0, 0x5E) != 0) {
|
||||
*(s16 *)(((Unkstruct_80126B58 *)a0)->unk20 + 0x12) = ((Unkstruct_80126B58 *)a0)->unk62;
|
||||
func_8017E8D4(a0, -0xF, 0);
|
||||
func_8017E948((s16 *)a0);
|
||||
*(s16 *)(a0 + 0x5E) = 0;
|
||||
CAST_WIDTH(s16, a0, 0x5E) = 0;
|
||||
((Unkstruct_80126B58 *)a0)->unk104 = 0xA;
|
||||
ret = 1;
|
||||
} else {
|
||||
@@ -4843,19 +4843,19 @@ void func_8017E718(s32 a0) {
|
||||
|
||||
func_80178970();
|
||||
|
||||
if (*(s16 *)(a0 + 0x108) < 0x10) {
|
||||
if (*(s16 *)(a0 + 0xFE) != 0) {
|
||||
if (CAST_SIGN(s16, a0, 0x108) < 0x10) {
|
||||
if (((Unkstruct_800B5CB8 *)a0)->unkFE != 0) {
|
||||
v1 = ((s32 (*)(s32))func_8012CBA4)(a0);
|
||||
} else {
|
||||
v1 = ((s32 (*)(s32))func_8012CBF4)(a0);
|
||||
}
|
||||
if ((v1 & 0x8000) != 0) {
|
||||
*(u16 *)(a0 + 0x108) = *(u16 *)(a0 + 0x108) + 1;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk108 = ((Unkstruct_800B5CB8 *)a0)->unk108 + 1;
|
||||
}
|
||||
if ((v1 & 0x2000) != 0) {
|
||||
*(s16 *)(a0 + 0xFE) = 1;
|
||||
((Unkstruct_800B5CB8 *)a0)->unkFE = 1;
|
||||
} else {
|
||||
*(s16 *)(a0 + 0xFE) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unkFE = 0;
|
||||
}
|
||||
} else {
|
||||
func_8012AD80(a0);
|
||||
@@ -4876,7 +4876,7 @@ void func_8017E718(s32 a0) {
|
||||
}
|
||||
}
|
||||
|
||||
*(s16 *)(a0 + 0x10A) = 1;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk10A = 1;
|
||||
func_8012B200((u8 *)a0);
|
||||
func_8012A828(a0, D_8018D64C);
|
||||
|
||||
@@ -5086,17 +5086,17 @@ void func_8017EC38(s32 a0) {
|
||||
|
||||
func_80178970();
|
||||
|
||||
v = *(u16 *)(a0 + 0x5E);
|
||||
v = CAST_WIDTH(u16, a0, 0x5E);
|
||||
if ((v == 0x9) | (v == 0x11)) {
|
||||
p = func_8012C658(0x30, 2, a0);
|
||||
if (p == 0) {
|
||||
return;
|
||||
}
|
||||
*(u16 *)(p + 0xA) -= 0x20;
|
||||
((Unkstruct_800B5CB8 *)p)->unkA -= 0x20;
|
||||
*(u16 *)(p + 0x16) -= 0x10;
|
||||
func_8002D4C8(0x829, 0);
|
||||
|
||||
*(s16 *)(a0 + 0x5E) = 0;
|
||||
CAST_WIDTH(s16, a0, 0x5E) = 0;
|
||||
func_8012A828(a0, D_8018D73C);
|
||||
|
||||
sp10[0] = 0;
|
||||
@@ -5104,9 +5104,9 @@ void func_8017EC38(s32 a0) {
|
||||
sp10[2] = 0x70000;
|
||||
func_8012B14C(a0, (s32)sp10);
|
||||
|
||||
*(s32 *)(a0 + 0x48) = 0x10000;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk48 = 0x10000;
|
||||
((Unkstruct_80126B58 *)a0)->unk1C = 0x40;
|
||||
*(s16 *)(a0 + 0x108) = 0;
|
||||
((Unkstruct_800B5CB8 *)a0)->unk108 = 0;
|
||||
((Unkstruct_80126B58 *)a0)->unk2 = 4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184C3E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184C3C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184C3E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018D66A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018D668[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018D66A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018683A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186838[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018683A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80185D3E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185D3C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80185D3E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018AEAA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018AEA8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018AEAA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80184C46[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80184C44[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80184C46[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018717A[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80187178[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018717A[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018A5AE[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018A5AC[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018A5AE[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018268E[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018268C[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018268E[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80188646[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80188644[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80188646[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801815AA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801815A8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801815AA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180C56[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180C54[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180C56[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80192EE6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80192EE4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80192EE6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7427,8 +7427,8 @@ void func_801840F8(void *a0) {
|
||||
s32 row;
|
||||
|
||||
func_8001C1E4(CAST_SIGN(void *, (s32)ent, 0x20),
|
||||
((Unkstruct_80126B58 *)*(s32 *)((s32)ent + 0x64))->unk20);
|
||||
*(u16 *)((s32)ent + 0x86) |= 8;
|
||||
((Unkstruct_80126B58 *)CAST_WIDTH(s32, (s32)ent, 0x64))->unk20);
|
||||
((Unkstruct_80126B58 *)ent)->unk86 |= 8;
|
||||
|
||||
row = n * 12 + tbl;
|
||||
((Unkstruct_80126B58 *)ent)->unk6 = *(u16 *)(row + 0) - *(u16 *)(row - 0xC);
|
||||
@@ -11003,12 +11003,12 @@ void func_80188E88(void *a0)
|
||||
func_8018A42C((void *)ent, &D_801E798C[i * 12]);
|
||||
func_8012B23C(ent);
|
||||
((Unkstruct_80126B58 *)ent)->unk10 =
|
||||
(((Unkstruct_80126B58 *)ent)->unk6 - ((Unkstruct_80126B58 *)*(s32 *)(ent + 0x64))->unk6) << 13;
|
||||
t = (((Unkstruct_80126B58 *)ent)->unkA - ((Unkstruct_80126B58 *)*(s32 *)(ent + 0x64))->unkA) << 15;
|
||||
(((Unkstruct_80126B58 *)ent)->unk6 - ((Unkstruct_80126B58 *)CAST_WIDTH(s32, ent, 0x64))->unk6) << 13;
|
||||
t = (((Unkstruct_80126B58 *)ent)->unkA - ((Unkstruct_80126B58 *)CAST_WIDTH(s32, ent, 0x64))->unkA) << 15;
|
||||
((Unkstruct_80126B58 *)ent)->unk14 = t;
|
||||
CAST_WIDTH(s32, ent, 0xE0) = t;
|
||||
((Unkstruct_80126B58 *)ent)->unk18 =
|
||||
(((Unkstruct_80126B58 *)ent)->unkE - ((Unkstruct_80126B58 *)*(s32 *)(ent + 0x64))->unkE) << 13;
|
||||
(((Unkstruct_80126B58 *)ent)->unkE - ((Unkstruct_80126B58 *)CAST_WIDTH(s32, ent, 0x64))->unkE) << 13;
|
||||
break;
|
||||
default:
|
||||
func_8001C214(((Unkstruct_80126B58 *)ent)->unk20, D_801948F0[CAST_SIGN(u16, ent, 0x70) & 3]);
|
||||
@@ -11023,7 +11023,7 @@ void func_80188E88(void *a0)
|
||||
}
|
||||
|
||||
*(u16 *)(ent + 0x106) = rand() & 0xF0;
|
||||
*(u16 *)(ent + 0x108) = rand() & 0xF0;
|
||||
((Unkstruct_80126B58 *)ent)->unk108 = rand() & 0xF0;
|
||||
((Unkstruct_80126B58 *)ent)->unk1C = ((Unkstruct_80126B58 *)ent)->unk70;
|
||||
done:
|
||||
func_8012AD50((void *)ent);
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_801810BA[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_801810B8[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_801810BA[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80186FF2[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80186FF0[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80186FF2[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80182AB6[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80182AB4[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80182AB6[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3426,12 +3426,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_8018FCCE[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_8018FCCC[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_8018FCCE[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3424,12 +3424,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80185E06[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80185E04[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80185E06[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3422,12 +3422,12 @@ void func_80161C24(int param_1, int param_2)
|
||||
extern unsigned short D_80180D46[];
|
||||
|
||||
if ((unsigned int)param_2 < 8) {
|
||||
if (*(u8 *)(param_1 + 0xDA) != 0) {
|
||||
if (((Unkstruct_80126B58 *)param_1)->unkDA != 0) {
|
||||
func_80147324(D_80180D44[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 0;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 0;
|
||||
} else {
|
||||
func_80147324(D_80180D46[(unsigned int)param_2 * 2]);
|
||||
*(u8 *)(param_1 + 0xDA) = 1;
|
||||
((Unkstruct_80126B58 *)param_1)->unkDA = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user