mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
De-duplicate more UnkNpcAIMainFunc occurrences (#659)
This commit is contained in:
parent
9cd911765d
commit
55a849a50a
@ -143,7 +143,7 @@ NpcAISettings N(npcAI_80244100) = {
|
||||
};
|
||||
|
||||
EvtScript N(80244130) = {
|
||||
EVT_CALL(N(func_80240B94_C40944), EVT_PTR(N(npcAI_80244100)))
|
||||
EVT_CALL(N(UnkNpcAIMainFunc), EVT_PTR(N(npcAI_80244100)))
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
};
|
||||
@ -460,7 +460,7 @@ EvtScript N(npcAI_80244D7C) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(N(func_80240B94_C40944), EVT_PTR(N(npcAI_80244100)))
|
||||
EVT_CALL(N(UnkNpcAIMainFunc), EVT_PTR(N(npcAI_80244100)))
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
};
|
||||
@ -1010,90 +1010,7 @@ EvtScript N(802469E0) = {
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
ApiStatus N(func_80240B94_C40944)(Evt* script, s32 isInitialCall) {
|
||||
Enemy* enemy = script->owner1.enemy;
|
||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
EnemyTerritoryThing territory;
|
||||
EnemyTerritoryThing* territoryPtr = &territory;
|
||||
NpcAISettings* npcAISettings = (NpcAISettings*)evt_get_variable(script, *args++);
|
||||
f32 posX, posY, posZ, posW;
|
||||
|
||||
territory.unk_00 = 0;
|
||||
territory.shape = enemy->territory->patrol.detectShape;
|
||||
territory.pointX = enemy->territory->patrol.detect.x;
|
||||
territory.pointZ = enemy->territory->patrol.detect.z;
|
||||
territory.sizeX = enemy->territory->patrol.detectSizeX;
|
||||
territory.sizeZ = enemy->territory->patrol.detectSizeZ;
|
||||
territory.unk_18 = 65.0f;
|
||||
territory.unk_1C = 0;
|
||||
|
||||
if (isInitialCall || enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 0;
|
||||
npc->duration = 0;
|
||||
npc->currentAnim.w = enemy->animList[0];
|
||||
npc->flags &= ~0x800;
|
||||
if (!enemy->territory->patrol.isFlying) {
|
||||
npc->flags = (npc->flags | 0x200) & ~8;
|
||||
} else {
|
||||
npc->flags = (npc->flags & ~0x200) | 8;
|
||||
}
|
||||
|
||||
if (enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 99;
|
||||
script->functionTemp[1] = 0;
|
||||
enemy->unk_B0 &= ~4;
|
||||
} else if (enemy->flags & ENEMY_FLAGS_40000000) {
|
||||
script->functionTemp[0] = 12;
|
||||
enemy->flags &= ~ENEMY_FLAGS_40000000;
|
||||
}
|
||||
|
||||
posX = npc->pos.x;
|
||||
posY = npc->pos.y + npc->collisionHeight;
|
||||
posZ = npc->pos.z;
|
||||
posW = 100.0f;
|
||||
|
||||
if (npc_raycast_down_sides(npc->collisionChannel, &posX, &posY, &posZ, &posW)) {
|
||||
npc->pos.y = posY;
|
||||
}
|
||||
}
|
||||
|
||||
switch (script->functionTemp[0]) {
|
||||
case 0:
|
||||
N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr);
|
||||
case 1:
|
||||
N(UnkFunc13)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 2:
|
||||
N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr);
|
||||
case 3:
|
||||
N(UnkFunc14)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 4:
|
||||
N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 10:
|
||||
N(NpcJumpFunc2)(script, npcAISettings, territoryPtr);
|
||||
case 11:
|
||||
N(NpcJumpFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 12:
|
||||
N(UnkNpcAIFunc13)(script, npcAISettings, territoryPtr);
|
||||
case 13:
|
||||
N(UnkFunc15)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 14:
|
||||
N(UnkNpcDurationFlagFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 15:
|
||||
N(UnkFunc16)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 99:
|
||||
func_8004A73C(script);
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/UnkNpcAIFunc6.inc.c"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#define NAMESPACE dgb_08
|
||||
|
||||
ApiStatus N(UnkFunc1)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_80240B94_C40944)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkNpcAIMainFunc)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkFunc7)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_802414AC_C4125C)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_802438F0_C436A0)(Evt* script, s32 isInitialCall);
|
||||
|
@ -340,7 +340,7 @@ EvtScript N(npcAI_8024274C) = {
|
||||
EVT_CALL(SetNpcFlagBits, NPC_SELF, ((NPC_FLAG_GRAVITY)), TRUE)
|
||||
EVT_CALL(SetNpcAnimation, 0, NPC_ANIM_world_tubba_Palette_00_Anim_C)
|
||||
EVT_EXEC(N(802424E8))
|
||||
EVT_CALL(N(func_80241464_C50974), EVT_PTR(N(npcAISettings_8024271C)))
|
||||
EVT_CALL(N(UnkNpcAIMainFunc), EVT_PTR(N(npcAISettings_8024271C)))
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
};
|
||||
@ -583,89 +583,7 @@ ApiStatus N(func_8024061C_C4FB2C)(Evt* script, s32 isInitialCall) {
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
ApiStatus N(func_80241464_C50974)(Evt* script, s32 isInitialCall) {
|
||||
Enemy* enemy = script->owner1.enemy;
|
||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
EnemyTerritoryThing territory;
|
||||
EnemyTerritoryThing* territoryPtr = &territory;
|
||||
NpcAISettings* npcAISettings = (NpcAISettings*)evt_get_variable(script, *args++);
|
||||
f32 posX, posY, posZ, posW;
|
||||
|
||||
territory.unk_00 = 0;
|
||||
territory.shape = enemy->territory->patrol.detectShape;
|
||||
territory.pointX = enemy->territory->patrol.detect.x;
|
||||
territory.pointZ = enemy->territory->patrol.detect.z;
|
||||
territory.sizeX = enemy->territory->patrol.detectSizeX;
|
||||
territory.sizeZ = enemy->territory->patrol.detectSizeZ;
|
||||
territory.unk_18 = 65.0f;
|
||||
territory.unk_1C = 0;
|
||||
|
||||
if (isInitialCall || enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 0;
|
||||
npc->duration = 0;
|
||||
npc->currentAnim.w = enemy->animList[0];
|
||||
npc->flags &= ~0x800;
|
||||
if (!enemy->territory->patrol.isFlying) {
|
||||
npc->flags = (npc->flags | 0x200) & ~8;
|
||||
} else {
|
||||
npc->flags = (npc->flags & ~0x200) | 8;
|
||||
}
|
||||
|
||||
if (enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 99;
|
||||
script->functionTemp[1] = 0;
|
||||
enemy->unk_B0 &= ~4;
|
||||
} else if (enemy->flags & ENEMY_FLAGS_40000000) {
|
||||
script->functionTemp[0] = 12;
|
||||
enemy->flags &= ~ENEMY_FLAGS_40000000;
|
||||
}
|
||||
|
||||
posX = npc->pos.x;
|
||||
posY = npc->pos.y + npc->collisionHeight;
|
||||
posZ = npc->pos.z;
|
||||
posW = 100.0f;
|
||||
|
||||
if (npc_raycast_down_sides(npc->collisionChannel, &posX, &posY, &posZ, &posW)) {
|
||||
npc->pos.y = posY;
|
||||
}
|
||||
}
|
||||
|
||||
switch (script->functionTemp[0]) {
|
||||
case 0:
|
||||
N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr);
|
||||
case 1:
|
||||
N(UnkFunc13)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 2:
|
||||
N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr);
|
||||
case 3:
|
||||
N(UnkFunc14)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 4:
|
||||
N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 10:
|
||||
N(NpcJumpFunc2)(script, npcAISettings, territoryPtr);
|
||||
case 11:
|
||||
N(NpcJumpFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 12:
|
||||
N(UnkNpcAIFunc13)(script, npcAISettings, territoryPtr);
|
||||
case 13:
|
||||
N(UnkFunc15)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 14:
|
||||
N(UnkNpcDurationFlagFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 15:
|
||||
N(UnkFunc16)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 99:
|
||||
func_8004A73C(script);
|
||||
}
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/UnkFunc1.inc.c"
|
||||
|
||||
|
@ -10,7 +10,7 @@ ApiStatus N(GetEntityPosition)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(SetEntityFlags100000)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkFunc1)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_8024061C_C4FB2C)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_80241464_C50974)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkNpcAIMainFunc)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkFunc7)(Evt* script, s32 isInitialCall);
|
||||
|
||||
extern NpcGroupList N(npcGroupList_80242AB0);
|
||||
|
@ -104,7 +104,7 @@ NpcAISettings N(npcAISettings_80241580) = {
|
||||
};
|
||||
|
||||
EvtScript N(802415B0) = {
|
||||
EVT_CALL(N(func_80240B94_C56AD4), EVT_PTR(N(npcAISettings_80241580)))
|
||||
EVT_CALL(N(UnkNpcAIMainFunc), EVT_PTR(N(npcAISettings_80241580)))
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
};
|
||||
@ -421,7 +421,7 @@ EvtScript N(npcAI_80242834) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(N(func_80240B94_C56AD4), EVT_PTR(N(npcAISettings_80241580)))
|
||||
EVT_CALL(N(UnkNpcAIMainFunc), EVT_PTR(N(npcAISettings_80241580)))
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
};
|
||||
@ -722,89 +722,7 @@ EvtScript N(makeEntities) = {
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
ApiStatus N(func_80240B94_C56AD4)(Evt* script, s32 isInitialCall) {
|
||||
Enemy* enemy = script->owner1.enemy;
|
||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
EnemyTerritoryThing territory;
|
||||
EnemyTerritoryThing* territoryPtr = &territory;
|
||||
NpcAISettings* npcAISettings = (NpcAISettings*)evt_get_variable(script, *args++);
|
||||
f32 posX, posY, posZ, posW;
|
||||
|
||||
territory.unk_00 = 0;
|
||||
territory.shape = enemy->territory->patrol.detectShape;
|
||||
territory.pointX = enemy->territory->patrol.detect.x;
|
||||
territory.pointZ = enemy->territory->patrol.detect.z;
|
||||
territory.sizeX = enemy->territory->patrol.detectSizeX;
|
||||
territory.sizeZ = enemy->territory->patrol.detectSizeZ;
|
||||
territory.unk_18 = 65.0f;
|
||||
territory.unk_1C = 0;
|
||||
|
||||
if (isInitialCall || enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 0;
|
||||
npc->duration = 0;
|
||||
npc->currentAnim.w = enemy->animList[0];
|
||||
npc->flags &= ~0x800;
|
||||
if (!enemy->territory->patrol.isFlying) {
|
||||
npc->flags = (npc->flags | 0x200) & ~8;
|
||||
} else {
|
||||
npc->flags = (npc->flags & ~0x200) | 8;
|
||||
}
|
||||
|
||||
if (enemy->unk_B0 & 4) {
|
||||
script->functionTemp[0] = 99;
|
||||
script->functionTemp[1] = 0;
|
||||
enemy->unk_B0 &= ~4;
|
||||
} else if (enemy->flags & ENEMY_FLAGS_40000000) {
|
||||
script->functionTemp[0] = 12;
|
||||
enemy->flags &= ~ENEMY_FLAGS_40000000;
|
||||
}
|
||||
|
||||
posX = npc->pos.x;
|
||||
posY = npc->pos.y + npc->collisionHeight;
|
||||
posZ = npc->pos.z;
|
||||
posW = 100.0f;
|
||||
|
||||
if (npc_raycast_down_sides(npc->collisionChannel, &posX, &posY, &posZ, &posW)) {
|
||||
npc->pos.y = posY;
|
||||
}
|
||||
}
|
||||
|
||||
switch (script->functionTemp[0]) {
|
||||
case 0:
|
||||
N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr);
|
||||
case 1:
|
||||
N(UnkFunc13)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 2:
|
||||
N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr);
|
||||
case 3:
|
||||
N(UnkFunc14)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 4:
|
||||
N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 10:
|
||||
N(NpcJumpFunc2)(script, npcAISettings, territoryPtr);
|
||||
case 11:
|
||||
N(NpcJumpFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 12:
|
||||
N(UnkNpcAIFunc13)(script, npcAISettings, territoryPtr);
|
||||
case 13:
|
||||
N(UnkFunc15)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 14:
|
||||
N(UnkNpcDurationFlagFunc)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 15:
|
||||
N(UnkFunc16)(script, npcAISettings, territoryPtr);
|
||||
break;
|
||||
case 99:
|
||||
func_8004A73C(script);
|
||||
}
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/UnkFunc1.inc.c"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#define NAMESPACE dgb_18
|
||||
|
||||
ApiStatus N(UnkFunc1)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(func_80240B94_C56AD4)(Evt* script, s32 isInitialCall);
|
||||
ApiStatus N(UnkNpcAIMainFunc)(Evt* script, s32 isInitialCall);
|
||||
|
||||
extern s32** N(D_802436E0_C59620);
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_jan/jan_02/B2C8A0", func_80240FC4_B2D434);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/GetNpcCollisionHeight.inc.c"
|
||||
|
||||
|
@ -47,7 +47,7 @@ INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_802405EC_B351BC);
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_802411B4_B35D84);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
static char* N(exit_str_4) = "tik_08";
|
||||
|
||||
|
@ -27,7 +27,7 @@ static char* N(exit_str_3) = "";
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_jan/jan_22/B84180", func_80240B94_B84D14);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_jan/jan_22/B84180", func_80240E90_B85010);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_kkj/kkj_00/ABB340", func_80240C44_ABBED4);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
static char* N(exit_str) = "end_00";
|
||||
|
||||
|
@ -27,4 +27,4 @@ static char* N(exit_str_3) = "";
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_kkj/kkj_01/AC5170", func_80240B94_AC5D04);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
@ -25,7 +25,7 @@ static char* N(exit_str_1) = "";
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_kpa/kpa_91/A86A50", func_80240B94_A875E4);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/set_script_owner_npc_anim.inc.c"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_kpa/kpa_95/A8CB60", func_80240C74_A8D6F4);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/set_script_owner_npc_anim.inc.c"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_00/7ED280", func_80243104_7EDE14);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
static char* N(exit_str_0) = "mac_01";
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802414C4_824784);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802417C0_824A80);
|
||||
|
||||
|
@ -35,7 +35,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_8024047C_8525EC);
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80241024_853194);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80241320_853490);
|
||||
|
||||
|
@ -39,6 +39,6 @@ static char* N(exit_str_3) = "";
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mgm/mgm_00/E0E7A0", func_80240E74_E0F614);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mgm/mgm_00/E0E7A0", func_80241170_E0F910);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_80241614_9D8634);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
static char* N(exit_str_0) = "nok_02";
|
||||
static char* N(exit_str_1) = "obk_09";
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_nok/nok_12/9FAD60", func_802418D8_9FC0C8);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_nok/nok_12/9FAD60", func_80241BD4_9FC3C4);
|
||||
|
||||
|
@ -35,7 +35,7 @@ INCLUDE_ASM(s32, "world/area_omo/omo_07/DBD2B0", func_80240238_DBD4E8);
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_omo/omo_07/DBD2B0", func_80241100_DBE3B0);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_omo/omo_07/DBD2B0", func_802413FC_DBE6AC);
|
||||
|
||||
|
@ -32,7 +32,7 @@ INCLUDE_ASM(s32, "world/area_omo/omo_09/DCD6B0", func_80240C18_DCD8E8);
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_omo/omo_09/DCD6B0", func_80241AE0_DCE7B0);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_omo/omo_09/DCD6B0", func_80241DDC_DCEAAC);
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_pra/pra_35/D8D270", func_80241AB4_D8ED04);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
#include "world/common/UnkNpcAIFunc6.inc.c"
|
||||
|
||||
|
@ -32,6 +32,6 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_trd/trd_02/9A10C0", func_80241448_9A2428);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_trd/trd_02/9A10C0", func_80241744_9A2724);
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "world/common/UnkFunc16.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_trd/trd_04/9A88A0", func_80241818_9A9C08);
|
||||
#include "world/common/UnkNpcAIMainFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_trd/trd_04/9A88A0", func_80241B14_9A9F04);
|
||||
|
||||
|
@ -291,7 +291,7 @@ def do_cross_query():
|
||||
cluster.append(sym_name)
|
||||
|
||||
if cluster_first.startswith("func"):
|
||||
ccount[cluster_first] += 1
|
||||
ccount[cluster_first] += len(sym_bytes[cluster_first][0])
|
||||
|
||||
#if len(cluster) % 10 == 0 and len(cluster) >= 10:
|
||||
print(f"Cluster {cluster_first} grew to size {len(cluster)} - {sym_name}: {str(cluster_score)}")
|
||||
@ -316,11 +316,11 @@ if __name__ == "__main__":
|
||||
rom_bytes = read_rom()
|
||||
map_syms = parse_map(os.path.join(root_dir, "ver", "current", "build", "papermario.map"))
|
||||
map_offsets = get_map_offsets(map_syms)
|
||||
|
||||
|
||||
s_files = get_all_s_files()
|
||||
|
||||
|
||||
query_dir = find_dir(args.query)
|
||||
|
||||
|
||||
if query_dir is not None:
|
||||
files = os.listdir(query_dir)
|
||||
for f_name in files:
|
||||
|
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@ dlabel D_80242FCC_B2F43C
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80242FFC_B2F46C
|
||||
.word 0x00000043, 0x00000002, func_80240FC4_B2D434, D_80242FCC_B2F43C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, jan_02_UnkNpcAIMainFunc, D_80242FCC_B2F43C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024301C_B2F48C
|
||||
.word 0x00000000, 0x00300020, 0x00000000, 0x00000000, D_80242FFC_B2F46C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -30,7 +30,7 @@ dlabel D_80244BB4_B39784
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80244BE4_B397B4
|
||||
.word 0x00000043, 0x00000002, func_802411B4_B35D84, D_80244BB4_B39784, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, jan_03_UnkNpcAIMainFunc, D_80244BB4_B39784, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80244C04_B397D4
|
||||
.word 0x00000000, 0x00300020, 0x00000000, 0x00000000, D_80244BE4_B397B4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x001C0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
@ -39,7 +39,7 @@ dlabel D_80244C5C_B3982C
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80244C8C_B3985C
|
||||
.word 0x00000043, 0x00000002, func_802411B4_B35D84, D_80244C5C_B3982C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, jan_03_UnkNpcAIMainFunc, D_80244C5C_B3982C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80244CAC_B3987C
|
||||
.word 0x00000000, 0x001C0018, 0x00000000, 0x00000000, D_80244C8C_B3985C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x001A0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -48,7 +48,7 @@ dlabel D_8024240C_B8658C
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_8024243C_B865BC
|
||||
.word 0x00000043, 0x00000002, func_80240B94_B84D14, D_8024240C_B8658C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, jan_22_UnkNpcAIMainFunc, D_8024240C_B8658C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024245C_B865DC
|
||||
.word 0x00000000, 0x001C0018, 0x00000000, 0x00000000, D_8024243C_B865BC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -33,7 +33,7 @@ dlabel D_8024184C_ABCADC
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_8024187C_ABCB0C
|
||||
.word 0x00000043, 0x00000002, func_80240C44_ABBED4, D_8024184C_ABCADC, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, kkj_00_UnkNpcAIMainFunc, D_8024184C_ABCADC, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024189C_ABCB2C
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8024187C_ABCB0C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8024187C_ABCB0C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
@ -15,7 +15,7 @@ dlabel D_80241718_AC6888
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80241748_AC68B8
|
||||
.word 0x00000043, 0x00000002, func_80240B94_AC5D04, D_80241718_AC6888, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, kkj_01_UnkNpcAIMainFunc, D_80241718_AC6888, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80241768_AC68D8
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80241748_AC68B8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80241748_AC68B8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
@ -15,7 +15,7 @@ dlabel D_8024EBE8_7F98F8
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_8024EC18_7F9928
|
||||
.word 0x00000043, 0x00000002, func_80243104_7EDE14, D_8024EBE8_7F98F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, mac_00_UnkNpcAIMainFunc, D_8024EBE8_7F98F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024EC38_7F9948
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8024EC18_7F9928, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8024EC18_7F9928, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
@ -27,7 +27,7 @@ dlabel D_80245FE8_8292A8
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80246018_8292D8
|
||||
.word 0x00000043, 0x00000002, func_802414C4_824784, D_80245FE8_8292A8, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80246018_8292D8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80246018_8292D8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
.word 0x00000043, 0x00000002, mac_02_UnkNpcAIMainFunc, D_80245FE8_8292A8, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80246018_8292D8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80246018_8292D8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
||||
dlabel D_80246090_829350
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -15,7 +15,7 @@ dlabel D_80244F84_8570F4
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80244FB4_857124
|
||||
.word 0x00000043, 0x00000002, func_80241024_853194, D_80244F84_8570F4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80244FB4_857124, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80244FB4_857124, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
.word 0x00000043, 0x00000002, mac_05_UnkNpcAIMainFunc, D_80244F84_8570F4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80244FB4_857124, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80244FB4_857124, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
||||
dlabel D_8024502C_85719C
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00300020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -6,7 +6,7 @@ dlabel D_80242A00_E111A0
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80242A30_E111D0
|
||||
.word 0x00000043, 0x00000002, func_80240E74_E0F614, D_80242A00_E111A0, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, mgm_00_UnkNpcAIMainFunc, D_80242A00_E111A0, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80242A50_E111F0
|
||||
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80242A30_E111D0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80242A30_E111D0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
|
||||
|
@ -15,7 +15,7 @@ dlabel D_80246F18_9DDF38
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_80246F48_9DDF68
|
||||
.word 0x00000043, 0x00000002, func_80241614_9D8634, D_80246F18_9DDF38, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, nok_02_UnkNpcAIMainFunc, D_80246F18_9DDF38, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80246F68_9DDF88
|
||||
.word 0x00000000, 0x00230018, 0x00000000, 0x00000000, D_80246F48_9DDF68, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x002A0018, 0x00000000, 0x00000000, D_80246F48_9DDF68, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000
|
||||
|
@ -60,7 +60,7 @@ dlabel D_8024447C_9FEC6C
|
||||
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x43020000, 0x00000000, 0x00000001, 0x40200000, 0x000000B4, 0x00000003, 0x43160000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_802444AC_9FEC9C
|
||||
.word 0x00000043, 0x00000002, func_802418D8_9FC0C8, D_8024447C_9FEC6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00170017, 0x00000000, 0x00000000, D_802444AC_9FEC9C, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00060000
|
||||
.word 0x00000043, 0x00000002, nok_12_UnkNpcAIMainFunc, D_8024447C_9FEC6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00170017, 0x00000000, 0x00000000, D_802444AC_9FEC9C, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00060000
|
||||
|
||||
dlabel D_802444F8_9FECE8
|
||||
.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x0027000A, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000003E1, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFFA6, 0x00000000, 0x0000000A, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, SetNpcRotation, 0xFFFFFFFF, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000168, 0x0000000F, 0x00000000, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, SetNpcRotation, 0xFFFFFFFF, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetNpcRotation, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFF, 0xF24A7D4D, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0xFFFFFFBF, 0x00000000, 0xFFFFFF88, 0x00000019, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00270006, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00270001, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_80244430_9FEC20, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
@ -15,7 +15,7 @@ dlabel D_8024397C_DC0C2C
|
||||
.word 0x00000043, 0x00000002, func_80241634_DBE8E4, D_8024394C_DC0BFC, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024399C_DC0C4C
|
||||
.word 0x00000043, 0x00000002, func_80241100_DBE3B0, D_8024394C_DC0BFC, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, omo_07_UnkNpcAIMainFunc, D_8024394C_DC0BFC, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_802439BC_DC0C6C
|
||||
.word 0x00000000, 0x00170016, 0x00000000, 0x00000000, D_8024397C_DC0C2C, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001, 0x00000000, 0x00170016, 0x00000000, 0x00000000, D_8024399C_DC0C4C, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001
|
||||
|
@ -24,7 +24,7 @@ dlabel D_802475A8_DD4278
|
||||
.word 0x00000043, 0x00000002, func_80242014_DCECE4, D_80247578_DD4248, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_802475C8_DD4298
|
||||
.word 0x00000043, 0x00000002, func_80241AE0_DCE7B0, D_80247578_DD4248, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, omo_09_UnkNpcAIMainFunc, D_80247578_DD4248, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_802475E8_DD42B8
|
||||
.word 0x00000000, 0x00170016, 0x00000000, 0x00000000, D_802475A8_DD4278, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001, 0x00000000, 0x00170016, 0x00000000, 0x00000000, D_802475C8_DD4298, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001
|
||||
|
@ -27,7 +27,7 @@ dlabel D_8024373C_D9098C
|
||||
.word 0x40000000, 0x00000000, 0x00000000, 0x42C80000, 0x00000000, 0x00000004, 0x40600000, 0x0000001E, 0x00000003, 0x43160000, 0x00000000, 0x00000001
|
||||
|
||||
dlabel D_8024376C_D909BC
|
||||
.word 0x00000043, 0x00000002, func_80241AB4_D8ED04, D_8024373C_D9098C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000002, pra_35_UnkNpcAIMainFunc, D_8024373C_D9098C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_8024378C_D909DC
|
||||
.word 0x00000000, 0x001E001E, 0x00000000, 0x00000000, D_8024376C_D909BC, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00170000
|
||||
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_802485D0_B34A40
|
||||
.word .L802411A8_B2D618, .L802411B8_B2D628, .L802411D0_B2D640, .L802411E0_B2D650, .L802411F8_B2D668, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241210_B2D680, .L80241220_B2D690, .L80241238_B2D6A8, .L80241248_B2D6B8, .L80241260_B2D6D0, .L80241278_B2D6E8, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241298_B2D708, .L80241290_B2D700
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240FC4_B2D434
|
||||
/* B2D434 80240FC4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* B2D438 80240FC8 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* B2D43C 80240FCC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* B2D440 80240FD0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* B2D444 80240FD4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* B2D448 80240FD8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* B2D44C 80240FDC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* B2D450 80240FE0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* B2D454 80240FE4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* B2D458 80240FE8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* B2D45C 80240FEC 86240008 */ lh $a0, 8($s1)
|
||||
/* B2D460 80240FF0 0C00EABB */ jal get_npc_unsafe
|
||||
/* B2D464 80240FF4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* B2D468 80240FF8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* B2D46C 80240FFC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D470 80241000 8C650000 */ lw $a1, ($v1)
|
||||
/* B2D474 80241004 0C0B1EAF */ jal evt_get_variable
|
||||
/* B2D478 80241008 0040902D */ daddu $s2, $v0, $zero
|
||||
/* B2D47C 8024100C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* B2D480 80241010 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B2D484 80241014 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* B2D488 80241018 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* B2D48C 8024101C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B2D490 80241020 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* B2D494 80241024 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* B2D498 80241028 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B2D49C 8024102C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* B2D4A0 80241030 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* B2D4A4 80241034 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B2D4A8 80241038 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* B2D4AC 8024103C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* B2D4B0 80241040 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* B2D4B4 80241044 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B2D4B8 80241048 3C014282 */ lui $at, 0x4282
|
||||
/* B2D4BC 8024104C 44810000 */ mtc1 $at, $f0
|
||||
/* B2D4C0 80241050 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* B2D4C4 80241054 0040982D */ daddu $s3, $v0, $zero
|
||||
/* B2D4C8 80241058 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* B2D4CC 8024105C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* B2D4D0 80241060 16000005 */ bnez $s0, .L80241078
|
||||
/* B2D4D4 80241064 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* B2D4D8 80241068 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B2D4DC 8024106C 30420004 */ andi $v0, $v0, 4
|
||||
/* B2D4E0 80241070 10400044 */ beqz $v0, .L80241184
|
||||
/* B2D4E4 80241074 00000000 */ nop
|
||||
.L80241078:
|
||||
/* B2D4E8 80241078 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* B2D4EC 8024107C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* B2D4F0 80241080 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* B2D4F4 80241084 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* B2D4F8 80241088 8E430000 */ lw $v1, ($s2)
|
||||
/* B2D4FC 8024108C 8C420000 */ lw $v0, ($v0)
|
||||
/* B2D500 80241090 00641824 */ and $v1, $v1, $a0
|
||||
/* B2D504 80241094 AE430000 */ sw $v1, ($s2)
|
||||
/* B2D508 80241098 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* B2D50C 8024109C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* B2D510 802410A0 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* B2D514 802410A4 54400005 */ bnel $v0, $zero, .L802410BC
|
||||
/* B2D518 802410A8 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* B2D51C 802410AC 34620200 */ ori $v0, $v1, 0x200
|
||||
/* B2D520 802410B0 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* B2D524 802410B4 08090431 */ j .L802410C4
|
||||
/* B2D528 802410B8 00431024 */ and $v0, $v0, $v1
|
||||
.L802410BC:
|
||||
/* B2D52C 802410BC 00621024 */ and $v0, $v1, $v0
|
||||
/* B2D530 802410C0 34420008 */ ori $v0, $v0, 8
|
||||
.L802410C4:
|
||||
/* B2D534 802410C4 AE420000 */ sw $v0, ($s2)
|
||||
/* B2D538 802410C8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B2D53C 802410CC 30420004 */ andi $v0, $v0, 4
|
||||
/* B2D540 802410D0 10400008 */ beqz $v0, .L802410F4
|
||||
/* B2D544 802410D4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* B2D548 802410D8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B2D54C 802410DC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* B2D550 802410E0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B2D554 802410E4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* B2D558 802410E8 00431024 */ and $v0, $v0, $v1
|
||||
/* B2D55C 802410EC 08090448 */ j .L80241120
|
||||
/* B2D560 802410F0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L802410F4:
|
||||
/* B2D564 802410F4 8E220000 */ lw $v0, ($s1)
|
||||
/* B2D568 802410F8 3C034000 */ lui $v1, 0x4000
|
||||
/* B2D56C 802410FC 00431024 */ and $v0, $v0, $v1
|
||||
/* B2D570 80241100 10400007 */ beqz $v0, .L80241120
|
||||
/* B2D574 80241104 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* B2D578 80241108 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* B2D57C 8024110C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B2D580 80241110 8E220000 */ lw $v0, ($s1)
|
||||
/* B2D584 80241114 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* B2D588 80241118 00431024 */ and $v0, $v0, $v1
|
||||
/* B2D58C 8024111C AE220000 */ sw $v0, ($s1)
|
||||
.L80241120:
|
||||
/* B2D590 80241120 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* B2D594 80241124 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* B2D598 80241128 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* B2D59C 8024112C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* B2D5A0 80241130 3C0142C8 */ lui $at, 0x42c8
|
||||
/* B2D5A4 80241134 44812000 */ mtc1 $at, $f4
|
||||
/* B2D5A8 80241138 44823000 */ mtc1 $v0, $f6
|
||||
/* B2D5AC 8024113C 00000000 */ nop
|
||||
/* B2D5B0 80241140 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* B2D5B4 80241144 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* B2D5B8 80241148 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* B2D5BC 8024114C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* B2D5C0 80241150 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* B2D5C4 80241154 46060000 */ add.s $f0, $f0, $f6
|
||||
/* B2D5C8 80241158 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* B2D5CC 8024115C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* B2D5D0 80241160 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* B2D5D4 80241164 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* B2D5D8 80241168 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* B2D5DC 8024116C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* B2D5E0 80241170 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* B2D5E4 80241174 10400003 */ beqz $v0, .L80241184
|
||||
/* B2D5E8 80241178 00000000 */ nop
|
||||
/* B2D5EC 8024117C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* B2D5F0 80241180 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241184:
|
||||
/* B2D5F4 80241184 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* B2D5F8 80241188 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* B2D5FC 8024118C 10400042 */ beqz $v0, .L80241298_B2D708
|
||||
/* B2D600 80241190 00031080 */ sll $v0, $v1, 2
|
||||
/* B2D604 80241194 3C018025 */ lui $at, %hi(jtbl_802485D0_B34A40)
|
||||
/* B2D608 80241198 00220821 */ addu $at, $at, $v0
|
||||
/* B2D60C 8024119C 8C2285D0 */ lw $v0, %lo(jtbl_802485D0_B34A40)($at)
|
||||
/* B2D610 802411A0 00400008 */ jr $v0
|
||||
/* B2D614 802411A4 00000000 */ nop
|
||||
.L802411A8_B2D618:
|
||||
/* B2D618 802411A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D61C 802411AC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D620 802411B0 0C09010C */ jal jan_02_UnkNpcAIFunc24
|
||||
/* B2D624 802411B4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802411B8_B2D628:
|
||||
/* B2D628 802411B8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D62C 802411BC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D630 802411C0 0C090162 */ jal jan_02_UnkFunc13
|
||||
/* B2D634 802411C4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D638 802411C8 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D63C 802411CC 00000000 */ nop
|
||||
.L802411D0_B2D640:
|
||||
/* B2D640 802411D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D644 802411D4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D648 802411D8 0C09020C */ jal jan_02_UnkNpcAIFunc1
|
||||
/* B2D64C 802411DC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802411E0_B2D650:
|
||||
/* B2D650 802411E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D654 802411E4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D658 802411E8 0C09023C */ jal jan_02_UnkFunc14
|
||||
/* B2D65C 802411EC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D660 802411F0 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D664 802411F4 00000000 */ nop
|
||||
.L802411F8_B2D668:
|
||||
/* B2D668 802411F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D66C 802411FC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D670 80241200 0C0902AB */ jal jan_02_UnkNpcAIFunc25
|
||||
/* B2D674 80241204 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D678 80241208 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D67C 8024120C 00000000 */ nop
|
||||
.L80241210_B2D680:
|
||||
/* B2D680 80241210 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D684 80241214 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D688 80241218 0C0902D8 */ jal jan_02_NpcJumpFunc2
|
||||
/* B2D68C 8024121C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241220_B2D690:
|
||||
/* B2D690 80241220 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D694 80241224 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D698 80241228 0C0902F5 */ jal jan_02_NpcJumpFunc
|
||||
/* B2D69C 8024122C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D6A0 80241230 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D6A4 80241234 00000000 */ nop
|
||||
.L80241238_B2D6A8:
|
||||
/* B2D6A8 80241238 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D6AC 8024123C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D6B0 80241240 0C090313 */ jal jan_02_UnkNpcAIFunc13
|
||||
/* B2D6B4 80241244 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241248_B2D6B8:
|
||||
/* B2D6B8 80241248 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D6BC 8024124C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D6C0 80241250 0C09035F */ jal jan_02_UnkFunc15
|
||||
/* B2D6C4 80241254 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D6C8 80241258 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D6CC 8024125C 00000000 */ nop
|
||||
.L80241260_B2D6D0:
|
||||
/* B2D6D0 80241260 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D6D4 80241264 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D6D8 80241268 0C0903A7 */ jal jan_02_UnkNpcDurationFlagFunc
|
||||
/* B2D6DC 8024126C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D6E0 80241270 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D6E4 80241274 00000000 */ nop
|
||||
.L80241278_B2D6E8:
|
||||
/* B2D6E8 80241278 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B2D6EC 8024127C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B2D6F0 80241280 0C0903C1 */ jal jan_02_UnkFunc16
|
||||
/* B2D6F4 80241284 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B2D6F8 80241288 080904A6 */ j .L80241298_B2D708
|
||||
/* B2D6FC 8024128C 00000000 */ nop
|
||||
.L80241290_B2D700:
|
||||
/* B2D700 80241290 0C0129CF */ jal func_8004A73C
|
||||
/* B2D704 80241294 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241298_B2D708:
|
||||
/* B2D708 80241298 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* B2D70C 8024129C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* B2D710 802412A0 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* B2D714 802412A4 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* B2D718 802412A8 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* B2D71C 802412AC 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* B2D720 802412B0 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* B2D724 802412B4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* B2D728 802412B8 03E00008 */ jr $ra
|
||||
/* B2D72C 802412BC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_8024FA00_B445D0
|
||||
.word .L80241398_B35F68, .L802413A8_B35F78, .L802413C0_B35F90, .L802413D0_B35FA0, .L802413E8_B35FB8, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241400_B35FD0, .L80241410_B35FE0, .L80241428_B35FF8, .L80241438_B36008, .L80241450_B36020, .L80241468_B36038, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241488_B36058, .L80241480_B36050
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_802411B4_B35D84
|
||||
/* B35D84 802411B4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* B35D88 802411B8 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* B35D8C 802411BC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* B35D90 802411C0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* B35D94 802411C4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* B35D98 802411C8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* B35D9C 802411CC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* B35DA0 802411D0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* B35DA4 802411D4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* B35DA8 802411D8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* B35DAC 802411DC 86240008 */ lh $a0, 8($s1)
|
||||
/* B35DB0 802411E0 0C00EABB */ jal get_npc_unsafe
|
||||
/* B35DB4 802411E4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* B35DB8 802411E8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* B35DBC 802411EC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35DC0 802411F0 8C650000 */ lw $a1, ($v1)
|
||||
/* B35DC4 802411F4 0C0B1EAF */ jal evt_get_variable
|
||||
/* B35DC8 802411F8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* B35DCC 802411FC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* B35DD0 80241200 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B35DD4 80241204 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* B35DD8 80241208 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* B35DDC 8024120C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B35DE0 80241210 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* B35DE4 80241214 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* B35DE8 80241218 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B35DEC 8024121C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* B35DF0 80241220 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* B35DF4 80241224 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B35DF8 80241228 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* B35DFC 8024122C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* B35E00 80241230 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* B35E04 80241234 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B35E08 80241238 3C014282 */ lui $at, 0x4282
|
||||
/* B35E0C 8024123C 44810000 */ mtc1 $at, $f0
|
||||
/* B35E10 80241240 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* B35E14 80241244 0040982D */ daddu $s3, $v0, $zero
|
||||
/* B35E18 80241248 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* B35E1C 8024124C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* B35E20 80241250 16000005 */ bnez $s0, .L80241268
|
||||
/* B35E24 80241254 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* B35E28 80241258 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B35E2C 8024125C 30420004 */ andi $v0, $v0, 4
|
||||
/* B35E30 80241260 10400044 */ beqz $v0, .L80241374
|
||||
/* B35E34 80241264 00000000 */ nop
|
||||
.L80241268:
|
||||
/* B35E38 80241268 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* B35E3C 8024126C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* B35E40 80241270 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* B35E44 80241274 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* B35E48 80241278 8E430000 */ lw $v1, ($s2)
|
||||
/* B35E4C 8024127C 8C420000 */ lw $v0, ($v0)
|
||||
/* B35E50 80241280 00641824 */ and $v1, $v1, $a0
|
||||
/* B35E54 80241284 AE430000 */ sw $v1, ($s2)
|
||||
/* B35E58 80241288 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* B35E5C 8024128C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* B35E60 80241290 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* B35E64 80241294 54400005 */ bnel $v0, $zero, .L802412AC
|
||||
/* B35E68 80241298 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* B35E6C 8024129C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* B35E70 802412A0 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* B35E74 802412A4 080904AD */ j .L802412B4
|
||||
/* B35E78 802412A8 00431024 */ and $v0, $v0, $v1
|
||||
.L802412AC:
|
||||
/* B35E7C 802412AC 00621024 */ and $v0, $v1, $v0
|
||||
/* B35E80 802412B0 34420008 */ ori $v0, $v0, 8
|
||||
.L802412B4:
|
||||
/* B35E84 802412B4 AE420000 */ sw $v0, ($s2)
|
||||
/* B35E88 802412B8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B35E8C 802412BC 30420004 */ andi $v0, $v0, 4
|
||||
/* B35E90 802412C0 10400008 */ beqz $v0, .L802412E4
|
||||
/* B35E94 802412C4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* B35E98 802412C8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B35E9C 802412CC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* B35EA0 802412D0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B35EA4 802412D4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* B35EA8 802412D8 00431024 */ and $v0, $v0, $v1
|
||||
/* B35EAC 802412DC 080904C4 */ j .L80241310
|
||||
/* B35EB0 802412E0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L802412E4:
|
||||
/* B35EB4 802412E4 8E220000 */ lw $v0, ($s1)
|
||||
/* B35EB8 802412E8 3C034000 */ lui $v1, 0x4000
|
||||
/* B35EBC 802412EC 00431024 */ and $v0, $v0, $v1
|
||||
/* B35EC0 802412F0 10400007 */ beqz $v0, .L80241310
|
||||
/* B35EC4 802412F4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* B35EC8 802412F8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* B35ECC 802412FC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B35ED0 80241300 8E220000 */ lw $v0, ($s1)
|
||||
/* B35ED4 80241304 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* B35ED8 80241308 00431024 */ and $v0, $v0, $v1
|
||||
/* B35EDC 8024130C AE220000 */ sw $v0, ($s1)
|
||||
.L80241310:
|
||||
/* B35EE0 80241310 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* B35EE4 80241314 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* B35EE8 80241318 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* B35EEC 8024131C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* B35EF0 80241320 3C0142C8 */ lui $at, 0x42c8
|
||||
/* B35EF4 80241324 44812000 */ mtc1 $at, $f4
|
||||
/* B35EF8 80241328 44823000 */ mtc1 $v0, $f6
|
||||
/* B35EFC 8024132C 00000000 */ nop
|
||||
/* B35F00 80241330 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* B35F04 80241334 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* B35F08 80241338 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* B35F0C 8024133C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* B35F10 80241340 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* B35F14 80241344 46060000 */ add.s $f0, $f0, $f6
|
||||
/* B35F18 80241348 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* B35F1C 8024134C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* B35F20 80241350 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* B35F24 80241354 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* B35F28 80241358 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* B35F2C 8024135C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* B35F30 80241360 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* B35F34 80241364 10400003 */ beqz $v0, .L80241374
|
||||
/* B35F38 80241368 00000000 */ nop
|
||||
/* B35F3C 8024136C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* B35F40 80241370 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241374:
|
||||
/* B35F44 80241374 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* B35F48 80241378 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* B35F4C 8024137C 10400042 */ beqz $v0, .L80241488_B36058
|
||||
/* B35F50 80241380 00031080 */ sll $v0, $v1, 2
|
||||
/* B35F54 80241384 3C018025 */ lui $at, %hi(jtbl_8024FA00_B445D0)
|
||||
/* B35F58 80241388 00220821 */ addu $at, $at, $v0
|
||||
/* B35F5C 8024138C 8C22FA00 */ lw $v0, %lo(jtbl_8024FA00_B445D0)($at)
|
||||
/* B35F60 80241390 00400008 */ jr $v0
|
||||
/* B35F64 80241394 00000000 */ nop
|
||||
.L80241398_B35F68:
|
||||
/* B35F68 80241398 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35F6C 8024139C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35F70 802413A0 0C090188 */ jal jan_03_UnkNpcAIFunc24
|
||||
/* B35F74 802413A4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802413A8_B35F78:
|
||||
/* B35F78 802413A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35F7C 802413AC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35F80 802413B0 0C0901DE */ jal jan_03_UnkFunc13
|
||||
/* B35F84 802413B4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B35F88 802413B8 08090522 */ j .L80241488_B36058
|
||||
/* B35F8C 802413BC 00000000 */ nop
|
||||
.L802413C0_B35F90:
|
||||
/* B35F90 802413C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35F94 802413C4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35F98 802413C8 0C090288 */ jal jan_03_UnkNpcAIFunc1
|
||||
/* B35F9C 802413CC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802413D0_B35FA0:
|
||||
/* B35FA0 802413D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35FA4 802413D4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35FA8 802413D8 0C0902B8 */ jal jan_03_UnkFunc14
|
||||
/* B35FAC 802413DC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B35FB0 802413E0 08090522 */ j .L80241488_B36058
|
||||
/* B35FB4 802413E4 00000000 */ nop
|
||||
.L802413E8_B35FB8:
|
||||
/* B35FB8 802413E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35FBC 802413EC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35FC0 802413F0 0C090327 */ jal jan_03_UnkNpcAIFunc25
|
||||
/* B35FC4 802413F4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B35FC8 802413F8 08090522 */ j .L80241488_B36058
|
||||
/* B35FCC 802413FC 00000000 */ nop
|
||||
.L80241400_B35FD0:
|
||||
/* B35FD0 80241400 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35FD4 80241404 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35FD8 80241408 0C090354 */ jal jan_03_NpcJumpFunc2
|
||||
/* B35FDC 8024140C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241410_B35FE0:
|
||||
/* B35FE0 80241410 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35FE4 80241414 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B35FE8 80241418 0C090371 */ jal jan_03_NpcJumpFunc
|
||||
/* B35FEC 8024141C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B35FF0 80241420 08090522 */ j .L80241488_B36058
|
||||
/* B35FF4 80241424 00000000 */ nop
|
||||
.L80241428_B35FF8:
|
||||
/* B35FF8 80241428 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B35FFC 8024142C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B36000 80241430 0C09038F */ jal jan_03_UnkNpcAIFunc13
|
||||
/* B36004 80241434 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241438_B36008:
|
||||
/* B36008 80241438 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B3600C 8024143C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B36010 80241440 0C0903DB */ jal jan_03_UnkFunc15
|
||||
/* B36014 80241444 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B36018 80241448 08090522 */ j .L80241488_B36058
|
||||
/* B3601C 8024144C 00000000 */ nop
|
||||
.L80241450_B36020:
|
||||
/* B36020 80241450 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B36024 80241454 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B36028 80241458 0C090423 */ jal jan_03_UnkNpcDurationFlagFunc
|
||||
/* B3602C 8024145C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B36030 80241460 08090522 */ j .L80241488_B36058
|
||||
/* B36034 80241464 00000000 */ nop
|
||||
.L80241468_B36038:
|
||||
/* B36038 80241468 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B3603C 8024146C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B36040 80241470 0C09043D */ jal jan_03_UnkFunc16
|
||||
/* B36044 80241474 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B36048 80241478 08090522 */ j .L80241488_B36058
|
||||
/* B3604C 8024147C 00000000 */ nop
|
||||
.L80241480_B36050:
|
||||
/* B36050 80241480 0C0129CF */ jal func_8004A73C
|
||||
/* B36054 80241484 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241488_B36058:
|
||||
/* B36058 80241488 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* B3605C 8024148C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* B36060 80241490 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* B36064 80241494 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* B36068 80241498 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* B3606C 8024149C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* B36070 802414A0 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* B36074 802414A4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* B36078 802414A8 03E00008 */ jr $ra
|
||||
/* B3607C 802414AC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_8024B9B0_B8FB30
|
||||
.word .L80240D78_B84EF8, .L80240D88_B84F08, .L80240DA0_B84F20, .L80240DB0_B84F30, .L80240DC8_B84F48, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240DE0_B84F60, .L80240DF0_B84F70, .L80240E08_B84F88, .L80240E18_B84F98, .L80240E30_B84FB0, .L80240E48_B84FC8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E68_B84FE8, .L80240E60_B84FE0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240B94_B84D14
|
||||
/* B84D14 80240B94 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* B84D18 80240B98 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* B84D1C 80240B9C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* B84D20 80240BA0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* B84D24 80240BA4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* B84D28 80240BA8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* B84D2C 80240BAC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* B84D30 80240BB0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* B84D34 80240BB4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* B84D38 80240BB8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* B84D3C 80240BBC 86240008 */ lh $a0, 8($s1)
|
||||
/* B84D40 80240BC0 0C00EABB */ jal get_npc_unsafe
|
||||
/* B84D44 80240BC4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* B84D48 80240BC8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* B84D4C 80240BCC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84D50 80240BD0 8C650000 */ lw $a1, ($v1)
|
||||
/* B84D54 80240BD4 0C0B1EAF */ jal evt_get_variable
|
||||
/* B84D58 80240BD8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* B84D5C 80240BDC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* B84D60 80240BE0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B84D64 80240BE4 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* B84D68 80240BE8 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* B84D6C 80240BEC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B84D70 80240BF0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* B84D74 80240BF4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* B84D78 80240BF8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B84D7C 80240BFC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* B84D80 80240C00 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* B84D84 80240C04 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B84D88 80240C08 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* B84D8C 80240C0C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* B84D90 80240C10 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* B84D94 80240C14 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* B84D98 80240C18 3C014282 */ lui $at, 0x4282
|
||||
/* B84D9C 80240C1C 44810000 */ mtc1 $at, $f0
|
||||
/* B84DA0 80240C20 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* B84DA4 80240C24 0040982D */ daddu $s3, $v0, $zero
|
||||
/* B84DA8 80240C28 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* B84DAC 80240C2C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* B84DB0 80240C30 16000005 */ bnez $s0, .L80240C48
|
||||
/* B84DB4 80240C34 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* B84DB8 80240C38 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B84DBC 80240C3C 30420004 */ andi $v0, $v0, 4
|
||||
/* B84DC0 80240C40 10400044 */ beqz $v0, .L80240D54
|
||||
/* B84DC4 80240C44 00000000 */ nop
|
||||
.L80240C48:
|
||||
/* B84DC8 80240C48 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* B84DCC 80240C4C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* B84DD0 80240C50 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* B84DD4 80240C54 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* B84DD8 80240C58 8E430000 */ lw $v1, ($s2)
|
||||
/* B84DDC 80240C5C 8C420000 */ lw $v0, ($v0)
|
||||
/* B84DE0 80240C60 00641824 */ and $v1, $v1, $a0
|
||||
/* B84DE4 80240C64 AE430000 */ sw $v1, ($s2)
|
||||
/* B84DE8 80240C68 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* B84DEC 80240C6C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* B84DF0 80240C70 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* B84DF4 80240C74 54400005 */ bnel $v0, $zero, .L80240C8C
|
||||
/* B84DF8 80240C78 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* B84DFC 80240C7C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* B84E00 80240C80 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* B84E04 80240C84 08090325 */ j .L80240C94
|
||||
/* B84E08 80240C88 00431024 */ and $v0, $v0, $v1
|
||||
.L80240C8C:
|
||||
/* B84E0C 80240C8C 00621024 */ and $v0, $v1, $v0
|
||||
/* B84E10 80240C90 34420008 */ ori $v0, $v0, 8
|
||||
.L80240C94:
|
||||
/* B84E14 80240C94 AE420000 */ sw $v0, ($s2)
|
||||
/* B84E18 80240C98 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B84E1C 80240C9C 30420004 */ andi $v0, $v0, 4
|
||||
/* B84E20 80240CA0 10400008 */ beqz $v0, .L80240CC4
|
||||
/* B84E24 80240CA4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* B84E28 80240CA8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B84E2C 80240CAC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* B84E30 80240CB0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* B84E34 80240CB4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* B84E38 80240CB8 00431024 */ and $v0, $v0, $v1
|
||||
/* B84E3C 80240CBC 0809033C */ j .L80240CF0
|
||||
/* B84E40 80240CC0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240CC4:
|
||||
/* B84E44 80240CC4 8E220000 */ lw $v0, ($s1)
|
||||
/* B84E48 80240CC8 3C034000 */ lui $v1, 0x4000
|
||||
/* B84E4C 80240CCC 00431024 */ and $v0, $v0, $v1
|
||||
/* B84E50 80240CD0 10400007 */ beqz $v0, .L80240CF0
|
||||
/* B84E54 80240CD4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* B84E58 80240CD8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* B84E5C 80240CDC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* B84E60 80240CE0 8E220000 */ lw $v0, ($s1)
|
||||
/* B84E64 80240CE4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* B84E68 80240CE8 00431024 */ and $v0, $v0, $v1
|
||||
/* B84E6C 80240CEC AE220000 */ sw $v0, ($s1)
|
||||
.L80240CF0:
|
||||
/* B84E70 80240CF0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* B84E74 80240CF4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* B84E78 80240CF8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* B84E7C 80240CFC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* B84E80 80240D00 3C0142C8 */ lui $at, 0x42c8
|
||||
/* B84E84 80240D04 44812000 */ mtc1 $at, $f4
|
||||
/* B84E88 80240D08 44823000 */ mtc1 $v0, $f6
|
||||
/* B84E8C 80240D0C 00000000 */ nop
|
||||
/* B84E90 80240D10 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* B84E94 80240D14 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* B84E98 80240D18 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* B84E9C 80240D1C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* B84EA0 80240D20 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* B84EA4 80240D24 46060000 */ add.s $f0, $f0, $f6
|
||||
/* B84EA8 80240D28 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* B84EAC 80240D2C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* B84EB0 80240D30 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* B84EB4 80240D34 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* B84EB8 80240D38 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* B84EBC 80240D3C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* B84EC0 80240D40 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* B84EC4 80240D44 10400003 */ beqz $v0, .L80240D54
|
||||
/* B84EC8 80240D48 00000000 */ nop
|
||||
/* B84ECC 80240D4C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* B84ED0 80240D50 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80240D54:
|
||||
/* B84ED4 80240D54 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* B84ED8 80240D58 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* B84EDC 80240D5C 10400042 */ beqz $v0, .L80240E68_B84FE8
|
||||
/* B84EE0 80240D60 00031080 */ sll $v0, $v1, 2
|
||||
/* B84EE4 80240D64 3C018025 */ lui $at, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* B84EE8 80240D68 00220821 */ addu $at, $at, $v0
|
||||
/* B84EEC 80240D6C 8C22B9B0 */ lw $v0, %lo(jtbl_8024B9B0_B8FB30)($at)
|
||||
/* B84EF0 80240D70 00400008 */ jr $v0
|
||||
/* B84EF4 80240D74 00000000 */ nop
|
||||
.L80240D78_B84EF8:
|
||||
/* B84EF8 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84EFC 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F00 80240D80 0C090000 */ jal jan_22_UnkNpcAIFunc24
|
||||
/* B84F04 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240D88_B84F08:
|
||||
/* B84F08 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F0C 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F10 80240D90 0C090056 */ jal jan_22_UnkFunc13
|
||||
/* B84F14 80240D94 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84F18 80240D98 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84F1C 80240D9C 00000000 */ nop
|
||||
.L80240DA0_B84F20:
|
||||
/* B84F20 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F24 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F28 80240DA8 0C090100 */ jal jan_22_UnkNpcAIFunc1
|
||||
/* B84F2C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DB0_B84F30:
|
||||
/* B84F30 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F34 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F38 80240DB8 0C090130 */ jal jan_22_UnkFunc14
|
||||
/* B84F3C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84F40 80240DC0 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84F44 80240DC4 00000000 */ nop
|
||||
.L80240DC8_B84F48:
|
||||
/* B84F48 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F4C 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F50 80240DD0 0C09019F */ jal jan_22_UnkNpcAIFunc25
|
||||
/* B84F54 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84F58 80240DD8 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84F5C 80240DDC 00000000 */ nop
|
||||
.L80240DE0_B84F60:
|
||||
/* B84F60 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F64 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F68 80240DE8 0C0901CC */ jal jan_22_NpcJumpFunc2
|
||||
/* B84F6C 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DF0_B84F70:
|
||||
/* B84F70 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F74 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F78 80240DF8 0C0901E9 */ jal jan_22_NpcJumpFunc
|
||||
/* B84F7C 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84F80 80240E00 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84F84 80240E04 00000000 */ nop
|
||||
.L80240E08_B84F88:
|
||||
/* B84F88 80240E08 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F8C 80240E0C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84F90 80240E10 0C090207 */ jal jan_22_UnkNpcAIFunc13
|
||||
/* B84F94 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E18_B84F98:
|
||||
/* B84F98 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84F9C 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84FA0 80240E20 0C090253 */ jal jan_22_UnkFunc15
|
||||
/* B84FA4 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84FA8 80240E28 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84FAC 80240E2C 00000000 */ nop
|
||||
.L80240E30_B84FB0:
|
||||
/* B84FB0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84FB4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84FB8 80240E38 0C09029B */ jal jan_22_UnkNpcDurationFlagFunc
|
||||
/* B84FBC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84FC0 80240E40 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84FC4 80240E44 00000000 */ nop
|
||||
.L80240E48_B84FC8:
|
||||
/* B84FC8 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* B84FCC 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* B84FD0 80240E50 0C0902B5 */ jal jan_22_UnkFunc16
|
||||
/* B84FD4 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* B84FD8 80240E58 0809039A */ j .L80240E68_B84FE8
|
||||
/* B84FDC 80240E5C 00000000 */ nop
|
||||
.L80240E60_B84FE0:
|
||||
/* B84FE0 80240E60 0C0129CF */ jal func_8004A73C
|
||||
/* B84FE4 80240E64 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80240E68_B84FE8:
|
||||
/* B84FE8 80240E68 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* B84FEC 80240E6C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* B84FF0 80240E70 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* B84FF4 80240E74 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* B84FF8 80240E78 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* B84FFC 80240E7C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* B85000 80240E80 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* B85004 80240E84 0000102D */ daddu $v0, $zero, $zero
|
||||
/* B85008 80240E88 03E00008 */ jr $ra
|
||||
/* B8500C 80240E8C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80249D40_AC4FD0
|
||||
.word .L80240E28_ABC0B8, .L80240E38_ABC0C8, .L80240E50_ABC0E0, .L80240E60_ABC0F0, .L80240E78_ABC108, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240E90_ABC120, .L80240EA0_ABC130, .L80240EB8_ABC148, .L80240EC8_ABC158, .L80240EE0_ABC170, .L80240EF8_ABC188, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F18_ABC1A8, .L80240F10_ABC1A0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240C44_ABBED4
|
||||
/* ABBED4 80240C44 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* ABBED8 80240C48 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* ABBEDC 80240C4C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* ABBEE0 80240C50 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* ABBEE4 80240C54 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* ABBEE8 80240C58 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* ABBEEC 80240C5C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* ABBEF0 80240C60 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* ABBEF4 80240C64 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* ABBEF8 80240C68 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* ABBEFC 80240C6C 86240008 */ lh $a0, 8($s1)
|
||||
/* ABBF00 80240C70 0C00EABB */ jal get_npc_unsafe
|
||||
/* ABBF04 80240C74 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* ABBF08 80240C78 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* ABBF0C 80240C7C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABBF10 80240C80 8C650000 */ lw $a1, ($v1)
|
||||
/* ABBF14 80240C84 0C0B1EAF */ jal evt_get_variable
|
||||
/* ABBF18 80240C88 0040902D */ daddu $s2, $v0, $zero
|
||||
/* ABBF1C 80240C8C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* ABBF20 80240C90 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* ABBF24 80240C94 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* ABBF28 80240C98 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* ABBF2C 80240C9C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* ABBF30 80240CA0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* ABBF34 80240CA4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* ABBF38 80240CA8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* ABBF3C 80240CAC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* ABBF40 80240CB0 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* ABBF44 80240CB4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* ABBF48 80240CB8 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* ABBF4C 80240CBC 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* ABBF50 80240CC0 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* ABBF54 80240CC4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* ABBF58 80240CC8 3C014282 */ lui $at, 0x4282
|
||||
/* ABBF5C 80240CCC 44810000 */ mtc1 $at, $f0
|
||||
/* ABBF60 80240CD0 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* ABBF64 80240CD4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* ABBF68 80240CD8 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* ABBF6C 80240CDC A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* ABBF70 80240CE0 16000005 */ bnez $s0, .L80240CF8
|
||||
/* ABBF74 80240CE4 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* ABBF78 80240CE8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* ABBF7C 80240CEC 30420004 */ andi $v0, $v0, 4
|
||||
/* ABBF80 80240CF0 10400044 */ beqz $v0, .L80240E04
|
||||
/* ABBF84 80240CF4 00000000 */ nop
|
||||
.L80240CF8:
|
||||
/* ABBF88 80240CF8 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* ABBF8C 80240CFC AE800070 */ sw $zero, 0x70($s4)
|
||||
/* ABBF90 80240D00 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* ABBF94 80240D04 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* ABBF98 80240D08 8E430000 */ lw $v1, ($s2)
|
||||
/* ABBF9C 80240D0C 8C420000 */ lw $v0, ($v0)
|
||||
/* ABBFA0 80240D10 00641824 */ and $v1, $v1, $a0
|
||||
/* ABBFA4 80240D14 AE430000 */ sw $v1, ($s2)
|
||||
/* ABBFA8 80240D18 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* ABBFAC 80240D1C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* ABBFB0 80240D20 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* ABBFB4 80240D24 54400005 */ bnel $v0, $zero, .L80240D3C
|
||||
/* ABBFB8 80240D28 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* ABBFBC 80240D2C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* ABBFC0 80240D30 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* ABBFC4 80240D34 08090351 */ j .L80240D44
|
||||
/* ABBFC8 80240D38 00431024 */ and $v0, $v0, $v1
|
||||
.L80240D3C:
|
||||
/* ABBFCC 80240D3C 00621024 */ and $v0, $v1, $v0
|
||||
/* ABBFD0 80240D40 34420008 */ ori $v0, $v0, 8
|
||||
.L80240D44:
|
||||
/* ABBFD4 80240D44 AE420000 */ sw $v0, ($s2)
|
||||
/* ABBFD8 80240D48 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* ABBFDC 80240D4C 30420004 */ andi $v0, $v0, 4
|
||||
/* ABBFE0 80240D50 10400008 */ beqz $v0, .L80240D74
|
||||
/* ABBFE4 80240D54 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* ABBFE8 80240D58 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* ABBFEC 80240D5C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* ABBFF0 80240D60 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* ABBFF4 80240D64 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* ABBFF8 80240D68 00431024 */ and $v0, $v0, $v1
|
||||
/* ABBFFC 80240D6C 08090368 */ j .L80240DA0
|
||||
/* ABC000 80240D70 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240D74:
|
||||
/* ABC004 80240D74 8E220000 */ lw $v0, ($s1)
|
||||
/* ABC008 80240D78 3C034000 */ lui $v1, 0x4000
|
||||
/* ABC00C 80240D7C 00431024 */ and $v0, $v0, $v1
|
||||
/* ABC010 80240D80 10400007 */ beqz $v0, .L80240DA0
|
||||
/* ABC014 80240D84 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* ABC018 80240D88 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* ABC01C 80240D8C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* ABC020 80240D90 8E220000 */ lw $v0, ($s1)
|
||||
/* ABC024 80240D94 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* ABC028 80240D98 00431024 */ and $v0, $v0, $v1
|
||||
/* ABC02C 80240D9C AE220000 */ sw $v0, ($s1)
|
||||
.L80240DA0:
|
||||
/* ABC030 80240DA0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* ABC034 80240DA4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* ABC038 80240DA8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* ABC03C 80240DAC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* ABC040 80240DB0 3C0142C8 */ lui $at, 0x42c8
|
||||
/* ABC044 80240DB4 44812000 */ mtc1 $at, $f4
|
||||
/* ABC048 80240DB8 44823000 */ mtc1 $v0, $f6
|
||||
/* ABC04C 80240DBC 00000000 */ nop
|
||||
/* ABC050 80240DC0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* ABC054 80240DC4 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* ABC058 80240DC8 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* ABC05C 80240DCC C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* ABC060 80240DD0 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* ABC064 80240DD4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* ABC068 80240DD8 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* ABC06C 80240DDC E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* ABC070 80240DE0 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* ABC074 80240DE4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* ABC078 80240DE8 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* ABC07C 80240DEC 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* ABC080 80240DF0 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* ABC084 80240DF4 10400003 */ beqz $v0, .L80240E04
|
||||
/* ABC088 80240DF8 00000000 */ nop
|
||||
/* ABC08C 80240DFC C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* ABC090 80240E00 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80240E04:
|
||||
/* ABC094 80240E04 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* ABC098 80240E08 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* ABC09C 80240E0C 10400042 */ beqz $v0, .L80240F18_ABC1A8
|
||||
/* ABC0A0 80240E10 00031080 */ sll $v0, $v1, 2
|
||||
/* ABC0A4 80240E14 3C018025 */ lui $at, %hi(jtbl_80249D40_AC4FD0)
|
||||
/* ABC0A8 80240E18 00220821 */ addu $at, $at, $v0
|
||||
/* ABC0AC 80240E1C 8C229D40 */ lw $v0, %lo(jtbl_80249D40_AC4FD0)($at)
|
||||
/* ABC0B0 80240E20 00400008 */ jr $v0
|
||||
/* ABC0B4 80240E24 00000000 */ nop
|
||||
.L80240E28_ABC0B8:
|
||||
/* ABC0B8 80240E28 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC0BC 80240E2C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC0C0 80240E30 0C09002C */ jal kkj_00_UnkNpcAIFunc24
|
||||
/* ABC0C4 80240E34 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E38_ABC0C8:
|
||||
/* ABC0C8 80240E38 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC0CC 80240E3C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC0D0 80240E40 0C090082 */ jal kkj_00_UnkFunc13
|
||||
/* ABC0D4 80240E44 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC0D8 80240E48 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC0DC 80240E4C 00000000 */ nop
|
||||
.L80240E50_ABC0E0:
|
||||
/* ABC0E0 80240E50 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC0E4 80240E54 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC0E8 80240E58 0C09012C */ jal kkj_00_UnkNpcAIFunc1
|
||||
/* ABC0EC 80240E5C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E60_ABC0F0:
|
||||
/* ABC0F0 80240E60 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC0F4 80240E64 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC0F8 80240E68 0C09015C */ jal kkj_00_UnkFunc14
|
||||
/* ABC0FC 80240E6C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC100 80240E70 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC104 80240E74 00000000 */ nop
|
||||
.L80240E78_ABC108:
|
||||
/* ABC108 80240E78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC10C 80240E7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC110 80240E80 0C0901CB */ jal kkj_00_UnkNpcAIFunc25
|
||||
/* ABC114 80240E84 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC118 80240E88 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC11C 80240E8C 00000000 */ nop
|
||||
.L80240E90_ABC120:
|
||||
/* ABC120 80240E90 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC124 80240E94 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC128 80240E98 0C0901F8 */ jal kkj_00_NpcJumpFunc2
|
||||
/* ABC12C 80240E9C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240EA0_ABC130:
|
||||
/* ABC130 80240EA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC134 80240EA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC138 80240EA8 0C090215 */ jal kkj_00_NpcJumpFunc
|
||||
/* ABC13C 80240EAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC140 80240EB0 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC144 80240EB4 00000000 */ nop
|
||||
.L80240EB8_ABC148:
|
||||
/* ABC148 80240EB8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC14C 80240EBC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC150 80240EC0 0C090233 */ jal kkj_00_UnkNpcAIFunc13
|
||||
/* ABC154 80240EC4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240EC8_ABC158:
|
||||
/* ABC158 80240EC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC15C 80240ECC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC160 80240ED0 0C09027F */ jal kkj_00_UnkFunc15
|
||||
/* ABC164 80240ED4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC168 80240ED8 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC16C 80240EDC 00000000 */ nop
|
||||
.L80240EE0_ABC170:
|
||||
/* ABC170 80240EE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC174 80240EE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC178 80240EE8 0C0902C7 */ jal kkj_00_UnkNpcDurationFlagFunc
|
||||
/* ABC17C 80240EEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC180 80240EF0 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC184 80240EF4 00000000 */ nop
|
||||
.L80240EF8_ABC188:
|
||||
/* ABC188 80240EF8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* ABC18C 80240EFC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* ABC190 80240F00 0C0902E1 */ jal kkj_00_UnkFunc16
|
||||
/* ABC194 80240F04 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* ABC198 80240F08 080903C6 */ j .L80240F18_ABC1A8
|
||||
/* ABC19C 80240F0C 00000000 */ nop
|
||||
.L80240F10_ABC1A0:
|
||||
/* ABC1A0 80240F10 0C0129CF */ jal func_8004A73C
|
||||
/* ABC1A4 80240F14 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80240F18_ABC1A8:
|
||||
/* ABC1A8 80240F18 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* ABC1AC 80240F1C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* ABC1B0 80240F20 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* ABC1B4 80240F24 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* ABC1B8 80240F28 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* ABC1BC 80240F2C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* ABC1C0 80240F30 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* ABC1C4 80240F34 0000102D */ daddu $v0, $zero, $zero
|
||||
/* ABC1C8 80240F38 03E00008 */ jr $ra
|
||||
/* ABC1CC 80240F3C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80243A20_AC8B90
|
||||
.word .L80240D78_AC5EE8, .L80240D88_AC5EF8, .L80240DA0_AC5F10, .L80240DB0_AC5F20, .L80240DC8_AC5F38, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240DE0_AC5F50, .L80240DF0_AC5F60, .L80240E08_AC5F78, .L80240E18_AC5F88, .L80240E30_AC5FA0, .L80240E48_AC5FB8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E68_AC5FD8, .L80240E60_AC5FD0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240B94_AC5D04
|
||||
/* AC5D04 80240B94 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* AC5D08 80240B98 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* AC5D0C 80240B9C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* AC5D10 80240BA0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* AC5D14 80240BA4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* AC5D18 80240BA8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* AC5D1C 80240BAC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* AC5D20 80240BB0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* AC5D24 80240BB4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* AC5D28 80240BB8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* AC5D2C 80240BBC 86240008 */ lh $a0, 8($s1)
|
||||
/* AC5D30 80240BC0 0C00EABB */ jal get_npc_unsafe
|
||||
/* AC5D34 80240BC4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* AC5D38 80240BC8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* AC5D3C 80240BCC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5D40 80240BD0 8C650000 */ lw $a1, ($v1)
|
||||
/* AC5D44 80240BD4 0C0B1EAF */ jal evt_get_variable
|
||||
/* AC5D48 80240BD8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* AC5D4C 80240BDC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* AC5D50 80240BE0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* AC5D54 80240BE4 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* AC5D58 80240BE8 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* AC5D5C 80240BEC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* AC5D60 80240BF0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* AC5D64 80240BF4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* AC5D68 80240BF8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* AC5D6C 80240BFC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* AC5D70 80240C00 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* AC5D74 80240C04 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* AC5D78 80240C08 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* AC5D7C 80240C0C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* AC5D80 80240C10 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* AC5D84 80240C14 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* AC5D88 80240C18 3C014282 */ lui $at, 0x4282
|
||||
/* AC5D8C 80240C1C 44810000 */ mtc1 $at, $f0
|
||||
/* AC5D90 80240C20 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* AC5D94 80240C24 0040982D */ daddu $s3, $v0, $zero
|
||||
/* AC5D98 80240C28 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* AC5D9C 80240C2C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* AC5DA0 80240C30 16000005 */ bnez $s0, .L80240C48
|
||||
/* AC5DA4 80240C34 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* AC5DA8 80240C38 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* AC5DAC 80240C3C 30420004 */ andi $v0, $v0, 4
|
||||
/* AC5DB0 80240C40 10400044 */ beqz $v0, .L80240D54
|
||||
/* AC5DB4 80240C44 00000000 */ nop
|
||||
.L80240C48:
|
||||
/* AC5DB8 80240C48 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* AC5DBC 80240C4C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* AC5DC0 80240C50 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* AC5DC4 80240C54 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* AC5DC8 80240C58 8E430000 */ lw $v1, ($s2)
|
||||
/* AC5DCC 80240C5C 8C420000 */ lw $v0, ($v0)
|
||||
/* AC5DD0 80240C60 00641824 */ and $v1, $v1, $a0
|
||||
/* AC5DD4 80240C64 AE430000 */ sw $v1, ($s2)
|
||||
/* AC5DD8 80240C68 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* AC5DDC 80240C6C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* AC5DE0 80240C70 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* AC5DE4 80240C74 54400005 */ bnel $v0, $zero, .L80240C8C
|
||||
/* AC5DE8 80240C78 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* AC5DEC 80240C7C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* AC5DF0 80240C80 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* AC5DF4 80240C84 08090325 */ j .L80240C94
|
||||
/* AC5DF8 80240C88 00431024 */ and $v0, $v0, $v1
|
||||
.L80240C8C:
|
||||
/* AC5DFC 80240C8C 00621024 */ and $v0, $v1, $v0
|
||||
/* AC5E00 80240C90 34420008 */ ori $v0, $v0, 8
|
||||
.L80240C94:
|
||||
/* AC5E04 80240C94 AE420000 */ sw $v0, ($s2)
|
||||
/* AC5E08 80240C98 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* AC5E0C 80240C9C 30420004 */ andi $v0, $v0, 4
|
||||
/* AC5E10 80240CA0 10400008 */ beqz $v0, .L80240CC4
|
||||
/* AC5E14 80240CA4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* AC5E18 80240CA8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* AC5E1C 80240CAC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* AC5E20 80240CB0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* AC5E24 80240CB4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* AC5E28 80240CB8 00431024 */ and $v0, $v0, $v1
|
||||
/* AC5E2C 80240CBC 0809033C */ j .L80240CF0
|
||||
/* AC5E30 80240CC0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240CC4:
|
||||
/* AC5E34 80240CC4 8E220000 */ lw $v0, ($s1)
|
||||
/* AC5E38 80240CC8 3C034000 */ lui $v1, 0x4000
|
||||
/* AC5E3C 80240CCC 00431024 */ and $v0, $v0, $v1
|
||||
/* AC5E40 80240CD0 10400007 */ beqz $v0, .L80240CF0
|
||||
/* AC5E44 80240CD4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* AC5E48 80240CD8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* AC5E4C 80240CDC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* AC5E50 80240CE0 8E220000 */ lw $v0, ($s1)
|
||||
/* AC5E54 80240CE4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* AC5E58 80240CE8 00431024 */ and $v0, $v0, $v1
|
||||
/* AC5E5C 80240CEC AE220000 */ sw $v0, ($s1)
|
||||
.L80240CF0:
|
||||
/* AC5E60 80240CF0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* AC5E64 80240CF4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* AC5E68 80240CF8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* AC5E6C 80240CFC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* AC5E70 80240D00 3C0142C8 */ lui $at, 0x42c8
|
||||
/* AC5E74 80240D04 44812000 */ mtc1 $at, $f4
|
||||
/* AC5E78 80240D08 44823000 */ mtc1 $v0, $f6
|
||||
/* AC5E7C 80240D0C 00000000 */ nop
|
||||
/* AC5E80 80240D10 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* AC5E84 80240D14 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* AC5E88 80240D18 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* AC5E8C 80240D1C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* AC5E90 80240D20 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* AC5E94 80240D24 46060000 */ add.s $f0, $f0, $f6
|
||||
/* AC5E98 80240D28 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* AC5E9C 80240D2C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* AC5EA0 80240D30 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* AC5EA4 80240D34 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* AC5EA8 80240D38 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* AC5EAC 80240D3C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* AC5EB0 80240D40 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* AC5EB4 80240D44 10400003 */ beqz $v0, .L80240D54
|
||||
/* AC5EB8 80240D48 00000000 */ nop
|
||||
/* AC5EBC 80240D4C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* AC5EC0 80240D50 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80240D54:
|
||||
/* AC5EC4 80240D54 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* AC5EC8 80240D58 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* AC5ECC 80240D5C 10400042 */ beqz $v0, .L80240E68_AC5FD8
|
||||
/* AC5ED0 80240D60 00031080 */ sll $v0, $v1, 2
|
||||
/* AC5ED4 80240D64 3C018024 */ lui $at, %hi(jtbl_80243A20_AC8B90)
|
||||
/* AC5ED8 80240D68 00220821 */ addu $at, $at, $v0
|
||||
/* AC5EDC 80240D6C 8C223A20 */ lw $v0, %lo(jtbl_80243A20_AC8B90)($at)
|
||||
/* AC5EE0 80240D70 00400008 */ jr $v0
|
||||
/* AC5EE4 80240D74 00000000 */ nop
|
||||
.L80240D78_AC5EE8:
|
||||
/* AC5EE8 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5EEC 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5EF0 80240D80 0C090000 */ jal kkj_01_UnkNpcAIFunc24
|
||||
/* AC5EF4 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240D88_AC5EF8:
|
||||
/* AC5EF8 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5EFC 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F00 80240D90 0C090056 */ jal kkj_01_UnkFunc13
|
||||
/* AC5F04 80240D94 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5F08 80240D98 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5F0C 80240D9C 00000000 */ nop
|
||||
.L80240DA0_AC5F10:
|
||||
/* AC5F10 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F14 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F18 80240DA8 0C090100 */ jal kkj_01_UnkNpcAIFunc1
|
||||
/* AC5F1C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DB0_AC5F20:
|
||||
/* AC5F20 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F24 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F28 80240DB8 0C090130 */ jal kkj_01_UnkFunc14
|
||||
/* AC5F2C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5F30 80240DC0 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5F34 80240DC4 00000000 */ nop
|
||||
.L80240DC8_AC5F38:
|
||||
/* AC5F38 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F3C 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F40 80240DD0 0C09019F */ jal kkj_01_UnkNpcAIFunc25
|
||||
/* AC5F44 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5F48 80240DD8 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5F4C 80240DDC 00000000 */ nop
|
||||
.L80240DE0_AC5F50:
|
||||
/* AC5F50 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F54 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F58 80240DE8 0C0901CC */ jal kkj_01_NpcJumpFunc2
|
||||
/* AC5F5C 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DF0_AC5F60:
|
||||
/* AC5F60 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F64 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F68 80240DF8 0C0901E9 */ jal kkj_01_NpcJumpFunc
|
||||
/* AC5F6C 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5F70 80240E00 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5F74 80240E04 00000000 */ nop
|
||||
.L80240E08_AC5F78:
|
||||
/* AC5F78 80240E08 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F7C 80240E0C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F80 80240E10 0C090207 */ jal kkj_01_UnkNpcAIFunc13
|
||||
/* AC5F84 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E18_AC5F88:
|
||||
/* AC5F88 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5F8C 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5F90 80240E20 0C090253 */ jal kkj_01_UnkFunc15
|
||||
/* AC5F94 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5F98 80240E28 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5F9C 80240E2C 00000000 */ nop
|
||||
.L80240E30_AC5FA0:
|
||||
/* AC5FA0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5FA4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5FA8 80240E38 0C09029B */ jal kkj_01_UnkNpcDurationFlagFunc
|
||||
/* AC5FAC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5FB0 80240E40 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5FB4 80240E44 00000000 */ nop
|
||||
.L80240E48_AC5FB8:
|
||||
/* AC5FB8 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* AC5FBC 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* AC5FC0 80240E50 0C0902B5 */ jal kkj_01_UnkFunc16
|
||||
/* AC5FC4 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* AC5FC8 80240E58 0809039A */ j .L80240E68_AC5FD8
|
||||
/* AC5FCC 80240E5C 00000000 */ nop
|
||||
.L80240E60_AC5FD0:
|
||||
/* AC5FD0 80240E60 0C0129CF */ jal func_8004A73C
|
||||
/* AC5FD4 80240E64 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80240E68_AC5FD8:
|
||||
/* AC5FD8 80240E68 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* AC5FDC 80240E6C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* AC5FE0 80240E70 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* AC5FE4 80240E74 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* AC5FE8 80240E78 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* AC5FEC 80240E7C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* AC5FF0 80240E80 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* AC5FF4 80240E84 0000102D */ daddu $v0, $zero, $zero
|
||||
/* AC5FF8 80240E88 03E00008 */ jr $ra
|
||||
/* AC5FFC 80240E8C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80245A40_A8C490
|
||||
.word .L80240D78_A877C8, .L80240D88_A877D8, .L80240DA0_A877F0, .L80240DB0_A87800, .L80240DC8_A87818, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240DE0_A87830, .L80240DF0_A87840, .L80240E08_A87858, .L80240E18_A87868, .L80240E30_A87880, .L80240E48_A87898, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E68_A878B8, .L80240E60_A878B0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240B94_A875E4
|
||||
/* A875E4 80240B94 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* A875E8 80240B98 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* A875EC 80240B9C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* A875F0 80240BA0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* A875F4 80240BA4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* A875F8 80240BA8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* A875FC 80240BAC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* A87600 80240BB0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* A87604 80240BB4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* A87608 80240BB8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* A8760C 80240BBC 86240008 */ lh $a0, 8($s1)
|
||||
/* A87610 80240BC0 0C00EABB */ jal get_npc_unsafe
|
||||
/* A87614 80240BC4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* A87618 80240BC8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* A8761C 80240BCC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A87620 80240BD0 8C650000 */ lw $a1, ($v1)
|
||||
/* A87624 80240BD4 0C0B1EAF */ jal evt_get_variable
|
||||
/* A87628 80240BD8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* A8762C 80240BDC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* A87630 80240BE0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A87634 80240BE4 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* A87638 80240BE8 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* A8763C 80240BEC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A87640 80240BF0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* A87644 80240BF4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* A87648 80240BF8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8764C 80240BFC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* A87650 80240C00 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* A87654 80240C04 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A87658 80240C08 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* A8765C 80240C0C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* A87660 80240C10 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* A87664 80240C14 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A87668 80240C18 3C014282 */ lui $at, 0x4282
|
||||
/* A8766C 80240C1C 44810000 */ mtc1 $at, $f0
|
||||
/* A87670 80240C20 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* A87674 80240C24 0040982D */ daddu $s3, $v0, $zero
|
||||
/* A87678 80240C28 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* A8767C 80240C2C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* A87680 80240C30 16000005 */ bnez $s0, .L80240C48
|
||||
/* A87684 80240C34 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* A87688 80240C38 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A8768C 80240C3C 30420004 */ andi $v0, $v0, 4
|
||||
/* A87690 80240C40 10400044 */ beqz $v0, .L80240D54
|
||||
/* A87694 80240C44 00000000 */ nop
|
||||
.L80240C48:
|
||||
/* A87698 80240C48 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* A8769C 80240C4C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* A876A0 80240C50 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* A876A4 80240C54 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* A876A8 80240C58 8E430000 */ lw $v1, ($s2)
|
||||
/* A876AC 80240C5C 8C420000 */ lw $v0, ($v0)
|
||||
/* A876B0 80240C60 00641824 */ and $v1, $v1, $a0
|
||||
/* A876B4 80240C64 AE430000 */ sw $v1, ($s2)
|
||||
/* A876B8 80240C68 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* A876BC 80240C6C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* A876C0 80240C70 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* A876C4 80240C74 54400005 */ bnel $v0, $zero, .L80240C8C
|
||||
/* A876C8 80240C78 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* A876CC 80240C7C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* A876D0 80240C80 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* A876D4 80240C84 08090325 */ j .L80240C94
|
||||
/* A876D8 80240C88 00431024 */ and $v0, $v0, $v1
|
||||
.L80240C8C:
|
||||
/* A876DC 80240C8C 00621024 */ and $v0, $v1, $v0
|
||||
/* A876E0 80240C90 34420008 */ ori $v0, $v0, 8
|
||||
.L80240C94:
|
||||
/* A876E4 80240C94 AE420000 */ sw $v0, ($s2)
|
||||
/* A876E8 80240C98 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A876EC 80240C9C 30420004 */ andi $v0, $v0, 4
|
||||
/* A876F0 80240CA0 10400008 */ beqz $v0, .L80240CC4
|
||||
/* A876F4 80240CA4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* A876F8 80240CA8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* A876FC 80240CAC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* A87700 80240CB0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A87704 80240CB4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* A87708 80240CB8 00431024 */ and $v0, $v0, $v1
|
||||
/* A8770C 80240CBC 0809033C */ j .L80240CF0
|
||||
/* A87710 80240CC0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240CC4:
|
||||
/* A87714 80240CC4 8E220000 */ lw $v0, ($s1)
|
||||
/* A87718 80240CC8 3C034000 */ lui $v1, 0x4000
|
||||
/* A8771C 80240CCC 00431024 */ and $v0, $v0, $v1
|
||||
/* A87720 80240CD0 10400007 */ beqz $v0, .L80240CF0
|
||||
/* A87724 80240CD4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* A87728 80240CD8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* A8772C 80240CDC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* A87730 80240CE0 8E220000 */ lw $v0, ($s1)
|
||||
/* A87734 80240CE4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* A87738 80240CE8 00431024 */ and $v0, $v0, $v1
|
||||
/* A8773C 80240CEC AE220000 */ sw $v0, ($s1)
|
||||
.L80240CF0:
|
||||
/* A87740 80240CF0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* A87744 80240CF4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* A87748 80240CF8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* A8774C 80240CFC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* A87750 80240D00 3C0142C8 */ lui $at, 0x42c8
|
||||
/* A87754 80240D04 44812000 */ mtc1 $at, $f4
|
||||
/* A87758 80240D08 44823000 */ mtc1 $v0, $f6
|
||||
/* A8775C 80240D0C 00000000 */ nop
|
||||
/* A87760 80240D10 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* A87764 80240D14 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* A87768 80240D18 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* A8776C 80240D1C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* A87770 80240D20 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* A87774 80240D24 46060000 */ add.s $f0, $f0, $f6
|
||||
/* A87778 80240D28 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* A8777C 80240D2C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* A87780 80240D30 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* A87784 80240D34 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* A87788 80240D38 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* A8778C 80240D3C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* A87790 80240D40 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* A87794 80240D44 10400003 */ beqz $v0, .L80240D54
|
||||
/* A87798 80240D48 00000000 */ nop
|
||||
/* A8779C 80240D4C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* A877A0 80240D50 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80240D54:
|
||||
/* A877A4 80240D54 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* A877A8 80240D58 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* A877AC 80240D5C 10400042 */ beqz $v0, .L80240E68_A878B8
|
||||
/* A877B0 80240D60 00031080 */ sll $v0, $v1, 2
|
||||
/* A877B4 80240D64 3C018024 */ lui $at, %hi(jtbl_80245A40_A8C490)
|
||||
/* A877B8 80240D68 00220821 */ addu $at, $at, $v0
|
||||
/* A877BC 80240D6C 8C225A40 */ lw $v0, %lo(jtbl_80245A40_A8C490)($at)
|
||||
/* A877C0 80240D70 00400008 */ jr $v0
|
||||
/* A877C4 80240D74 00000000 */ nop
|
||||
.L80240D78_A877C8:
|
||||
/* A877C8 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A877CC 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A877D0 80240D80 0C090000 */ jal kpa_91_UnkNpcAIFunc24
|
||||
/* A877D4 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240D88_A877D8:
|
||||
/* A877D8 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A877DC 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A877E0 80240D90 0C090056 */ jal kpa_91_UnkFunc13
|
||||
/* A877E4 80240D94 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A877E8 80240D98 0809039A */ j .L80240E68_A878B8
|
||||
/* A877EC 80240D9C 00000000 */ nop
|
||||
.L80240DA0_A877F0:
|
||||
/* A877F0 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A877F4 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A877F8 80240DA8 0C090100 */ jal kpa_91_UnkNpcAIFunc1
|
||||
/* A877FC 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DB0_A87800:
|
||||
/* A87800 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A87804 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87808 80240DB8 0C090130 */ jal kpa_91_UnkFunc14
|
||||
/* A8780C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A87810 80240DC0 0809039A */ j .L80240E68_A878B8
|
||||
/* A87814 80240DC4 00000000 */ nop
|
||||
.L80240DC8_A87818:
|
||||
/* A87818 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8781C 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87820 80240DD0 0C09019F */ jal kpa_91_UnkNpcAIFunc25
|
||||
/* A87824 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A87828 80240DD8 0809039A */ j .L80240E68_A878B8
|
||||
/* A8782C 80240DDC 00000000 */ nop
|
||||
.L80240DE0_A87830:
|
||||
/* A87830 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A87834 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87838 80240DE8 0C0901CC */ jal kpa_91_NpcJumpFunc2
|
||||
/* A8783C 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240DF0_A87840:
|
||||
/* A87840 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A87844 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87848 80240DF8 0C0901E9 */ jal kpa_91_NpcJumpFunc
|
||||
/* A8784C 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A87850 80240E00 0809039A */ j .L80240E68_A878B8
|
||||
/* A87854 80240E04 00000000 */ nop
|
||||
.L80240E08_A87858:
|
||||
/* A87858 80240E08 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8785C 80240E0C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87860 80240E10 0C090207 */ jal kpa_91_UnkNpcAIFunc13
|
||||
/* A87864 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E18_A87868:
|
||||
/* A87868 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8786C 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87870 80240E20 0C090253 */ jal kpa_91_UnkFunc15
|
||||
/* A87874 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A87878 80240E28 0809039A */ j .L80240E68_A878B8
|
||||
/* A8787C 80240E2C 00000000 */ nop
|
||||
.L80240E30_A87880:
|
||||
/* A87880 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A87884 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A87888 80240E38 0C09029B */ jal kpa_91_UnkNpcDurationFlagFunc
|
||||
/* A8788C 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A87890 80240E40 0809039A */ j .L80240E68_A878B8
|
||||
/* A87894 80240E44 00000000 */ nop
|
||||
.L80240E48_A87898:
|
||||
/* A87898 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8789C 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A878A0 80240E50 0C0902B5 */ jal kpa_91_UnkFunc16
|
||||
/* A878A4 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A878A8 80240E58 0809039A */ j .L80240E68_A878B8
|
||||
/* A878AC 80240E5C 00000000 */ nop
|
||||
.L80240E60_A878B0:
|
||||
/* A878B0 80240E60 0C0129CF */ jal func_8004A73C
|
||||
/* A878B4 80240E64 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80240E68_A878B8:
|
||||
/* A878B8 80240E68 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* A878BC 80240E6C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* A878C0 80240E70 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* A878C4 80240E74 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* A878C8 80240E78 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* A878CC 80240E7C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* A878D0 80240E80 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* A878D4 80240E84 0000102D */ daddu $v0, $zero, $zero
|
||||
/* A878D8 80240E88 03E00008 */ jr $ra
|
||||
/* A878DC 80240E8C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80245A10_A92490
|
||||
.word .L80240E58_A8D8D8, .L80240E68_A8D8E8, .L80240E80_A8D900, .L80240E90_A8D910, .L80240EA8_A8D928, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240EC0_A8D940, .L80240ED0_A8D950, .L80240EE8_A8D968, .L80240EF8_A8D978, .L80240F10_A8D990, .L80240F28_A8D9A8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F48_A8D9C8, .L80240F40_A8D9C0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240C74_A8D6F4
|
||||
/* A8D6F4 80240C74 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* A8D6F8 80240C78 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* A8D6FC 80240C7C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* A8D700 80240C80 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* A8D704 80240C84 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* A8D708 80240C88 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* A8D70C 80240C8C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* A8D710 80240C90 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* A8D714 80240C94 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* A8D718 80240C98 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* A8D71C 80240C9C 86240008 */ lh $a0, 8($s1)
|
||||
/* A8D720 80240CA0 0C00EABB */ jal get_npc_unsafe
|
||||
/* A8D724 80240CA4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* A8D728 80240CA8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* A8D72C 80240CAC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D730 80240CB0 8C650000 */ lw $a1, ($v1)
|
||||
/* A8D734 80240CB4 0C0B1EAF */ jal evt_get_variable
|
||||
/* A8D738 80240CB8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* A8D73C 80240CBC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* A8D740 80240CC0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8D744 80240CC4 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* A8D748 80240CC8 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* A8D74C 80240CCC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8D750 80240CD0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* A8D754 80240CD4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* A8D758 80240CD8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8D75C 80240CDC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* A8D760 80240CE0 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* A8D764 80240CE4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8D768 80240CE8 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* A8D76C 80240CEC 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* A8D770 80240CF0 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* A8D774 80240CF4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* A8D778 80240CF8 3C014282 */ lui $at, 0x4282
|
||||
/* A8D77C 80240CFC 44810000 */ mtc1 $at, $f0
|
||||
/* A8D780 80240D00 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* A8D784 80240D04 0040982D */ daddu $s3, $v0, $zero
|
||||
/* A8D788 80240D08 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* A8D78C 80240D0C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* A8D790 80240D10 16000005 */ bnez $s0, .L80240D28
|
||||
/* A8D794 80240D14 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* A8D798 80240D18 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A8D79C 80240D1C 30420004 */ andi $v0, $v0, 4
|
||||
/* A8D7A0 80240D20 10400044 */ beqz $v0, .L80240E34
|
||||
/* A8D7A4 80240D24 00000000 */ nop
|
||||
.L80240D28:
|
||||
/* A8D7A8 80240D28 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* A8D7AC 80240D2C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* A8D7B0 80240D30 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* A8D7B4 80240D34 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* A8D7B8 80240D38 8E430000 */ lw $v1, ($s2)
|
||||
/* A8D7BC 80240D3C 8C420000 */ lw $v0, ($v0)
|
||||
/* A8D7C0 80240D40 00641824 */ and $v1, $v1, $a0
|
||||
/* A8D7C4 80240D44 AE430000 */ sw $v1, ($s2)
|
||||
/* A8D7C8 80240D48 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* A8D7CC 80240D4C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* A8D7D0 80240D50 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* A8D7D4 80240D54 54400005 */ bnel $v0, $zero, .L80240D6C
|
||||
/* A8D7D8 80240D58 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* A8D7DC 80240D5C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* A8D7E0 80240D60 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* A8D7E4 80240D64 0809035D */ j .L80240D74
|
||||
/* A8D7E8 80240D68 00431024 */ and $v0, $v0, $v1
|
||||
.L80240D6C:
|
||||
/* A8D7EC 80240D6C 00621024 */ and $v0, $v1, $v0
|
||||
/* A8D7F0 80240D70 34420008 */ ori $v0, $v0, 8
|
||||
.L80240D74:
|
||||
/* A8D7F4 80240D74 AE420000 */ sw $v0, ($s2)
|
||||
/* A8D7F8 80240D78 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A8D7FC 80240D7C 30420004 */ andi $v0, $v0, 4
|
||||
/* A8D800 80240D80 10400008 */ beqz $v0, .L80240DA4
|
||||
/* A8D804 80240D84 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* A8D808 80240D88 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* A8D80C 80240D8C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* A8D810 80240D90 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* A8D814 80240D94 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* A8D818 80240D98 00431024 */ and $v0, $v0, $v1
|
||||
/* A8D81C 80240D9C 08090374 */ j .L80240DD0
|
||||
/* A8D820 80240DA0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240DA4:
|
||||
/* A8D824 80240DA4 8E220000 */ lw $v0, ($s1)
|
||||
/* A8D828 80240DA8 3C034000 */ lui $v1, 0x4000
|
||||
/* A8D82C 80240DAC 00431024 */ and $v0, $v0, $v1
|
||||
/* A8D830 80240DB0 10400007 */ beqz $v0, .L80240DD0
|
||||
/* A8D834 80240DB4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* A8D838 80240DB8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* A8D83C 80240DBC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* A8D840 80240DC0 8E220000 */ lw $v0, ($s1)
|
||||
/* A8D844 80240DC4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* A8D848 80240DC8 00431024 */ and $v0, $v0, $v1
|
||||
/* A8D84C 80240DCC AE220000 */ sw $v0, ($s1)
|
||||
.L80240DD0:
|
||||
/* A8D850 80240DD0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* A8D854 80240DD4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* A8D858 80240DD8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* A8D85C 80240DDC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* A8D860 80240DE0 3C0142C8 */ lui $at, 0x42c8
|
||||
/* A8D864 80240DE4 44812000 */ mtc1 $at, $f4
|
||||
/* A8D868 80240DE8 44823000 */ mtc1 $v0, $f6
|
||||
/* A8D86C 80240DEC 00000000 */ nop
|
||||
/* A8D870 80240DF0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* A8D874 80240DF4 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* A8D878 80240DF8 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* A8D87C 80240DFC C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* A8D880 80240E00 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* A8D884 80240E04 46060000 */ add.s $f0, $f0, $f6
|
||||
/* A8D888 80240E08 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* A8D88C 80240E0C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* A8D890 80240E10 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* A8D894 80240E14 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* A8D898 80240E18 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* A8D89C 80240E1C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* A8D8A0 80240E20 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* A8D8A4 80240E24 10400003 */ beqz $v0, .L80240E34
|
||||
/* A8D8A8 80240E28 00000000 */ nop
|
||||
/* A8D8AC 80240E2C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* A8D8B0 80240E30 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80240E34:
|
||||
/* A8D8B4 80240E34 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* A8D8B8 80240E38 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* A8D8BC 80240E3C 10400042 */ beqz $v0, .L80240F48_A8D9C8
|
||||
/* A8D8C0 80240E40 00031080 */ sll $v0, $v1, 2
|
||||
/* A8D8C4 80240E44 3C018024 */ lui $at, %hi(jtbl_80245A10_A92490)
|
||||
/* A8D8C8 80240E48 00220821 */ addu $at, $at, $v0
|
||||
/* A8D8CC 80240E4C 8C225A10 */ lw $v0, %lo(jtbl_80245A10_A92490)($at)
|
||||
/* A8D8D0 80240E50 00400008 */ jr $v0
|
||||
/* A8D8D4 80240E54 00000000 */ nop
|
||||
.L80240E58_A8D8D8:
|
||||
/* A8D8D8 80240E58 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D8DC 80240E5C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D8E0 80240E60 0C090038 */ jal kpa_95_UnkNpcAIFunc24
|
||||
/* A8D8E4 80240E64 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E68_A8D8E8:
|
||||
/* A8D8E8 80240E68 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D8EC 80240E6C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D8F0 80240E70 0C09008E */ jal kpa_95_UnkFunc13
|
||||
/* A8D8F4 80240E74 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D8F8 80240E78 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D8FC 80240E7C 00000000 */ nop
|
||||
.L80240E80_A8D900:
|
||||
/* A8D900 80240E80 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D904 80240E84 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D908 80240E88 0C090138 */ jal kpa_95_UnkNpcAIFunc1
|
||||
/* A8D90C 80240E8C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240E90_A8D910:
|
||||
/* A8D910 80240E90 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D914 80240E94 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D918 80240E98 0C090168 */ jal kpa_95_UnkFunc14
|
||||
/* A8D91C 80240E9C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D920 80240EA0 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D924 80240EA4 00000000 */ nop
|
||||
.L80240EA8_A8D928:
|
||||
/* A8D928 80240EA8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D92C 80240EAC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D930 80240EB0 0C0901D7 */ jal kpa_95_UnkNpcAIFunc25
|
||||
/* A8D934 80240EB4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D938 80240EB8 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D93C 80240EBC 00000000 */ nop
|
||||
.L80240EC0_A8D940:
|
||||
/* A8D940 80240EC0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D944 80240EC4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D948 80240EC8 0C090204 */ jal kpa_95_NpcJumpFunc2
|
||||
/* A8D94C 80240ECC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240ED0_A8D950:
|
||||
/* A8D950 80240ED0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D954 80240ED4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D958 80240ED8 0C090221 */ jal kpa_95_NpcJumpFunc
|
||||
/* A8D95C 80240EDC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D960 80240EE0 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D964 80240EE4 00000000 */ nop
|
||||
.L80240EE8_A8D968:
|
||||
/* A8D968 80240EE8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D96C 80240EEC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D970 80240EF0 0C09023F */ jal kpa_95_UnkNpcAIFunc13
|
||||
/* A8D974 80240EF4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80240EF8_A8D978:
|
||||
/* A8D978 80240EF8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D97C 80240EFC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D980 80240F00 0C09028B */ jal kpa_95_UnkFunc15
|
||||
/* A8D984 80240F04 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D988 80240F08 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D98C 80240F0C 00000000 */ nop
|
||||
.L80240F10_A8D990:
|
||||
/* A8D990 80240F10 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D994 80240F14 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D998 80240F18 0C0902D3 */ jal kpa_95_UnkNpcDurationFlagFunc
|
||||
/* A8D99C 80240F1C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D9A0 80240F20 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D9A4 80240F24 00000000 */ nop
|
||||
.L80240F28_A8D9A8:
|
||||
/* A8D9A8 80240F28 0280202D */ daddu $a0, $s4, $zero
|
||||
/* A8D9AC 80240F2C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* A8D9B0 80240F30 0C0902ED */ jal kpa_95_UnkFunc16
|
||||
/* A8D9B4 80240F34 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* A8D9B8 80240F38 080903D2 */ j .L80240F48_A8D9C8
|
||||
/* A8D9BC 80240F3C 00000000 */ nop
|
||||
.L80240F40_A8D9C0:
|
||||
/* A8D9C0 80240F40 0C0129CF */ jal func_8004A73C
|
||||
/* A8D9C4 80240F44 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80240F48_A8D9C8:
|
||||
/* A8D9C8 80240F48 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* A8D9CC 80240F4C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* A8D9D0 80240F50 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* A8D9D4 80240F54 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* A8D9D8 80240F58 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* A8D9DC 80240F5C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* A8D9E0 80240F60 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* A8D9E4 80240F64 0000102D */ daddu $v0, $zero, $zero
|
||||
/* A8D9E8 80240F68 03E00008 */ jr $ra
|
||||
/* A8D9EC 80240F6C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_802559D0_8006E0
|
||||
.word .L802432E8_7EDFF8, .L802432F8_7EE008, .L80243310_7EE020, .L80243320_7EE030, .L80243338_7EE048, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L80243350_7EE060, .L80243360_7EE070, .L80243378_7EE088, .L80243388_7EE098, .L802433A0_7EE0B0, .L802433B8_7EE0C8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D8_7EE0E8, .L802433D0_7EE0E0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80243104_7EDE14
|
||||
/* 7EDE14 80243104 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 7EDE18 80243108 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 7EDE1C 8024310C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 7EDE20 80243110 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 7EDE24 80243114 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 7EDE28 80243118 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 7EDE2C 8024311C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 7EDE30 80243120 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 7EDE34 80243124 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 7EDE38 80243128 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 7EDE3C 8024312C 86240008 */ lh $a0, 8($s1)
|
||||
/* 7EDE40 80243130 0C00EABB */ jal get_npc_unsafe
|
||||
/* 7EDE44 80243134 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 7EDE48 80243138 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 7EDE4C 8024313C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EDE50 80243140 8C650000 */ lw $a1, ($v1)
|
||||
/* 7EDE54 80243144 0C0B1EAF */ jal evt_get_variable
|
||||
/* 7EDE58 80243148 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 7EDE5C 8024314C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 7EDE60 80243150 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 7EDE64 80243154 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 7EDE68 80243158 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 7EDE6C 8024315C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 7EDE70 80243160 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 7EDE74 80243164 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 7EDE78 80243168 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 7EDE7C 8024316C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 7EDE80 80243170 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 7EDE84 80243174 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 7EDE88 80243178 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 7EDE8C 8024317C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 7EDE90 80243180 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 7EDE94 80243184 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 7EDE98 80243188 3C014282 */ lui $at, 0x4282
|
||||
/* 7EDE9C 8024318C 44810000 */ mtc1 $at, $f0
|
||||
/* 7EDEA0 80243190 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 7EDEA4 80243194 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 7EDEA8 80243198 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 7EDEAC 8024319C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 7EDEB0 802431A0 16000005 */ bnez $s0, .L802431B8
|
||||
/* 7EDEB4 802431A4 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 7EDEB8 802431A8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 7EDEBC 802431AC 30420004 */ andi $v0, $v0, 4
|
||||
/* 7EDEC0 802431B0 10400044 */ beqz $v0, .L802432C4
|
||||
/* 7EDEC4 802431B4 00000000 */ nop
|
||||
.L802431B8:
|
||||
/* 7EDEC8 802431B8 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 7EDECC 802431BC AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 7EDED0 802431C0 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 7EDED4 802431C4 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 7EDED8 802431C8 8E430000 */ lw $v1, ($s2)
|
||||
/* 7EDEDC 802431CC 8C420000 */ lw $v0, ($v0)
|
||||
/* 7EDEE0 802431D0 00641824 */ and $v1, $v1, $a0
|
||||
/* 7EDEE4 802431D4 AE430000 */ sw $v1, ($s2)
|
||||
/* 7EDEE8 802431D8 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 7EDEEC 802431DC 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 7EDEF0 802431E0 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 7EDEF4 802431E4 54400005 */ bnel $v0, $zero, .L802431FC
|
||||
/* 7EDEF8 802431E8 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 7EDEFC 802431EC 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 7EDF00 802431F0 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 7EDF04 802431F4 08090C81 */ j .L80243204
|
||||
/* 7EDF08 802431F8 00431024 */ and $v0, $v0, $v1
|
||||
.L802431FC:
|
||||
/* 7EDF0C 802431FC 00621024 */ and $v0, $v1, $v0
|
||||
/* 7EDF10 80243200 34420008 */ ori $v0, $v0, 8
|
||||
.L80243204:
|
||||
/* 7EDF14 80243204 AE420000 */ sw $v0, ($s2)
|
||||
/* 7EDF18 80243208 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 7EDF1C 8024320C 30420004 */ andi $v0, $v0, 4
|
||||
/* 7EDF20 80243210 10400008 */ beqz $v0, .L80243234
|
||||
/* 7EDF24 80243214 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 7EDF28 80243218 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 7EDF2C 8024321C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 7EDF30 80243220 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 7EDF34 80243224 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 7EDF38 80243228 00431024 */ and $v0, $v0, $v1
|
||||
/* 7EDF3C 8024322C 08090C98 */ j .L80243260
|
||||
/* 7EDF40 80243230 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80243234:
|
||||
/* 7EDF44 80243234 8E220000 */ lw $v0, ($s1)
|
||||
/* 7EDF48 80243238 3C034000 */ lui $v1, 0x4000
|
||||
/* 7EDF4C 8024323C 00431024 */ and $v0, $v0, $v1
|
||||
/* 7EDF50 80243240 10400007 */ beqz $v0, .L80243260
|
||||
/* 7EDF54 80243244 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 7EDF58 80243248 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 7EDF5C 8024324C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 7EDF60 80243250 8E220000 */ lw $v0, ($s1)
|
||||
/* 7EDF64 80243254 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 7EDF68 80243258 00431024 */ and $v0, $v0, $v1
|
||||
/* 7EDF6C 8024325C AE220000 */ sw $v0, ($s1)
|
||||
.L80243260:
|
||||
/* 7EDF70 80243260 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 7EDF74 80243264 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 7EDF78 80243268 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 7EDF7C 8024326C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 7EDF80 80243270 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 7EDF84 80243274 44812000 */ mtc1 $at, $f4
|
||||
/* 7EDF88 80243278 44823000 */ mtc1 $v0, $f6
|
||||
/* 7EDF8C 8024327C 00000000 */ nop
|
||||
/* 7EDF90 80243280 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 7EDF94 80243284 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 7EDF98 80243288 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 7EDF9C 8024328C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 7EDFA0 80243290 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 7EDFA4 80243294 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 7EDFA8 80243298 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 7EDFAC 8024329C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 7EDFB0 802432A0 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 7EDFB4 802432A4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7EDFB8 802432A8 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 7EDFBC 802432AC 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 7EDFC0 802432B0 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 7EDFC4 802432B4 10400003 */ beqz $v0, .L802432C4
|
||||
/* 7EDFC8 802432B8 00000000 */ nop
|
||||
/* 7EDFCC 802432BC C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 7EDFD0 802432C0 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L802432C4:
|
||||
/* 7EDFD4 802432C4 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 7EDFD8 802432C8 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 7EDFDC 802432CC 10400042 */ beqz $v0, .L802433D8_7EE0E8
|
||||
/* 7EDFE0 802432D0 00031080 */ sll $v0, $v1, 2
|
||||
/* 7EDFE4 802432D4 3C018025 */ lui $at, %hi(jtbl_802559D0_8006E0)
|
||||
/* 7EDFE8 802432D8 00220821 */ addu $at, $at, $v0
|
||||
/* 7EDFEC 802432DC 8C2259D0 */ lw $v0, %lo(jtbl_802559D0_8006E0)($at)
|
||||
/* 7EDFF0 802432E0 00400008 */ jr $v0
|
||||
/* 7EDFF4 802432E4 00000000 */ nop
|
||||
.L802432E8_7EDFF8:
|
||||
/* 7EDFF8 802432E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EDFFC 802432EC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE000 802432F0 0C09095C */ jal mac_00_UnkNpcAIFunc24
|
||||
/* 7EE004 802432F4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802432F8_7EE008:
|
||||
/* 7EE008 802432F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE00C 802432FC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE010 80243300 0C0909B2 */ jal mac_00_UnkFunc13
|
||||
/* 7EE014 80243304 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE018 80243308 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE01C 8024330C 00000000 */ nop
|
||||
.L80243310_7EE020:
|
||||
/* 7EE020 80243310 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE024 80243314 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE028 80243318 0C090A5C */ jal mac_00_UnkNpcAIFunc1
|
||||
/* 7EE02C 8024331C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80243320_7EE030:
|
||||
/* 7EE030 80243320 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE034 80243324 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE038 80243328 0C090A8C */ jal mac_00_UnkFunc14
|
||||
/* 7EE03C 8024332C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE040 80243330 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE044 80243334 00000000 */ nop
|
||||
.L80243338_7EE048:
|
||||
/* 7EE048 80243338 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE04C 8024333C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE050 80243340 0C090AFB */ jal mac_00_UnkNpcAIFunc25
|
||||
/* 7EE054 80243344 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE058 80243348 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE05C 8024334C 00000000 */ nop
|
||||
.L80243350_7EE060:
|
||||
/* 7EE060 80243350 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE064 80243354 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE068 80243358 0C090B28 */ jal mac_00_NpcJumpFunc2
|
||||
/* 7EE06C 8024335C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80243360_7EE070:
|
||||
/* 7EE070 80243360 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE074 80243364 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE078 80243368 0C090B45 */ jal mac_00_NpcJumpFunc
|
||||
/* 7EE07C 8024336C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE080 80243370 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE084 80243374 00000000 */ nop
|
||||
.L80243378_7EE088:
|
||||
/* 7EE088 80243378 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE08C 8024337C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE090 80243380 0C090B63 */ jal mac_00_UnkNpcAIFunc13
|
||||
/* 7EE094 80243384 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80243388_7EE098:
|
||||
/* 7EE098 80243388 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE09C 8024338C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE0A0 80243390 0C090BAF */ jal mac_00_UnkFunc15
|
||||
/* 7EE0A4 80243394 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE0A8 80243398 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE0AC 8024339C 00000000 */ nop
|
||||
.L802433A0_7EE0B0:
|
||||
/* 7EE0B0 802433A0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE0B4 802433A4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE0B8 802433A8 0C090BF7 */ jal mac_00_UnkNpcDurationFlagFunc
|
||||
/* 7EE0BC 802433AC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE0C0 802433B0 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE0C4 802433B4 00000000 */ nop
|
||||
.L802433B8_7EE0C8:
|
||||
/* 7EE0C8 802433B8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7EE0CC 802433BC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 7EE0D0 802433C0 0C090C11 */ jal mac_00_UnkFunc16
|
||||
/* 7EE0D4 802433C4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 7EE0D8 802433C8 08090CF6 */ j .L802433D8_7EE0E8
|
||||
/* 7EE0DC 802433CC 00000000 */ nop
|
||||
.L802433D0_7EE0E0:
|
||||
/* 7EE0E0 802433D0 0C0129CF */ jal func_8004A73C
|
||||
/* 7EE0E4 802433D4 0280202D */ daddu $a0, $s4, $zero
|
||||
.L802433D8_7EE0E8:
|
||||
/* 7EE0E8 802433D8 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 7EE0EC 802433DC 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 7EE0F0 802433E0 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 7EE0F4 802433E4 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 7EE0F8 802433E8 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 7EE0FC 802433EC 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 7EE100 802433F0 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 7EE104 802433F4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 7EE108 802433F8 03E00008 */ jr $ra
|
||||
/* 7EE10C 802433FC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_8024E210_8314D0
|
||||
.word .L802416A8_824968, .L802416B8_824978, .L802416D0_824990, .L802416E0_8249A0, .L802416F8_8249B8, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241710_8249D0, .L80241720_8249E0, .L80241738_8249F8, .L80241748_824A08, .L80241760_824A20, .L80241778_824A38, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241798_824A58, .L80241790_824A50
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_802414C4_824784
|
||||
/* 824784 802414C4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 824788 802414C8 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 82478C 802414CC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 824790 802414D0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 824794 802414D4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 824798 802414D8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 82479C 802414DC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 8247A0 802414E0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 8247A4 802414E4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 8247A8 802414E8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 8247AC 802414EC 86240008 */ lh $a0, 8($s1)
|
||||
/* 8247B0 802414F0 0C00EABB */ jal get_npc_unsafe
|
||||
/* 8247B4 802414F4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 8247B8 802414F8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 8247BC 802414FC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8247C0 80241500 8C650000 */ lw $a1, ($v1)
|
||||
/* 8247C4 80241504 0C0B1EAF */ jal evt_get_variable
|
||||
/* 8247C8 80241508 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 8247CC 8024150C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 8247D0 80241510 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8247D4 80241514 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 8247D8 80241518 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 8247DC 8024151C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8247E0 80241520 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 8247E4 80241524 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 8247E8 80241528 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8247EC 8024152C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 8247F0 80241530 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 8247F4 80241534 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8247F8 80241538 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 8247FC 8024153C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 824800 80241540 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 824804 80241544 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 824808 80241548 3C014282 */ lui $at, 0x4282
|
||||
/* 82480C 8024154C 44810000 */ mtc1 $at, $f0
|
||||
/* 824810 80241550 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 824814 80241554 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 824818 80241558 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 82481C 8024155C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 824820 80241560 16000005 */ bnez $s0, .L80241578
|
||||
/* 824824 80241564 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 824828 80241568 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 82482C 8024156C 30420004 */ andi $v0, $v0, 4
|
||||
/* 824830 80241570 10400044 */ beqz $v0, .L80241684
|
||||
/* 824834 80241574 00000000 */ nop
|
||||
.L80241578:
|
||||
/* 824838 80241578 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 82483C 8024157C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 824840 80241580 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 824844 80241584 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 824848 80241588 8E430000 */ lw $v1, ($s2)
|
||||
/* 82484C 8024158C 8C420000 */ lw $v0, ($v0)
|
||||
/* 824850 80241590 00641824 */ and $v1, $v1, $a0
|
||||
/* 824854 80241594 AE430000 */ sw $v1, ($s2)
|
||||
/* 824858 80241598 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 82485C 8024159C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 824860 802415A0 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 824864 802415A4 54400005 */ bnel $v0, $zero, .L802415BC
|
||||
/* 824868 802415A8 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 82486C 802415AC 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 824870 802415B0 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 824874 802415B4 08090571 */ j .L802415C4
|
||||
/* 824878 802415B8 00431024 */ and $v0, $v0, $v1
|
||||
.L802415BC:
|
||||
/* 82487C 802415BC 00621024 */ and $v0, $v1, $v0
|
||||
/* 824880 802415C0 34420008 */ ori $v0, $v0, 8
|
||||
.L802415C4:
|
||||
/* 824884 802415C4 AE420000 */ sw $v0, ($s2)
|
||||
/* 824888 802415C8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 82488C 802415CC 30420004 */ andi $v0, $v0, 4
|
||||
/* 824890 802415D0 10400008 */ beqz $v0, .L802415F4
|
||||
/* 824894 802415D4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 824898 802415D8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 82489C 802415DC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 8248A0 802415E0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 8248A4 802415E4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 8248A8 802415E8 00431024 */ and $v0, $v0, $v1
|
||||
/* 8248AC 802415EC 08090588 */ j .L80241620
|
||||
/* 8248B0 802415F0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L802415F4:
|
||||
/* 8248B4 802415F4 8E220000 */ lw $v0, ($s1)
|
||||
/* 8248B8 802415F8 3C034000 */ lui $v1, 0x4000
|
||||
/* 8248BC 802415FC 00431024 */ and $v0, $v0, $v1
|
||||
/* 8248C0 80241600 10400007 */ beqz $v0, .L80241620
|
||||
/* 8248C4 80241604 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 8248C8 80241608 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 8248CC 8024160C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 8248D0 80241610 8E220000 */ lw $v0, ($s1)
|
||||
/* 8248D4 80241614 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 8248D8 80241618 00431024 */ and $v0, $v0, $v1
|
||||
/* 8248DC 8024161C AE220000 */ sw $v0, ($s1)
|
||||
.L80241620:
|
||||
/* 8248E0 80241620 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 8248E4 80241624 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 8248E8 80241628 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 8248EC 8024162C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 8248F0 80241630 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 8248F4 80241634 44812000 */ mtc1 $at, $f4
|
||||
/* 8248F8 80241638 44823000 */ mtc1 $v0, $f6
|
||||
/* 8248FC 8024163C 00000000 */ nop
|
||||
/* 824900 80241640 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 824904 80241644 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 824908 80241648 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 82490C 8024164C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 824910 80241650 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 824914 80241654 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 824918 80241658 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 82491C 8024165C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 824920 80241660 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 824924 80241664 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 824928 80241668 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 82492C 8024166C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 824930 80241670 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 824934 80241674 10400003 */ beqz $v0, .L80241684
|
||||
/* 824938 80241678 00000000 */ nop
|
||||
/* 82493C 8024167C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 824940 80241680 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241684:
|
||||
/* 824944 80241684 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 824948 80241688 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 82494C 8024168C 10400042 */ beqz $v0, .L80241798_824A58
|
||||
/* 824950 80241690 00031080 */ sll $v0, $v1, 2
|
||||
/* 824954 80241694 3C018025 */ lui $at, %hi(jtbl_8024E210_8314D0)
|
||||
/* 824958 80241698 00220821 */ addu $at, $at, $v0
|
||||
/* 82495C 8024169C 8C22E210 */ lw $v0, %lo(jtbl_8024E210_8314D0)($at)
|
||||
/* 824960 802416A0 00400008 */ jr $v0
|
||||
/* 824964 802416A4 00000000 */ nop
|
||||
.L802416A8_824968:
|
||||
/* 824968 802416A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 82496C 802416AC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824970 802416B0 0C09024C */ jal mac_02_UnkNpcAIFunc24
|
||||
/* 824974 802416B4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802416B8_824978:
|
||||
/* 824978 802416B8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 82497C 802416BC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824980 802416C0 0C0902A2 */ jal mac_02_UnkFunc13
|
||||
/* 824984 802416C4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 824988 802416C8 080905E6 */ j .L80241798_824A58
|
||||
/* 82498C 802416CC 00000000 */ nop
|
||||
.L802416D0_824990:
|
||||
/* 824990 802416D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 824994 802416D4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824998 802416D8 0C09034C */ jal mac_02_UnkNpcAIFunc1
|
||||
/* 82499C 802416DC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802416E0_8249A0:
|
||||
/* 8249A0 802416E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8249A4 802416E4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8249A8 802416E8 0C09037C */ jal mac_02_UnkFunc14
|
||||
/* 8249AC 802416EC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 8249B0 802416F0 080905E6 */ j .L80241798_824A58
|
||||
/* 8249B4 802416F4 00000000 */ nop
|
||||
.L802416F8_8249B8:
|
||||
/* 8249B8 802416F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8249BC 802416FC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8249C0 80241700 0C0903EB */ jal mac_02_UnkNpcAIFunc25
|
||||
/* 8249C4 80241704 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 8249C8 80241708 080905E6 */ j .L80241798_824A58
|
||||
/* 8249CC 8024170C 00000000 */ nop
|
||||
.L80241710_8249D0:
|
||||
/* 8249D0 80241710 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8249D4 80241714 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8249D8 80241718 0C090418 */ jal mac_02_NpcJumpFunc2
|
||||
/* 8249DC 8024171C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241720_8249E0:
|
||||
/* 8249E0 80241720 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8249E4 80241724 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8249E8 80241728 0C090435 */ jal mac_02_NpcJumpFunc
|
||||
/* 8249EC 8024172C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 8249F0 80241730 080905E6 */ j .L80241798_824A58
|
||||
/* 8249F4 80241734 00000000 */ nop
|
||||
.L80241738_8249F8:
|
||||
/* 8249F8 80241738 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8249FC 8024173C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824A00 80241740 0C090453 */ jal mac_02_UnkNpcAIFunc13
|
||||
/* 824A04 80241744 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241748_824A08:
|
||||
/* 824A08 80241748 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 824A0C 8024174C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824A10 80241750 0C09049F */ jal mac_02_UnkFunc15
|
||||
/* 824A14 80241754 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 824A18 80241758 080905E6 */ j .L80241798_824A58
|
||||
/* 824A1C 8024175C 00000000 */ nop
|
||||
.L80241760_824A20:
|
||||
/* 824A20 80241760 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 824A24 80241764 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824A28 80241768 0C0904E7 */ jal mac_02_UnkNpcDurationFlagFunc
|
||||
/* 824A2C 8024176C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 824A30 80241770 080905E6 */ j .L80241798_824A58
|
||||
/* 824A34 80241774 00000000 */ nop
|
||||
.L80241778_824A38:
|
||||
/* 824A38 80241778 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 824A3C 8024177C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 824A40 80241780 0C090501 */ jal mac_02_UnkFunc16
|
||||
/* 824A44 80241784 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 824A48 80241788 080905E6 */ j .L80241798_824A58
|
||||
/* 824A4C 8024178C 00000000 */ nop
|
||||
.L80241790_824A50:
|
||||
/* 824A50 80241790 0C0129CF */ jal func_8004A73C
|
||||
/* 824A54 80241794 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241798_824A58:
|
||||
/* 824A58 80241798 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 824A5C 8024179C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 824A60 802417A0 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 824A64 802417A4 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 824A68 802417A8 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 824A6C 802417AC 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 824A70 802417B0 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 824A74 802417B4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 824A78 802417B8 03E00008 */ jr $ra
|
||||
/* 824A7C 802417BC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_802527C0_864930
|
||||
.word .L80241208_853378, .L80241218_853388, .L80241230_8533A0, .L80241240_8533B0, .L80241258_8533C8, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L80241270_8533E0, .L80241280_8533F0, .L80241298_853408, .L802412A8_853418, .L802412C0_853430, .L802412D8_853448, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F8_853468, .L802412F0_853460
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241024_853194
|
||||
/* 853194 80241024 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 853198 80241028 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 85319C 8024102C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 8531A0 80241030 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 8531A4 80241034 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 8531A8 80241038 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 8531AC 8024103C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 8531B0 80241040 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 8531B4 80241044 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 8531B8 80241048 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 8531BC 8024104C 86240008 */ lh $a0, 8($s1)
|
||||
/* 8531C0 80241050 0C00EABB */ jal get_npc_unsafe
|
||||
/* 8531C4 80241054 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 8531C8 80241058 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 8531CC 8024105C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8531D0 80241060 8C650000 */ lw $a1, ($v1)
|
||||
/* 8531D4 80241064 0C0B1EAF */ jal evt_get_variable
|
||||
/* 8531D8 80241068 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 8531DC 8024106C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 8531E0 80241070 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8531E4 80241074 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 8531E8 80241078 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 8531EC 8024107C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8531F0 80241080 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 8531F4 80241084 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 8531F8 80241088 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 8531FC 8024108C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 853200 80241090 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 853204 80241094 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 853208 80241098 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 85320C 8024109C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 853210 802410A0 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 853214 802410A4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 853218 802410A8 3C014282 */ lui $at, 0x4282
|
||||
/* 85321C 802410AC 44810000 */ mtc1 $at, $f0
|
||||
/* 853220 802410B0 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 853224 802410B4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 853228 802410B8 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 85322C 802410BC A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 853230 802410C0 16000005 */ bnez $s0, .L802410D8
|
||||
/* 853234 802410C4 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 853238 802410C8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 85323C 802410CC 30420004 */ andi $v0, $v0, 4
|
||||
/* 853240 802410D0 10400044 */ beqz $v0, .L802411E4
|
||||
/* 853244 802410D4 00000000 */ nop
|
||||
.L802410D8:
|
||||
/* 853248 802410D8 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 85324C 802410DC AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 853250 802410E0 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 853254 802410E4 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 853258 802410E8 8E430000 */ lw $v1, ($s2)
|
||||
/* 85325C 802410EC 8C420000 */ lw $v0, ($v0)
|
||||
/* 853260 802410F0 00641824 */ and $v1, $v1, $a0
|
||||
/* 853264 802410F4 AE430000 */ sw $v1, ($s2)
|
||||
/* 853268 802410F8 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 85326C 802410FC 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 853270 80241100 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 853274 80241104 54400005 */ bnel $v0, $zero, .L8024111C
|
||||
/* 853278 80241108 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 85327C 8024110C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 853280 80241110 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 853284 80241114 08090449 */ j .L80241124
|
||||
/* 853288 80241118 00431024 */ and $v0, $v0, $v1
|
||||
.L8024111C:
|
||||
/* 85328C 8024111C 00621024 */ and $v0, $v1, $v0
|
||||
/* 853290 80241120 34420008 */ ori $v0, $v0, 8
|
||||
.L80241124:
|
||||
/* 853294 80241124 AE420000 */ sw $v0, ($s2)
|
||||
/* 853298 80241128 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 85329C 8024112C 30420004 */ andi $v0, $v0, 4
|
||||
/* 8532A0 80241130 10400008 */ beqz $v0, .L80241154
|
||||
/* 8532A4 80241134 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 8532A8 80241138 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 8532AC 8024113C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 8532B0 80241140 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 8532B4 80241144 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 8532B8 80241148 00431024 */ and $v0, $v0, $v1
|
||||
/* 8532BC 8024114C 08090460 */ j .L80241180
|
||||
/* 8532C0 80241150 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241154:
|
||||
/* 8532C4 80241154 8E220000 */ lw $v0, ($s1)
|
||||
/* 8532C8 80241158 3C034000 */ lui $v1, 0x4000
|
||||
/* 8532CC 8024115C 00431024 */ and $v0, $v0, $v1
|
||||
/* 8532D0 80241160 10400007 */ beqz $v0, .L80241180
|
||||
/* 8532D4 80241164 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 8532D8 80241168 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 8532DC 8024116C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 8532E0 80241170 8E220000 */ lw $v0, ($s1)
|
||||
/* 8532E4 80241174 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 8532E8 80241178 00431024 */ and $v0, $v0, $v1
|
||||
/* 8532EC 8024117C AE220000 */ sw $v0, ($s1)
|
||||
.L80241180:
|
||||
/* 8532F0 80241180 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 8532F4 80241184 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 8532F8 80241188 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 8532FC 8024118C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 853300 80241190 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 853304 80241194 44812000 */ mtc1 $at, $f4
|
||||
/* 853308 80241198 44823000 */ mtc1 $v0, $f6
|
||||
/* 85330C 8024119C 00000000 */ nop
|
||||
/* 853310 802411A0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 853314 802411A4 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 853318 802411A8 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 85331C 802411AC C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 853320 802411B0 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 853324 802411B4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 853328 802411B8 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 85332C 802411BC E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 853330 802411C0 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 853334 802411C4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 853338 802411C8 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 85333C 802411CC 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 853340 802411D0 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 853344 802411D4 10400003 */ beqz $v0, .L802411E4
|
||||
/* 853348 802411D8 00000000 */ nop
|
||||
/* 85334C 802411DC C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 853350 802411E0 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L802411E4:
|
||||
/* 853354 802411E4 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 853358 802411E8 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 85335C 802411EC 10400042 */ beqz $v0, .L802412F8_853468
|
||||
/* 853360 802411F0 00031080 */ sll $v0, $v1, 2
|
||||
/* 853364 802411F4 3C018025 */ lui $at, %hi(jtbl_802527C0_864930)
|
||||
/* 853368 802411F8 00220821 */ addu $at, $at, $v0
|
||||
/* 85336C 802411FC 8C2227C0 */ lw $v0, %lo(jtbl_802527C0_864930)($at)
|
||||
/* 853370 80241200 00400008 */ jr $v0
|
||||
/* 853374 80241204 00000000 */ nop
|
||||
.L80241208_853378:
|
||||
/* 853378 80241208 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 85337C 8024120C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853380 80241210 0C090124 */ jal mac_05_UnkNpcAIFunc24
|
||||
/* 853384 80241214 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241218_853388:
|
||||
/* 853388 80241218 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 85338C 8024121C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853390 80241220 0C09017A */ jal mac_05_UnkFunc13
|
||||
/* 853394 80241224 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 853398 80241228 080904BE */ j .L802412F8_853468
|
||||
/* 85339C 8024122C 00000000 */ nop
|
||||
.L80241230_8533A0:
|
||||
/* 8533A0 80241230 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8533A4 80241234 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8533A8 80241238 0C090224 */ jal mac_05_UnkNpcAIFunc1
|
||||
/* 8533AC 8024123C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241240_8533B0:
|
||||
/* 8533B0 80241240 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8533B4 80241244 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8533B8 80241248 0C090254 */ jal mac_05_UnkFunc14
|
||||
/* 8533BC 8024124C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 8533C0 80241250 080904BE */ j .L802412F8_853468
|
||||
/* 8533C4 80241254 00000000 */ nop
|
||||
.L80241258_8533C8:
|
||||
/* 8533C8 80241258 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8533CC 8024125C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8533D0 80241260 0C0902C3 */ jal mac_05_UnkNpcAIFunc25
|
||||
/* 8533D4 80241264 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 8533D8 80241268 080904BE */ j .L802412F8_853468
|
||||
/* 8533DC 8024126C 00000000 */ nop
|
||||
.L80241270_8533E0:
|
||||
/* 8533E0 80241270 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8533E4 80241274 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8533E8 80241278 0C0902F0 */ jal mac_05_NpcJumpFunc2
|
||||
/* 8533EC 8024127C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241280_8533F0:
|
||||
/* 8533F0 80241280 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 8533F4 80241284 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 8533F8 80241288 0C09030D */ jal mac_05_NpcJumpFunc
|
||||
/* 8533FC 8024128C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 853400 80241290 080904BE */ j .L802412F8_853468
|
||||
/* 853404 80241294 00000000 */ nop
|
||||
.L80241298_853408:
|
||||
/* 853408 80241298 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 85340C 8024129C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853410 802412A0 0C09032B */ jal mac_05_UnkNpcAIFunc13
|
||||
/* 853414 802412A4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802412A8_853418:
|
||||
/* 853418 802412A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 85341C 802412AC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853420 802412B0 0C090377 */ jal mac_05_UnkFunc15
|
||||
/* 853424 802412B4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 853428 802412B8 080904BE */ j .L802412F8_853468
|
||||
/* 85342C 802412BC 00000000 */ nop
|
||||
.L802412C0_853430:
|
||||
/* 853430 802412C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 853434 802412C4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853438 802412C8 0C0903BF */ jal mac_05_UnkNpcDurationFlagFunc
|
||||
/* 85343C 802412CC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 853440 802412D0 080904BE */ j .L802412F8_853468
|
||||
/* 853444 802412D4 00000000 */ nop
|
||||
.L802412D8_853448:
|
||||
/* 853448 802412D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 85344C 802412DC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 853450 802412E0 0C0903D9 */ jal mac_05_UnkFunc16
|
||||
/* 853454 802412E4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 853458 802412E8 080904BE */ j .L802412F8_853468
|
||||
/* 85345C 802412EC 00000000 */ nop
|
||||
.L802412F0_853460:
|
||||
/* 853460 802412F0 0C0129CF */ jal func_8004A73C
|
||||
/* 853464 802412F4 0280202D */ daddu $a0, $s4, $zero
|
||||
.L802412F8_853468:
|
||||
/* 853468 802412F8 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 85346C 802412FC 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 853470 80241300 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 853474 80241304 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 853478 80241308 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 85347C 8024130C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 853480 80241310 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 853484 80241314 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 853488 80241318 03E00008 */ jr $ra
|
||||
/* 85348C 8024131C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80243E00_E125A0
|
||||
.word .L80241058_E0F7F8, .L80241068_E0F808, .L80241080_E0F820, .L80241090_E0F830, .L802410A8_E0F848, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L802410C0_E0F860, .L802410D0_E0F870, .L802410E8_E0F888, .L802410F8_E0F898, .L80241110_E0F8B0, .L80241128_E0F8C8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241148_E0F8E8, .L80241140_E0F8E0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80240E74_E0F614
|
||||
/* E0F614 80240E74 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* E0F618 80240E78 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* E0F61C 80240E7C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* E0F620 80240E80 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* E0F624 80240E84 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* E0F628 80240E88 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* E0F62C 80240E8C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* E0F630 80240E90 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* E0F634 80240E94 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* E0F638 80240E98 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* E0F63C 80240E9C 86240008 */ lh $a0, 8($s1)
|
||||
/* E0F640 80240EA0 0C00EABB */ jal get_npc_unsafe
|
||||
/* E0F644 80240EA4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* E0F648 80240EA8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* E0F64C 80240EAC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F650 80240EB0 8C650000 */ lw $a1, ($v1)
|
||||
/* E0F654 80240EB4 0C0B1EAF */ jal evt_get_variable
|
||||
/* E0F658 80240EB8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* E0F65C 80240EBC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* E0F660 80240EC0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* E0F664 80240EC4 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* E0F668 80240EC8 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* E0F66C 80240ECC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* E0F670 80240ED0 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* E0F674 80240ED4 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* E0F678 80240ED8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* E0F67C 80240EDC 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* E0F680 80240EE0 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* E0F684 80240EE4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* E0F688 80240EE8 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* E0F68C 80240EEC 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* E0F690 80240EF0 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* E0F694 80240EF4 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* E0F698 80240EF8 3C014282 */ lui $at, 0x4282
|
||||
/* E0F69C 80240EFC 44810000 */ mtc1 $at, $f0
|
||||
/* E0F6A0 80240F00 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* E0F6A4 80240F04 0040982D */ daddu $s3, $v0, $zero
|
||||
/* E0F6A8 80240F08 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* E0F6AC 80240F0C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* E0F6B0 80240F10 16000005 */ bnez $s0, .L80240F28
|
||||
/* E0F6B4 80240F14 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* E0F6B8 80240F18 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* E0F6BC 80240F1C 30420004 */ andi $v0, $v0, 4
|
||||
/* E0F6C0 80240F20 10400044 */ beqz $v0, .L80241034
|
||||
/* E0F6C4 80240F24 00000000 */ nop
|
||||
.L80240F28:
|
||||
/* E0F6C8 80240F28 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* E0F6CC 80240F2C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* E0F6D0 80240F30 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* E0F6D4 80240F34 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* E0F6D8 80240F38 8E430000 */ lw $v1, ($s2)
|
||||
/* E0F6DC 80240F3C 8C420000 */ lw $v0, ($v0)
|
||||
/* E0F6E0 80240F40 00641824 */ and $v1, $v1, $a0
|
||||
/* E0F6E4 80240F44 AE430000 */ sw $v1, ($s2)
|
||||
/* E0F6E8 80240F48 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* E0F6EC 80240F4C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* E0F6F0 80240F50 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* E0F6F4 80240F54 54400005 */ bnel $v0, $zero, .L80240F6C
|
||||
/* E0F6F8 80240F58 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* E0F6FC 80240F5C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* E0F700 80240F60 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* E0F704 80240F64 080903DD */ j .L80240F74
|
||||
/* E0F708 80240F68 00431024 */ and $v0, $v0, $v1
|
||||
.L80240F6C:
|
||||
/* E0F70C 80240F6C 00621024 */ and $v0, $v1, $v0
|
||||
/* E0F710 80240F70 34420008 */ ori $v0, $v0, 8
|
||||
.L80240F74:
|
||||
/* E0F714 80240F74 AE420000 */ sw $v0, ($s2)
|
||||
/* E0F718 80240F78 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* E0F71C 80240F7C 30420004 */ andi $v0, $v0, 4
|
||||
/* E0F720 80240F80 10400008 */ beqz $v0, .L80240FA4
|
||||
/* E0F724 80240F84 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* E0F728 80240F88 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* E0F72C 80240F8C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* E0F730 80240F90 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* E0F734 80240F94 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* E0F738 80240F98 00431024 */ and $v0, $v0, $v1
|
||||
/* E0F73C 80240F9C 080903F4 */ j .L80240FD0
|
||||
/* E0F740 80240FA0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80240FA4:
|
||||
/* E0F744 80240FA4 8E220000 */ lw $v0, ($s1)
|
||||
/* E0F748 80240FA8 3C034000 */ lui $v1, 0x4000
|
||||
/* E0F74C 80240FAC 00431024 */ and $v0, $v0, $v1
|
||||
/* E0F750 80240FB0 10400007 */ beqz $v0, .L80240FD0
|
||||
/* E0F754 80240FB4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* E0F758 80240FB8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* E0F75C 80240FBC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* E0F760 80240FC0 8E220000 */ lw $v0, ($s1)
|
||||
/* E0F764 80240FC4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* E0F768 80240FC8 00431024 */ and $v0, $v0, $v1
|
||||
/* E0F76C 80240FCC AE220000 */ sw $v0, ($s1)
|
||||
.L80240FD0:
|
||||
/* E0F770 80240FD0 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* E0F774 80240FD4 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* E0F778 80240FD8 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* E0F77C 80240FDC 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* E0F780 80240FE0 3C0142C8 */ lui $at, 0x42c8
|
||||
/* E0F784 80240FE4 44812000 */ mtc1 $at, $f4
|
||||
/* E0F788 80240FE8 44823000 */ mtc1 $v0, $f6
|
||||
/* E0F78C 80240FEC 00000000 */ nop
|
||||
/* E0F790 80240FF0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* E0F794 80240FF4 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* E0F798 80240FF8 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* E0F79C 80240FFC C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* E0F7A0 80241000 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* E0F7A4 80241004 46060000 */ add.s $f0, $f0, $f6
|
||||
/* E0F7A8 80241008 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* E0F7AC 8024100C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* E0F7B0 80241010 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* E0F7B4 80241014 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* E0F7B8 80241018 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* E0F7BC 8024101C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* E0F7C0 80241020 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* E0F7C4 80241024 10400003 */ beqz $v0, .L80241034
|
||||
/* E0F7C8 80241028 00000000 */ nop
|
||||
/* E0F7CC 8024102C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* E0F7D0 80241030 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241034:
|
||||
/* E0F7D4 80241034 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* E0F7D8 80241038 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* E0F7DC 8024103C 10400042 */ beqz $v0, .L80241148_E0F8E8
|
||||
/* E0F7E0 80241040 00031080 */ sll $v0, $v1, 2
|
||||
/* E0F7E4 80241044 3C018024 */ lui $at, %hi(jtbl_80243E00_E125A0)
|
||||
/* E0F7E8 80241048 00220821 */ addu $at, $at, $v0
|
||||
/* E0F7EC 8024104C 8C223E00 */ lw $v0, %lo(jtbl_80243E00_E125A0)($at)
|
||||
/* E0F7F0 80241050 00400008 */ jr $v0
|
||||
/* E0F7F4 80241054 00000000 */ nop
|
||||
.L80241058_E0F7F8:
|
||||
/* E0F7F8 80241058 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F7FC 8024105C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F800 80241060 0C0900B8 */ jal mgm_00_UnkNpcAIFunc24
|
||||
/* E0F804 80241064 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241068_E0F808:
|
||||
/* E0F808 80241068 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F80C 8024106C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F810 80241070 0C09010E */ jal mgm_00_UnkFunc13
|
||||
/* E0F814 80241074 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F818 80241078 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F81C 8024107C 00000000 */ nop
|
||||
.L80241080_E0F820:
|
||||
/* E0F820 80241080 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F824 80241084 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F828 80241088 0C0901B8 */ jal mgm_00_UnkNpcAIFunc1
|
||||
/* E0F82C 8024108C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241090_E0F830:
|
||||
/* E0F830 80241090 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F834 80241094 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F838 80241098 0C0901E8 */ jal mgm_00_UnkFunc14
|
||||
/* E0F83C 8024109C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F840 802410A0 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F844 802410A4 00000000 */ nop
|
||||
.L802410A8_E0F848:
|
||||
/* E0F848 802410A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F84C 802410AC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F850 802410B0 0C090257 */ jal mgm_00_UnkNpcAIFunc25
|
||||
/* E0F854 802410B4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F858 802410B8 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F85C 802410BC 00000000 */ nop
|
||||
.L802410C0_E0F860:
|
||||
/* E0F860 802410C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F864 802410C4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F868 802410C8 0C090284 */ jal mgm_00_NpcJumpFunc2
|
||||
/* E0F86C 802410CC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802410D0_E0F870:
|
||||
/* E0F870 802410D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F874 802410D4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F878 802410D8 0C0902A1 */ jal mgm_00_NpcJumpFunc
|
||||
/* E0F87C 802410DC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F880 802410E0 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F884 802410E4 00000000 */ nop
|
||||
.L802410E8_E0F888:
|
||||
/* E0F888 802410E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F88C 802410EC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F890 802410F0 0C0902BF */ jal mgm_00_UnkNpcAIFunc13
|
||||
/* E0F894 802410F4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802410F8_E0F898:
|
||||
/* E0F898 802410F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F89C 802410FC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F8A0 80241100 0C09030B */ jal mgm_00_UnkFunc15
|
||||
/* E0F8A4 80241104 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F8A8 80241108 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F8AC 8024110C 00000000 */ nop
|
||||
.L80241110_E0F8B0:
|
||||
/* E0F8B0 80241110 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F8B4 80241114 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F8B8 80241118 0C090353 */ jal mgm_00_UnkNpcDurationFlagFunc
|
||||
/* E0F8BC 8024111C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F8C0 80241120 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F8C4 80241124 00000000 */ nop
|
||||
.L80241128_E0F8C8:
|
||||
/* E0F8C8 80241128 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E0F8CC 8024112C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* E0F8D0 80241130 0C09036D */ jal mgm_00_UnkFunc16
|
||||
/* E0F8D4 80241134 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* E0F8D8 80241138 08090452 */ j .L80241148_E0F8E8
|
||||
/* E0F8DC 8024113C 00000000 */ nop
|
||||
.L80241140_E0F8E0:
|
||||
/* E0F8E0 80241140 0C0129CF */ jal func_8004A73C
|
||||
/* E0F8E4 80241144 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241148_E0F8E8:
|
||||
/* E0F8E8 80241148 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* E0F8EC 8024114C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* E0F8F0 80241150 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* E0F8F4 80241154 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* E0F8F8 80241158 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* E0F8FC 8024115C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* E0F900 80241160 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* E0F904 80241164 0000102D */ daddu $v0, $zero, $zero
|
||||
/* E0F908 80241168 03E00008 */ jr $ra
|
||||
/* E0F90C 8024116C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80254630_9EB650
|
||||
.word .L802417F8_9D8818, .L80241808_9D8828, .L80241820_9D8840, .L80241830_9D8850, .L80241848_9D8868, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L80241860_9D8880, .L80241870_9D8890, .L80241888_9D88A8, .L80241898_9D88B8, .L802418B0_9D88D0, .L802418C8_9D88E8, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E8_9D8908, .L802418E0_9D8900
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241614_9D8634
|
||||
/* 9D8634 80241614 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 9D8638 80241618 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 9D863C 8024161C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 9D8640 80241620 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 9D8644 80241624 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 9D8648 80241628 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 9D864C 8024162C AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 9D8650 80241630 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 9D8654 80241634 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 9D8658 80241638 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 9D865C 8024163C 86240008 */ lh $a0, 8($s1)
|
||||
/* 9D8660 80241640 0C00EABB */ jal get_npc_unsafe
|
||||
/* 9D8664 80241644 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 9D8668 80241648 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 9D866C 8024164C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D8670 80241650 8C650000 */ lw $a1, ($v1)
|
||||
/* 9D8674 80241654 0C0B1EAF */ jal evt_get_variable
|
||||
/* 9D8678 80241658 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 9D867C 8024165C AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 9D8680 80241660 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9D8684 80241664 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 9D8688 80241668 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 9D868C 8024166C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9D8690 80241670 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 9D8694 80241674 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 9D8698 80241678 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9D869C 8024167C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 9D86A0 80241680 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 9D86A4 80241684 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9D86A8 80241688 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 9D86AC 8024168C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 9D86B0 80241690 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 9D86B4 80241694 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9D86B8 80241698 3C014282 */ lui $at, 0x4282
|
||||
/* 9D86BC 8024169C 44810000 */ mtc1 $at, $f0
|
||||
/* 9D86C0 802416A0 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 9D86C4 802416A4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 9D86C8 802416A8 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 9D86CC 802416AC A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 9D86D0 802416B0 16000005 */ bnez $s0, .L802416C8
|
||||
/* 9D86D4 802416B4 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 9D86D8 802416B8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9D86DC 802416BC 30420004 */ andi $v0, $v0, 4
|
||||
/* 9D86E0 802416C0 10400044 */ beqz $v0, .L802417D4
|
||||
/* 9D86E4 802416C4 00000000 */ nop
|
||||
.L802416C8:
|
||||
/* 9D86E8 802416C8 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 9D86EC 802416CC AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 9D86F0 802416D0 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 9D86F4 802416D4 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 9D86F8 802416D8 8E430000 */ lw $v1, ($s2)
|
||||
/* 9D86FC 802416DC 8C420000 */ lw $v0, ($v0)
|
||||
/* 9D8700 802416E0 00641824 */ and $v1, $v1, $a0
|
||||
/* 9D8704 802416E4 AE430000 */ sw $v1, ($s2)
|
||||
/* 9D8708 802416E8 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 9D870C 802416EC 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 9D8710 802416F0 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 9D8714 802416F4 54400005 */ bnel $v0, $zero, .L8024170C
|
||||
/* 9D8718 802416F8 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 9D871C 802416FC 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 9D8720 80241700 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 9D8724 80241704 080905C5 */ j .L80241714
|
||||
/* 9D8728 80241708 00431024 */ and $v0, $v0, $v1
|
||||
.L8024170C:
|
||||
/* 9D872C 8024170C 00621024 */ and $v0, $v1, $v0
|
||||
/* 9D8730 80241710 34420008 */ ori $v0, $v0, 8
|
||||
.L80241714:
|
||||
/* 9D8734 80241714 AE420000 */ sw $v0, ($s2)
|
||||
/* 9D8738 80241718 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9D873C 8024171C 30420004 */ andi $v0, $v0, 4
|
||||
/* 9D8740 80241720 10400008 */ beqz $v0, .L80241744
|
||||
/* 9D8744 80241724 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 9D8748 80241728 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9D874C 8024172C AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 9D8750 80241730 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9D8754 80241734 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 9D8758 80241738 00431024 */ and $v0, $v0, $v1
|
||||
/* 9D875C 8024173C 080905DC */ j .L80241770
|
||||
/* 9D8760 80241740 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241744:
|
||||
/* 9D8764 80241744 8E220000 */ lw $v0, ($s1)
|
||||
/* 9D8768 80241748 3C034000 */ lui $v1, 0x4000
|
||||
/* 9D876C 8024174C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9D8770 80241750 10400007 */ beqz $v0, .L80241770
|
||||
/* 9D8774 80241754 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 9D8778 80241758 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 9D877C 8024175C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9D8780 80241760 8E220000 */ lw $v0, ($s1)
|
||||
/* 9D8784 80241764 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 9D8788 80241768 00431024 */ and $v0, $v0, $v1
|
||||
/* 9D878C 8024176C AE220000 */ sw $v0, ($s1)
|
||||
.L80241770:
|
||||
/* 9D8790 80241770 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 9D8794 80241774 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 9D8798 80241778 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 9D879C 8024177C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 9D87A0 80241780 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 9D87A4 80241784 44812000 */ mtc1 $at, $f4
|
||||
/* 9D87A8 80241788 44823000 */ mtc1 $v0, $f6
|
||||
/* 9D87AC 8024178C 00000000 */ nop
|
||||
/* 9D87B0 80241790 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 9D87B4 80241794 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 9D87B8 80241798 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 9D87BC 8024179C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 9D87C0 802417A0 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 9D87C4 802417A4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 9D87C8 802417A8 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 9D87CC 802417AC E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 9D87D0 802417B0 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 9D87D4 802417B4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 9D87D8 802417B8 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 9D87DC 802417BC 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 9D87E0 802417C0 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 9D87E4 802417C4 10400003 */ beqz $v0, .L802417D4
|
||||
/* 9D87E8 802417C8 00000000 */ nop
|
||||
/* 9D87EC 802417CC C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 9D87F0 802417D0 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L802417D4:
|
||||
/* 9D87F4 802417D4 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 9D87F8 802417D8 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 9D87FC 802417DC 10400042 */ beqz $v0, .L802418E8_9D8908
|
||||
/* 9D8800 802417E0 00031080 */ sll $v0, $v1, 2
|
||||
/* 9D8804 802417E4 3C018025 */ lui $at, %hi(jtbl_80254630_9EB650)
|
||||
/* 9D8808 802417E8 00220821 */ addu $at, $at, $v0
|
||||
/* 9D880C 802417EC 8C224630 */ lw $v0, %lo(jtbl_80254630_9EB650)($at)
|
||||
/* 9D8810 802417F0 00400008 */ jr $v0
|
||||
/* 9D8814 802417F4 00000000 */ nop
|
||||
.L802417F8_9D8818:
|
||||
/* 9D8818 802417F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D881C 802417FC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8820 80241800 0C0902A0 */ jal nok_02_UnkNpcAIFunc24
|
||||
/* 9D8824 80241804 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241808_9D8828:
|
||||
/* 9D8828 80241808 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D882C 8024180C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8830 80241810 0C0902F6 */ jal nok_02_UnkFunc13
|
||||
/* 9D8834 80241814 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D8838 80241818 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D883C 8024181C 00000000 */ nop
|
||||
.L80241820_9D8840:
|
||||
/* 9D8840 80241820 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D8844 80241824 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8848 80241828 0C0903A0 */ jal nok_02_UnkNpcAIFunc1
|
||||
/* 9D884C 8024182C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241830_9D8850:
|
||||
/* 9D8850 80241830 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D8854 80241834 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8858 80241838 0C0903D0 */ jal nok_02_UnkFunc14
|
||||
/* 9D885C 8024183C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D8860 80241840 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D8864 80241844 00000000 */ nop
|
||||
.L80241848_9D8868:
|
||||
/* 9D8868 80241848 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D886C 8024184C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8870 80241850 0C09043F */ jal nok_02_UnkNpcAIFunc25
|
||||
/* 9D8874 80241854 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D8878 80241858 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D887C 8024185C 00000000 */ nop
|
||||
.L80241860_9D8880:
|
||||
/* 9D8880 80241860 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D8884 80241864 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8888 80241868 0C09046C */ jal nok_02_NpcJumpFunc2
|
||||
/* 9D888C 8024186C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241870_9D8890:
|
||||
/* 9D8890 80241870 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D8894 80241874 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D8898 80241878 0C090489 */ jal nok_02_NpcJumpFunc
|
||||
/* 9D889C 8024187C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D88A0 80241880 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D88A4 80241884 00000000 */ nop
|
||||
.L80241888_9D88A8:
|
||||
/* 9D88A8 80241888 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D88AC 8024188C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D88B0 80241890 0C0904A7 */ jal nok_02_UnkNpcAIFunc13
|
||||
/* 9D88B4 80241894 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241898_9D88B8:
|
||||
/* 9D88B8 80241898 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D88BC 8024189C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D88C0 802418A0 0C0904F3 */ jal nok_02_UnkFunc15
|
||||
/* 9D88C4 802418A4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D88C8 802418A8 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D88CC 802418AC 00000000 */ nop
|
||||
.L802418B0_9D88D0:
|
||||
/* 9D88D0 802418B0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D88D4 802418B4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D88D8 802418B8 0C09053B */ jal nok_02_UnkNpcDurationFlagFunc
|
||||
/* 9D88DC 802418BC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D88E0 802418C0 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D88E4 802418C4 00000000 */ nop
|
||||
.L802418C8_9D88E8:
|
||||
/* 9D88E8 802418C8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9D88EC 802418CC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9D88F0 802418D0 0C090555 */ jal nok_02_UnkFunc16
|
||||
/* 9D88F4 802418D4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9D88F8 802418D8 0809063A */ j .L802418E8_9D8908
|
||||
/* 9D88FC 802418DC 00000000 */ nop
|
||||
.L802418E0_9D8900:
|
||||
/* 9D8900 802418E0 0C0129CF */ jal func_8004A73C
|
||||
/* 9D8904 802418E4 0280202D */ daddu $a0, $s4, $zero
|
||||
.L802418E8_9D8908:
|
||||
/* 9D8908 802418E8 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 9D890C 802418EC 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 9D8910 802418F0 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 9D8914 802418F4 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 9D8918 802418F8 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 9D891C 802418FC 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 9D8920 80241900 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 9D8924 80241904 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 9D8928 80241908 03E00008 */ jr $ra
|
||||
/* 9D892C 8024190C 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80245AE0_A002D0
|
||||
.word .L80241ABC_9FC2AC, .L80241ACC_9FC2BC, .L80241AE4_9FC2D4, .L80241AF4_9FC2E4, .L80241B0C_9FC2FC, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241B24_9FC314, .L80241B34_9FC324, .L80241B4C_9FC33C, .L80241B5C_9FC34C, .L80241B74_9FC364, .L80241B8C_9FC37C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BAC_9FC39C, .L80241BA4_9FC394
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_802418D8_9FC0C8
|
||||
/* 9FC0C8 802418D8 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 9FC0CC 802418DC AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 9FC0D0 802418E0 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 9FC0D4 802418E4 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 9FC0D8 802418E8 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 9FC0DC 802418EC AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 9FC0E0 802418F0 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 9FC0E4 802418F4 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 9FC0E8 802418F8 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 9FC0EC 802418FC 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 9FC0F0 80241900 86240008 */ lh $a0, 8($s1)
|
||||
/* 9FC0F4 80241904 0C00EABB */ jal get_npc_unsafe
|
||||
/* 9FC0F8 80241908 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 9FC0FC 8024190C 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 9FC100 80241910 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC104 80241914 8C650000 */ lw $a1, ($v1)
|
||||
/* 9FC108 80241918 0C0B1EAF */ jal evt_get_variable
|
||||
/* 9FC10C 8024191C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 9FC110 80241920 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 9FC114 80241924 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9FC118 80241928 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 9FC11C 8024192C AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 9FC120 80241930 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9FC124 80241934 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 9FC128 80241938 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 9FC12C 8024193C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9FC130 80241940 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 9FC134 80241944 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 9FC138 80241948 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9FC13C 8024194C 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 9FC140 80241950 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 9FC144 80241954 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 9FC148 80241958 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9FC14C 8024195C 3C014282 */ lui $at, 0x4282
|
||||
/* 9FC150 80241960 44810000 */ mtc1 $at, $f0
|
||||
/* 9FC154 80241964 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 9FC158 80241968 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 9FC15C 8024196C E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 9FC160 80241970 A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 9FC164 80241974 16000005 */ bnez $s0, .L8024198C
|
||||
/* 9FC168 80241978 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 9FC16C 8024197C 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9FC170 80241980 30420004 */ andi $v0, $v0, 4
|
||||
/* 9FC174 80241984 10400044 */ beqz $v0, .L80241A98
|
||||
/* 9FC178 80241988 00000000 */ nop
|
||||
.L8024198C:
|
||||
/* 9FC17C 8024198C 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 9FC180 80241990 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 9FC184 80241994 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 9FC188 80241998 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 9FC18C 8024199C 8E430000 */ lw $v1, ($s2)
|
||||
/* 9FC190 802419A0 8C420000 */ lw $v0, ($v0)
|
||||
/* 9FC194 802419A4 00641824 */ and $v1, $v1, $a0
|
||||
/* 9FC198 802419A8 AE430000 */ sw $v1, ($s2)
|
||||
/* 9FC19C 802419AC AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 9FC1A0 802419B0 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 9FC1A4 802419B4 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 9FC1A8 802419B8 54400005 */ bnel $v0, $zero, .L802419D0
|
||||
/* 9FC1AC 802419BC 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 9FC1B0 802419C0 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 9FC1B4 802419C4 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 9FC1B8 802419C8 08090676 */ j .L802419D8
|
||||
/* 9FC1BC 802419CC 00431024 */ and $v0, $v0, $v1
|
||||
.L802419D0:
|
||||
/* 9FC1C0 802419D0 00621024 */ and $v0, $v1, $v0
|
||||
/* 9FC1C4 802419D4 34420008 */ ori $v0, $v0, 8
|
||||
.L802419D8:
|
||||
/* 9FC1C8 802419D8 AE420000 */ sw $v0, ($s2)
|
||||
/* 9FC1CC 802419DC 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9FC1D0 802419E0 30420004 */ andi $v0, $v0, 4
|
||||
/* 9FC1D4 802419E4 10400008 */ beqz $v0, .L80241A08
|
||||
/* 9FC1D8 802419E8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 9FC1DC 802419EC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9FC1E0 802419F0 AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 9FC1E4 802419F4 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9FC1E8 802419F8 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 9FC1EC 802419FC 00431024 */ and $v0, $v0, $v1
|
||||
/* 9FC1F0 80241A00 0809068D */ j .L80241A34
|
||||
/* 9FC1F4 80241A04 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241A08:
|
||||
/* 9FC1F8 80241A08 8E220000 */ lw $v0, ($s1)
|
||||
/* 9FC1FC 80241A0C 3C034000 */ lui $v1, 0x4000
|
||||
/* 9FC200 80241A10 00431024 */ and $v0, $v0, $v1
|
||||
/* 9FC204 80241A14 10400007 */ beqz $v0, .L80241A34
|
||||
/* 9FC208 80241A18 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 9FC20C 80241A1C 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 9FC210 80241A20 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9FC214 80241A24 8E220000 */ lw $v0, ($s1)
|
||||
/* 9FC218 80241A28 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 9FC21C 80241A2C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9FC220 80241A30 AE220000 */ sw $v0, ($s1)
|
||||
.L80241A34:
|
||||
/* 9FC224 80241A34 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 9FC228 80241A38 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 9FC22C 80241A3C C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 9FC230 80241A40 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 9FC234 80241A44 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 9FC238 80241A48 44812000 */ mtc1 $at, $f4
|
||||
/* 9FC23C 80241A4C 44823000 */ mtc1 $v0, $f6
|
||||
/* 9FC240 80241A50 00000000 */ nop
|
||||
/* 9FC244 80241A54 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 9FC248 80241A58 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 9FC24C 80241A5C E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 9FC250 80241A60 C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 9FC254 80241A64 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 9FC258 80241A68 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 9FC25C 80241A6C E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 9FC260 80241A70 E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 9FC264 80241A74 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 9FC268 80241A78 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 9FC26C 80241A7C 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 9FC270 80241A80 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 9FC274 80241A84 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 9FC278 80241A88 10400003 */ beqz $v0, .L80241A98
|
||||
/* 9FC27C 80241A8C 00000000 */ nop
|
||||
/* 9FC280 80241A90 C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 9FC284 80241A94 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241A98:
|
||||
/* 9FC288 80241A98 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 9FC28C 80241A9C 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 9FC290 80241AA0 10400042 */ beqz $v0, .L80241BAC_9FC39C
|
||||
/* 9FC294 80241AA4 00031080 */ sll $v0, $v1, 2
|
||||
/* 9FC298 80241AA8 3C018024 */ lui $at, %hi(jtbl_80245AE0_A002D0)
|
||||
/* 9FC29C 80241AAC 00220821 */ addu $at, $at, $v0
|
||||
/* 9FC2A0 80241AB0 8C225AE0 */ lw $v0, %lo(jtbl_80245AE0_A002D0)($at)
|
||||
/* 9FC2A4 80241AB4 00400008 */ jr $v0
|
||||
/* 9FC2A8 80241AB8 00000000 */ nop
|
||||
.L80241ABC_9FC2AC:
|
||||
/* 9FC2AC 80241ABC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC2B0 80241AC0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC2B4 80241AC4 0C090351 */ jal nok_12_UnkNpcAIFunc24
|
||||
/* 9FC2B8 80241AC8 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241ACC_9FC2BC:
|
||||
/* 9FC2BC 80241ACC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC2C0 80241AD0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC2C4 80241AD4 0C0903A7 */ jal nok_12_UnkFunc13
|
||||
/* 9FC2C8 80241AD8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC2CC 80241ADC 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC2D0 80241AE0 00000000 */ nop
|
||||
.L80241AE4_9FC2D4:
|
||||
/* 9FC2D4 80241AE4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC2D8 80241AE8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC2DC 80241AEC 0C090451 */ jal nok_12_UnkNpcAIFunc1
|
||||
/* 9FC2E0 80241AF0 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241AF4_9FC2E4:
|
||||
/* 9FC2E4 80241AF4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC2E8 80241AF8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC2EC 80241AFC 0C090481 */ jal nok_12_UnkFunc14
|
||||
/* 9FC2F0 80241B00 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC2F4 80241B04 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC2F8 80241B08 00000000 */ nop
|
||||
.L80241B0C_9FC2FC:
|
||||
/* 9FC2FC 80241B0C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC300 80241B10 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC304 80241B14 0C0904F0 */ jal nok_12_UnkNpcAIFunc25
|
||||
/* 9FC308 80241B18 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC30C 80241B1C 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC310 80241B20 00000000 */ nop
|
||||
.L80241B24_9FC314:
|
||||
/* 9FC314 80241B24 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC318 80241B28 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC31C 80241B2C 0C09051D */ jal nok_12_NpcJumpFunc2
|
||||
/* 9FC320 80241B30 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241B34_9FC324:
|
||||
/* 9FC324 80241B34 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC328 80241B38 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC32C 80241B3C 0C09053A */ jal nok_12_NpcJumpFunc
|
||||
/* 9FC330 80241B40 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC334 80241B44 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC338 80241B48 00000000 */ nop
|
||||
.L80241B4C_9FC33C:
|
||||
/* 9FC33C 80241B4C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC340 80241B50 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC344 80241B54 0C090558 */ jal nok_12_UnkNpcAIFunc13
|
||||
/* 9FC348 80241B58 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241B5C_9FC34C:
|
||||
/* 9FC34C 80241B5C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC350 80241B60 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC354 80241B64 0C0905A4 */ jal nok_12_UnkFunc15
|
||||
/* 9FC358 80241B68 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC35C 80241B6C 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC360 80241B70 00000000 */ nop
|
||||
.L80241B74_9FC364:
|
||||
/* 9FC364 80241B74 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC368 80241B78 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC36C 80241B7C 0C0905EC */ jal nok_12_UnkNpcDurationFlagFunc
|
||||
/* 9FC370 80241B80 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC374 80241B84 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC378 80241B88 00000000 */ nop
|
||||
.L80241B8C_9FC37C:
|
||||
/* 9FC37C 80241B8C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9FC380 80241B90 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9FC384 80241B94 0C090606 */ jal nok_12_UnkFunc16
|
||||
/* 9FC388 80241B98 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9FC38C 80241B9C 080906EB */ j .L80241BAC_9FC39C
|
||||
/* 9FC390 80241BA0 00000000 */ nop
|
||||
.L80241BA4_9FC394:
|
||||
/* 9FC394 80241BA4 0C0129CF */ jal func_8004A73C
|
||||
/* 9FC398 80241BA8 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241BAC_9FC39C:
|
||||
/* 9FC39C 80241BAC 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 9FC3A0 80241BB0 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 9FC3A4 80241BB4 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 9FC3A8 80241BB8 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 9FC3AC 80241BBC 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 9FC3B0 80241BC0 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 9FC3B4 80241BC4 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 9FC3B8 80241BC8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 9FC3BC 80241BCC 03E00008 */ jr $ra
|
||||
/* 9FC3C0 80241BD0 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80246D80_DC4030
|
||||
.word .L802412E4_DBE594, .L802412F4_DBE5A4, .L8024130C_DBE5BC, .L8024131C_DBE5CC, .L80241334_DBE5E4, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L8024134C_DBE5FC, .L8024135C_DBE60C, .L80241374_DBE624, .L80241384_DBE634, .L8024139C_DBE64C, .L802413B4_DBE664, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413D4_DBE684, .L802413CC_DBE67C
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241100_DBE3B0
|
||||
/* DBE3B0 80241100 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* DBE3B4 80241104 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* DBE3B8 80241108 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* DBE3BC 8024110C AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* DBE3C0 80241110 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* DBE3C4 80241114 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* DBE3C8 80241118 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* DBE3CC 8024111C AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* DBE3D0 80241120 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* DBE3D4 80241124 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* DBE3D8 80241128 86240008 */ lh $a0, 8($s1)
|
||||
/* DBE3DC 8024112C 0C00EABB */ jal get_npc_unsafe
|
||||
/* DBE3E0 80241130 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* DBE3E4 80241134 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* DBE3E8 80241138 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE3EC 8024113C 8C650000 */ lw $a1, ($v1)
|
||||
/* DBE3F0 80241140 0C0B1EAF */ jal evt_get_variable
|
||||
/* DBE3F4 80241144 0040902D */ daddu $s2, $v0, $zero
|
||||
/* DBE3F8 80241148 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* DBE3FC 8024114C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DBE400 80241150 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* DBE404 80241154 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* DBE408 80241158 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DBE40C 8024115C 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* DBE410 80241160 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* DBE414 80241164 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DBE418 80241168 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* DBE41C 8024116C AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* DBE420 80241170 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DBE424 80241174 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* DBE428 80241178 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* DBE42C 8024117C AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* DBE430 80241180 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DBE434 80241184 3C014282 */ lui $at, 0x4282
|
||||
/* DBE438 80241188 44810000 */ mtc1 $at, $f0
|
||||
/* DBE43C 8024118C 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* DBE440 80241190 0040982D */ daddu $s3, $v0, $zero
|
||||
/* DBE444 80241194 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* DBE448 80241198 A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* DBE44C 8024119C 16000005 */ bnez $s0, .L802411B4
|
||||
/* DBE450 802411A0 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* DBE454 802411A4 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DBE458 802411A8 30420004 */ andi $v0, $v0, 4
|
||||
/* DBE45C 802411AC 10400044 */ beqz $v0, .L802412C0
|
||||
/* DBE460 802411B0 00000000 */ nop
|
||||
.L802411B4:
|
||||
/* DBE464 802411B4 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* DBE468 802411B8 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* DBE46C 802411BC A640008E */ sh $zero, 0x8e($s2)
|
||||
/* DBE470 802411C0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* DBE474 802411C4 8E430000 */ lw $v1, ($s2)
|
||||
/* DBE478 802411C8 8C420000 */ lw $v0, ($v0)
|
||||
/* DBE47C 802411CC 00641824 */ and $v1, $v1, $a0
|
||||
/* DBE480 802411D0 AE430000 */ sw $v1, ($s2)
|
||||
/* DBE484 802411D4 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* DBE488 802411D8 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* DBE48C 802411DC 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* DBE490 802411E0 54400005 */ bnel $v0, $zero, .L802411F8
|
||||
/* DBE494 802411E4 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* DBE498 802411E8 34620200 */ ori $v0, $v1, 0x200
|
||||
/* DBE49C 802411EC 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* DBE4A0 802411F0 08090480 */ j .L80241200
|
||||
/* DBE4A4 802411F4 00431024 */ and $v0, $v0, $v1
|
||||
.L802411F8:
|
||||
/* DBE4A8 802411F8 00621024 */ and $v0, $v1, $v0
|
||||
/* DBE4AC 802411FC 34420008 */ ori $v0, $v0, 8
|
||||
.L80241200:
|
||||
/* DBE4B0 80241200 AE420000 */ sw $v0, ($s2)
|
||||
/* DBE4B4 80241204 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DBE4B8 80241208 30420004 */ andi $v0, $v0, 4
|
||||
/* DBE4BC 8024120C 10400008 */ beqz $v0, .L80241230
|
||||
/* DBE4C0 80241210 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* DBE4C4 80241214 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* DBE4C8 80241218 AE800074 */ sw $zero, 0x74($s4)
|
||||
/* DBE4CC 8024121C 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DBE4D0 80241220 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* DBE4D4 80241224 00431024 */ and $v0, $v0, $v1
|
||||
/* DBE4D8 80241228 08090497 */ j .L8024125C
|
||||
/* DBE4DC 8024122C AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241230:
|
||||
/* DBE4E0 80241230 8E220000 */ lw $v0, ($s1)
|
||||
/* DBE4E4 80241234 3C034000 */ lui $v1, 0x4000
|
||||
/* DBE4E8 80241238 00431024 */ and $v0, $v0, $v1
|
||||
/* DBE4EC 8024123C 10400007 */ beqz $v0, .L8024125C
|
||||
/* DBE4F0 80241240 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* DBE4F4 80241244 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* DBE4F8 80241248 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* DBE4FC 8024124C 8E220000 */ lw $v0, ($s1)
|
||||
/* DBE500 80241250 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* DBE504 80241254 00431024 */ and $v0, $v0, $v1
|
||||
/* DBE508 80241258 AE220000 */ sw $v0, ($s1)
|
||||
.L8024125C:
|
||||
/* DBE50C 8024125C 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* DBE510 80241260 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* DBE514 80241264 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* DBE518 80241268 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* DBE51C 8024126C 3C0142C8 */ lui $at, 0x42c8
|
||||
/* DBE520 80241270 44812000 */ mtc1 $at, $f4
|
||||
/* DBE524 80241274 44823000 */ mtc1 $v0, $f6
|
||||
/* DBE528 80241278 00000000 */ nop
|
||||
/* DBE52C 8024127C 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* DBE530 80241280 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* DBE534 80241284 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* DBE538 80241288 C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* DBE53C 8024128C C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* DBE540 80241290 46060000 */ add.s $f0, $f0, $f6
|
||||
/* DBE544 80241294 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* DBE548 80241298 E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* DBE54C 8024129C E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* DBE550 802412A0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* DBE554 802412A4 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* DBE558 802412A8 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* DBE55C 802412AC 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* DBE560 802412B0 10400003 */ beqz $v0, .L802412C0
|
||||
/* DBE564 802412B4 00000000 */ nop
|
||||
/* DBE568 802412B8 C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* DBE56C 802412BC E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L802412C0:
|
||||
/* DBE570 802412C0 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* DBE574 802412C4 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* DBE578 802412C8 10400042 */ beqz $v0, .L802413D4_DBE684
|
||||
/* DBE57C 802412CC 00031080 */ sll $v0, $v1, 2
|
||||
/* DBE580 802412D0 3C018024 */ lui $at, %hi(jtbl_80246D80_DC4030)
|
||||
/* DBE584 802412D4 00220821 */ addu $at, $at, $v0
|
||||
/* DBE588 802412D8 8C226D80 */ lw $v0, %lo(jtbl_80246D80_DC4030)($at)
|
||||
/* DBE58C 802412DC 00400008 */ jr $v0
|
||||
/* DBE590 802412E0 00000000 */ nop
|
||||
.L802412E4_DBE594:
|
||||
/* DBE594 802412E4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE598 802412E8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE59C 802412EC 0C09015B */ jal omo_07_UnkNpcAIFunc24
|
||||
/* DBE5A0 802412F0 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802412F4_DBE5A4:
|
||||
/* DBE5A4 802412F4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE5A8 802412F8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE5AC 802412FC 0C0901B1 */ jal omo_07_UnkFunc13
|
||||
/* DBE5B0 80241300 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE5B4 80241304 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE5B8 80241308 00000000 */ nop
|
||||
.L8024130C_DBE5BC:
|
||||
/* DBE5BC 8024130C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE5C0 80241310 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE5C4 80241314 0C09025B */ jal omo_07_UnkNpcAIFunc1
|
||||
/* DBE5C8 80241318 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L8024131C_DBE5CC:
|
||||
/* DBE5CC 8024131C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE5D0 80241320 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE5D4 80241324 0C09028B */ jal omo_07_UnkFunc14
|
||||
/* DBE5D8 80241328 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE5DC 8024132C 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE5E0 80241330 00000000 */ nop
|
||||
.L80241334_DBE5E4:
|
||||
/* DBE5E4 80241334 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE5E8 80241338 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE5EC 8024133C 0C0902FA */ jal omo_07_UnkNpcAIFunc25
|
||||
/* DBE5F0 80241340 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE5F4 80241344 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE5F8 80241348 00000000 */ nop
|
||||
.L8024134C_DBE5FC:
|
||||
/* DBE5FC 8024134C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE600 80241350 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE604 80241354 0C090327 */ jal omo_07_NpcJumpFunc2
|
||||
/* DBE608 80241358 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L8024135C_DBE60C:
|
||||
/* DBE60C 8024135C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE610 80241360 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE614 80241364 0C090344 */ jal omo_07_NpcJumpFunc
|
||||
/* DBE618 80241368 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE61C 8024136C 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE620 80241370 00000000 */ nop
|
||||
.L80241374_DBE624:
|
||||
/* DBE624 80241374 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE628 80241378 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE62C 8024137C 0C090362 */ jal omo_07_UnkNpcAIFunc13
|
||||
/* DBE630 80241380 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241384_DBE634:
|
||||
/* DBE634 80241384 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE638 80241388 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE63C 8024138C 0C0903AE */ jal omo_07_UnkFunc15
|
||||
/* DBE640 80241390 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE644 80241394 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE648 80241398 00000000 */ nop
|
||||
.L8024139C_DBE64C:
|
||||
/* DBE64C 8024139C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE650 802413A0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE654 802413A4 0C0903F6 */ jal omo_07_UnkNpcDurationFlagFunc
|
||||
/* DBE658 802413A8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE65C 802413AC 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE660 802413B0 00000000 */ nop
|
||||
.L802413B4_DBE664:
|
||||
/* DBE664 802413B4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DBE668 802413B8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DBE66C 802413BC 0C090410 */ jal omo_07_UnkFunc16
|
||||
/* DBE670 802413C0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DBE674 802413C4 080904F5 */ j .L802413D4_DBE684
|
||||
/* DBE678 802413C8 00000000 */ nop
|
||||
.L802413CC_DBE67C:
|
||||
/* DBE67C 802413CC 0C0129CF */ jal func_8004A73C
|
||||
/* DBE680 802413D0 0280202D */ daddu $a0, $s4, $zero
|
||||
.L802413D4_DBE684:
|
||||
/* DBE684 802413D4 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* DBE688 802413D8 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* DBE68C 802413DC 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* DBE690 802413E0 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* DBE694 802413E4 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* DBE698 802413E8 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* DBE69C 802413EC 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* DBE6A0 802413F0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* DBE6A4 802413F4 03E00008 */ jr $ra
|
||||
/* DBE6A8 802413F8 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_8024A7E0_DD74B0
|
||||
.word .L80241CC4_DCE994, .L80241CD4_DCE9A4, .L80241CEC_DCE9BC, .L80241CFC_DCE9CC, .L80241D14_DCE9E4, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241D2C_DCE9FC, .L80241D3C_DCEA0C, .L80241D54_DCEA24, .L80241D64_DCEA34, .L80241D7C_DCEA4C, .L80241D94_DCEA64, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DB4_DCEA84, .L80241DAC_DCEA7C
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241AE0_DCE7B0
|
||||
/* DCE7B0 80241AE0 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* DCE7B4 80241AE4 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* DCE7B8 80241AE8 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* DCE7BC 80241AEC AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* DCE7C0 80241AF0 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* DCE7C4 80241AF4 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* DCE7C8 80241AF8 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* DCE7CC 80241AFC AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* DCE7D0 80241B00 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* DCE7D4 80241B04 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* DCE7D8 80241B08 86240008 */ lh $a0, 8($s1)
|
||||
/* DCE7DC 80241B0C 0C00EABB */ jal get_npc_unsafe
|
||||
/* DCE7E0 80241B10 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* DCE7E4 80241B14 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* DCE7E8 80241B18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE7EC 80241B1C 8C650000 */ lw $a1, ($v1)
|
||||
/* DCE7F0 80241B20 0C0B1EAF */ jal evt_get_variable
|
||||
/* DCE7F4 80241B24 0040902D */ daddu $s2, $v0, $zero
|
||||
/* DCE7F8 80241B28 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* DCE7FC 80241B2C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DCE800 80241B30 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* DCE804 80241B34 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* DCE808 80241B38 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DCE80C 80241B3C 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* DCE810 80241B40 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* DCE814 80241B44 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DCE818 80241B48 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* DCE81C 80241B4C AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* DCE820 80241B50 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DCE824 80241B54 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* DCE828 80241B58 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* DCE82C 80241B5C AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* DCE830 80241B60 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* DCE834 80241B64 3C014282 */ lui $at, 0x4282
|
||||
/* DCE838 80241B68 44810000 */ mtc1 $at, $f0
|
||||
/* DCE83C 80241B6C 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* DCE840 80241B70 0040982D */ daddu $s3, $v0, $zero
|
||||
/* DCE844 80241B74 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* DCE848 80241B78 A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* DCE84C 80241B7C 16000005 */ bnez $s0, .L80241B94
|
||||
/* DCE850 80241B80 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* DCE854 80241B84 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DCE858 80241B88 30420004 */ andi $v0, $v0, 4
|
||||
/* DCE85C 80241B8C 10400044 */ beqz $v0, .L80241CA0
|
||||
/* DCE860 80241B90 00000000 */ nop
|
||||
.L80241B94:
|
||||
/* DCE864 80241B94 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* DCE868 80241B98 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* DCE86C 80241B9C A640008E */ sh $zero, 0x8e($s2)
|
||||
/* DCE870 80241BA0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* DCE874 80241BA4 8E430000 */ lw $v1, ($s2)
|
||||
/* DCE878 80241BA8 8C420000 */ lw $v0, ($v0)
|
||||
/* DCE87C 80241BAC 00641824 */ and $v1, $v1, $a0
|
||||
/* DCE880 80241BB0 AE430000 */ sw $v1, ($s2)
|
||||
/* DCE884 80241BB4 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* DCE888 80241BB8 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* DCE88C 80241BBC 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* DCE890 80241BC0 54400005 */ bnel $v0, $zero, .L80241BD8
|
||||
/* DCE894 80241BC4 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* DCE898 80241BC8 34620200 */ ori $v0, $v1, 0x200
|
||||
/* DCE89C 80241BCC 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* DCE8A0 80241BD0 080906F8 */ j .L80241BE0
|
||||
/* DCE8A4 80241BD4 00431024 */ and $v0, $v0, $v1
|
||||
.L80241BD8:
|
||||
/* DCE8A8 80241BD8 00621024 */ and $v0, $v1, $v0
|
||||
/* DCE8AC 80241BDC 34420008 */ ori $v0, $v0, 8
|
||||
.L80241BE0:
|
||||
/* DCE8B0 80241BE0 AE420000 */ sw $v0, ($s2)
|
||||
/* DCE8B4 80241BE4 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DCE8B8 80241BE8 30420004 */ andi $v0, $v0, 4
|
||||
/* DCE8BC 80241BEC 10400008 */ beqz $v0, .L80241C10
|
||||
/* DCE8C0 80241BF0 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* DCE8C4 80241BF4 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* DCE8C8 80241BF8 AE800074 */ sw $zero, 0x74($s4)
|
||||
/* DCE8CC 80241BFC 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* DCE8D0 80241C00 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* DCE8D4 80241C04 00431024 */ and $v0, $v0, $v1
|
||||
/* DCE8D8 80241C08 0809070F */ j .L80241C3C
|
||||
/* DCE8DC 80241C0C AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241C10:
|
||||
/* DCE8E0 80241C10 8E220000 */ lw $v0, ($s1)
|
||||
/* DCE8E4 80241C14 3C034000 */ lui $v1, 0x4000
|
||||
/* DCE8E8 80241C18 00431024 */ and $v0, $v0, $v1
|
||||
/* DCE8EC 80241C1C 10400007 */ beqz $v0, .L80241C3C
|
||||
/* DCE8F0 80241C20 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* DCE8F4 80241C24 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* DCE8F8 80241C28 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* DCE8FC 80241C2C 8E220000 */ lw $v0, ($s1)
|
||||
/* DCE900 80241C30 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* DCE904 80241C34 00431024 */ and $v0, $v0, $v1
|
||||
/* DCE908 80241C38 AE220000 */ sw $v0, ($s1)
|
||||
.L80241C3C:
|
||||
/* DCE90C 80241C3C 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* DCE910 80241C40 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* DCE914 80241C44 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* DCE918 80241C48 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* DCE91C 80241C4C 3C0142C8 */ lui $at, 0x42c8
|
||||
/* DCE920 80241C50 44812000 */ mtc1 $at, $f4
|
||||
/* DCE924 80241C54 44823000 */ mtc1 $v0, $f6
|
||||
/* DCE928 80241C58 00000000 */ nop
|
||||
/* DCE92C 80241C5C 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* DCE930 80241C60 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* DCE934 80241C64 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* DCE938 80241C68 C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* DCE93C 80241C6C C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* DCE940 80241C70 46060000 */ add.s $f0, $f0, $f6
|
||||
/* DCE944 80241C74 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* DCE948 80241C78 E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* DCE94C 80241C7C E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* DCE950 80241C80 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* DCE954 80241C84 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* DCE958 80241C88 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* DCE95C 80241C8C 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* DCE960 80241C90 10400003 */ beqz $v0, .L80241CA0
|
||||
/* DCE964 80241C94 00000000 */ nop
|
||||
/* DCE968 80241C98 C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* DCE96C 80241C9C E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241CA0:
|
||||
/* DCE970 80241CA0 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* DCE974 80241CA4 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* DCE978 80241CA8 10400042 */ beqz $v0, .L80241DB4_DCEA84
|
||||
/* DCE97C 80241CAC 00031080 */ sll $v0, $v1, 2
|
||||
/* DCE980 80241CB0 3C018025 */ lui $at, %hi(jtbl_8024A7E0_DD74B0)
|
||||
/* DCE984 80241CB4 00220821 */ addu $at, $at, $v0
|
||||
/* DCE988 80241CB8 8C22A7E0 */ lw $v0, %lo(jtbl_8024A7E0_DD74B0)($at)
|
||||
/* DCE98C 80241CBC 00400008 */ jr $v0
|
||||
/* DCE990 80241CC0 00000000 */ nop
|
||||
.L80241CC4_DCE994:
|
||||
/* DCE994 80241CC4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE998 80241CC8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCE99C 80241CCC 0C0903D3 */ jal omo_09_UnkNpcAIFunc24
|
||||
/* DCE9A0 80241CD0 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241CD4_DCE9A4:
|
||||
/* DCE9A4 80241CD4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE9A8 80241CD8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCE9AC 80241CDC 0C090429 */ jal omo_09_UnkFunc13
|
||||
/* DCE9B0 80241CE0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCE9B4 80241CE4 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCE9B8 80241CE8 00000000 */ nop
|
||||
.L80241CEC_DCE9BC:
|
||||
/* DCE9BC 80241CEC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE9C0 80241CF0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCE9C4 80241CF4 0C0904D3 */ jal omo_09_UnkNpcAIFunc1
|
||||
/* DCE9C8 80241CF8 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241CFC_DCE9CC:
|
||||
/* DCE9CC 80241CFC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE9D0 80241D00 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCE9D4 80241D04 0C090503 */ jal omo_09_UnkFunc14
|
||||
/* DCE9D8 80241D08 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCE9DC 80241D0C 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCE9E0 80241D10 00000000 */ nop
|
||||
.L80241D14_DCE9E4:
|
||||
/* DCE9E4 80241D14 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCE9E8 80241D18 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCE9EC 80241D1C 0C090572 */ jal omo_09_UnkNpcAIFunc25
|
||||
/* DCE9F0 80241D20 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCE9F4 80241D24 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCE9F8 80241D28 00000000 */ nop
|
||||
.L80241D2C_DCE9FC:
|
||||
/* DCE9FC 80241D2C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA00 80241D30 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA04 80241D34 0C09059F */ jal omo_09_NpcJumpFunc2
|
||||
/* DCEA08 80241D38 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241D3C_DCEA0C:
|
||||
/* DCEA0C 80241D3C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA10 80241D40 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA14 80241D44 0C0905BC */ jal omo_09_NpcJumpFunc
|
||||
/* DCEA18 80241D48 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCEA1C 80241D4C 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCEA20 80241D50 00000000 */ nop
|
||||
.L80241D54_DCEA24:
|
||||
/* DCEA24 80241D54 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA28 80241D58 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA2C 80241D5C 0C0905DA */ jal omo_09_UnkNpcAIFunc13
|
||||
/* DCEA30 80241D60 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241D64_DCEA34:
|
||||
/* DCEA34 80241D64 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA38 80241D68 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA3C 80241D6C 0C090626 */ jal omo_09_UnkFunc15
|
||||
/* DCEA40 80241D70 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCEA44 80241D74 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCEA48 80241D78 00000000 */ nop
|
||||
.L80241D7C_DCEA4C:
|
||||
/* DCEA4C 80241D7C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA50 80241D80 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA54 80241D84 0C09066E */ jal omo_09_UnkNpcDurationFlagFunc
|
||||
/* DCEA58 80241D88 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCEA5C 80241D8C 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCEA60 80241D90 00000000 */ nop
|
||||
.L80241D94_DCEA64:
|
||||
/* DCEA64 80241D94 0280202D */ daddu $a0, $s4, $zero
|
||||
/* DCEA68 80241D98 0260282D */ daddu $a1, $s3, $zero
|
||||
/* DCEA6C 80241D9C 0C090688 */ jal omo_09_UnkFunc16
|
||||
/* DCEA70 80241DA0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* DCEA74 80241DA4 0809076D */ j .L80241DB4_DCEA84
|
||||
/* DCEA78 80241DA8 00000000 */ nop
|
||||
.L80241DAC_DCEA7C:
|
||||
/* DCEA7C 80241DAC 0C0129CF */ jal func_8004A73C
|
||||
/* DCEA80 80241DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241DB4_DCEA84:
|
||||
/* DCEA84 80241DB4 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* DCEA88 80241DB8 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* DCEA8C 80241DBC 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* DCEA90 80241DC0 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* DCEA94 80241DC4 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* DCEA98 80241DC8 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* DCEA9C 80241DCC 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* DCEAA0 80241DD0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* DCEAA4 80241DD4 03E00008 */ jr $ra
|
||||
/* DCEAA8 80241DD8 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80243FF0_D91240
|
||||
.word .L80241C98_D8EEE8, .L80241CA8_D8EEF8, .L80241CC0_D8EF10, .L80241CD0_D8EF20, .L80241CE8_D8EF38, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D00_D8EF50, .L80241D10_D8EF60, .L80241D28_D8EF78, .L80241D38_D8EF88, .L80241D50_D8EFA0, .L80241D68_D8EFB8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D88_D8EFD8, .L80241D80_D8EFD0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241AB4_D8ED04
|
||||
/* D8ED04 80241AB4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* D8ED08 80241AB8 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* D8ED0C 80241ABC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* D8ED10 80241AC0 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* D8ED14 80241AC4 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* D8ED18 80241AC8 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* D8ED1C 80241ACC AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* D8ED20 80241AD0 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* D8ED24 80241AD4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* D8ED28 80241AD8 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* D8ED2C 80241ADC 86240008 */ lh $a0, 8($s1)
|
||||
/* D8ED30 80241AE0 0C00EABB */ jal get_npc_unsafe
|
||||
/* D8ED34 80241AE4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* D8ED38 80241AE8 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* D8ED3C 80241AEC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8ED40 80241AF0 8C650000 */ lw $a1, ($v1)
|
||||
/* D8ED44 80241AF4 0C0B1EAF */ jal evt_get_variable
|
||||
/* D8ED48 80241AF8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* D8ED4C 80241AFC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* D8ED50 80241B00 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* D8ED54 80241B04 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* D8ED58 80241B08 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* D8ED5C 80241B0C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* D8ED60 80241B10 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* D8ED64 80241B14 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* D8ED68 80241B18 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* D8ED6C 80241B1C 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* D8ED70 80241B20 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* D8ED74 80241B24 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* D8ED78 80241B28 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* D8ED7C 80241B2C 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* D8ED80 80241B30 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* D8ED84 80241B34 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* D8ED88 80241B38 3C014282 */ lui $at, 0x4282
|
||||
/* D8ED8C 80241B3C 44810000 */ mtc1 $at, $f0
|
||||
/* D8ED90 80241B40 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* D8ED94 80241B44 0040982D */ daddu $s3, $v0, $zero
|
||||
/* D8ED98 80241B48 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* D8ED9C 80241B4C A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* D8EDA0 80241B50 16000005 */ bnez $s0, .L80241B68
|
||||
/* D8EDA4 80241B54 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* D8EDA8 80241B58 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* D8EDAC 80241B5C 30420004 */ andi $v0, $v0, 4
|
||||
/* D8EDB0 80241B60 10400044 */ beqz $v0, .L80241C74
|
||||
/* D8EDB4 80241B64 00000000 */ nop
|
||||
.L80241B68:
|
||||
/* D8EDB8 80241B68 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* D8EDBC 80241B6C AE800070 */ sw $zero, 0x70($s4)
|
||||
/* D8EDC0 80241B70 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* D8EDC4 80241B74 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* D8EDC8 80241B78 8E430000 */ lw $v1, ($s2)
|
||||
/* D8EDCC 80241B7C 8C420000 */ lw $v0, ($v0)
|
||||
/* D8EDD0 80241B80 00641824 */ and $v1, $v1, $a0
|
||||
/* D8EDD4 80241B84 AE430000 */ sw $v1, ($s2)
|
||||
/* D8EDD8 80241B88 AE420028 */ sw $v0, 0x28($s2)
|
||||
/* D8EDDC 80241B8C 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* D8EDE0 80241B90 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* D8EDE4 80241B94 54400005 */ bnel $v0, $zero, .L80241BAC
|
||||
/* D8EDE8 80241B98 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* D8EDEC 80241B9C 34620200 */ ori $v0, $v1, 0x200
|
||||
/* D8EDF0 80241BA0 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* D8EDF4 80241BA4 080906ED */ j .L80241BB4
|
||||
/* D8EDF8 80241BA8 00431024 */ and $v0, $v0, $v1
|
||||
.L80241BAC:
|
||||
/* D8EDFC 80241BAC 00621024 */ and $v0, $v1, $v0
|
||||
/* D8EE00 80241BB0 34420008 */ ori $v0, $v0, 8
|
||||
.L80241BB4:
|
||||
/* D8EE04 80241BB4 AE420000 */ sw $v0, ($s2)
|
||||
/* D8EE08 80241BB8 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* D8EE0C 80241BBC 30420004 */ andi $v0, $v0, 4
|
||||
/* D8EE10 80241BC0 10400008 */ beqz $v0, .L80241BE4
|
||||
/* D8EE14 80241BC4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* D8EE18 80241BC8 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* D8EE1C 80241BCC AE800074 */ sw $zero, 0x74($s4)
|
||||
/* D8EE20 80241BD0 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* D8EE24 80241BD4 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* D8EE28 80241BD8 00431024 */ and $v0, $v0, $v1
|
||||
/* D8EE2C 80241BDC 08090704 */ j .L80241C10
|
||||
/* D8EE30 80241BE0 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241BE4:
|
||||
/* D8EE34 80241BE4 8E220000 */ lw $v0, ($s1)
|
||||
/* D8EE38 80241BE8 3C034000 */ lui $v1, 0x4000
|
||||
/* D8EE3C 80241BEC 00431024 */ and $v0, $v0, $v1
|
||||
/* D8EE40 80241BF0 10400007 */ beqz $v0, .L80241C10
|
||||
/* D8EE44 80241BF4 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* D8EE48 80241BF8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* D8EE4C 80241BFC AE820070 */ sw $v0, 0x70($s4)
|
||||
/* D8EE50 80241C00 8E220000 */ lw $v0, ($s1)
|
||||
/* D8EE54 80241C04 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* D8EE58 80241C08 00431024 */ and $v0, $v0, $v1
|
||||
/* D8EE5C 80241C0C AE220000 */ sw $v0, ($s1)
|
||||
.L80241C10:
|
||||
/* D8EE60 80241C10 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* D8EE64 80241C14 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* D8EE68 80241C18 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* D8EE6C 80241C1C 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* D8EE70 80241C20 3C0142C8 */ lui $at, 0x42c8
|
||||
/* D8EE74 80241C24 44812000 */ mtc1 $at, $f4
|
||||
/* D8EE78 80241C28 44823000 */ mtc1 $v0, $f6
|
||||
/* D8EE7C 80241C2C 00000000 */ nop
|
||||
/* D8EE80 80241C30 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* D8EE84 80241C34 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* D8EE88 80241C38 E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* D8EE8C 80241C3C C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* D8EE90 80241C40 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* D8EE94 80241C44 46060000 */ add.s $f0, $f0, $f6
|
||||
/* D8EE98 80241C48 E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* D8EE9C 80241C4C E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* D8EEA0 80241C50 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* D8EEA4 80241C54 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* D8EEA8 80241C58 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* D8EEAC 80241C5C 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* D8EEB0 80241C60 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* D8EEB4 80241C64 10400003 */ beqz $v0, .L80241C74
|
||||
/* D8EEB8 80241C68 00000000 */ nop
|
||||
/* D8EEBC 80241C6C C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* D8EEC0 80241C70 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241C74:
|
||||
/* D8EEC4 80241C74 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* D8EEC8 80241C78 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* D8EECC 80241C7C 10400042 */ beqz $v0, .L80241D88_D8EFD8
|
||||
/* D8EED0 80241C80 00031080 */ sll $v0, $v1, 2
|
||||
/* D8EED4 80241C84 3C018024 */ lui $at, %hi(jtbl_80243FF0_D91240)
|
||||
/* D8EED8 80241C88 00220821 */ addu $at, $at, $v0
|
||||
/* D8EEDC 80241C8C 8C223FF0 */ lw $v0, %lo(jtbl_80243FF0_D91240)($at)
|
||||
/* D8EEE0 80241C90 00400008 */ jr $v0
|
||||
/* D8EEE4 80241C94 00000000 */ nop
|
||||
.L80241C98_D8EEE8:
|
||||
/* D8EEE8 80241C98 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EEEC 80241C9C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EEF0 80241CA0 0C0903C8 */ jal pra_35_UnkNpcAIFunc24
|
||||
/* D8EEF4 80241CA4 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241CA8_D8EEF8:
|
||||
/* D8EEF8 80241CA8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EEFC 80241CAC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF00 80241CB0 0C09041E */ jal pra_35_UnkFunc13
|
||||
/* D8EF04 80241CB4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EF08 80241CB8 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EF0C 80241CBC 00000000 */ nop
|
||||
.L80241CC0_D8EF10:
|
||||
/* D8EF10 80241CC0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF14 80241CC4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF18 80241CC8 0C0904C8 */ jal pra_35_UnkNpcAIFunc1
|
||||
/* D8EF1C 80241CCC 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241CD0_D8EF20:
|
||||
/* D8EF20 80241CD0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF24 80241CD4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF28 80241CD8 0C0904F8 */ jal pra_35_UnkFunc14
|
||||
/* D8EF2C 80241CDC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EF30 80241CE0 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EF34 80241CE4 00000000 */ nop
|
||||
.L80241CE8_D8EF38:
|
||||
/* D8EF38 80241CE8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF3C 80241CEC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF40 80241CF0 0C090567 */ jal pra_35_UnkNpcAIFunc25
|
||||
/* D8EF44 80241CF4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EF48 80241CF8 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EF4C 80241CFC 00000000 */ nop
|
||||
.L80241D00_D8EF50:
|
||||
/* D8EF50 80241D00 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF54 80241D04 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF58 80241D08 0C090594 */ jal pra_35_NpcJumpFunc2
|
||||
/* D8EF5C 80241D0C 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241D10_D8EF60:
|
||||
/* D8EF60 80241D10 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF64 80241D14 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF68 80241D18 0C0905B1 */ jal pra_35_NpcJumpFunc
|
||||
/* D8EF6C 80241D1C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EF70 80241D20 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EF74 80241D24 00000000 */ nop
|
||||
.L80241D28_D8EF78:
|
||||
/* D8EF78 80241D28 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF7C 80241D2C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF80 80241D30 0C0905CF */ jal pra_35_UnkNpcAIFunc13
|
||||
/* D8EF84 80241D34 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241D38_D8EF88:
|
||||
/* D8EF88 80241D38 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EF8C 80241D3C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EF90 80241D40 0C09061B */ jal pra_35_UnkFunc15
|
||||
/* D8EF94 80241D44 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EF98 80241D48 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EF9C 80241D4C 00000000 */ nop
|
||||
.L80241D50_D8EFA0:
|
||||
/* D8EFA0 80241D50 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EFA4 80241D54 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EFA8 80241D58 0C090663 */ jal pra_35_UnkNpcDurationFlagFunc
|
||||
/* D8EFAC 80241D5C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EFB0 80241D60 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EFB4 80241D64 00000000 */ nop
|
||||
.L80241D68_D8EFB8:
|
||||
/* D8EFB8 80241D68 0280202D */ daddu $a0, $s4, $zero
|
||||
/* D8EFBC 80241D6C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* D8EFC0 80241D70 0C09067D */ jal pra_35_UnkFunc16
|
||||
/* D8EFC4 80241D74 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* D8EFC8 80241D78 08090762 */ j .L80241D88_D8EFD8
|
||||
/* D8EFCC 80241D7C 00000000 */ nop
|
||||
.L80241D80_D8EFD0:
|
||||
/* D8EFD0 80241D80 0C0129CF */ jal func_8004A73C
|
||||
/* D8EFD4 80241D84 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241D88_D8EFD8:
|
||||
/* D8EFD8 80241D88 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* D8EFDC 80241D8C 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* D8EFE0 80241D90 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* D8EFE4 80241D94 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* D8EFE8 80241D98 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* D8EFEC 80241D9C 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* D8EFF0 80241DA0 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* D8EFF4 80241DA4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* D8EFF8 80241DA8 03E00008 */ jr $ra
|
||||
/* D8EFFC 80241DAC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -38,8 +38,8 @@ glabel func_8024129C_D069CC
|
||||
/* D06A50 80241320 0220202D */ daddu $a0, $s1, $zero
|
||||
/* D06A54 80241324 3C05F4AC */ lui $a1, 0xf4ac
|
||||
/* D06A58 80241328 34A5D481 */ ori $a1, $a1, 0xd481
|
||||
/* D06A5C 8024132C 3C108025 */ lui $s0, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* D06A60 80241330 2610B9B0 */ addiu $s0, $s0, %lo(jtbl_8024B9B0_B8FB30)
|
||||
/* D06A5C 8024132C 3C108025 */ lui $s0, %hi(sam_02_8024B9B0)
|
||||
/* D06A60 80241330 2610B9B0 */ addiu $s0, $s0, %lo(sam_02_8024B9B0)
|
||||
/* D06A64 80241334 0C0B1EAF */ jal evt_get_variable
|
||||
/* D06A68 80241338 AE020000 */ sw $v0, ($s0)
|
||||
/* D06A6C 8024133C 0220202D */ daddu $a0, $s1, $zero
|
||||
@ -106,8 +106,8 @@ glabel func_8024129C_D069CC
|
||||
/* D06B60 80241430 AC800028 */ sw $zero, 0x28($a0)
|
||||
/* D06B64 80241434 AC80001C */ sw $zero, 0x1c($a0)
|
||||
.L80241438:
|
||||
/* D06B68 80241438 3C028025 */ lui $v0, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* D06B6C 8024143C 8C42B9B0 */ lw $v0, %lo(jtbl_8024B9B0_B8FB30)($v0)
|
||||
/* D06B68 80241438 3C028025 */ lui $v0, %hi(sam_02_8024B9B0)
|
||||
/* D06B6C 8024143C 8C42B9B0 */ lw $v0, %lo(sam_02_8024B9B0)($v0)
|
||||
/* D06B70 80241440 8C44000C */ lw $a0, 0xc($v0)
|
||||
/* D06B74 80241444 8C820020 */ lw $v0, 0x20($a0)
|
||||
/* D06B78 80241448 8C830028 */ lw $v1, 0x28($a0)
|
||||
|
@ -16,8 +16,8 @@ glabel func_802414B4_D06BE4
|
||||
/* D06C10 802414E0 34420010 */ ori $v0, $v0, 0x10
|
||||
/* D06C14 802414E4 AC820000 */ sw $v0, ($a0)
|
||||
.L802414E8:
|
||||
/* D06C18 802414E8 3C048025 */ lui $a0, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* D06C1C 802414EC 8C84B9B0 */ lw $a0, %lo(jtbl_8024B9B0_B8FB30)($a0)
|
||||
/* D06C18 802414E8 3C048025 */ lui $a0, %hi(sam_02_8024B9B0)
|
||||
/* D06C1C 802414EC 8C84B9B0 */ lw $a0, %lo(sam_02_8024B9B0)($a0)
|
||||
/* D06C20 802414F0 8C85000C */ lw $a1, 0xc($a0)
|
||||
/* D06C24 802414F4 8CA20018 */ lw $v0, 0x18($a1)
|
||||
/* D06C28 802414F8 8CA30020 */ lw $v1, 0x20($a1)
|
||||
|
@ -7,8 +7,8 @@ glabel func_80241568_D06C98
|
||||
/* D06CA0 80241570 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* D06CA4 80241574 0C0B1EAF */ jal evt_get_variable
|
||||
/* D06CA8 80241578 8C450000 */ lw $a1, ($v0)
|
||||
/* D06CAC 8024157C 3C038025 */ lui $v1, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* D06CB0 80241580 8C63B9B0 */ lw $v1, %lo(jtbl_8024B9B0_B8FB30)($v1)
|
||||
/* D06CAC 8024157C 3C038025 */ lui $v1, %hi(sam_02_8024B9B0)
|
||||
/* D06CB0 80241580 8C63B9B0 */ lw $v1, %lo(sam_02_8024B9B0)($v1)
|
||||
/* D06CB4 80241584 8C63000C */ lw $v1, 0xc($v1)
|
||||
/* D06CB8 80241588 AC620034 */ sw $v0, 0x34($v1)
|
||||
/* D06CBC 8024158C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
|
@ -8,8 +8,8 @@ glabel func_8024159C_D06CCC
|
||||
/* D06CD8 802415A8 0C0B1EAF */ jal evt_get_variable
|
||||
/* D06CDC 802415AC 8C450000 */ lw $a1, ($v0)
|
||||
/* D06CE0 802415B0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* D06CE4 802415B4 3C028025 */ lui $v0, %hi(jtbl_8024B9B0_B8FB30)
|
||||
/* D06CE8 802415B8 8C42B9B0 */ lw $v0, %lo(jtbl_8024B9B0_B8FB30)($v0)
|
||||
/* D06CE4 802415B4 3C028025 */ lui $v0, %hi(sam_02_8024B9B0)
|
||||
/* D06CE8 802415B8 8C42B9B0 */ lw $v0, %lo(sam_02_8024B9B0)($v0)
|
||||
/* D06CEC 802415BC 24030001 */ addiu $v1, $zero, 1
|
||||
/* D06CF0 802415C0 8C45000C */ lw $a1, 0xc($v0)
|
||||
/* D06CF4 802415C4 1083000D */ beq $a0, $v1, .L802415FC
|
||||
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80243350_9A4330
|
||||
.word .L8024162C_9A260C, .L8024163C_9A261C, .L80241654_9A2634, .L80241664_9A2644, .L8024167C_9A265C, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L80241694_9A2674, .L802416A4_9A2684, .L802416BC_9A269C, .L802416CC_9A26AC, .L802416E4_9A26C4, .L802416FC_9A26DC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L8024171C_9A26FC, .L80241714_9A26F4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241448_9A2428
|
||||
/* 9A2428 80241448 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 9A242C 8024144C AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 9A2430 80241450 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 9A2434 80241454 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 9A2438 80241458 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 9A243C 8024145C AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 9A2440 80241460 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 9A2444 80241464 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 9A2448 80241468 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 9A244C 8024146C 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 9A2450 80241470 86240008 */ lh $a0, 8($s1)
|
||||
/* 9A2454 80241474 0C00EABB */ jal get_npc_unsafe
|
||||
/* 9A2458 80241478 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 9A245C 8024147C 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 9A2460 80241480 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2464 80241484 8C650000 */ lw $a1, ($v1)
|
||||
/* 9A2468 80241488 0C0B1EAF */ jal evt_get_variable
|
||||
/* 9A246C 8024148C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 9A2470 80241490 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 9A2474 80241494 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A2478 80241498 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 9A247C 8024149C AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 9A2480 802414A0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A2484 802414A4 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 9A2488 802414A8 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 9A248C 802414AC 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A2490 802414B0 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 9A2494 802414B4 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 9A2498 802414B8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A249C 802414BC 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 9A24A0 802414C0 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 9A24A4 802414C4 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 9A24A8 802414C8 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A24AC 802414CC 3C014282 */ lui $at, 0x4282
|
||||
/* 9A24B0 802414D0 44810000 */ mtc1 $at, $f0
|
||||
/* 9A24B4 802414D4 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 9A24B8 802414D8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 9A24BC 802414DC E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 9A24C0 802414E0 A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 9A24C4 802414E4 16000005 */ bnez $s0, .L802414FC
|
||||
/* 9A24C8 802414E8 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 9A24CC 802414EC 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A24D0 802414F0 30420004 */ andi $v0, $v0, 4
|
||||
/* 9A24D4 802414F4 10400044 */ beqz $v0, .L80241608
|
||||
/* 9A24D8 802414F8 00000000 */ nop
|
||||
.L802414FC:
|
||||
/* 9A24DC 802414FC 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 9A24E0 80241500 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 9A24E4 80241504 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 9A24E8 80241508 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 9A24EC 8024150C 8E430000 */ lw $v1, ($s2)
|
||||
/* 9A24F0 80241510 8C420000 */ lw $v0, ($v0)
|
||||
/* 9A24F4 80241514 00641824 */ and $v1, $v1, $a0
|
||||
/* 9A24F8 80241518 AE430000 */ sw $v1, ($s2)
|
||||
/* 9A24FC 8024151C AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 9A2500 80241520 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 9A2504 80241524 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 9A2508 80241528 54400005 */ bnel $v0, $zero, .L80241540
|
||||
/* 9A250C 8024152C 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 9A2510 80241530 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 9A2514 80241534 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 9A2518 80241538 08090552 */ j .L80241548
|
||||
/* 9A251C 8024153C 00431024 */ and $v0, $v0, $v1
|
||||
.L80241540:
|
||||
/* 9A2520 80241540 00621024 */ and $v0, $v1, $v0
|
||||
/* 9A2524 80241544 34420008 */ ori $v0, $v0, 8
|
||||
.L80241548:
|
||||
/* 9A2528 80241548 AE420000 */ sw $v0, ($s2)
|
||||
/* 9A252C 8024154C 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A2530 80241550 30420004 */ andi $v0, $v0, 4
|
||||
/* 9A2534 80241554 10400008 */ beqz $v0, .L80241578
|
||||
/* 9A2538 80241558 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 9A253C 8024155C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9A2540 80241560 AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 9A2544 80241564 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A2548 80241568 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 9A254C 8024156C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A2550 80241570 08090569 */ j .L802415A4
|
||||
/* 9A2554 80241574 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241578:
|
||||
/* 9A2558 80241578 8E220000 */ lw $v0, ($s1)
|
||||
/* 9A255C 8024157C 3C034000 */ lui $v1, 0x4000
|
||||
/* 9A2560 80241580 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A2564 80241584 10400007 */ beqz $v0, .L802415A4
|
||||
/* 9A2568 80241588 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 9A256C 8024158C 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 9A2570 80241590 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9A2574 80241594 8E220000 */ lw $v0, ($s1)
|
||||
/* 9A2578 80241598 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 9A257C 8024159C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A2580 802415A0 AE220000 */ sw $v0, ($s1)
|
||||
.L802415A4:
|
||||
/* 9A2584 802415A4 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 9A2588 802415A8 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 9A258C 802415AC C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 9A2590 802415B0 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 9A2594 802415B4 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 9A2598 802415B8 44812000 */ mtc1 $at, $f4
|
||||
/* 9A259C 802415BC 44823000 */ mtc1 $v0, $f6
|
||||
/* 9A25A0 802415C0 00000000 */ nop
|
||||
/* 9A25A4 802415C4 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 9A25A8 802415C8 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 9A25AC 802415CC E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 9A25B0 802415D0 C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 9A25B4 802415D4 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 9A25B8 802415D8 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 9A25BC 802415DC E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 9A25C0 802415E0 E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 9A25C4 802415E4 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 9A25C8 802415E8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 9A25CC 802415EC 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 9A25D0 802415F0 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 9A25D4 802415F4 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 9A25D8 802415F8 10400003 */ beqz $v0, .L80241608
|
||||
/* 9A25DC 802415FC 00000000 */ nop
|
||||
/* 9A25E0 80241600 C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 9A25E4 80241604 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L80241608:
|
||||
/* 9A25E8 80241608 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 9A25EC 8024160C 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 9A25F0 80241610 10400042 */ beqz $v0, .L8024171C_9A26FC
|
||||
/* 9A25F4 80241614 00031080 */ sll $v0, $v1, 2
|
||||
/* 9A25F8 80241618 3C018024 */ lui $at, %hi(jtbl_80243350_9A4330)
|
||||
/* 9A25FC 8024161C 00220821 */ addu $at, $at, $v0
|
||||
/* 9A2600 80241620 8C223350 */ lw $v0, %lo(jtbl_80243350_9A4330)($at)
|
||||
/* 9A2604 80241624 00400008 */ jr $v0
|
||||
/* 9A2608 80241628 00000000 */ nop
|
||||
.L8024162C_9A260C:
|
||||
/* 9A260C 8024162C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2610 80241630 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A2614 80241634 0C09022D */ jal trd_02_UnkNpcAIFunc24
|
||||
/* 9A2618 80241638 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L8024163C_9A261C:
|
||||
/* 9A261C 8024163C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2620 80241640 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A2624 80241644 0C090283 */ jal trd_02_UnkFunc13
|
||||
/* 9A2628 80241648 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A262C 8024164C 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A2630 80241650 00000000 */ nop
|
||||
.L80241654_9A2634:
|
||||
/* 9A2634 80241654 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2638 80241658 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A263C 8024165C 0C09032D */ jal trd_02_UnkNpcAIFunc1
|
||||
/* 9A2640 80241660 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241664_9A2644:
|
||||
/* 9A2644 80241664 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2648 80241668 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A264C 8024166C 0C09035D */ jal trd_02_UnkFunc14
|
||||
/* 9A2650 80241670 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A2654 80241674 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A2658 80241678 00000000 */ nop
|
||||
.L8024167C_9A265C:
|
||||
/* 9A265C 8024167C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2660 80241680 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A2664 80241684 0C0903CC */ jal trd_02_UnkNpcAIFunc25
|
||||
/* 9A2668 80241688 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A266C 8024168C 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A2670 80241690 00000000 */ nop
|
||||
.L80241694_9A2674:
|
||||
/* 9A2674 80241694 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2678 80241698 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A267C 8024169C 0C0903F9 */ jal trd_02_NpcJumpFunc2
|
||||
/* 9A2680 802416A0 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802416A4_9A2684:
|
||||
/* 9A2684 802416A4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A2688 802416A8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A268C 802416AC 0C090416 */ jal trd_02_NpcJumpFunc
|
||||
/* 9A2690 802416B0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A2694 802416B4 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A2698 802416B8 00000000 */ nop
|
||||
.L802416BC_9A269C:
|
||||
/* 9A269C 802416BC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A26A0 802416C0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A26A4 802416C4 0C090434 */ jal trd_02_UnkNpcAIFunc13
|
||||
/* 9A26A8 802416C8 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L802416CC_9A26AC:
|
||||
/* 9A26AC 802416CC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A26B0 802416D0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A26B4 802416D4 0C090480 */ jal trd_02_UnkFunc15
|
||||
/* 9A26B8 802416D8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A26BC 802416DC 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A26C0 802416E0 00000000 */ nop
|
||||
.L802416E4_9A26C4:
|
||||
/* 9A26C4 802416E4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A26C8 802416E8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A26CC 802416EC 0C0904C8 */ jal trd_02_UnkNpcDurationFlagFunc
|
||||
/* 9A26D0 802416F0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A26D4 802416F4 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A26D8 802416F8 00000000 */ nop
|
||||
.L802416FC_9A26DC:
|
||||
/* 9A26DC 802416FC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A26E0 80241700 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A26E4 80241704 0C0904E2 */ jal trd_02_UnkFunc16
|
||||
/* 9A26E8 80241708 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A26EC 8024170C 080905C7 */ j .L8024171C_9A26FC
|
||||
/* 9A26F0 80241710 00000000 */ nop
|
||||
.L80241714_9A26F4:
|
||||
/* 9A26F4 80241714 0C0129CF */ jal func_8004A73C
|
||||
/* 9A26F8 80241718 0280202D */ daddu $a0, $s4, $zero
|
||||
.L8024171C_9A26FC:
|
||||
/* 9A26FC 8024171C 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 9A2700 80241720 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 9A2704 80241724 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 9A2708 80241728 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 9A270C 8024172C 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 9A2710 80241730 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 9A2714 80241734 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 9A2718 80241738 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 9A271C 8024173C 03E00008 */ jr $ra
|
||||
/* 9A2720 80241740 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_80245F50_9AE340
|
||||
.word .L802419FC_9A9DEC, .L80241A0C_9A9DFC, .L80241A24_9A9E14, .L80241A34_9A9E24, .L80241A4C_9A9E3C, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241A64_9A9E54, .L80241A74_9A9E64, .L80241A8C_9A9E7C, .L80241A9C_9A9E8C, .L80241AB4_9A9EA4, .L80241ACC_9A9EBC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AEC_9A9EDC, .L80241AE4_9A9ED4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80241818_9A9C08
|
||||
/* 9A9C08 80241818 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 9A9C0C 8024181C AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 9A9C10 80241820 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 9A9C14 80241824 AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 9A9C18 80241828 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 9A9C1C 8024182C AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 9A9C20 80241830 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 9A9C24 80241834 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 9A9C28 80241838 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 9A9C2C 8024183C 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* 9A9C30 80241840 86240008 */ lh $a0, 8($s1)
|
||||
/* 9A9C34 80241844 0C00EABB */ jal get_npc_unsafe
|
||||
/* 9A9C38 80241848 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 9A9C3C 8024184C 8E83000C */ lw $v1, 0xc($s4)
|
||||
/* 9A9C40 80241850 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9C44 80241854 8C650000 */ lw $a1, ($v1)
|
||||
/* 9A9C48 80241858 0C0B1EAF */ jal evt_get_variable
|
||||
/* 9A9C4C 8024185C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 9A9C50 80241860 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 9A9C54 80241864 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A9C58 80241868 8C630094 */ lw $v1, 0x94($v1)
|
||||
/* 9A9C5C 8024186C AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 9A9C60 80241870 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A9C64 80241874 8C630080 */ lw $v1, 0x80($v1)
|
||||
/* 9A9C68 80241878 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 9A9C6C 8024187C 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A9C70 80241880 8C630088 */ lw $v1, 0x88($v1)
|
||||
/* 9A9C74 80241884 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 9A9C78 80241888 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A9C7C 8024188C 8C63008C */ lw $v1, 0x8c($v1)
|
||||
/* 9A9C80 80241890 27B50018 */ addiu $s5, $sp, 0x18
|
||||
/* 9A9C84 80241894 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 9A9C88 80241898 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* 9A9C8C 8024189C 3C014282 */ lui $at, 0x4282
|
||||
/* 9A9C90 802418A0 44810000 */ mtc1 $at, $f0
|
||||
/* 9A9C94 802418A4 8C630090 */ lw $v1, 0x90($v1)
|
||||
/* 9A9C98 802418A8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 9A9C9C 802418AC E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 9A9CA0 802418B0 A7A00034 */ sh $zero, 0x34($sp)
|
||||
/* 9A9CA4 802418B4 16000005 */ bnez $s0, .L802418CC
|
||||
/* 9A9CA8 802418B8 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
/* 9A9CAC 802418BC 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A9CB0 802418C0 30420004 */ andi $v0, $v0, 4
|
||||
/* 9A9CB4 802418C4 10400044 */ beqz $v0, .L802419D8
|
||||
/* 9A9CB8 802418C8 00000000 */ nop
|
||||
.L802418CC:
|
||||
/* 9A9CBC 802418CC 2404F7FF */ addiu $a0, $zero, -0x801
|
||||
/* 9A9CC0 802418D0 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 9A9CC4 802418D4 A640008E */ sh $zero, 0x8e($s2)
|
||||
/* 9A9CC8 802418D8 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* 9A9CCC 802418DC 8E430000 */ lw $v1, ($s2)
|
||||
/* 9A9CD0 802418E0 8C420000 */ lw $v0, ($v0)
|
||||
/* 9A9CD4 802418E4 00641824 */ and $v1, $v1, $a0
|
||||
/* 9A9CD8 802418E8 AE430000 */ sw $v1, ($s2)
|
||||
/* 9A9CDC 802418EC AE420028 */ sw $v0, 0x28($s2)
|
||||
/* 9A9CE0 802418F0 8E2200D0 */ lw $v0, 0xd0($s1)
|
||||
/* 9A9CE4 802418F4 8C420098 */ lw $v0, 0x98($v0)
|
||||
/* 9A9CE8 802418F8 54400005 */ bnel $v0, $zero, .L80241910
|
||||
/* 9A9CEC 802418FC 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* 9A9CF0 80241900 34620200 */ ori $v0, $v1, 0x200
|
||||
/* 9A9CF4 80241904 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 9A9CF8 80241908 08090646 */ j .L80241918
|
||||
/* 9A9CFC 8024190C 00431024 */ and $v0, $v0, $v1
|
||||
.L80241910:
|
||||
/* 9A9D00 80241910 00621024 */ and $v0, $v1, $v0
|
||||
/* 9A9D04 80241914 34420008 */ ori $v0, $v0, 8
|
||||
.L80241918:
|
||||
/* 9A9D08 80241918 AE420000 */ sw $v0, ($s2)
|
||||
/* 9A9D0C 8024191C 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A9D10 80241920 30420004 */ andi $v0, $v0, 4
|
||||
/* 9A9D14 80241924 10400008 */ beqz $v0, .L80241948
|
||||
/* 9A9D18 80241928 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 9A9D1C 8024192C AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9A9D20 80241930 AE800074 */ sw $zero, 0x74($s4)
|
||||
/* 9A9D24 80241934 8E2200B0 */ lw $v0, 0xb0($s1)
|
||||
/* 9A9D28 80241938 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 9A9D2C 8024193C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A9D30 80241940 0809065D */ j .L80241974
|
||||
/* 9A9D34 80241944 AE2200B0 */ sw $v0, 0xb0($s1)
|
||||
.L80241948:
|
||||
/* 9A9D38 80241948 8E220000 */ lw $v0, ($s1)
|
||||
/* 9A9D3C 8024194C 3C034000 */ lui $v1, 0x4000
|
||||
/* 9A9D40 80241950 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A9D44 80241954 10400007 */ beqz $v0, .L80241974
|
||||
/* 9A9D48 80241958 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 9A9D4C 8024195C 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 9A9D50 80241960 AE820070 */ sw $v0, 0x70($s4)
|
||||
/* 9A9D54 80241964 8E220000 */ lw $v0, ($s1)
|
||||
/* 9A9D58 80241968 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 9A9D5C 8024196C 00431024 */ and $v0, $v0, $v1
|
||||
/* 9A9D60 80241970 AE220000 */ sw $v0, ($s1)
|
||||
.L80241974:
|
||||
/* 9A9D64 80241974 27A50038 */ addiu $a1, $sp, 0x38
|
||||
/* 9A9D68 80241978 27A6003C */ addiu $a2, $sp, 0x3c
|
||||
/* 9A9D6C 8024197C C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 9A9D70 80241980 864200A8 */ lh $v0, 0xa8($s2)
|
||||
/* 9A9D74 80241984 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 9A9D78 80241988 44812000 */ mtc1 $at, $f4
|
||||
/* 9A9D7C 8024198C 44823000 */ mtc1 $v0, $f6
|
||||
/* 9A9D80 80241990 00000000 */ nop
|
||||
/* 9A9D84 80241994 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 9A9D88 80241998 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 9A9D8C 8024199C E7A00038 */ swc1 $f0, 0x38($sp)
|
||||
/* 9A9D90 802419A0 C640003C */ lwc1 $f0, 0x3c($s2)
|
||||
/* 9A9D94 802419A4 C6420040 */ lwc1 $f2, 0x40($s2)
|
||||
/* 9A9D98 802419A8 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 9A9D9C 802419AC E7A40044 */ swc1 $f4, 0x44($sp)
|
||||
/* 9A9DA0 802419B0 E7A20040 */ swc1 $f2, 0x40($sp)
|
||||
/* 9A9DA4 802419B4 E7A0003C */ swc1 $f0, 0x3c($sp)
|
||||
/* 9A9DA8 802419B8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 9A9DAC 802419BC 8E440080 */ lw $a0, 0x80($s2)
|
||||
/* 9A9DB0 802419C0 0C0372DF */ jal npc_raycast_down_sides
|
||||
/* 9A9DB4 802419C4 27A70040 */ addiu $a3, $sp, 0x40
|
||||
/* 9A9DB8 802419C8 10400003 */ beqz $v0, .L802419D8
|
||||
/* 9A9DBC 802419CC 00000000 */ nop
|
||||
/* 9A9DC0 802419D0 C7A0003C */ lwc1 $f0, 0x3c($sp)
|
||||
/* 9A9DC4 802419D4 E640003C */ swc1 $f0, 0x3c($s2)
|
||||
.L802419D8:
|
||||
/* 9A9DC8 802419D8 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* 9A9DCC 802419DC 2C620064 */ sltiu $v0, $v1, 0x64
|
||||
/* 9A9DD0 802419E0 10400042 */ beqz $v0, .L80241AEC_9A9EDC
|
||||
/* 9A9DD4 802419E4 00031080 */ sll $v0, $v1, 2
|
||||
/* 9A9DD8 802419E8 3C018024 */ lui $at, %hi(jtbl_80245F50_9AE340)
|
||||
/* 9A9DDC 802419EC 00220821 */ addu $at, $at, $v0
|
||||
/* 9A9DE0 802419F0 8C225F50 */ lw $v0, %lo(jtbl_80245F50_9AE340)($at)
|
||||
/* 9A9DE4 802419F4 00400008 */ jr $v0
|
||||
/* 9A9DE8 802419F8 00000000 */ nop
|
||||
.L802419FC_9A9DEC:
|
||||
/* 9A9DEC 802419FC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9DF0 80241A00 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9DF4 80241A04 0C090321 */ jal trd_04_UnkNpcAIFunc24
|
||||
/* 9A9DF8 80241A08 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241A0C_9A9DFC:
|
||||
/* 9A9DFC 80241A0C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E00 80241A10 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E04 80241A14 0C090377 */ jal trd_04_UnkFunc13
|
||||
/* 9A9E08 80241A18 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9E0C 80241A1C 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9E10 80241A20 00000000 */ nop
|
||||
.L80241A24_9A9E14:
|
||||
/* 9A9E14 80241A24 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E18 80241A28 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E1C 80241A2C 0C090421 */ jal trd_04_UnkNpcAIFunc1
|
||||
/* 9A9E20 80241A30 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241A34_9A9E24:
|
||||
/* 9A9E24 80241A34 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E28 80241A38 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E2C 80241A3C 0C090451 */ jal trd_04_UnkFunc14
|
||||
/* 9A9E30 80241A40 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9E34 80241A44 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9E38 80241A48 00000000 */ nop
|
||||
.L80241A4C_9A9E3C:
|
||||
/* 9A9E3C 80241A4C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E40 80241A50 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E44 80241A54 0C0904C0 */ jal trd_04_UnkNpcAIFunc25
|
||||
/* 9A9E48 80241A58 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9E4C 80241A5C 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9E50 80241A60 00000000 */ nop
|
||||
.L80241A64_9A9E54:
|
||||
/* 9A9E54 80241A64 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E58 80241A68 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E5C 80241A6C 0C0904ED */ jal trd_04_NpcJumpFunc2
|
||||
/* 9A9E60 80241A70 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241A74_9A9E64:
|
||||
/* 9A9E64 80241A74 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E68 80241A78 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E6C 80241A7C 0C09050A */ jal trd_04_NpcJumpFunc
|
||||
/* 9A9E70 80241A80 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9E74 80241A84 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9E78 80241A88 00000000 */ nop
|
||||
.L80241A8C_9A9E7C:
|
||||
/* 9A9E7C 80241A8C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E80 80241A90 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E84 80241A94 0C090528 */ jal trd_04_UnkNpcAIFunc13
|
||||
/* 9A9E88 80241A98 02A0302D */ daddu $a2, $s5, $zero
|
||||
.L80241A9C_9A9E8C:
|
||||
/* 9A9E8C 80241A9C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9E90 80241AA0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9E94 80241AA4 0C090574 */ jal trd_04_UnkFunc15
|
||||
/* 9A9E98 80241AA8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9E9C 80241AAC 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9EA0 80241AB0 00000000 */ nop
|
||||
.L80241AB4_9A9EA4:
|
||||
/* 9A9EA4 80241AB4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9EA8 80241AB8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9EAC 80241ABC 0C0905BC */ jal trd_04_UnkNpcDurationFlagFunc
|
||||
/* 9A9EB0 80241AC0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9EB4 80241AC4 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9EB8 80241AC8 00000000 */ nop
|
||||
.L80241ACC_9A9EBC:
|
||||
/* 9A9EBC 80241ACC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 9A9EC0 80241AD0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 9A9EC4 80241AD4 0C0905D6 */ jal trd_04_UnkFunc16
|
||||
/* 9A9EC8 80241AD8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 9A9ECC 80241ADC 080906BB */ j .L80241AEC_9A9EDC
|
||||
/* 9A9ED0 80241AE0 00000000 */ nop
|
||||
.L80241AE4_9A9ED4:
|
||||
/* 9A9ED4 80241AE4 0C0129CF */ jal func_8004A73C
|
||||
/* 9A9ED8 80241AE8 0280202D */ daddu $a0, $s4, $zero
|
||||
.L80241AEC_9A9EDC:
|
||||
/* 9A9EDC 80241AEC 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 9A9EE0 80241AF0 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 9A9EE4 80241AF4 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 9A9EE8 80241AF8 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 9A9EEC 80241AFC 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 9A9EF0 80241B00 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 9A9EF4 80241B04 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 9A9EF8 80241B08 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 9A9EFC 80241B0C 03E00008 */ jr $ra
|
||||
/* 9A9F00 80241B10 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -8635,7 +8635,7 @@ mac_00_UnkNpcAIFunc13 = 0x80242D8C; // type:func rom:0x7EDA9C
|
||||
mac_00_UnkFunc15 = 0x80242EBC; // type:func rom:0x7EDBCC
|
||||
mac_00_UnkNpcDurationFlagFunc = 0x80242FDC; // type:func rom:0x7EDCEC
|
||||
mac_00_UnkFunc16 = 0x80243044; // type:func rom:0x7EDD54
|
||||
func_80243104_7EDE14 = 0x80243104; // type:func rom:0x7EDE14
|
||||
mac_00_UnkNpcAIFunc1 = 0x80243104; // type:func rom:0x7EDE14
|
||||
func_80243400_7EE110 = 0x80243400; // type:func rom:0x7EE110
|
||||
dup_mac_00_GetItemName = 0x802434B4; // type:func rom:0x7EE1C4
|
||||
dup_mac_00_GetNpcCollisionHeight = 0x80243518; // type:func rom:0x7EE228
|
||||
@ -8818,7 +8818,7 @@ mac_02_UnkNpcAIFunc13 = 0x8024114C; // type:func rom:0x82440C
|
||||
mac_02_UnkFunc15 = 0x8024127C; // type:func rom:0x82453C
|
||||
mac_02_UnkNpcDurationFlagFunc = 0x8024139C; // type:func rom:0x82465C
|
||||
mac_02_UnkFunc16 = 0x80241404; // type:func rom:0x8246C4
|
||||
func_802414C4_824784 = 0x802414C4; // type:func rom:0x824784
|
||||
mac_02_UnkNpcAIMainFunc = 0x802414C4; // type:func rom:0x824784
|
||||
func_802417C0_824A80 = 0x802417C0; // type:func rom:0x824A80
|
||||
mac_02_GetItemName = 0x80241874; // type:func rom:0x824B34
|
||||
mac_02_Set80151310_1 = 0x802418D8; // type:func rom:0x824B98
|
||||
@ -9024,7 +9024,7 @@ mac_05_UnkNpcAIFunc13 = 0x80240CAC; // type:func rom:0x852E1C
|
||||
mac_05_UnkFunc15 = 0x80240DDC; // type:func rom:0x852F4C
|
||||
mac_05_UnkNpcDurationFlagFunc = 0x80240EFC; // type:func rom:0x85306C
|
||||
mac_05_UnkFunc16 = 0x80240F64; // type:func rom:0x8530D4
|
||||
func_80241024_853194 = 0x80241024; // type:func rom:0x853194
|
||||
mac_05_UnkNpcAIMainFunc = 0x80241024; // type:func rom:0x853194
|
||||
func_80241320_853490 = 0x80241320; // type:func rom:0x853490
|
||||
mac_05_GetItemName = 0x802413D4; // type:func rom:0x853544
|
||||
mac_05_Set80151310_1 = 0x80241438; // type:func rom:0x8535A8
|
||||
@ -10995,7 +10995,7 @@ trd_02_UnkNpcAIFunc13 = 0x802410D0; // type:func rom:0x9A20B0
|
||||
trd_02_UnkFunc15 = 0x80241200; // type:func rom:0x9A21E0
|
||||
trd_02_UnkNpcDurationFlagFunc = 0x80241320; // type:func rom:0x9A2300
|
||||
trd_02_UnkFunc16 = 0x80241388; // type:func rom:0x9A2368
|
||||
func_80241448_9A2428 = 0x80241448; // type:func rom:0x9A2428
|
||||
trd_02_UnkNpcAIMainFunc = 0x80241448; // type:func rom:0x9A2428
|
||||
func_80241744_9A2724 = 0x80241744; // type:func rom:0x9A2724
|
||||
D_802432E0_9A42C0 = 0x802432E0; // type:data rom:0x9A42C0
|
||||
D_80243340_9A4320 = 0x80243340; // type:data rom:0x9A4320
|
||||
@ -11030,7 +11030,7 @@ trd_04_UnkNpcAIFunc13 = 0x802414A0; // type:func rom:0x9A9890
|
||||
trd_04_UnkFunc15 = 0x802415D0; // type:func rom:0x9A99C0
|
||||
trd_04_UnkNpcDurationFlagFunc = 0x802416F0; // type:func rom:0x9A9AE0
|
||||
trd_04_UnkFunc16 = 0x80241758; // type:func rom:0x9A9B48
|
||||
func_80241818_9A9C08 = 0x80241818; // type:func rom:0x9A9C08
|
||||
trd_04_UnkNpcAIMainFunc = 0x80241818; // type:func rom:0x9A9C08
|
||||
func_80241B14_9A9F04 = 0x80241B14; // type:func rom:0x9A9F04
|
||||
trd_04_UnkNpcAIFunc23 = 0x80241E18; // type:func rom:0x9AA208
|
||||
trd_04_UnkNpcAIFunc35 = 0x80241FC8; // type:func rom:0x9AA3B8
|
||||
@ -11234,7 +11234,7 @@ nok_02_UnkNpcAIFunc13 = 0x8024129C; // type:func rom:0x9D82BC
|
||||
nok_02_UnkFunc15 = 0x802413CC; // type:func rom:0x9D83EC
|
||||
nok_02_UnkNpcDurationFlagFunc = 0x802414EC; // type:func rom:0x9D850C
|
||||
nok_02_UnkFunc16 = 0x80241554; // type:func rom:0x9D8574
|
||||
func_80241614_9D8634 = 0x80241614; // type:func rom:0x9D8634
|
||||
nok_02_UnkNpcAIMainFunc = 0x80241614; // type:func rom:0x9D8634
|
||||
func_80241910_9D8930 = 0x80241910; // type:func rom:0x9D8930
|
||||
nok_02_GetItemName = 0x802419C4; // type:func rom:0x9D89E4
|
||||
nok_02_Set80151310_1 = 0x80241A28; // type:func rom:0x9D8A48
|
||||
@ -11398,7 +11398,7 @@ nok_12_UnkNpcAIFunc13 = 0x80241560; // type:func rom:0x9FBD50
|
||||
nok_12_UnkFunc15 = 0x80241690; // type:func rom:0x9FBE80
|
||||
nok_12_UnkNpcDurationFlagFunc = 0x802417B0; // type:func rom:0x9FBFA0
|
||||
nok_12_UnkFunc16 = 0x80241818; // type:func rom:0x9FC008
|
||||
func_802418D8_9FC0C8 = 0x802418D8; // type:func rom:0x9FC0C8
|
||||
nok_12_UnkNpcAIMainFunc = 0x802418D8; // type:func rom:0x9FC0C8
|
||||
func_80241BD4_9FC3C4 = 0x80241BD4; // type:func rom:0x9FC3C4
|
||||
func_80241EE0_9FC6D0 = 0x80241EE0; // type:func rom:0x9FC6D0
|
||||
func_80241FD0_9FC7C0 = 0x80241FD0; // type:func rom:0x9FC7C0
|
||||
@ -12223,7 +12223,7 @@ kpa_91_UnkNpcAIFunc13 = 0x8024081C; // type:func rom:0xA8726C
|
||||
kpa_91_UnkFunc15 = 0x8024094C; // type:func rom:0xA8739C
|
||||
kpa_91_UnkNpcDurationFlagFunc = 0x80240A6C; // type:func rom:0xA874BC
|
||||
kpa_91_UnkFunc16 = 0x80240AD4; // type:func rom:0xA87524
|
||||
func_80240B94_A875E4 = 0x80240B94; // type:func rom:0xA875E4
|
||||
kpa_91_UnkNpcAIMainFunc = 0x80240B94; // type:func rom:0xA875E4
|
||||
kpa_91_set_script_owner_npc_anim = 0x80240E90; // type:func rom:0xA878E0
|
||||
kpa_91_UnkDistFunc = 0x80240F0C; // type:func rom:0xA8795C
|
||||
kpa_91_UnkNpcAIFunc12 = 0x80241040; // type:func rom:0xA87A90
|
||||
@ -12259,7 +12259,7 @@ kpa_95_UnkNpcAIFunc13 = 0x802408FC; // type:func rom:0xA8D37C
|
||||
kpa_95_UnkFunc15 = 0x80240A2C; // type:func rom:0xA8D4AC
|
||||
kpa_95_UnkNpcDurationFlagFunc = 0x80240B4C; // type:func rom:0xA8D5CC
|
||||
kpa_95_UnkFunc16 = 0x80240BB4; // type:func rom:0xA8D634
|
||||
func_80240C74_A8D6F4 = 0x80240C74; // type:func rom:0xA8D6F4
|
||||
kpa_95_UnkNpcAIMainFunc = 0x80240C74; // type:func rom:0xA8D6F4
|
||||
kpa_95_set_script_owner_npc_anim = 0x80240F70; // type:func rom:0xA8D9F0
|
||||
kpa_95_UnkDistFunc = 0x80240FEC; // type:func rom:0xA8DA6C
|
||||
kpa_95_UnkNpcAIFunc12 = 0x80241120; // type:func rom:0xA8DBA0
|
||||
@ -12458,7 +12458,7 @@ kkj_00_UnkNpcAIFunc13 = 0x802408CC; // type:func rom:0xABBB5C
|
||||
kkj_00_UnkFunc15 = 0x802409FC; // type:func rom:0xABBC8C
|
||||
kkj_00_UnkNpcDurationFlagFunc = 0x80240B1C; // type:func rom:0xABBDAC
|
||||
kkj_00_UnkFunc16 = 0x80240B84; // type:func rom:0xABBE14
|
||||
func_80240C44_ABBED4 = 0x80240C44; // type:func rom:0xABBED4
|
||||
kkj_00_UnkNpcAIMainFunc = 0x80240C44; // type:func rom:0xABBED4
|
||||
func_80240F40_ABC1D0 = 0x80240F40; // type:func rom:0xABC1D0
|
||||
D_8024160C_ABC89C = 0x8024160C; // type:data rom:0xABC89C
|
||||
D_8024162C_ABC8BC = 0x8024162C; // type:data rom:0xABC8BC
|
||||
@ -12475,7 +12475,7 @@ kkj_01_UnkNpcAIFunc13 = 0x8024081C; // type:func rom:0xAC598C
|
||||
kkj_01_UnkFunc15 = 0x8024094C; // type:func rom:0xAC5ABC
|
||||
kkj_01_UnkNpcDurationFlagFunc = 0x80240A6C; // type:func rom:0xAC5BDC
|
||||
kkj_01_UnkFunc16 = 0x80240AD4; // type:func rom:0xAC5C44
|
||||
func_80240B94_AC5D04 = 0x80240B94; // type:func rom:0xAC5D04
|
||||
kkj_01_UnkNpcAIMainFunc = 0x80240B94; // type:func rom:0xAC5D04
|
||||
D_80243A10_AC8B80 = 0x80243A10; // type:data rom:0xAC8B80
|
||||
D_80243A18_AC8B88 = 0x80243A18; // type:data rom:0xAC8B88
|
||||
kkj_03_SetPlayerSpriteSet2 = 0x80240000; // type:func rom:0xAC9710
|
||||
@ -12800,7 +12800,7 @@ jan_02_UnkNpcAIFunc13 = 0x80240C4C; // type:func rom:0xB2D0BC
|
||||
jan_02_UnkFunc15 = 0x80240D7C; // type:func rom:0xB2D1EC
|
||||
jan_02_UnkNpcDurationFlagFunc = 0x80240E9C; // type:func rom:0xB2D30C
|
||||
jan_02_UnkFunc16 = 0x80240F04; // type:func rom:0xB2D374
|
||||
func_80240FC4_B2D434 = 0x80240FC4; // type:func rom:0xB2D434
|
||||
jan_02_UnkNpcAIMainFunc = 0x80240FC4; // type:func rom:0xB2D434
|
||||
jan_02_GetNpcCollisionHeight = 0x802412C0; // type:func rom:0xB2D730
|
||||
jan_02_AddPlayerHandsOffset = 0x8024131C; // type:func rom:0xB2D78C
|
||||
func_802414EC_B2D95C = 0x802414EC; // type:func rom:0xB2D95C
|
||||
@ -12864,7 +12864,7 @@ jan_03_UnkNpcAIFunc13 = 0x80240E3C; // type:func rom:0xB35A0C
|
||||
jan_03_UnkFunc15 = 0x80240F6C; // type:func rom:0xB35B3C
|
||||
jan_03_UnkNpcDurationFlagFunc = 0x8024108C; // type:func rom:0xB35C5C
|
||||
jan_03_UnkFunc16 = 0x802410F4; // type:func rom:0xB35CC4
|
||||
func_802411B4_B35D84 = 0x802411B4; // type:func rom:0xB35D84
|
||||
jan_03_UnkNpcAIMainFunc = 0x802411B4; // type:func rom:0xB35D84
|
||||
jan_03_Call800E9894 = 0x802414B0; // type:func rom:0xB36080
|
||||
jan_03_Call800E98C4SyncStatusMenu = 0x802414D0; // type:func rom:0xB360A0
|
||||
jan_03_UnkFunc32 = 0x802414F8; // type:func rom:0xB360C8
|
||||
@ -13186,7 +13186,7 @@ jan_22_UnkNpcAIFunc13 = 0x8024081C; // type:func rom:0xB8499C
|
||||
jan_22_UnkFunc15 = 0x8024094C; // type:func rom:0xB84ACC
|
||||
jan_22_UnkNpcDurationFlagFunc = 0x80240A6C; // type:func rom:0xB84BEC
|
||||
jan_22_UnkFunc16 = 0x80240AD4; // type:func rom:0xB84C54
|
||||
func_80240B94_B84D14 = 0x80240B94; // type:func rom:0xB84D14
|
||||
jan_22_UnkNpcAIMainFunc = 0x80240B94; // type:func rom:0xB84D14
|
||||
func_80240E90_B85010 = 0x80240E90; // type:func rom:0xB85010
|
||||
jan_22_GetItemName = 0x80240F44; // type:func rom:0xB850C4
|
||||
jan_22_SetCamera0Flag1000 = 0x80240FA8; // type:func rom:0xB85128
|
||||
@ -14137,7 +14137,7 @@ dgb_01_UnkNpcAIFunc13 = 0x80242D48; // type:func rom:0xC005C8
|
||||
dgb_01_UnkFunc15 = 0x80242E78; // type:func rom:0xC006F8
|
||||
dgb_01_UnkNpcDurationFlagFunc = 0x80242F98; // type:func rom:0xC00818
|
||||
dgb_01_UnkFunc16 = 0x80243000; // type:func rom:0xC00880
|
||||
dgb_01_func_802430C0_C00940 = 0x802430C0; // type:func rom:0xC00940
|
||||
dgb_01_UnkNpcAIMainFunc = 0x802430C0; // type:func rom:0xC00940
|
||||
dgb_01_UnkFunc1 = 0x802433BC; // type:func rom:0xC00C3C
|
||||
dgb_01_entryList = 0x802433F0; // type:data rom:0xC00C70
|
||||
dgb_01_config = 0x80243460; // type:data rom:0xC00CE0
|
||||
@ -15115,7 +15115,7 @@ dgb_08_UnkNpcAIFunc13 = 0x8024081C; // type:func rom:0xC405CC
|
||||
dgb_08_UnkFunc15 = 0x8024094C; // type:func rom:0xC406FC
|
||||
dgb_08_UnkNpcDurationFlagFunc = 0x80240A6C; // type:func rom:0xC4081C
|
||||
dgb_08_UnkFunc16 = 0x80240AD4; // type:func rom:0xC40884
|
||||
dgb_08_func_80240B94_C40944 = 0x80240B94; // type:func rom:0xC40944
|
||||
dgb_08_UnkNpcAIMainFunc = 0x80240B94; // type:func rom:0xC40944
|
||||
dgb_08_UnkNpcAIFunc6 = 0x80240E90; // type:func rom:0xC40C40
|
||||
dgb_08_UnkNpcAIFunc7 = 0x80240EFC; // type:func rom:0xC40CAC
|
||||
dgb_08_UnkNpcAIFunc8 = 0x80240F6C; // type:func rom:0xC40D1C
|
||||
@ -15381,7 +15381,7 @@ dgb_15_UnkNpcAIFunc13 = 0x802410EC; // type:func rom:0xC505FC
|
||||
dgb_15_UnkFunc15 = 0x8024121C; // type:func rom:0xC5072C
|
||||
dgb_15_UnkNpcDurationFlagFunc = 0x8024133C; // type:func rom:0xC5084C
|
||||
dgb_15_UnkFunc16 = 0x802413A4; // type:func rom:0xC508B4
|
||||
dgb_15_func_80241464_C50974 = 0x80241464; // type:func rom:0xC50974
|
||||
dgb_15_UnkNpcAIMainFunc = 0x80241464; // type:func rom:0xC50974
|
||||
dgb_15_UnkFunc1 = 0x80241760; // type:func rom:0xC50C70
|
||||
dgb_15_GetEntityPosition = 0x80241790; // type:func rom:0xC50CA0
|
||||
dgb_15_SetEntityFlags100000 = 0x80241830; // type:func rom:0xC50D40
|
||||
@ -15482,7 +15482,7 @@ dgb_18_UnkNpcAIFunc13 = 0x8024081C; // type:func rom:0xC5675C
|
||||
dgb_18_UnkFunc15 = 0x8024094C; // type:func rom:0xC5688C
|
||||
dgb_18_UnkNpcDurationFlagFunc = 0x80240A6C; // type:func rom:0xC569AC
|
||||
dgb_18_UnkFunc16 = 0x80240AD4; // type:func rom:0xC56A14
|
||||
dgb_18_func_80240B94_C56AD4 = 0x80240B94; // type:func rom:0xC56AD4
|
||||
dgb_18_UnkNpcAIMainFunc = 0x80240B94; // type:func rom:0xC56AD4
|
||||
dgb_18_UnkFunc1 = 0x80240E90; // type:func rom:0xC56DD0
|
||||
dgb_18_func_80240EBC_C56DFC = 0x80240EBC; // type:func rom:0xC56DFC
|
||||
dgb_18_func_80240FB0_C56EF0 = 0x80240FB0; // type:func rom:0xC56EF0
|
||||
@ -17926,7 +17926,7 @@ pra_35_UnkNpcAIFunc13 = 0x8024173C; // type:func rom:0xD8E98C
|
||||
pra_35_UnkFunc15 = 0x8024186C; // type:func rom:0xD8EABC
|
||||
pra_35_UnkNpcDurationFlagFunc = 0x8024198C; // type:func rom:0xD8EBDC
|
||||
pra_35_UnkFunc16 = 0x802419F4; // type:func rom:0xD8EC44
|
||||
func_80241AB4_D8ED04 = 0x80241AB4; // type:func rom:0xD8ED04
|
||||
pra_35_UnkNpcAIMainFunc = 0x80241AB4; // type:func rom:0xD8ED04
|
||||
pra_35_UnkNpcAIFunc6 = 0x80241DB0; // type:func rom:0xD8F000
|
||||
pra_35_UnkNpcAIFunc7 = 0x80241E1C; // type:func rom:0xD8F06C
|
||||
pra_35_UnkNpcAIFunc8 = 0x80241E8C; // type:func rom:0xD8F0DC
|
||||
@ -18198,7 +18198,7 @@ omo_07_UnkNpcAIFunc13 = 0x80240D88; // type:func rom:0xDBE038
|
||||
omo_07_UnkFunc15 = 0x80240EB8; // type:func rom:0xDBE168
|
||||
omo_07_UnkNpcDurationFlagFunc = 0x80240FD8; // type:func rom:0xDBE288
|
||||
omo_07_UnkFunc16 = 0x80241040; // type:func rom:0xDBE2F0
|
||||
func_80241100_DBE3B0 = 0x80241100; // type:func rom:0xDBE3B0
|
||||
omo_07_UnkNpcAIMainFunc = 0x80241100; // type:func rom:0xDBE3B0
|
||||
func_802413FC_DBE6AC = 0x802413FC; // type:func rom:0xDBE6AC
|
||||
func_8024146C_DBE71C = 0x8024146C; // type:func rom:0xDBE71C
|
||||
func_8024153C_DBE7EC = 0x8024153C; // type:func rom:0xDBE7EC
|
||||
@ -18279,7 +18279,7 @@ omo_09_UnkNpcAIFunc13 = 0x80241768; // type:func rom:0xDCE438
|
||||
omo_09_UnkFunc15 = 0x80241898; // type:func rom:0xDCE568
|
||||
omo_09_UnkNpcDurationFlagFunc = 0x802419B8; // type:func rom:0xDCE688
|
||||
omo_09_UnkFunc16 = 0x80241A20; // type:func rom:0xDCE6F0
|
||||
func_80241AE0_DCE7B0 = 0x80241AE0; // type:func rom:0xDCE7B0
|
||||
omo_09_UnkNpcAIMainFunc = 0x80241AE0; // type:func rom:0xDCE7B0
|
||||
func_80241DDC_DCEAAC = 0x80241DDC; // type:func rom:0xDCEAAC
|
||||
func_80241E4C_DCEB1C = 0x80241E4C; // type:func rom:0xDCEB1C
|
||||
func_80241F1C_DCEBEC = 0x80241F1C; // type:func rom:0xDCEBEC
|
||||
@ -18554,7 +18554,7 @@ mgm_00_UnkNpcAIFunc13 = 0x80240AFC; // type:func rom:0xE0F29C
|
||||
mgm_00_UnkFunc15 = 0x80240C2C; // type:func rom:0xE0F3CC
|
||||
mgm_00_UnkNpcDurationFlagFunc = 0x80240D4C; // type:func rom:0xE0F4EC
|
||||
mgm_00_UnkFunc16 = 0x80240DB4; // type:func rom:0xE0F554
|
||||
func_80240E74_E0F614 = 0x80240E74; // type:func rom:0xE0F614
|
||||
mgm_00_UnkNpcAIMainFunc = 0x80240E74; // type:func rom:0xE0F614
|
||||
func_80241170_E0F910 = 0x80241170; // type:func rom:0xE0F910
|
||||
func_802411E0_E0F980 = 0x802411E0; // type:func rom:0xE0F980
|
||||
func_80241540_E0FCE0 = 0x80241540; // type:func rom:0xE0FCE0
|
||||
|
@ -358,6 +358,7 @@ D_80247AF0_CCB300 = 0x80247AF0;
|
||||
D_802491C0_CA70E0 = 0x802491C0;
|
||||
D_80246568_C8C018 = 0x80246568;
|
||||
D_8024B9A8_B8FB28 = 0x8024B9A8;
|
||||
sam_02_8024B9B0 = 0x8024B9B0;
|
||||
D_8038F800 = 0x8038F800;
|
||||
D_803B5000 = 0x803B5000;
|
||||
D_802EF0D0 = 0x802EF0D0;
|
||||
|
Loading…
Reference in New Issue
Block a user