* effect shim names

* fx_1_main and data migration

* fx_1_renderWorld

* header reorg

* remove stale comment

* effect_1

* cleanup

* fx_6 stuff

* most of effect_6, misc changes

* cleanup

* PR stuff

* warningz
This commit is contained in:
Ethan Roseman 2021-09-27 08:19:58 +09:00 committed by GitHub
parent a8571ab3e7
commit 555f0ea15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
526 changed files with 2728 additions and 4606 deletions

View File

@ -850,19 +850,6 @@ typedef struct AnimatedMesh {
typedef AnimatedMesh* AnimatedMeshList[MAX_ANIMATED_MESHES];
typedef struct EffectInstanceData {
/* 0x00 */ struct EffectInstanceDataThing* unk_00;
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3f rotation;
/* 0x1C */ Vec3f scale;
/* 0x28 */ f32 unk_28;
/* 0x2C */ s32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ char unk_34[0x30];
/* 0x64 */ f32 unk_64;
/* 0x68 */ char unk_68[0x18];
} EffectInstanceData; // size = 0x80
typedef struct PrintHandle {
/* 0x000 */ char unk_00[16];
/* 0x010 */ s8* printbuf;
@ -902,78 +889,6 @@ typedef struct StaticItem {
/* 0x1D */ char unk_1D[3];
} StaticItem; // size = 0x20
typedef struct EffectInstance {
/* 0x00 */ s32 flags;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ s32 totalMatricies;
/* 0x0C */ struct EffectInstanceData* data;
/* 0x10 */ struct EffectGraphics* effect;
} EffectInstance;
typedef struct EffectBlueprint {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ void (*init)(EffectInstance* effectInst);
/* 0x0C */ void (*update)(EffectInstance* effectInst);
/* 0x10 */ void (*renderWorld)(EffectInstance* effectInst);
/* 0x14 */ void (*unk_14)(EffectInstance* effectInst);
} EffectBlueprint; // size = 0x18
typedef struct {
char unk_00[0x38];
f32 unk_38[4];
} EffectUnkStruct1;
// TODO figure out what this actually is
// playFX_4E invokes gEffectTable[78]'s entryPoint function
// playFX_6F invokes gEffectTable[111]'s entryPoint function
// playFX_83 invokes gEffectTable[131]'s entryPoint function
// These functions are currently typed to return void
// Assume they return an Effect*, and this struct is accessed at unk_0C,
// but this struct differs from EffectInstanceData
// Search for "struct N(temp)" for examples
typedef struct EffectInstanceDataThing {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
s32 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} EffectInstanceDataThing;
typedef struct EffectGraphics {
/* 0x00 */ s32 flags;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ s32 instanceCounter;
/* 0x0C */ s32 freeDelay;
/* 0x10 */ void (*update)(EffectInstance* effectInst);
/* 0x14 */ void (*renderWorld)(EffectInstance* effectInst);
/* 0x18 */ void (*renderUI)(EffectInstance* effectInst);
/* 0x1C */ s32* data;
} EffectGraphics; // size = 0x20
typedef struct EffectTableEntry {
/* 0x00 */ void (*entryPoint)(s32 arg0, s32 arg1, s32 arg2, s32 arg3, f32 x, f32 y, f32 z);
/* 0x04 */ void* dmaStart;
/* 0x08 */ void* dmaEnd;
/* 0x0C */ void* dmaDest;
/* 0x10 */ void* graphicsDmaStart;
/* 0x14 */ void* graphicsDmaEnd;
} EffectTableEntry; // size = 0x18
typedef struct ItemEntity {
/* 0x00 */ s32 flags;
/* 0x04 */ s16 boundVar; /* see make_item_entity */
@ -1756,7 +1671,7 @@ typedef struct Actor {
/* 0x223 */ s8 chillOutAmount; /* attack reduction */
/* 0x224 */ s8 chillOutTurns;
/* 0x225 */ char unk_225[3];
/* 0x228 */ EffectInstance* unk_228;
/* 0x228 */ struct EffectInstance* unk_228;
/* 0x22C */ struct SelectableTarget targetData[24];
/* 0x40C */ s8 targetListLength;
/* 0x40D */ s8 targetIndexList[24]; /* into targetData */
@ -2318,62 +2233,6 @@ typedef struct unkPartnerStruct {
/* 0x018 */ f32 unk_18;
} unkPartnerStruct; // size = 0x1C
typedef struct EffectStruct {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
u8 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} EffectStruct;
typedef struct StarSpiritEffectUnkStruct {
char unk_00[0xC];
EffectStruct* unk_0C;
} StarSpiritEffectUnkStruct;
typedef struct StarSpiritEffect {
/* 0x00 */ f32 unk_00;
/* 0x04 */ f32 unk_04;
/* 0x08 */ f32 unk_08;
/* 0x0C */ f32 unk_0C;
/* 0x10 */ f32 unk_10;
/* 0x14 */ f32 unk_14;
/* 0x18 */ f32 unk_18;
/* 0x1C */ f32 unk_1C;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ Shadow* unk_40;
/* 0x44 */ s16 unk_44;
/* 0x46 */ s16 unk_46;
/* 0x48 */ s16 unk_48;
/* 0x4A */ s16 unk_4A;
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ struct StarSpiritEffectUnkStruct* unk_50;
/* 0x54 */ struct StarSpiritEffectUnkStruct* unk_54;
} StarSpiritEffect; // size = 0x58
typedef struct struct8015A578 {
/* 0x00 */ u8 unk_00;
/* 0x01 */ u8 unk_01;

View File

@ -4,7 +4,151 @@
#include "types.h"
#include "common_structs.h"
extern EffectTableEntry gEffectTable[135];
typedef struct {
char unk_00[0x38];
f32 unk_38[4];
} EffectUnkStruct1;
typedef struct EffectStruct {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
u8 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} EffectStruct;
typedef struct StarSpiritEffectUnkStruct {
char unk_00[0xC];
EffectStruct* unk_0C;
} StarSpiritEffectUnkStruct;
typedef struct StarSpiritEffect {
/* 0x00 */ f32 unk_00;
/* 0x04 */ f32 unk_04;
/* 0x08 */ f32 unk_08;
/* 0x0C */ f32 unk_0C;
/* 0x10 */ f32 unk_10;
/* 0x14 */ f32 unk_14;
/* 0x18 */ f32 unk_18;
/* 0x1C */ f32 unk_1C;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ Shadow* unk_40;
/* 0x44 */ s16 unk_44;
/* 0x46 */ s16 unk_46;
/* 0x48 */ s16 unk_48;
/* 0x4A */ s16 unk_4A;
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ struct StarSpiritEffectUnkStruct* unk_50;
/* 0x54 */ struct StarSpiritEffectUnkStruct* unk_54;
} StarSpiritEffect; // size = 0x58
// TODO figure out what this actually is
// playFX_4E invokes gEffectTable[78]'s entryPoint function
// playFX_6F invokes gEffectTable[111]'s entryPoint function
// playFX_83 invokes gEffectTable[131]'s entryPoint function
// These functions are currently typed to return void
// Assume they return an Effect*, and this struct is accessed at unk_0C,
// but this struct differs from EffectInstanceData
// Search for "struct N(temp)" for examples
typedef struct EffectInstanceDataThing {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
s32 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} EffectInstanceDataThing;
typedef struct EffectInstanceData {
/* 0x00 */ EffectInstanceDataThing* unk_00;
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3f rotation;
/* 0x1C */ Vec3f scale;
/* 0x28 */ f32 unk_28;
/* 0x2C */ s32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ char unk_34[0x30];
/* 0x64 */ f32 unk_64;
/* 0x68 */ char unk_68[0x18];
} EffectInstanceData; // size = 0x80
typedef struct EffectInstance {
/* 0x00 */ s32 flags;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ s32 numParts;
/* 0x0C */ EffectInstanceData* data;
/* 0x10 */ struct EffectGraphics* effect;
} EffectInstance;
typedef struct EffectBlueprint {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ void (*init)(EffectInstance* effectInst);
/* 0x0C */ void (*update)(EffectInstance* effectInst);
/* 0x10 */ void (*renderWorld)(EffectInstance* effectInst);
/* 0x14 */ void (*unk_14)(EffectInstance* effectInst);
} EffectBlueprint; // size = 0x18
typedef struct EffectGraphics {
/* 0x00 */ s32 flags;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ s32 instanceCounter;
/* 0x0C */ s32 freeDelay;
/* 0x10 */ void (*update)(EffectInstance* effectInst);
/* 0x14 */ void (*renderWorld)(EffectInstance* effectInst);
/* 0x18 */ void (*renderUI)(EffectInstance* effectInst);
/* 0x1C */ s32* data;
} EffectGraphics; // size = 0x20
typedef struct EffectTableEntry {
/* 0x00 */ void (*entryPoint)(s32 arg0, s32 arg1, s32 arg2, s32 arg3, f32 x, f32 y, f32 z);
/* 0x04 */ void* dmaStart;
/* 0x08 */ void* dmaEnd;
/* 0x0C */ void* dmaDest;
/* 0x10 */ void* graphicsDmaStart;
/* 0x14 */ void* graphicsDmaEnd;
} EffectTableEntry; // size = 0x18
EffectInstance* create_effect_instance(EffectBlueprint* effectBp);
void remove_effect(EffectInstance*);
s32 load_effect(s32 effectIndex);
void playFX_00(s32, f32, f32, f32, s32);
void playFX_01(f32, f32, f32);

View File

@ -0,0 +1,22 @@
#ifndef _EFFECTS_INTERNAL_H_
#define _EFFECTS_INTERNAL_H_
#include "effects.h"
u32 func_E0200000(s32);
EffectInstance* shim_create_effect_instance(EffectBlueprint* effectBp);
void shim_remove_effect(EffectInstance*);
void* shim_general_heap_malloc(s32 size);
RenderTask* shim_queue_render_task(RenderTask* task);
f32 shim_sin_deg(f32 x);
f32 shim_cos_deg(f32 x);
f32 shim_clamp_angle(f32 theta);
void shim_guMtxF2L(float mf[4][4], Mtx *m);
void shim_guMtxCatF(float m[4][4], float n[4][4], float r[4][4]);
void shim_guRotateF(float mf[4][4], float a, float x, float y, float z);
void shim_guTranslateF(float mf[4][4], float x, float y, float z);
void shim_guPositionF(float mf[4][4], float r, float p, float h, float s, float x, float y, float z);
void shim_mem_clear(s8* data, s32 numBytes);
#endif

View File

@ -1628,6 +1628,7 @@ enum PlayerAnimFlags {
enum RenderMode {
RENDER_MODE_SURF_SOLID_AA_ZB_LAYER0 = 0x00,
RENDER_MODE_SURFACE_OPA = 0x01,
RENDER_MODE_2 = 0x02,
RENDER_MODE_SURFACE_OPA_NO_AA = 0x03,
RENDER_MODE_SURFACE_OPA_NO_ZB = 0x04,
RENDER_MODE_DECAL_OPA = 0x05,
@ -1646,7 +1647,9 @@ enum RenderMode {
RENDER_MODE_SHADOW = 0x20,
RENDER_MODE_SURFACE_XLU_LAYER3 = 0x22,
RENDER_MODE_INTERSECTING_XLU = 0x26,
RENDER_MODE_28 = 0x28,
RENDER_MODE_SURF_XLU_AA_ZB_ZUPD = 0x29,
RENDER_MODE_2D = 0x2D,
RENDER_MODE_CLOUD = 0x2E,
RENDER_MODE_CLOUD_NO_ZB = 0x2F,
};

View File

@ -468,7 +468,7 @@ void base_UnkNpcAIFunc1(Evt* script, NpcAISettings* aiSettings, EnemyTerritoryTh
void DeadUnkNpcAIFunc1(Evt* script, NpcAISettings* aiSettings, EnemyTerritoryThing* territory);
s32* spr_get_npc_palettes(u16 arg0);
void spr_draw_player_sprite(s32 arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void spr_draw_player_sprite(s32 arg0, s32 arg1, s32 arg2, s32 arg3, Matrix4f arg4);
void spr_draw_npc_sprite(s32 arg0, s32 arg1, s32 arg2, s32 arg3, Matrix4f* arg4);
s32 spr_update_sprite(s32 arg0, s32 arg1, f32 arg2);
void sin_cos_rad(f32 rad, f32* outSinTheta, f32* outCosTheta);
@ -476,9 +476,6 @@ void sin_cos_rad(f32 rad, f32* outSinTheta, f32* outCosTheta);
void* load_asset_by_name(const char* assetName, u32* decompressedSize);
EffectInstance* func_8005A2BC(EffectBlueprint* effectBp);
void remove_effect(EffectInstance* arg0);
s32 load_effect(s32 effectIndex);
void mdl_draw_hidden_panel_surface(Gfx** arg0, u16 treeIndex);
s32 func_8011CFBC(void);
s32 set_screen_overlay_center_worldpos(void);

View File

@ -1,4 +1,5 @@
#include "common.h"
#include "effects.h"
ApiStatus GetDamageIntensity(Evt* script, s32 isInitialCall) {
if (gBattleStatus.lastAttackDamage < 4) {
@ -13,7 +14,6 @@ ApiStatus GetDamageIntensity(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
// TODO: Rename to AddEffectOffset
ApiStatus AddEffectOffset(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
EffectInstance* effect = evt_get_variable(script, *args++);

View File

@ -1,14 +1,15 @@
#include "common.h"
#include "effects.h"
u32 D_E0200690 = 0x1E6D3457;
void* effectFuncs[] = {
guRotateF, guTranslateF, guTranslate, guScaleF, guMtxCatF, guMtxF2L, guMtxL2F, queue_render_task, func_8005A2BC,
remove_effect, general_heap_malloc, mem_clear, NULL, rand_int, clamp_angle, sin_deg, cos_deg, atan2,
npc_raycast_down_sides, load_effect, sqrtf, mdl_draw_hidden_panel_surface, func_8011CFBC, guPerspectiveF,
guMtxIdentF, transform_point, guLookAtHiliteF, set_screen_overlay_params_back, set_screen_overlay_center,
set_screen_overlay_center_worldpos, mdl_get_next_texture_address, guPositionF, guOrthoF, guFrustumF, func_80138D88,
draw_box, draw_msg, get_msg_width, get_background_color_blend, sfx_play_sound_at_position
guRotateF, guTranslateF, guTranslate, guScaleF, guMtxCatF, guMtxF2L, guMtxL2F, queue_render_task,
create_effect_instance, remove_effect, general_heap_malloc, mem_clear, NULL, rand_int, clamp_angle, sin_deg,
cos_deg, atan2, npc_raycast_down_sides, load_effect, sqrtf, mdl_draw_hidden_panel_surface, func_8011CFBC,
guPerspectiveF, guMtxIdentF, transform_point, guLookAtHiliteF, set_screen_overlay_params_back,
set_screen_overlay_center, set_screen_overlay_center_worldpos, mdl_get_next_texture_address, guPositionF, guOrthoF,
guFrustumF, func_80138D88, draw_box, draw_msg, get_msg_width, get_background_color_blend, sfx_play_sound_at_position
};
s32 D_E0200734[128] = {

View File

@ -1,4 +1,5 @@
#include "common.h"
#include "effects.h"
#include "ld_addrs.h"
typedef s32 TlbEntry[0x1000 / 4];
@ -455,7 +456,7 @@ void render_effects_UI(void) {
}
}
EffectInstance* func_8005A2BC(EffectBlueprint* effectBp) {
EffectInstance* create_effect_instance(EffectBlueprint* effectBp) {
EffectInstance* newEffectInst;
EffectGraphics* curEffect;
s32 i;

View File

@ -1,16 +1,185 @@
#include "common.h"
#include "effects_internal.h"
INCLUDE_ASM(s32, "effects/effect_1", fx_1_main);
typedef struct Effect1 {
/* 0x00 */ s16 unk_00;
/* 0x02 */ s16 unk_02;
/* 0x04 */ s16 unk_04;
/* 0x06 */ s16 unk_06;
/* 0x08 */ s32 unk_08;
/* 0x0C */ f32 x;
/* 0x10 */ f32 y;
/* 0x14 */ f32 z;
/* 0x18 */ f32 partX;
/* 0x1C */ f32 partY;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ char unk_28[0x4];
} Effect1; // size = 0x2C
void func_E00021B4(void) {
void fx_1_init(EffectInstance* effect);
void fx_1_update(EffectInstance* effect);
void fx_1_render(EffectInstance* effect);
void fx_1_appendGfx(EffectInstance* effect);
static f32 D_E0002760[10] = { 10.0f, 40.0f, 80.0f, 170.0f, 140.0f, 100.0f, 25.0f, 155.0f, 60.0f, 120.0f };
static f32 D_E0002788[10] = { 2.2f, 2.7f, 3.0f, 2.2f, 2.7f, 3.0f, 1.9f, 1.9f, 1.5f, 1.5f };
static f32 sPartScales[10] = { 1.4f, 1.3f, 1.2f, 1.3f, 1.4f, 1.3f, 1.6f, 1.6f, 1.6f, 1.6f };
static f32 sPartYaws[10] = { 0.0f, 234.0f, 468.0f, 702.0f, 936.0f, 1260.0f, 1404.0f, 1638.0f, 1902.0f, 1976.0f };
static s32 sDlists[7] = { 0x09000FA0, 0x09001060, 0x09001120, 0x090011E0, 0x090012A0, 0x09001360, 0x09001420 };
void fx_1_main(f32 x, f32 y, f32 z) {
EffectBlueprint bp;
EffectInstance* effect;
Effect1* effectData;
f32 theta;
f32 temp_f20;
f32 cosTheta;
f32 sinTheta;
s32 numParts = 10;
s32 i;
bp.unk_00 = 0;
bp.init = fx_1_init;
bp.update = fx_1_update;
bp.renderWorld = fx_1_render;
bp.unk_14 = NULL;
bp.effectIndex = 1;
effect = shim_create_effect_instance(&bp);
effect->numParts = numParts;
effectData = shim_general_heap_malloc(effect->numParts * sizeof(Effect1));
effect->data = effectData;
ASSERT(effectData != NULL);
for (i = 0; i < effect->numParts; i++, effectData++) {
effectData->unk_00 = 0;
effectData->unk_02 = effectData->unk_04 = func_E0200000(6) + 0x10;
effectData->unk_06 = 4;
effectData->unk_08 = 0;
effectData->x = x;
effectData->y = y;
effectData->z = z;
effectData->partX = 0;
effectData->partY = 0;
theta = D_E0002760[i] + 90.0f;
temp_f20 = 2.0 * D_E0002788[i];
sinTheta = shim_sin_deg(theta);
cosTheta = shim_cos_deg(theta);
effectData->unk_20 = temp_f20 * sinTheta;
effectData->unk_24 = -temp_f20 * cosTheta;
}
}
INCLUDE_ASM(s32, "effects/effect_1", func_E00021BC);
INCLUDE_ASM(s32, "effects/effect_1", func_E00022BC);
INCLUDE_ASM(s32, "effects/effect_1", func_E0002300);
void func_E0002738(void) {
func_E02004A0();
void fx_1_init(EffectInstance* effect) {
}
void fx_1_update(EffectInstance* effect) {
Effect1* effectData = effect->data;
s32 cond = FALSE;
s32 i;
for (i = 0; i < effect->numParts; i++, effectData++) {
if (effectData->unk_02 >= 0) {
effectData->unk_08--;
if (effectData->unk_08 < 0) {
effectData->partX += effectData->unk_20;
effectData->partY += effectData->unk_24;
effectData->unk_00++;
effectData->unk_02--;
cond = TRUE;
if (effectData->unk_02 >= 0) {
effectData->unk_06--;
if (effectData->unk_06 < 0) {
effectData->unk_20 /= 1.25;
effectData->unk_24 /= 1.25;
}
}
}
}
}
if (!cond) {
shim_remove_effect(effect);
}
}
void fx_1_render(EffectInstance* effect) {
RenderTask renderTask;
RenderTask* retTask;
renderTask.appendGfx = fx_1_appendGfx;
renderTask.appendGfxArg = effect;
renderTask.distance = 0;
renderTask.renderMode = RENDER_MODE_2D;
retTask = shim_queue_render_task(&renderTask);
retTask->renderMode |= RENDER_MODE_2;
}
void fx_1_appendGfx(EffectInstance* effect) {
Effect1* effectData = effect->data;
Matrix4f mtx;
s32 i;
gDPPipeSync(gMasterGfxPos++);
gSPSegment(gMasterGfxPos++, 0x09, VIRTUAL_TO_PHYSICAL(effect->effect->data));
shim_guPositionF(&mtx, 0.0f, -gCameras[gCurrentCameraID].currentYaw, 0.0f, 1.0f, effectData->x, effectData->y,
effectData->z);
shim_guMtxF2L(&mtx, &gDisplayContext->matrixStack[gMatrixListPos]);
gSPMatrix(gMasterGfxPos++,
&gDisplayContext->matrixStack[gMatrixListPos++], G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
for (i = 0; i < effect->numParts; i++, effectData++) {
if (effectData->unk_02 >= 0 && effectData->unk_08 < 0) {
s32 primAlpha = effectData->unk_02;
f32 temp_f12;
s32 envAlpha;
s32 dlist;
if (primAlpha > 16) {
primAlpha = 16;
}
shim_guPositionF(&mtx, 0.0f, 0.0f, sPartYaws[i], sPartScales[i], effectData->partX,
effectData->partY, 0.0f);
shim_guMtxF2L(&mtx, &gDisplayContext->matrixStack[gMatrixListPos]);
gSPMatrix(gMasterGfxPos++,
&gDisplayContext->matrixStack[gMatrixListPos++], G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
temp_f12 = effectData->unk_00 - 1;
if (effectData->unk_04 <= temp_f12) {
envAlpha = 255;
dlist = sDlists[ARRAY_COUNT(sDlists) - 1];
} else {
f32 temp = shim_sin_deg((((temp_f12 * 7.0f) / effectData->unk_04) * 90.0f) / 7.0f) * 7.0f;
envAlpha = (s32)(temp * 255.0f) % 256;
dlist = sDlists[(s32)temp];
}
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, (u32)(primAlpha * 105) / 8);
gDPSetEnvColor(gMasterGfxPos++, 0, 0, 0, envAlpha);
gSPDisplayList(gMasterGfxPos++, dlist);
gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW);
}
}
gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW);
gDPPipeSync(gMasterGfxPos++);
}
void func_E0002738(EffectInstance* effect) {
shim_remove_effect(effect);
}

View File

@ -1,18 +1,265 @@
#include "common.h"
#include "effects_internal.h"
typedef struct Effect6 {
/* 0x00 */ u16 type;
/* 0x02 */ char unk_02[0x2];
/* 0x04 */ f32 x;
/* 0x08 */ f32 y;
/* 0x0C */ f32 z;
/* 0x10 */ f32 unk_10;
/* 0x14 */ f32 unk_14;
/* 0x18 */ f32 unk_18;
/* 0x1C */ f32 unk_1C;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ s32 unk_40;
} Effect6; // size = 0x44
void fx_6_init(EffectInstance* effect);
void fx_6_update(EffectInstance* effect);
void fx_6_render(EffectInstance* effect);
void fx_6_appendGfx(EffectInstance* effect);
static s32 D_E000CC10[] = { 0x09002B20, 0x09002B40, 0x09002B60, 0x09002B60, 0x09002B60 };
static s32 D_E000CC24[] = { 0x09002780, 0x09002868, 0x09002950, 0x09002A38, 0x09002A38 };
static s8 D_E000CC38[] = { 0x00, 0x01, 0x02, 0x1A, 0x03, 0x1B, 0x04, 0x1C, 0x05, 0x15, 0x35, 0x46, 0x46, 0x46, 0xFF,
0x00 };
static s8 D_E000CC48[] = { 0x00, 0x01, 0x02, 0x1A, 0x03, 0x1B, 0x04, 0x1C, 0x05, 0x1D, 0x06, 0x16, 0x26, 0x47, 0x57,
0x67, 0xFF, 0x00, 0x00, 0x00 };
static s8 D_E000CC5C[] = { 0x00, 0x08, 0x10, 0x18, 0x20, 0x28, 0x30, 0x38, 0x01, 0x09, 0x11, 0x19, 0x21, 0x29, 0x31,
0x39, 0x02, 0x02, 0x0A, 0x0A, 0x12, 0x12, 0x1A, 0x1A, 0x22, 0x22, 0x2A, 0x2A, 0x32, 0x32, 0x3A,
0x3A, 0x03, 0x03, 0x0B, 0x0B, 0x13, 0x13, 0x1B, 0x1B, 0x23, 0x23, 0x2B, 0x2B, 0x33, 0x33, 0x3B,
0x3B, 0x04, 0x04, 0x0C, 0x0C, 0x14, 0x14, 0x1C, 0x1C, 0x24, 0x24, 0x2C, 0x2C, 0x34, 0x34, 0x3C,
0x3C, 0x05, 0x05, 0x0D, 0x0D, 0x15, 0x15, 0x1D, 0x1D, 0x25, 0x25, 0x2D, 0x2D, 0x35, 0x35, 0x3D,
0x3D, 0x06, 0x06, 0x06, 0x0E, 0x0E, 0x0E, 0x16, 0x16, 0x16, 0x1E, 0x1E, 0x1E, 0x26, 0x26, 0x26,
0x2E, 0x2E, 0x2E, 0x36, 0x36, 0x36, 0x3E, 0x3E, 0x3E, 0x47, 0x47, 0x47, 0x4F, 0x4F, 0x4F, 0x57,
0x57, 0x57, 0x5F, 0x5F, 0x5F, 0x67, 0x67, 0x67, 0x6F, 0x6F, 0x6F, 0x77, 0x77, 0x77, 0x7F, 0x7F,
0x7F, 0xFF, 0x00, 0x00, 0x00 };
static s8 D_E000CCE0[] = { 0x00, 0x10, 0x20, 0x30, 0x01, 0x11, 0x21, 0x31, 0x02, 0x0A, 0x12, 0x1A, 0x22, 0x2A, 0x32,
0x3A, 0x03, 0x0B, 0x13, 0x1B, 0x23, 0x2B, 0x33, 0x3B, 0x04, 0x0C, 0x14, 0x1C, 0x24, 0x2C,
0x34, 0x3C, 0x05, 0x0D, 0x15, 0x1D, 0x25, 0x2D, 0x35, 0x3D, 0x06, 0x06, 0x0E, 0x16, 0x16,
0x1E, 0x26, 0x26, 0x2E, 0x36, 0x36, 0x3E, 0x47, 0x47, 0x4F, 0x57, 0x57, 0x5F, 0x67, 0x67,
0x6F, 0x77, 0x77, 0x7F, 0xFF, 0x00, 0x00, 0x00 };
static s8* D_E000CD24[4] = { &D_E000CC38, &D_E000CC48, &D_E000CC5C, &D_E000CCE0 };
void func_E000C000(Effect6* part);
INCLUDE_ASM(s32, "effects/effect_6", func_E000C000);
INCLUDE_ASM(s32, "effects/effect_6", func_E000C094);
INCLUDE_ASM(s32, "effects/effect_6", func_E000C0C8);
INCLUDE_ASM(s32, "effects/effect_6", fx_6_main);
void func_E000C64C(void) {
void func_E000C094(Effect6* part) {
part->y += part->unk_20;
part->unk_20 += part->unk_24;
part->unk_24 *= part->unk_28;
}
INCLUDE_ASM(s32, "effects/effect_6", func_E000C654);
void func_E000C0C8(Effect6* part) {
part->x += part->unk_10 * part->unk_30;
part->y += part->unk_20;
part->z += part->unk_10 * part->unk_34;
part->unk_20 += part->unk_24;
part->unk_10 *= part->unk_14;
part->unk_24 *= part->unk_28;
part->unk_20 *= part->unk_2C;
}
INCLUDE_ASM(s32, "effects/effect_6", func_E000C754);
void fx_6_main(s32 type, f32 x, f32 y, f32 z, f32 arg4) {
EffectBlueprint bp;
EffectBlueprint* bpPtr = &bp;
EffectInstance* effect;
Effect6* effectPart;
f32 theta;
f32 temp_f20_2;
s32 numParts;
s32 i;
INCLUDE_ASM(s32, "effects/effect_6", func_E000C798);
switch (type) {
case 2:
numParts = 1;
break;
case 3:
numParts = 4;
break;
case 4:
numParts = 9;
break;
default:
numParts = 3;
break;
}
bpPtr->init = fx_6_init;
bpPtr->update = fx_6_update;
bpPtr->renderWorld = fx_6_render;
bpPtr->unk_00 = 0;
bpPtr->unk_14 = NULL;
bpPtr->effectIndex = 6;
effect = shim_create_effect_instance(bpPtr);
effect->numParts = numParts;
effectPart = shim_general_heap_malloc(numParts * sizeof(Effect6));
effect->data = effectPart;
ASSERT(effect->data != NULL);
shim_mem_clear(effectPart, numParts * sizeof(Effect6));
switch (type) {
case 0:
case 1:
effectPart->unk_38 = 0;
break;
case 3:
effectPart->unk_38 = 2;
break;
case 2:
case 4:
effectPart->unk_38 = 3;
break;
}
effectPart->unk_3C = 0;
effectPart->type = type;
effectPart->x = x;
effectPart->y = y;
effectPart->z = z;
effectPart++;
switch (type) {
case 0:
case 1:
for (i = 1; i < numParts; i++, effectPart++) {
effectPart->unk_10 = -3.0f;
effectPart->unk_14 = 0.29999998f;
effectPart->unk_18 = 0;
effectPart->unk_1C = 0;
effectPart->unk_20 = 1.75f;
effectPart->unk_24 = -0.16f;
effectPart->unk_28 = 0.0f;
effectPart->unk_2C = 0.0f;
effectPart->x = 0.0f;
effectPart->y = 0.0f;
effectPart->z = 4.0f;
theta = shim_clamp_angle(90 + (180 * (i - 1)));
effectPart->unk_30 = shim_sin_deg(theta);
effectPart->unk_34 = shim_cos_deg(theta);
}
break;
case 2:
break;
case 3:
for (i = 1; i < numParts; i++, effectPart++) {
switch (i - 1) {
case 0:
theta = 135.0f;
effectPart->x = -shim_sin_deg(theta) * 25.0f;
effectPart->y = 0.0f;
effectPart->z = -shim_cos_deg(theta) * 25.0f;
effectPart->unk_24 = -0.04f;
effectPart->unk_28 = 0.94f;
effectPart->unk_20 = 0.95f;
break;
case 1:
theta = -135.0f;
effectPart->x = -shim_sin_deg(theta) * 25.0f;
effectPart->y = 4.0f;
effectPart->z = -shim_cos_deg(theta) * 25.0f;
effectPart->unk_24 = -0.04f;
effectPart->unk_28 = 0.94f;
effectPart->unk_20 = 0.84999996f;
break;
case 2:
theta = 20.0f;
effectPart->x = -shim_sin_deg(theta) * 25.0f;
effectPart->y = 10.0f;
effectPart->z = -shim_cos_deg(theta) * 25.0f;
effectPart->unk_24 = -0.04f;
effectPart->unk_28 = 0.94f;
effectPart->unk_20 = 0.75f;
break;
}
effectPart->unk_30 = 0.0f;
effectPart->unk_34 = 0.0f;
}
break;
case 4:
for (i = 1; i < numParts; i++, effectPart++) {
effectPart->unk_10 = -3.0f;
effectPart->unk_14 = 0.93f;
effectPart->unk_20 = 0.0f;
effectPart->unk_24 = 0.099999994f;
effectPart->unk_28 = 0.94f;
effectPart->unk_2C = 0.94f;
theta = arg4 + ((i - 1) * 360 / (numParts - 1));
effectPart->x = -shim_sin_deg(theta) * 10.0f;
effectPart->y = 0.0f;
effectPart->z = -shim_cos_deg(theta) * 10.0f;
effectPart->unk_30 = shim_sin_deg(theta);
effectPart->unk_34 = shim_cos_deg(theta);
}
break;
}
}
void fx_6_init(EffectInstance* effect) {
}
void fx_6_update(EffectInstance* effect) {
Effect6* effectPart = effect->data;
effectPart->unk_40 = D_E000CD24[effectPart->unk_38][effectPart->unk_3C++];
if (effectPart->unk_40 < 0) {
shim_remove_effect(effect);
} else {
s32 type = effectPart->type;
s32 i;
effectPart++;
for (i = 1; i < effect->numParts; i++, effectPart++) {
switch (type) {
case 0:
case 1:
func_E000C000(effectPart);
break;
case 2:
break;
case 3:
func_E000C094(effectPart);
break;
case 4:
func_E000C0C8(effectPart);
break;
}
}
}
}
void fx_6_render(EffectInstance* effect) {
RenderTask renderTask;
RenderTask* retTask;
renderTask.appendGfx = fx_6_appendGfx;
renderTask.appendGfxArg = effect;
renderTask.distance = 0;
renderTask.renderMode = RENDER_MODE_28;
retTask = shim_queue_render_task(&renderTask);
retTask->renderMode |= RENDER_MODE_2;
}
INCLUDE_ASM(s32, "effects/effect_6", fx_6_appendGfx);

View File

@ -1,5 +1,11 @@
#include "common.h"
// TODO: not sure where these go
u8 D_802D9D70 = 0xFE;
u8 D_802D9D71 = 0xFE;
u8 D_802D9D72 = 0x00;
u8 D_802D9D73 = 0xFF;
INCLUDE_ASM(ApiStatus, "evt/demo_api", SetSpriteShading, Evt* script, s32 isInitialCall);
ApiStatus EnableSpriteShading(Evt* script, s32 isInitialCall) {

View File

@ -8,11 +8,6 @@ Bytecode* evt_goto_next_case(Evt* script);
Bytecode* evt_goto_end_loop(Evt* script);
s32 evt_get_variable_index(Evt* script, s32 var);
u8 D_802D9D70 = 0xFE;
u8 D_802D9D71 = 0xFE;
u8 D_802D9D72 = 0x00;
u8 D_802D9D73 = 0xFF;
// BSS
extern s8 evtDebugPrintBuffer[];
@ -1675,7 +1670,6 @@ s32 evt_execute_next_command(Evt *script) {
}
}
// TODO: consider renaming to evt_get_variable
#ifdef NON_MATCHING
s32 evt_get_variable(Evt* script, Bytecode var) {
s32 wordIdx;
@ -1952,8 +1946,6 @@ Bytecode* evt_skip_else(Evt* script) {
return pos;
}
break;
// If this isn't copy-pasted at least once, the function breaks, so
// might as well be consistent
case EVT_OP_IF_EQ:
nestedIfDepth++;
break;

View File

@ -564,7 +564,7 @@ void render_npcs(void) {
f32 phi_f20;
s32 i;
RenderTask renderTask;
RenderTask* task = &renderTask; // WTF?
RenderTask* renderTaskPtr = &renderTask;
f32 x;
f32 y;
f32 z;
@ -585,10 +585,11 @@ void render_npcs(void) {
phi_f20 = 10000.0f;
}
task->distance = -phi_f20;
task->appendGfxArg = npc;
task->appendGfx = &appendGfx_npc;
task->renderMode = npc->renderMode;
renderTaskPtr->distance = -phi_f20;
renderTaskPtr->appendGfxArg = npc;
renderTaskPtr->appendGfx = appendGfx_npc;
renderTaskPtr->renderMode = npc->renderMode;
if (npc->flags & NPC_FLAG_NO_DROPS) {
u8 r, g, b, a;
get_background_color_blend(&r, &g, &b, &a);
@ -598,15 +599,15 @@ void render_npcs(void) {
}
if (npc->alpha2 != 0) {
queue_render_task(task);
queue_render_task(renderTaskPtr);
}
if ((npc->flags & NPC_FLAG_MOTION_BLUR) != 0) {
task->distance = -phi_f20;
task->appendGfx = &appendGfx_npc_blur;
task->appendGfxArg = npc;
task->renderMode = 0x11;
queue_render_task(task);
renderTaskPtr->distance = -phi_f20;
renderTaskPtr->appendGfx = appendGfx_npc_blur;
renderTaskPtr->appendGfxArg = npc;
renderTaskPtr->renderMode = RENDER_MODE_SURFACE_XLU_LAYER1;
queue_render_task(renderTaskPtr);
}
}
}

View File

@ -111,7 +111,7 @@ void N(reflection_setup_wall)(void) {
renderTaskPtr->renderMode = renderMode;
renderTaskPtr->appendGfxArg = playerStatus;
renderTaskPtr->appendGfx = (void (*)(void*)) N(reflection_render_wall);
renderTaskPtr->appendGfx = (void(*))N(reflection_render_wall);
renderTaskPtr->distance = -screenZ;
queue_render_task(renderTaskPtr);
}
@ -189,8 +189,9 @@ void N(reflection_setup_floor)(void) {
renderTaskPtr->renderMode = renderMode;
renderTaskPtr->appendGfxArg = playerStatus;
renderTaskPtr->distance = -screenZ;
renderTaskPtr->appendGfx = (void (*)(void*))(!(playerStatus->flags & 0x20000) ? N(reflection_render_floor) : N(
reflection_render_floor_fancy));
renderTaskPtr->appendGfx = (!(playerStatus->flags & 0x20000) ?
N(reflection_render_floor) :
N(reflection_render_floor_fancy));
queue_render_task(renderTaskPtr);
}
}

View File

@ -1,5 +1,5 @@
import os
import re
syms = []
groups = {}
@ -7,7 +7,7 @@ groups = {}
with open("tools/symz.txt") as f:
for line in f.readlines():
name, addr = line.strip().strip(";").split(" = ")
syms.append((name, int(addr, 0), set()))
syms.append({"name": name, "address": int(addr, 0), "found_in": set(), "dead": False})
# Search src for syms
for root, dirs, files in os.walk("src"):
@ -16,8 +16,8 @@ for root, dirs, files in os.walk("src"):
with open(os.path.join(root, file)) as f:
text = f.read()
for sym in syms:
if sym[0] in text:
sym[2].add(os.path.join(root, file).replace("src/", "")[:-2])
if sym["name"] in text:
sym["found_in"].add(os.path.join(root, file).replace("src/", "")[:-2])
# Search asm for syms
for root, dirs, files in os.walk("ver/us/asm"):
@ -26,16 +26,22 @@ for root, dirs, files in os.walk("ver/us/asm"):
with open(os.path.join(root, file)) as f:
text = f.read()
for sym in syms:
if sym[0] in text:
sym[2].add(root.replace("ver/us/asm/nonmatchings/", ""))
if sym["name"] in text:
sym["found_in"].add(os.path.join(root, file).replace("ver/us/asm/nonmatchings/", ""))
if re.match(r"E[0-9A-F]{5}", root.split("/")[-1]):
sym["dead"] = True
else:
sym["dead"] = False
for sym in syms:
if len(sym[2]) == 0:
if len(sym["found_in"]) == 0:
group = ""
elif len(sym[2]) > 1:
elif sym["dead"]:
group = "dead"
elif len(sym["found_in"]) > 1:
group = "multig"
else:
group = next(iter(sym[2]))
group = next(iter(sym["found_in"]))
if group not in groups:
groups[group] = []
@ -46,11 +52,13 @@ for group in groups:
print("The following symbols can be simply removed from undefined_syms:")
elif group == "multig":
print("The following symbols are found in multiple locations:")
elif group == "dead":
print("The following symbols are dead:")
else:
print(group + ":")
sorted_syms = sorted(groups[group], key=lambda tup: tup[1])
sorted_syms = sorted(groups[group], key=lambda tup: tup["address"])
for sym in sorted_syms:
print(f"{sym[0]} = 0x{sym[1]:X}")
print(f"{sym['name']} = 0x{sym['address']:X}")
print()

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +0,0 @@
.include "macro.inc"
.section .data
glabel D_E0002760
.word 0x41200000, 0x42200000, 0x42A00000, 0x432A0000, 0x430C0000, 0x42C80000, 0x41C80000, 0x431B0000, 0x42700000, 0x42F00000
glabel D_E0002788
.word 0x400CCCCD, 0x402CCCCD, 0x40400000, 0x400CCCCD, 0x402CCCCD, 0x40400000, 0x3FF33333, 0x3FF33333, 0x3FC00000, 0x3FC00000
glabel D_E00027B0
.float 1.4, 1.3, 1.2, 1.3, 1.4, 1.3, 1.6, 1.6, 1.6, 1.6
glabel D_E00027D8
.word 0x00000000, 0x436A0000, 0x43EA0000, 0x442F8000, 0x446A0000, 0x449D8000, 0x44AF8000, 0x44CCC000, 0x44EDC000, 0x44F70000
glabel D_E0002800
.word 0x09000FA0, 0x09001060, 0x09001120, 0x090011E0, 0x090012A0, 0x09001360, 0x09001420, 0x00000000

View File

@ -1,33 +0,0 @@
.include "macro.inc"
.section .data
glabel D_E000CC10
.word 0x09002B20, 0x09002B40, 0x09002B60, 0x09002B60, 0x09002B60
glabel D_E000CC24
.word 0x09002780, 0x09002868, 0x09002950, 0x09002A38, 0x09002A38
glabel D_E000CC38
.word 0x0001021A, 0x031B041C, 0x05153546, 0x4646FF00
glabel D_E000CC48
.word 0x0001021A, 0x031B041C, 0x051D0616, 0x26475767, 0xFF000000
glabel D_E000CC5C
.word 0x00081018, 0x20283038, 0x01091119, 0x21293139, 0x02020A0A, 0x12121A1A, 0x22222A2A, 0x32323A3A, 0x03030B0B, 0x13131B1B, 0x23232B2B, 0x33333B3B, 0x04040C0C, 0x14141C1C, 0x24242C2C, 0x34343C3C, 0x05050D0D, 0x15151D1D, 0x25252D2D, 0x35353D3D, 0x0606060E, 0x0E0E1616, 0x161E1E1E, 0x2626262E, 0x2E2E3636, 0x363E3E3E, 0x4747474F, 0x4F4F5757, 0x575F5F5F, 0x6767676F, 0x6F6F7777, 0x777F7F7F, 0xFF000000
glabel D_E000CCE0
.word 0x00102030, 0x01112131, 0x020A121A, 0x222A323A, 0x030B131B, 0x232B333B, 0x040C141C, 0x242C343C, 0x050D151D, 0x252D353D, 0x06060E16, 0x161E2626, 0x2E36363E, 0x47474F57, 0x575F6767, 0x6F77777F, 0xFF000000
glabel D_E000CD24
.word D_E000CC38, D_E000CC48, D_E000CC5C, D_E000CCE0, 0x00000000, 0x00000000, 0x00000000
glabel jtbl_E000CD40
.word LE000C28C_32839C, LE000C28C_32839C, LE000C29C_3283AC, LE000C294_3283A4, LE000C29C_3283AC, 0
glabel jtbl_E000CD58
.word LE000C2DC_3283EC, LE000C2DC_3283EC, LE000C614_328724, LE000C394_3284A4, LE000C514_328624, 0
glabel D_E000CD70
.word 0xE000C6F8, 0xE000C6F8, 0xE000C720, 0xE000C708, 0xE000C718, 0x00000000, 0x00000000, 0x00000000

View File

@ -1,73 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00021BC
/* 327AAC E00021BC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 327AB0 E00021C0 0000302D */ daddu $a2, $zero, $zero
/* 327AB4 E00021C4 AFBF0010 */ sw $ra, 0x10($sp)
/* 327AB8 E00021C8 8C820008 */ lw $v0, 8($a0)
/* 327ABC E00021CC 8C85000C */ lw $a1, 0xc($a0)
/* 327AC0 E00021D0 18400033 */ blez $v0, .LE00022A0
/* 327AC4 E00021D4 00C0382D */ daddu $a3, $a2, $zero
/* 327AC8 E00021D8 3C013FF4 */ lui $at, 0x3ff4
/* 327ACC E00021DC 44813800 */ mtc1 $at, $f7
/* 327AD0 E00021E0 44803000 */ mtc1 $zero, $f6
/* 327AD4 E00021E4 24A30024 */ addiu $v1, $a1, 0x24
.LE00021E8:
/* 327AD8 E00021E8 8462FFDE */ lh $v0, -0x22($v1)
/* 327ADC E00021EC 04420027 */ bltzl $v0, .LE000228C
/* 327AE0 E00021F0 24C60001 */ addiu $a2, $a2, 1
/* 327AE4 E00021F4 8C62FFE4 */ lw $v0, -0x1c($v1)
/* 327AE8 E00021F8 2442FFFF */ addiu $v0, $v0, -1
/* 327AEC E00021FC 04410022 */ bgez $v0, .LE0002288
/* 327AF0 E0002200 AC62FFE4 */ sw $v0, -0x1c($v1)
/* 327AF4 E0002204 C464FFF4 */ lwc1 $f4, -0xc($v1)
/* 327AF8 E0002208 C460FFFC */ lwc1 $f0, -4($v1)
/* 327AFC E000220C C462FFF8 */ lwc1 $f2, -8($v1)
/* 327B00 E0002210 46002100 */ add.s $f4, $f4, $f0
/* 327B04 E0002214 C4600000 */ lwc1 $f0, ($v1)
/* 327B08 E0002218 46001080 */ add.s $f2, $f2, $f0
/* 327B0C E000221C E464FFF4 */ swc1 $f4, -0xc($v1)
/* 327B10 E0002220 E462FFF8 */ swc1 $f2, -8($v1)
/* 327B14 E0002224 94A20000 */ lhu $v0, ($a1)
/* 327B18 E0002228 24420001 */ addiu $v0, $v0, 1
/* 327B1C E000222C A4A20000 */ sh $v0, ($a1)
/* 327B20 E0002230 9462FFDE */ lhu $v0, -0x22($v1)
/* 327B24 E0002234 2442FFFF */ addiu $v0, $v0, -1
/* 327B28 E0002238 A462FFDE */ sh $v0, -0x22($v1)
/* 327B2C E000223C 00021400 */ sll $v0, $v0, 0x10
/* 327B30 E0002240 04400011 */ bltz $v0, .LE0002288
/* 327B34 E0002244 24070001 */ addiu $a3, $zero, 1
/* 327B38 E0002248 9462FFE2 */ lhu $v0, -0x1e($v1)
/* 327B3C E000224C 2442FFFF */ addiu $v0, $v0, -1
/* 327B40 E0002250 A462FFE2 */ sh $v0, -0x1e($v1)
/* 327B44 E0002254 00021400 */ sll $v0, $v0, 0x10
/* 327B48 E0002258 0443000C */ bgezl $v0, .LE000228C
/* 327B4C E000225C 24C60001 */ addiu $a2, $a2, 1
/* 327B50 E0002260 C460FFFC */ lwc1 $f0, -4($v1)
/* 327B54 E0002264 C4620000 */ lwc1 $f2, ($v1)
/* 327B58 E0002268 46000021 */ cvt.d.s $f0, $f0
/* 327B5C E000226C 46260003 */ div.d $f0, $f0, $f6
/* 327B60 E0002270 46200020 */ cvt.s.d $f0, $f0
/* 327B64 E0002274 460010A1 */ cvt.d.s $f2, $f2
/* 327B68 E0002278 46261083 */ div.d $f2, $f2, $f6
/* 327B6C E000227C 462010A0 */ cvt.s.d $f2, $f2
/* 327B70 E0002280 E460FFFC */ swc1 $f0, -4($v1)
/* 327B74 E0002284 E4620000 */ swc1 $f2, ($v1)
.LE0002288:
/* 327B78 E0002288 24C60001 */ addiu $a2, $a2, 1
.LE000228C:
/* 327B7C E000228C 2463002C */ addiu $v1, $v1, 0x2c
/* 327B80 E0002290 8C820008 */ lw $v0, 8($a0)
/* 327B84 E0002294 00C2102A */ slt $v0, $a2, $v0
/* 327B88 E0002298 1440FFD3 */ bnez $v0, .LE00021E8
/* 327B8C E000229C 24A5002C */ addiu $a1, $a1, 0x2c
.LE00022A0:
/* 327B90 E00022A0 14E00003 */ bnez $a3, .LE00022B0
/* 327B94 E00022A4 00000000 */ nop
/* 327B98 E00022A8 0C080128 */ jal func_E02004A0
/* 327B9C E00022AC 00000000 */ nop
.LE00022B0:
/* 327BA0 E00022B0 8FBF0010 */ lw $ra, 0x10($sp)
/* 327BA4 E00022B4 03E00008 */ jr $ra
/* 327BA8 E00022B8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,21 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00022BC
/* 327BAC E00022BC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 327BB0 E00022C0 3C02E000 */ lui $v0, %hi(func_E0002300)
/* 327BB4 E00022C4 24422300 */ addiu $v0, $v0, %lo(func_E0002300)
/* 327BB8 E00022C8 AFA2001C */ sw $v0, 0x1c($sp)
/* 327BBC E00022CC 2402002D */ addiu $v0, $zero, 0x2d
/* 327BC0 E00022D0 AFA40018 */ sw $a0, 0x18($sp)
/* 327BC4 E00022D4 27A40010 */ addiu $a0, $sp, 0x10
/* 327BC8 E00022D8 AFBF0020 */ sw $ra, 0x20($sp)
/* 327BCC E00022DC AFA00014 */ sw $zero, 0x14($sp)
/* 327BD0 E00022E0 0C080120 */ jal func_E0200480
/* 327BD4 E00022E4 AFA20010 */ sw $v0, 0x10($sp)
/* 327BD8 E00022E8 8C430000 */ lw $v1, ($v0)
/* 327BDC E00022EC 34630002 */ ori $v1, $v1, 2
/* 327BE0 E00022F0 AC430000 */ sw $v1, ($v0)
/* 327BE4 E00022F4 8FBF0020 */ lw $ra, 0x20($sp)
/* 327BE8 E00022F8 03E00008 */ jr $ra
/* 327BEC E00022FC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,281 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0002300
/* 327BF0 E0002300 27BDFF68 */ addiu $sp, $sp, -0x98
/* 327BF4 E0002304 3C08DB06 */ lui $t0, 0xdb06
/* 327BF8 E0002308 35080024 */ ori $t0, $t0, 0x24
/* 327BFC E000230C AFB50074 */ sw $s5, 0x74($sp)
/* 327C00 E0002310 3C15800A */ lui $s5, %hi(gMasterGfxPos)
/* 327C04 E0002314 26B5A66C */ addiu $s5, $s5, %lo(gMasterGfxPos)
/* 327C08 E0002318 3C02E700 */ lui $v0, 0xe700
/* 327C0C E000231C AFBF0084 */ sw $ra, 0x84($sp)
/* 327C10 E0002320 AFBE0080 */ sw $fp, 0x80($sp)
/* 327C14 E0002324 AFB7007C */ sw $s7, 0x7c($sp)
/* 327C18 E0002328 AFB60078 */ sw $s6, 0x78($sp)
/* 327C1C E000232C AFB40070 */ sw $s4, 0x70($sp)
/* 327C20 E0002330 AFB3006C */ sw $s3, 0x6c($sp)
/* 327C24 E0002334 AFB20068 */ sw $s2, 0x68($sp)
/* 327C28 E0002338 AFB10064 */ sw $s1, 0x64($sp)
/* 327C2C E000233C AFB00060 */ sw $s0, 0x60($sp)
/* 327C30 E0002340 F7B60090 */ sdc1 $f22, 0x90($sp)
/* 327C34 E0002344 F7B40088 */ sdc1 $f20, 0x88($sp)
/* 327C38 E0002348 AFA40098 */ sw $a0, 0x98($sp)
/* 327C3C E000234C 8EA60000 */ lw $a2, ($s5)
/* 327C40 E0002350 8FA90098 */ lw $t1, 0x98($sp)
/* 327C44 E0002354 4480A000 */ mtc1 $zero, $f20
/* 327C48 E0002358 3C013F80 */ lui $at, 0x3f80
/* 327C4C E000235C 44810000 */ mtc1 $at, $f0
/* 327C50 E0002360 00C0182D */ daddu $v1, $a2, $zero
/* 327C54 E0002364 8D34000C */ lw $s4, 0xc($t1)
/* 327C58 E0002368 24C60008 */ addiu $a2, $a2, 8
/* 327C5C E000236C AC620000 */ sw $v0, ($v1)
/* 327C60 E0002370 AC600004 */ sw $zero, 4($v1)
/* 327C64 E0002374 ACC80000 */ sw $t0, ($a2)
/* 327C68 E0002378 3C088000 */ lui $t0, 0x8000
/* 327C6C E000237C 4405A000 */ mfc1 $a1, $f20
/* 327C70 E0002380 8D220010 */ lw $v0, 0x10($t1)
/* 327C74 E0002384 4407A000 */ mfc1 $a3, $f20
/* 327C78 E0002388 8C42001C */ lw $v0, 0x1c($v0)
/* 327C7C E000238C 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 327C80 E0002390 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 327C84 E0002394 00481021 */ addu $v0, $v0, $t0
/* 327C88 E0002398 ACC20004 */ sw $v0, 4($a2)
/* 327C8C E000239C 00031080 */ sll $v0, $v1, 2
/* 327C90 E00023A0 00431021 */ addu $v0, $v0, $v1
/* 327C94 E00023A4 00021080 */ sll $v0, $v0, 2
/* 327C98 E00023A8 00431023 */ subu $v0, $v0, $v1
/* 327C9C E00023AC 000218C0 */ sll $v1, $v0, 3
/* 327CA0 E00023B0 00431021 */ addu $v0, $v0, $v1
/* 327CA4 E00023B4 000210C0 */ sll $v0, $v0, 3
/* 327CA8 E00023B8 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 327CAC E00023BC 00220821 */ addu $at, $at, $v0
/* 327CB0 E00023C0 C4221DEC */ lwc1 $f2, %lo(gCameras+0x6C)($at)
/* 327CB4 E00023C4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 327CB8 E00023C8 C680000C */ lwc1 $f0, 0xc($s4)
/* 327CBC E00023CC 27A40020 */ addiu $a0, $sp, 0x20
/* 327CC0 E00023D0 AEA60000 */ sw $a2, ($s5)
/* 327CC4 E00023D4 24C60008 */ addiu $a2, $a2, 8
/* 327CC8 E00023D8 E7A00014 */ swc1 $f0, 0x14($sp)
/* 327CCC E00023DC C6800010 */ lwc1 $f0, 0x10($s4)
/* 327CD0 E00023E0 46001087 */ neg.s $f2, $f2
/* 327CD4 E00023E4 AEA60000 */ sw $a2, ($s5)
/* 327CD8 E00023E8 44061000 */ mfc1 $a2, $f2
/* 327CDC E00023EC 3C100001 */ lui $s0, 1
/* 327CE0 E00023F0 E7A00018 */ swc1 $f0, 0x18($sp)
/* 327CE4 E00023F4 C6800014 */ lwc1 $f0, 0x14($s4)
/* 327CE8 E00023F8 36101630 */ ori $s0, $s0, 0x1630
/* 327CEC E00023FC 0C080180 */ jal func_E0200600
/* 327CF0 E0002400 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 327CF4 E0002404 27A40020 */ addiu $a0, $sp, 0x20
/* 327CF8 E0002408 3C118007 */ lui $s1, %hi(gMatrixListPos)
/* 327CFC E000240C 263141F0 */ addiu $s1, $s1, %lo(gMatrixListPos)
/* 327D00 E0002410 3C13800A */ lui $s3, %hi(gDisplayContext)
/* 327D04 E0002414 2673A674 */ addiu $s3, $s3, %lo(gDisplayContext)
/* 327D08 E0002418 96250000 */ lhu $a1, ($s1)
/* 327D0C E000241C 8E620000 */ lw $v0, ($s3)
/* 327D10 E0002420 00052980 */ sll $a1, $a1, 6
/* 327D14 E0002424 00B02821 */ addu $a1, $a1, $s0
/* 327D18 E0002428 0C080118 */ jal func_E0200460
/* 327D1C E000242C 00452821 */ addu $a1, $v0, $a1
/* 327D20 E0002430 8EA20000 */ lw $v0, ($s5)
/* 327D24 E0002434 0040282D */ daddu $a1, $v0, $zero
/* 327D28 E0002438 24420008 */ addiu $v0, $v0, 8
/* 327D2C E000243C AEA20000 */ sw $v0, ($s5)
/* 327D30 E0002440 96240000 */ lhu $a0, ($s1)
/* 327D34 E0002444 3C02DA38 */ lui $v0, 0xda38
/* 327D38 E0002448 ACA20000 */ sw $v0, ($a1)
/* 327D3C E000244C 8E630000 */ lw $v1, ($s3)
/* 327D40 E0002450 3082FFFF */ andi $v0, $a0, 0xffff
/* 327D44 E0002454 00021180 */ sll $v0, $v0, 6
/* 327D48 E0002458 00501021 */ addu $v0, $v0, $s0
/* 327D4C E000245C 00621821 */ addu $v1, $v1, $v0
/* 327D50 E0002460 ACA30004 */ sw $v1, 4($a1)
/* 327D54 E0002464 8FA90098 */ lw $t1, 0x98($sp)
/* 327D58 E0002468 0000902D */ daddu $s2, $zero, $zero
/* 327D5C E000246C 8D220008 */ lw $v0, 8($t1)
/* 327D60 E0002470 24840001 */ addiu $a0, $a0, 1
/* 327D64 E0002474 18400092 */ blez $v0, .LE00026C0
/* 327D68 E0002478 A6240000 */ sh $a0, ($s1)
/* 327D6C E000247C 4600A586 */ mov.s $f22, $f20
/* 327D70 E0002480 0260F02D */ daddu $fp, $s3, $zero
/* 327D74 E0002484 0220B82D */ daddu $s7, $s1, $zero
/* 327D78 E0002488 3C160001 */ lui $s6, 1
/* 327D7C E000248C 36D61630 */ ori $s6, $s6, 0x1630
/* 327D80 E0002490 02A0982D */ daddu $s3, $s5, $zero
/* 327D84 E0002494 3C15E000 */ lui $s5, %hi(D_E0002800)
/* 327D88 E0002498 26B52800 */ addiu $s5, $s5, %lo(D_E0002800)
/* 327D8C E000249C 3C0140E0 */ lui $at, 0x40e0
/* 327D90 E00024A0 4481A000 */ mtc1 $at, $f20
/* 327D94 E00024A4 26900004 */ addiu $s0, $s4, 4
.LE00024A8:
/* 327D98 E00024A8 8603FFFE */ lh $v1, -2($s0)
/* 327D9C E00024AC 0462007E */ bltzl $v1, .LE00026A8
/* 327DA0 E00024B0 26520001 */ addiu $s2, $s2, 1
/* 327DA4 E00024B4 8E020004 */ lw $v0, 4($s0)
/* 327DA8 E00024B8 0443007B */ bgezl $v0, .LE00026A8
/* 327DAC E00024BC 26520001 */ addiu $s2, $s2, 1
/* 327DB0 E00024C0 0060882D */ daddu $s1, $v1, $zero
/* 327DB4 E00024C4 2A220011 */ slti $v0, $s1, 0x11
/* 327DB8 E00024C8 50400001 */ beql $v0, $zero, .LE00024D0
/* 327DBC E00024CC 24110010 */ addiu $s1, $zero, 0x10
.LE00024D0:
/* 327DC0 E00024D0 00121080 */ sll $v0, $s2, 2
/* 327DC4 E00024D4 3C01E000 */ lui $at, %hi(D_E00027B0)
/* 327DC8 E00024D8 00220821 */ addu $at, $at, $v0
/* 327DCC E00024DC C42027B0 */ lwc1 $f0, %lo(D_E00027B0)($at)
/* 327DD0 E00024E0 4405B000 */ mfc1 $a1, $f22
/* 327DD4 E00024E4 4406B000 */ mfc1 $a2, $f22
/* 327DD8 E00024E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 327DDC E00024EC C6000014 */ lwc1 $f0, 0x14($s0)
/* 327DE0 E00024F0 E7A00014 */ swc1 $f0, 0x14($sp)
/* 327DE4 E00024F4 C6000018 */ lwc1 $f0, 0x18($s0)
/* 327DE8 E00024F8 E7B6001C */ swc1 $f22, 0x1c($sp)
/* 327DEC E00024FC E7A00018 */ swc1 $f0, 0x18($sp)
/* 327DF0 E0002500 3C07E000 */ lui $a3, %hi(D_E00027D8)
/* 327DF4 E0002504 00E23821 */ addu $a3, $a3, $v0
/* 327DF8 E0002508 8CE727D8 */ lw $a3, %lo(D_E00027D8)($a3)
/* 327DFC E000250C 0C080180 */ jal func_E0200600
/* 327E00 E0002510 27A40020 */ addiu $a0, $sp, 0x20
/* 327E04 E0002514 27A40020 */ addiu $a0, $sp, 0x20
/* 327E08 E0002518 96E50000 */ lhu $a1, ($s7)
/* 327E0C E000251C 8FC20000 */ lw $v0, ($fp)
/* 327E10 E0002520 00052980 */ sll $a1, $a1, 6
/* 327E14 E0002524 00B62821 */ addu $a1, $a1, $s6
/* 327E18 E0002528 0C080118 */ jal func_E0200460
/* 327E1C E000252C 00452821 */ addu $a1, $v0, $a1
/* 327E20 E0002530 8E620000 */ lw $v0, ($s3)
/* 327E24 E0002534 0040282D */ daddu $a1, $v0, $zero
/* 327E28 E0002538 24420008 */ addiu $v0, $v0, 8
/* 327E2C E000253C AE620000 */ sw $v0, ($s3)
/* 327E30 E0002540 96E40000 */ lhu $a0, ($s7)
/* 327E34 E0002544 3C02DA38 */ lui $v0, 0xda38
/* 327E38 E0002548 ACA20000 */ sw $v0, ($a1)
/* 327E3C E000254C 8FC30000 */ lw $v1, ($fp)
/* 327E40 E0002550 3082FFFF */ andi $v0, $a0, 0xffff
/* 327E44 E0002554 00021180 */ sll $v0, $v0, 6
/* 327E48 E0002558 00561021 */ addu $v0, $v0, $s6
/* 327E4C E000255C 00621821 */ addu $v1, $v1, $v0
/* 327E50 E0002560 ACA30004 */ sw $v1, 4($a1)
/* 327E54 E0002564 86820000 */ lh $v0, ($s4)
/* 327E58 E0002568 24840001 */ addiu $a0, $a0, 1
/* 327E5C E000256C A6E40000 */ sh $a0, ($s7)
/* 327E60 E0002570 86030000 */ lh $v1, ($s0)
/* 327E64 E0002574 2442FFFF */ addiu $v0, $v0, -1
/* 327E68 E0002578 44826000 */ mtc1 $v0, $f12
/* 327E6C E000257C 00000000 */ nop
/* 327E70 E0002580 46806320 */ cvt.s.w $f12, $f12
/* 327E74 E0002584 44831000 */ mtc1 $v1, $f2
/* 327E78 E0002588 00000000 */ nop
/* 327E7C E000258C 468010A0 */ cvt.s.w $f2, $f2
/* 327E80 E0002590 460C103E */ c.le.s $f2, $f12
/* 327E84 E0002594 00000000 */ nop
/* 327E88 E0002598 45000004 */ bc1f .LE00025AC
/* 327E8C E000259C 240700FF */ addiu $a3, $zero, 0xff
/* 327E90 E00025A0 8EA80018 */ lw $t0, 0x18($s5)
/* 327E94 E00025A4 0800098B */ j .LE000262C
/* 327E98 E00025A8 3C06D838 */ lui $a2, 0xd838
.LE00025AC:
/* 327E9C E00025AC 46146302 */ mul.s $f12, $f12, $f20
/* 327EA0 E00025B0 00000000 */ nop
/* 327EA4 E00025B4 3C0142B4 */ lui $at, 0x42b4
/* 327EA8 E00025B8 44810000 */ mtc1 $at, $f0
/* 327EAC E00025BC 46026303 */ div.s $f12, $f12, $f2
/* 327EB0 E00025C0 46006302 */ mul.s $f12, $f12, $f0
/* 327EB4 E00025C4 00000000 */ nop
/* 327EB8 E00025C8 0C080140 */ jal func_E0200500
/* 327EBC E00025CC 46146303 */ div.s $f12, $f12, $f20
/* 327EC0 E00025D0 46140082 */ mul.s $f2, $f0, $f20
/* 327EC4 E00025D4 00000000 */ nop
/* 327EC8 E00025D8 3C01437F */ lui $at, 0x437f
/* 327ECC E00025DC 44810000 */ mtc1 $at, $f0
/* 327ED0 E00025E0 00000000 */ nop
/* 327ED4 E00025E4 46001002 */ mul.s $f0, $f2, $f0
/* 327ED8 E00025E8 00000000 */ nop
/* 327EDC E00025EC 4600010D */ trunc.w.s $f4, $f0
/* 327EE0 E00025F0 44032000 */ mfc1 $v1, $f4
/* 327EE4 E00025F4 00000000 */ nop
/* 327EE8 E00025F8 04610002 */ bgez $v1, .LE0002604
/* 327EEC E00025FC 0060102D */ daddu $v0, $v1, $zero
/* 327EF0 E0002600 246200FF */ addiu $v0, $v1, 0xff
.LE0002604:
/* 327EF4 E0002604 00023A03 */ sra $a3, $v0, 8
/* 327EF8 E0002608 00071200 */ sll $v0, $a3, 8
/* 327EFC E000260C 00623823 */ subu $a3, $v1, $v0
/* 327F00 E0002610 4600110D */ trunc.w.s $f4, $f2
/* 327F04 E0002614 44022000 */ mfc1 $v0, $f4
/* 327F08 E0002618 00000000 */ nop
/* 327F0C E000261C 00021080 */ sll $v0, $v0, 2
/* 327F10 E0002620 00551021 */ addu $v0, $v0, $s5
/* 327F14 E0002624 8C480000 */ lw $t0, ($v0)
/* 327F18 E0002628 3C06D838 */ lui $a2, 0xd838
.LE000262C:
/* 327F1C E000262C 34C60002 */ ori $a2, $a2, 2
/* 327F20 E0002630 3C02FA00 */ lui $v0, 0xfa00
/* 327F24 E0002634 001118C0 */ sll $v1, $s1, 3
/* 327F28 E0002638 8E640000 */ lw $a0, ($s3)
/* 327F2C E000263C 00711823 */ subu $v1, $v1, $s1
/* 327F30 E0002640 0080282D */ daddu $a1, $a0, $zero
/* 327F34 E0002644 24840008 */ addiu $a0, $a0, 8
/* 327F38 E0002648 AE640000 */ sw $a0, ($s3)
/* 327F3C E000264C ACA20000 */ sw $v0, ($a1)
/* 327F40 E0002650 00031100 */ sll $v0, $v1, 4
/* 327F44 E0002654 00431023 */ subu $v0, $v0, $v1
/* 327F48 E0002658 000210C2 */ srl $v0, $v0, 3
/* 327F4C E000265C 304200FF */ andi $v0, $v0, 0xff
/* 327F50 E0002660 ACA20004 */ sw $v0, 4($a1)
/* 327F54 E0002664 24820008 */ addiu $v0, $a0, 8
/* 327F58 E0002668 AE620000 */ sw $v0, ($s3)
/* 327F5C E000266C 3C02FB00 */ lui $v0, 0xfb00
/* 327F60 E0002670 AC820000 */ sw $v0, ($a0)
/* 327F64 E0002674 30E200FF */ andi $v0, $a3, 0xff
/* 327F68 E0002678 AC820004 */ sw $v0, 4($a0)
/* 327F6C E000267C 24820010 */ addiu $v0, $a0, 0x10
/* 327F70 E0002680 AE620000 */ sw $v0, ($s3)
/* 327F74 E0002684 3C02DE00 */ lui $v0, 0xde00
/* 327F78 E0002688 AC820008 */ sw $v0, 8($a0)
/* 327F7C E000268C 24820018 */ addiu $v0, $a0, 0x18
/* 327F80 E0002690 AC88000C */ sw $t0, 0xc($a0)
/* 327F84 E0002694 AE620000 */ sw $v0, ($s3)
/* 327F88 E0002698 24020040 */ addiu $v0, $zero, 0x40
/* 327F8C E000269C AC860010 */ sw $a2, 0x10($a0)
/* 327F90 E00026A0 AC820014 */ sw $v0, 0x14($a0)
/* 327F94 E00026A4 26520001 */ addiu $s2, $s2, 1
.LE00026A8:
/* 327F98 E00026A8 8FA90098 */ lw $t1, 0x98($sp)
/* 327F9C E00026AC 2610002C */ addiu $s0, $s0, 0x2c
/* 327FA0 E00026B0 8D220008 */ lw $v0, 8($t1)
/* 327FA4 E00026B4 0242102A */ slt $v0, $s2, $v0
/* 327FA8 E00026B8 1440FF7B */ bnez $v0, .LE00024A8
/* 327FAC E00026BC 2694002C */ addiu $s4, $s4, 0x2c
.LE00026C0:
/* 327FB0 E00026C0 3C03D838 */ lui $v1, 0xd838
/* 327FB4 E00026C4 3C04800A */ lui $a0, %hi(gMasterGfxPos)
/* 327FB8 E00026C8 2484A66C */ addiu $a0, $a0, %lo(gMasterGfxPos)
/* 327FBC E00026CC 8C820000 */ lw $v0, ($a0)
/* 327FC0 E00026D0 34630002 */ ori $v1, $v1, 2
/* 327FC4 E00026D4 0040282D */ daddu $a1, $v0, $zero
/* 327FC8 E00026D8 24420008 */ addiu $v0, $v0, 8
/* 327FCC E00026DC AC820000 */ sw $v0, ($a0)
/* 327FD0 E00026E0 ACA30000 */ sw $v1, ($a1)
/* 327FD4 E00026E4 24030040 */ addiu $v1, $zero, 0x40
/* 327FD8 E00026E8 ACA30004 */ sw $v1, 4($a1)
/* 327FDC E00026EC 24430008 */ addiu $v1, $v0, 8
/* 327FE0 E00026F0 AC830000 */ sw $v1, ($a0)
/* 327FE4 E00026F4 3C03E700 */ lui $v1, 0xe700
/* 327FE8 E00026F8 AC430000 */ sw $v1, ($v0)
/* 327FEC E00026FC AC400004 */ sw $zero, 4($v0)
/* 327FF0 E0002700 8FBF0084 */ lw $ra, 0x84($sp)
/* 327FF4 E0002704 8FBE0080 */ lw $fp, 0x80($sp)
/* 327FF8 E0002708 8FB7007C */ lw $s7, 0x7c($sp)
/* 327FFC E000270C 8FB60078 */ lw $s6, 0x78($sp)
/* 328000 E0002710 8FB50074 */ lw $s5, 0x74($sp)
/* 328004 E0002714 8FB40070 */ lw $s4, 0x70($sp)
/* 328008 E0002718 8FB3006C */ lw $s3, 0x6c($sp)
/* 32800C E000271C 8FB20068 */ lw $s2, 0x68($sp)
/* 328010 E0002720 8FB10064 */ lw $s1, 0x64($sp)
/* 328014 E0002724 8FB00060 */ lw $s0, 0x60($sp)
/* 328018 E0002728 D7B60090 */ ldc1 $f22, 0x90($sp)
/* 32801C E000272C D7B40088 */ ldc1 $f20, 0x88($sp)
/* 328020 E0002730 03E00008 */ jr $ra
/* 328024 E0002734 27BD0098 */ addiu $sp, $sp, 0x98

View File

@ -1,117 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel fx_1_main
/* 3278F0 E0002000 27BDFF88 */ addiu $sp, $sp, -0x78
/* 3278F4 E0002004 F7BA0060 */ sdc1 $f26, 0x60($sp)
/* 3278F8 E0002008 46006686 */ mov.s $f26, $f12
/* 3278FC E000200C F7BC0068 */ sdc1 $f28, 0x68($sp)
/* 327900 E0002010 46007706 */ mov.s $f28, $f14
/* 327904 E0002014 27A40010 */ addiu $a0, $sp, 0x10
/* 327908 E0002018 F7BE0070 */ sdc1 $f30, 0x70($sp)
/* 32790C E000201C 4486F000 */ mtc1 $a2, $f30
/* 327910 E0002020 3C02E000 */ lui $v0, %hi(func_E00021B4)
/* 327914 E0002024 244221B4 */ addiu $v0, $v0, %lo(func_E00021B4)
/* 327918 E0002028 AFA20018 */ sw $v0, 0x18($sp)
/* 32791C E000202C 3C02E000 */ lui $v0, %hi(func_E00021BC)
/* 327920 E0002030 244221BC */ addiu $v0, $v0, %lo(func_E00021BC)
/* 327924 E0002034 AFA2001C */ sw $v0, 0x1c($sp)
/* 327928 E0002038 3C02E000 */ lui $v0, %hi(func_E00022BC)
/* 32792C E000203C 244222BC */ addiu $v0, $v0, %lo(func_E00022BC)
/* 327930 E0002040 AFA20020 */ sw $v0, 0x20($sp)
/* 327934 E0002044 24020001 */ addiu $v0, $zero, 1
/* 327938 E0002048 AFBF0044 */ sw $ra, 0x44($sp)
/* 32793C E000204C AFB60040 */ sw $s6, 0x40($sp)
/* 327940 E0002050 AFB5003C */ sw $s5, 0x3c($sp)
/* 327944 E0002054 AFB40038 */ sw $s4, 0x38($sp)
/* 327948 E0002058 AFB30034 */ sw $s3, 0x34($sp)
/* 32794C E000205C AFB20030 */ sw $s2, 0x30($sp)
/* 327950 E0002060 AFB1002C */ sw $s1, 0x2c($sp)
/* 327954 E0002064 AFB00028 */ sw $s0, 0x28($sp)
/* 327958 E0002068 F7B80058 */ sdc1 $f24, 0x58($sp)
/* 32795C E000206C F7B60050 */ sdc1 $f22, 0x50($sp)
/* 327960 E0002070 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 327964 E0002074 AFA00010 */ sw $zero, 0x10($sp)
/* 327968 E0002078 AFA00024 */ sw $zero, 0x24($sp)
/* 32796C E000207C 0C080124 */ jal func_E0200490
/* 327970 E0002080 AFA20014 */ sw $v0, 0x14($sp)
/* 327974 E0002084 240401B8 */ addiu $a0, $zero, 0x1b8
/* 327978 E0002088 2403000A */ addiu $v1, $zero, 0xa
/* 32797C E000208C 0040A82D */ daddu $s5, $v0, $zero
/* 327980 E0002090 0C08012C */ jal func_E02004B0
/* 327984 E0002094 AEA30008 */ sw $v1, 8($s5)
/* 327988 E0002098 0040882D */ daddu $s1, $v0, $zero
/* 32798C E000209C 16200003 */ bnez $s1, .LE00020AC
/* 327990 E00020A0 AEB1000C */ sw $s1, 0xc($s5)
.LE00020A4:
/* 327994 E00020A4 08000829 */ j .LE00020A4
/* 327998 E00020A8 00000000 */ nop
.LE00020AC:
/* 32799C E00020AC 8EA20008 */ lw $v0, 8($s5)
/* 3279A0 E00020B0 18400030 */ blez $v0, .LE0002174
/* 3279A4 E00020B4 0000902D */ daddu $s2, $zero, $zero
/* 3279A8 E00020B8 24160004 */ addiu $s6, $zero, 4
/* 3279AC E00020BC 3C0142B4 */ lui $at, 0x42b4
/* 3279B0 E00020C0 4481C000 */ mtc1 $at, $f24
/* 3279B4 E00020C4 26300024 */ addiu $s0, $s1, 0x24
/* 3279B8 E00020C8 3C14E000 */ lui $s4, %hi(D_E0002788)
/* 3279BC E00020CC 26942788 */ addiu $s4, $s4, %lo(D_E0002788)
/* 3279C0 E00020D0 3C13E000 */ lui $s3, %hi(D_E0002760)
/* 3279C4 E00020D4 26732760 */ addiu $s3, $s3, %lo(D_E0002760)
.LE00020D8:
/* 3279C8 E00020D8 24040006 */ addiu $a0, $zero, 6
/* 3279CC E00020DC 0C080000 */ jal func_E0200000
/* 3279D0 E00020E0 A6200000 */ sh $zero, ($s1)
/* 3279D4 E00020E4 24420010 */ addiu $v0, $v0, 0x10
/* 3279D8 E00020E8 A602FFE0 */ sh $v0, -0x20($s0)
/* 3279DC E00020EC A602FFDE */ sh $v0, -0x22($s0)
/* 3279E0 E00020F0 A616FFE2 */ sh $s6, -0x1e($s0)
/* 3279E4 E00020F4 AE00FFE4 */ sw $zero, -0x1c($s0)
/* 3279E8 E00020F8 E61AFFE8 */ swc1 $f26, -0x18($s0)
/* 3279EC E00020FC E61CFFEC */ swc1 $f28, -0x14($s0)
/* 3279F0 E0002100 E61EFFF0 */ swc1 $f30, -0x10($s0)
/* 3279F4 E0002104 AE00FFF4 */ sw $zero, -0xc($s0)
/* 3279F8 E0002108 AE00FFF8 */ sw $zero, -8($s0)
/* 3279FC E000210C C6760000 */ lwc1 $f22, ($s3)
/* 327A00 E0002110 C6940000 */ lwc1 $f20, ($s4)
/* 327A04 E0002114 4618B580 */ add.s $f22, $f22, $f24
/* 327A08 E0002118 4600A521 */ cvt.d.s $f20, $f20
/* 327A0C E000211C 4634A500 */ add.d $f20, $f20, $f20
/* 327A10 E0002120 4600B306 */ mov.s $f12, $f22
/* 327A14 E0002124 0C080140 */ jal func_E0200500
/* 327A18 E0002128 4620A520 */ cvt.s.d $f20, $f20
/* 327A1C E000212C 4600B306 */ mov.s $f12, $f22
/* 327A20 E0002130 0C080144 */ jal func_E0200510
/* 327A24 E0002134 46000586 */ mov.s $f22, $f0
/* 327A28 E0002138 4616A582 */ mul.s $f22, $f20, $f22
/* 327A2C E000213C 00000000 */ nop
/* 327A30 E0002140 26940004 */ addiu $s4, $s4, 4
/* 327A34 E0002144 4600A507 */ neg.s $f20, $f20
/* 327A38 E0002148 4600A502 */ mul.s $f20, $f20, $f0
/* 327A3C E000214C 00000000 */ nop
/* 327A40 E0002150 26730004 */ addiu $s3, $s3, 4
/* 327A44 E0002154 26520001 */ addiu $s2, $s2, 1
/* 327A48 E0002158 2631002C */ addiu $s1, $s1, 0x2c
/* 327A4C E000215C E616FFFC */ swc1 $f22, -4($s0)
/* 327A50 E0002160 E6140000 */ swc1 $f20, ($s0)
/* 327A54 E0002164 8EA20008 */ lw $v0, 8($s5)
/* 327A58 E0002168 0242102A */ slt $v0, $s2, $v0
/* 327A5C E000216C 1440FFDA */ bnez $v0, .LE00020D8
/* 327A60 E0002170 2610002C */ addiu $s0, $s0, 0x2c
.LE0002174:
/* 327A64 E0002174 8FBF0044 */ lw $ra, 0x44($sp)
/* 327A68 E0002178 8FB60040 */ lw $s6, 0x40($sp)
/* 327A6C E000217C 8FB5003C */ lw $s5, 0x3c($sp)
/* 327A70 E0002180 8FB40038 */ lw $s4, 0x38($sp)
/* 327A74 E0002184 8FB30034 */ lw $s3, 0x34($sp)
/* 327A78 E0002188 8FB20030 */ lw $s2, 0x30($sp)
/* 327A7C E000218C 8FB1002C */ lw $s1, 0x2c($sp)
/* 327A80 E0002190 8FB00028 */ lw $s0, 0x28($sp)
/* 327A84 E0002194 D7BE0070 */ ldc1 $f30, 0x70($sp)
/* 327A88 E0002198 D7BC0068 */ ldc1 $f28, 0x68($sp)
/* 327A8C E000219C D7BA0060 */ ldc1 $f26, 0x60($sp)
/* 327A90 E00021A0 D7B80058 */ ldc1 $f24, 0x58($sp)
/* 327A94 E00021A4 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 327A98 E00021A8 D7B40048 */ ldc1 $f20, 0x48($sp)
/* 327A9C E00021AC 03E00008 */ jr $ra
/* 327AA0 E00021B0 27BD0078 */ addiu $sp, $sp, 0x78

View File

@ -35,10 +35,10 @@ glabel func_E0014260
/* 32E760 E00142D0 C6000024 */ lwc1 $f0, 0x24($s0)
/* 32E764 E00142D4 3C014140 */ lui $at, 0x4140
/* 32E768 E00142D8 44816000 */ mtc1 $at, $f12
/* 32E76C E00142DC 0C08013C */ jal func_E02004F0
/* 32E76C E00142DC 0C08013C */ jal shim_clamp_angle
/* 32E770 E00142E0 460C0300 */ add.s $f12, $f0, $f12
/* 32E774 E00142E4 46000306 */ mov.s $f12, $f0
/* 32E778 E00142E8 0C080140 */ jal func_E0200500
/* 32E778 E00142E8 0C080140 */ jal shim_sin_deg
/* 32E77C E00142EC E60C0024 */ swc1 $f12, 0x24($s0)
/* 32E780 E00142F0 46000021 */ cvt.d.s $f0, $f0
/* 32E784 E00142F4 46340002 */ mul.d $f0, $f0, $f20
@ -48,7 +48,7 @@ glabel func_E0014260
/* 32E794 E0014304 46201080 */ add.d $f2, $f2, $f0
/* 32E798 E0014308 C60C0024 */ lwc1 $f12, 0x24($s0)
/* 32E79C E001430C 462010A0 */ cvt.s.d $f2, $f2
/* 32E7A0 E0014310 0C080144 */ jal func_E0200510
/* 32E7A0 E0014310 0C080144 */ jal shim_cos_deg
/* 32E7A4 E0014314 E6020010 */ swc1 $f2, 0x10($s0)
/* 32E7A8 E0014318 46000021 */ cvt.d.s $f0, $f0
/* 32E7AC E001431C 46340002 */ mul.d $f0, $f0, $f20
@ -140,7 +140,7 @@ glabel func_E0014260
.LE0014468:
/* 32E8F8 E0014468 16400003 */ bnez $s2, .LE0014478
/* 32E8FC E001446C 00000000 */ nop
/* 32E900 E0014470 0C080128 */ jal func_E02004A0
/* 32E900 E0014470 0C080128 */ jal shim_remove_effect
/* 32E904 E0014474 0280202D */ daddu $a0, $s4, $zero
.LE0014478:
/* 32E908 E0014478 8FBF0024 */ lw $ra, 0x24($sp)

View File

@ -11,7 +11,7 @@ glabel func_E001449C
/* 32E944 E00144B4 27A40010 */ addiu $a0, $sp, 0x10
/* 32E948 E00144B8 AFBF0020 */ sw $ra, 0x20($sp)
/* 32E94C E00144BC AFA00014 */ sw $zero, 0x14($sp)
/* 32E950 E00144C0 0C080120 */ jal func_E0200480
/* 32E950 E00144C0 0C080120 */ jal shim_queue_render_task
/* 32E954 E00144C4 AFA20010 */ sw $v0, 0x10($sp)
/* 32E958 E00144C8 8C430000 */ lw $v1, ($v0)
/* 32E95C E00144CC 34630002 */ ori $v1, $v1, 2

View File

@ -85,23 +85,23 @@ glabel func_E00144E0
/* 32EAAC E001461C E7A00018 */ swc1 $f0, 0x18($sp)
/* 32EAB0 E0014620 C600000C */ lwc1 $f0, 0xc($s0)
/* 32EAB4 E0014624 27A40020 */ addiu $a0, $sp, 0x20
/* 32EAB8 E0014628 0C080180 */ jal func_E0200600
/* 32EAB8 E0014628 0C080180 */ jal shim_guPositionF
/* 32EABC E001462C E7A0001C */ swc1 $f0, 0x1c($sp)
/* 32EAC0 E0014630 8E050010 */ lw $a1, 0x10($s0)
/* 32EAC4 E0014634 8E060014 */ lw $a2, 0x14($s0)
/* 32EAC8 E0014638 8E070018 */ lw $a3, 0x18($s0)
/* 32EACC E001463C 0C080110 */ jal func_E0200440
/* 32EACC E001463C 0C080110 */ jal shim_guScaleF
/* 32EAD0 E0014640 02A0202D */ daddu $a0, $s5, $zero
/* 32EAD4 E0014644 02A0202D */ daddu $a0, $s5, $zero
/* 32EAD8 E0014648 27A50020 */ addiu $a1, $sp, 0x20
/* 32EADC E001464C 0C080114 */ jal func_E0200450
/* 32EADC E001464C 0C080114 */ jal shim_guMtxCatF
/* 32EAE0 E0014650 00A0302D */ daddu $a2, $a1, $zero
/* 32EAE4 E0014654 27A40020 */ addiu $a0, $sp, 0x20
/* 32EAE8 E0014658 96E50000 */ lhu $a1, ($s7)
/* 32EAEC E001465C 8FC20000 */ lw $v0, ($fp)
/* 32EAF0 E0014660 00052980 */ sll $a1, $a1, 6
/* 32EAF4 E0014664 00B42821 */ addu $a1, $a1, $s4
/* 32EAF8 E0014668 0C080118 */ jal func_E0200460
/* 32EAF8 E0014668 0C080118 */ jal shim_guMtxF2L
/* 32EAFC E001466C 00452821 */ addu $a1, $v0, $a1
/* 32EB00 E0014670 3C077060 */ lui $a3, 0x7060
/* 32EB04 E0014674 34E71800 */ ori $a3, $a3, 0x1800

View File

@ -32,12 +32,12 @@ glabel fx_10_main
/* 32E4FC E001406C AFA7007C */ sw $a3, 0x7c($sp)
/* 32E500 E0014070 AFA00010 */ sw $zero, 0x10($sp)
/* 32E504 E0014074 AFA00024 */ sw $zero, 0x24($sp)
/* 32E508 E0014078 0C080124 */ jal func_E0200490
/* 32E508 E0014078 0C080124 */ jal shim_create_effect_instance
/* 32E50C E001407C AFA20014 */ sw $v0, 0x14($sp)
/* 32E510 E0014080 24040260 */ addiu $a0, $zero, 0x260
/* 32E514 E0014084 24140008 */ addiu $s4, $zero, 8
/* 32E518 E0014088 0040802D */ daddu $s0, $v0, $zero
/* 32E51C E001408C 0C08012C */ jal func_E02004B0
/* 32E51C E001408C 0C08012C */ jal shim_general_heap_malloc
/* 32E520 E0014090 AE140008 */ sw $s4, 8($s0)
/* 32E524 E0014094 0040882D */ daddu $s1, $v0, $zero
/* 32E528 E0014098 16200003 */ bnez $s1, .LE00140A8
@ -51,7 +51,7 @@ glabel fx_10_main
/* 32E540 E00140B0 00B42821 */ addu $a1, $a1, $s4
/* 32E544 E00140B4 00052880 */ sll $a1, $a1, 2
/* 32E548 E00140B8 00B42823 */ subu $a1, $a1, $s4
/* 32E54C E00140BC 0C080130 */ jal func_E02004C0
/* 32E54C E00140BC 0C080130 */ jal shim_mem_clear
/* 32E550 E00140C0 00052880 */ sll $a1, $a1, 2
/* 32E554 E00140C4 12800056 */ beqz $s4, .LE0014220
/* 32E558 E00140C8 0000902D */ daddu $s2, $zero, $zero
@ -73,7 +73,7 @@ glabel fx_10_main
/* 32E594 E0014104 E618FFD0 */ swc1 $f24, -0x30($s0)
/* 32E598 E0014108 E618FFD4 */ swc1 $f24, -0x2c($s0)
/* 32E59C E001410C E618FFD8 */ swc1 $f24, -0x28($s0)
/* 32E5A0 E0014110 0C080138 */ jal func_E02004E0
/* 32E5A0 E0014110 0C080138 */ jal shim_rand_int
/* 32E5A4 E0014114 A202FFC0 */ sb $v0, -0x40($s0)
/* 32E5A8 E0014118 44820000 */ mtc1 $v0, $f0
/* 32E5AC E001411C 00000000 */ nop
@ -87,7 +87,7 @@ glabel fx_10_main
/* 32E5CC E001413C 46220000 */ add.d $f0, $f0, $f2
/* 32E5D0 E0014140 2404000A */ addiu $a0, $zero, 0xa
/* 32E5D4 E0014144 46200020 */ cvt.s.d $f0, $f0
/* 32E5D8 E0014148 0C080138 */ jal func_E02004E0
/* 32E5D8 E0014148 0C080138 */ jal shim_rand_int
/* 32E5DC E001414C E600FFDC */ swc1 $f0, -0x24($s0)
/* 32E5E0 E0014150 44820000 */ mtc1 $v0, $f0
/* 32E5E4 E0014154 00000000 */ nop
@ -129,13 +129,13 @@ glabel fx_10_main
/* 32E674 E00141E4 E600FFEC */ swc1 $f0, -0x14($s0)
/* 32E678 E00141E8 E602FFF0 */ swc1 $f2, -0x10($s0)
/* 32E67C E00141EC E604FFF4 */ swc1 $f4, -0xc($s0)
/* 32E680 E00141F0 0C08013C */ jal func_E02004F0
/* 32E680 E00141F0 0C08013C */ jal shim_clamp_angle
/* 32E684 E00141F4 E606FFE8 */ swc1 $f6, -0x18($s0)
/* 32E688 E00141F8 46000506 */ mov.s $f20, $f0
/* 32E68C E00141FC 0C080140 */ jal func_E0200500
/* 32E68C E00141FC 0C080140 */ jal shim_sin_deg
/* 32E690 E0014200 4600A306 */ mov.s $f12, $f20
/* 32E694 E0014204 4600A306 */ mov.s $f12, $f20
/* 32E698 E0014208 0C080144 */ jal func_E0200510
/* 32E698 E0014208 0C080144 */ jal shim_cos_deg
/* 32E69C E001420C E600FFFC */ swc1 $f0, -4($s0)
/* 32E6A0 E0014210 E6000000 */ swc1 $f0, ($s0)
/* 32E6A4 E0014214 0254102A */ slt $v0, $s2, $s4

View File

@ -25,7 +25,7 @@ glabel func_E00C8220
/* 3CF608 E00C8268 24420001 */ addiu $v0, $v0, 1
/* 3CF60C E00C826C 04610005 */ bgez $v1, .LE00C8284
/* 3CF610 E00C8270 ACA2002C */ sw $v0, 0x2c($a1)
/* 3CF614 E00C8274 0C080128 */ jal func_E02004A0
/* 3CF614 E00C8274 0C080128 */ jal shim_remove_effect
/* 3CF618 E00C8278 00000000 */ nop
/* 3CF61C E00C827C 080320FE */ j .LE00C83F8
/* 3CF620 E00C8280 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00C8404
/* 3CF7C0 E00C8420 AFA40018 */ sw $a0, 0x18($sp)
/* 3CF7C4 E00C8424 27A40010 */ addiu $a0, $sp, 0x10
/* 3CF7C8 E00C8428 AFBF0020 */ sw $ra, 0x20($sp)
/* 3CF7CC E00C842C 0C080120 */ jal func_E0200480
/* 3CF7CC E00C842C 0C080120 */ jal shim_queue_render_task
/* 3CF7D0 E00C8430 AFA20010 */ sw $v0, 0x10($sp)
/* 3CF7D4 E00C8434 8C430000 */ lw $v1, ($v0)
/* 3CF7D8 E00C8438 34630002 */ ori $v1, $v1, 2

View File

@ -58,7 +58,7 @@ glabel func_E00C8454
/* 3CF8C8 E00C8528 02228821 */ addu $s1, $s1, $v0
/* 3CF8CC E00C852C 001188C0 */ sll $s1, $s1, 3
/* 3CF8D0 E00C8530 02238821 */ addu $s1, $s1, $v1
/* 3CF8D4 E00C8534 0C080108 */ jal func_E0200420
/* 3CF8D4 E00C8534 0C080108 */ jal shim_guTranslateF
/* 3CF8D8 E00C8538 4620A520 */ cvt.s.d $f20, $f20
/* 3CF8DC E00C853C C6400058 */ lwc1 $f0, 0x58($s2)
/* 3CF8E0 E00C8540 4600A002 */ mul.s $f0, $f20, $f0
@ -71,11 +71,11 @@ glabel func_E00C8454
/* 3CF8FC E00C855C 27B00058 */ addiu $s0, $sp, 0x58
/* 3CF900 E00C8560 4407A000 */ mfc1 $a3, $f20
/* 3CF904 E00C8564 44060000 */ mfc1 $a2, $f0
/* 3CF908 E00C8568 0C080110 */ jal func_E0200440
/* 3CF908 E00C8568 0C080110 */ jal shim_guScaleF
/* 3CF90C E00C856C 0200202D */ daddu $a0, $s0, $zero
/* 3CF910 E00C8570 0200202D */ daddu $a0, $s0, $zero
/* 3CF914 E00C8574 27A50018 */ addiu $a1, $sp, 0x18
/* 3CF918 E00C8578 0C080114 */ jal func_E0200450
/* 3CF918 E00C8578 0C080114 */ jal shim_guMtxCatF
/* 3CF91C E00C857C 00A0302D */ daddu $a2, $a1, $zero
/* 3CF920 E00C8580 3C013F80 */ lui $at, 0x3f80
/* 3CF924 E00C8584 44810000 */ mtc1 $at, $f0
@ -85,11 +85,11 @@ glabel func_E00C8454
/* 3CF934 E00C8594 0200202D */ daddu $a0, $s0, $zero
/* 3CF938 E00C8598 44060000 */ mfc1 $a2, $f0
/* 3CF93C E00C859C 8E450050 */ lw $a1, 0x50($s2)
/* 3CF940 E00C85A0 0C080104 */ jal func_E0200410
/* 3CF940 E00C85A0 0C080104 */ jal shim_guRotateF
/* 3CF944 E00C85A4 00C0382D */ daddu $a3, $a2, $zero
/* 3CF948 E00C85A8 0200202D */ daddu $a0, $s0, $zero
/* 3CF94C E00C85AC 27A50018 */ addiu $a1, $sp, 0x18
/* 3CF950 E00C85B0 0C080114 */ jal func_E0200450
/* 3CF950 E00C85B0 0C080114 */ jal shim_guMtxCatF
/* 3CF954 E00C85B4 00A0302D */ daddu $a2, $a1, $zero
/* 3CF958 E00C85B8 27A40018 */ addiu $a0, $sp, 0x18
/* 3CF95C E00C85BC 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -100,7 +100,7 @@ glabel func_E00C8454
/* 3CF970 E00C85D0 8E820000 */ lw $v0, ($s4)
/* 3CF974 E00C85D4 00052980 */ sll $a1, $a1, 6
/* 3CF978 E00C85D8 00B72821 */ addu $a1, $a1, $s7
/* 3CF97C E00C85DC 0C080118 */ jal func_E0200460
/* 3CF97C E00C85DC 0C080118 */ jal shim_guMtxF2L
/* 3CF980 E00C85E0 00452821 */ addu $a1, $v0, $a1
/* 3CF984 E00C85E4 3C03DA38 */ lui $v1, 0xda38
/* 3CF988 E00C85E8 34630002 */ ori $v1, $v1, 2

View File

@ -35,12 +35,12 @@ glabel fx_100_main
/* 3CF418 E00C8078 AFB00028 */ sw $s0, 0x28($sp)
/* 3CF41C E00C807C AFA00010 */ sw $zero, 0x10($sp)
/* 3CF420 E00C8080 AFA00024 */ sw $zero, 0x24($sp)
/* 3CF424 E00C8084 0C080124 */ jal func_E0200490
/* 3CF424 E00C8084 0C080124 */ jal shim_create_effect_instance
/* 3CF428 E00C8088 AFA20014 */ sw $v0, 0x14($sp)
/* 3CF42C E00C808C 2404006C */ addiu $a0, $zero, 0x6c
/* 3CF430 E00C8090 24030001 */ addiu $v1, $zero, 1
/* 3CF434 E00C8094 0040902D */ daddu $s2, $v0, $zero
/* 3CF438 E00C8098 0C08012C */ jal func_E02004B0
/* 3CF438 E00C8098 0C08012C */ jal shim_general_heap_malloc
/* 3CF43C E00C809C AE430008 */ sw $v1, 8($s2)
/* 3CF440 E00C80A0 0040802D */ daddu $s0, $v0, $zero
/* 3CF444 E00C80A4 16000003 */ bnez $s0, .LE00C80B4
@ -109,13 +109,13 @@ glabel fx_100_main
/* 3CF528 E00C8188 AE020034 */ sw $v0, 0x34($s0)
/* 3CF52C E00C818C 24020078 */ addiu $v0, $zero, 0x78
/* 3CF530 E00C8190 AE020038 */ sw $v0, 0x38($s0)
/* 3CF534 E00C8194 0C080138 */ jal func_E02004E0
/* 3CF534 E00C8194 0C080138 */ jal shim_rand_int
/* 3CF538 E00C8198 E6000040 */ swc1 $f0, 0x40($s0)
/* 3CF53C E00C819C 2404000A */ addiu $a0, $zero, 0xa
/* 3CF540 E00C81A0 44820000 */ mtc1 $v0, $f0
/* 3CF544 E00C81A4 00000000 */ nop
/* 3CF548 E00C81A8 46800020 */ cvt.s.w $f0, $f0
/* 3CF54C E00C81AC 0C080138 */ jal func_E02004E0
/* 3CF54C E00C81AC 0C080138 */ jal shim_rand_int
/* 3CF550 E00C81B0 E6000050 */ swc1 $f0, 0x50($s0)
/* 3CF554 E00C81B4 24430005 */ addiu $v1, $v0, 5
/* 3CF558 E00C81B8 0240102D */ daddu $v0, $s2, $zero

View File

@ -29,7 +29,7 @@ glabel func_E00CA248
/* 3D07A0 E00CA2A0 24420001 */ addiu $v0, $v0, 1
/* 3D07A4 E00CA2A4 04610005 */ bgez $v1, .LE00CA2BC
/* 3D07A8 E00CA2A8 AE020014 */ sw $v0, 0x14($s0)
/* 3D07AC E00CA2AC 0C080128 */ jal func_E02004A0
/* 3D07AC E00CA2AC 0C080128 */ jal shim_remove_effect
/* 3D07B0 E00CA2B0 00000000 */ nop
/* 3D07B4 E00CA2B4 0803291B */ j .LE00CA46C
/* 3D07B8 E00CA2B8 00000000 */ nop
@ -43,7 +43,7 @@ glabel func_E00CA248
/* 3D07D0 E00CA2D0 24020003 */ addiu $v0, $zero, 3
/* 3D07D4 E00CA2D4 14A20020 */ bne $a1, $v0, .LE00CA358
/* 3D07D8 E00CA2D8 3C028888 */ lui $v0, %hi(D_8887FFFB)
/* 3D07DC E00CA2DC 0C080138 */ jal func_E02004E0
/* 3D07DC E00CA2DC 0C080138 */ jal shim_rand_int
/* 3D07E0 E00CA2E0 2404000A */ addiu $a0, $zero, 0xa
/* 3D07E4 E00CA2E4 2442FFFB */ addiu $v0, $v0, %lo(D_8887FFFB)
/* 3D07E8 E00CA2E8 C6000044 */ lwc1 $f0, 0x44($s0)
@ -52,7 +52,7 @@ glabel func_E00CA248
/* 3D07F4 E00CA2F4 468010A0 */ cvt.s.w $f2, $f2
/* 3D07F8 E00CA2F8 46020000 */ add.s $f0, $f0, $f2
/* 3D07FC E00CA2FC 2404000A */ addiu $a0, $zero, 0xa
/* 3D0800 E00CA300 0C080138 */ jal func_E02004E0
/* 3D0800 E00CA300 0C080138 */ jal shim_rand_int
/* 3D0804 E00CA304 E6000044 */ swc1 $f0, 0x44($s0)
/* 3D0808 E00CA308 2442FFFB */ addiu $v0, $v0, -5
/* 3D080C E00CA30C 44820000 */ mtc1 $v0, $f0
@ -141,7 +141,7 @@ glabel func_E00CA248
/* 3D094C E00CA44C 00000000 */ nop
/* 3D0950 E00CA450 45010004 */ bc1t .LE00CA464
/* 3D0954 E00CA454 AE1101B8 */ sw $s1, 0x1b8($s0)
/* 3D0958 E00CA458 0C080154 */ jal func_E0200550
/* 3D0958 E00CA458 0C080154 */ jal shim_sqrtf
/* 3D095C E00CA45C 00000000 */ nop
/* 3D0960 E00CA460 46000306 */ mov.s $f12, $f0
.LE00CA464:

View File

@ -12,7 +12,7 @@ glabel func_E00CA484
/* 3D09A0 E00CA4A0 AFA40018 */ sw $a0, 0x18($sp)
/* 3D09A4 E00CA4A4 27A40010 */ addiu $a0, $sp, 0x10
/* 3D09A8 E00CA4A8 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D09AC E00CA4AC 0C080120 */ jal func_E0200480
/* 3D09AC E00CA4AC 0C080120 */ jal shim_queue_render_task
/* 3D09B0 E00CA4B0 AFA20010 */ sw $v0, 0x10($sp)
/* 3D09B4 E00CA4B4 8C430000 */ lw $v1, ($v0)
/* 3D09B8 E00CA4B8 34630002 */ ori $v1, $v1, 2

View File

@ -53,7 +53,7 @@ glabel func_E00CA4CC
/* 3D0A8C E00CA58C 8C62001C */ lw $v0, 0x1c($v1)
/* 3D0A90 E00CA590 3C038000 */ lui $v1, 0x8000
/* 3D0A94 E00CA594 00431021 */ addu $v0, $v0, $v1
/* 3D0A98 E00CA598 0C080108 */ jal func_E0200420
/* 3D0A98 E00CA598 0C080108 */ jal shim_guTranslateF
/* 3D0A9C E00CA59C AD020004 */ sw $v0, 4($t0)
/* 3D0AA0 E00CA5A0 27A40010 */ addiu $a0, $sp, 0x10
/* 3D0AA4 E00CA5A4 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -64,7 +64,7 @@ glabel func_E00CA4CC
/* 3D0AB8 E00CA5B8 8E220000 */ lw $v0, ($s1)
/* 3D0ABC E00CA5BC 00052980 */ sll $a1, $a1, 6
/* 3D0AC0 E00CA5C0 00B22821 */ addu $a1, $a1, $s2
/* 3D0AC4 E00CA5C4 0C080118 */ jal func_E0200460
/* 3D0AC4 E00CA5C4 0C080118 */ jal shim_guMtxF2L
/* 3D0AC8 E00CA5C8 00452821 */ addu $a1, $v0, $a1
/* 3D0ACC E00CA5CC 3C03DA38 */ lui $v1, 0xda38
/* 3D0AD0 E00CA5D0 34630002 */ ori $v1, $v1, 2
@ -212,7 +212,7 @@ glabel func_E00CA4CC
/* 3D0CF0 E00CA7F0 44856000 */ mtc1 $a1, $f12
/* 3D0CF4 E00CA7F4 00000000 */ nop
/* 3D0CF8 E00CA7F8 46806320 */ cvt.s.w $f12, $f12
/* 3D0CFC E00CA7FC 0C080140 */ jal func_E0200500
/* 3D0CFC E00CA7FC 0C080140 */ jal shim_sin_deg
/* 3D0D00 E00CA800 00829823 */ subu $s3, $a0, $v0
/* 3D0D04 E00CA804 3C01437F */ lui $at, 0x437f
/* 3D0D08 E00CA808 44811000 */ mtc1 $at, $f2
@ -249,7 +249,7 @@ glabel func_E00CA4CC
/* 3D0D7C E00CA87C C44E0050 */ lwc1 $f14, 0x50($v0)
/* 3D0D80 E00CA880 46000007 */ neg.s $f0, $f0
/* 3D0D84 E00CA884 44070000 */ mfc1 $a3, $f0
/* 3D0D88 E00CA888 0C080148 */ jal func_E0200520
/* 3D0D88 E00CA888 0C080148 */ jal shim_atan2
/* 3D0D8C E00CA88C 46007387 */ neg.s $f14, $f14
/* 3D0D90 E00CA890 08032A63 */ j .LE00CA98C
/* 3D0D94 E00CA894 46000787 */ neg.s $f30, $f0
@ -272,7 +272,7 @@ glabel func_E00CA4CC
/* 3D0DCC E00CA8CC C44E0050 */ lwc1 $f14, 0x50($v0)
/* 3D0DD0 E00CA8D0 46000007 */ neg.s $f0, $f0
/* 3D0DD4 E00CA8D4 44070000 */ mfc1 $a3, $f0
/* 3D0DD8 E00CA8D8 0C080148 */ jal func_E0200520
/* 3D0DD8 E00CA8D8 0C080148 */ jal shim_atan2
/* 3D0DDC E00CA8DC 46007387 */ neg.s $f14, $f14
/* 3D0DE0 E00CA8E0 00111080 */ sll $v0, $s1, 2
/* 3D0DE4 E00CA8E4 02C21021 */ addu $v0, $s6, $v0
@ -283,7 +283,7 @@ glabel func_E00CA4CC
/* 3D0DF8 E00CA8F8 C60E0050 */ lwc1 $f14, 0x50($s0)
/* 3D0DFC E00CA8FC 46000007 */ neg.s $f0, $f0
/* 3D0E00 E00CA900 44070000 */ mfc1 $a3, $f0
/* 3D0E04 E00CA904 0C080148 */ jal func_E0200520
/* 3D0E04 E00CA904 0C080148 */ jal shim_atan2
/* 3D0E08 E00CA908 46007387 */ neg.s $f14, $f14
/* 3D0E0C E00CA90C 46000307 */ neg.s $f12, $f0
/* 3D0E10 E00CA910 46146081 */ sub.s $f2, $f12, $f20
@ -336,7 +336,7 @@ glabel func_E00CA4CC
/* 3D0EBC E00CA9BC 44826000 */ mtc1 $v0, $f12
/* 3D0EC0 E00CA9C0 00000000 */ nop
/* 3D0EC4 E00CA9C4 46806320 */ cvt.s.w $f12, $f12
/* 3D0EC8 E00CA9C8 0C080140 */ jal func_E0200500
/* 3D0EC8 E00CA9C8 0C080140 */ jal shim_sin_deg
/* 3D0ECC E00CA9CC 01638823 */ subu $s1, $t3, $v1
/* 3D0ED0 E00CA9D0 3C014040 */ lui $at, 0x4040
/* 3D0ED4 E00CA9D4 44811000 */ mtc1 $at, $f2
@ -410,11 +410,11 @@ glabel func_E00CA4CC
/* 3D0FE4 E00CAAE4 0220802D */ daddu $s0, $s1, $zero
/* 3D0FE8 E00CAAE8 0220982D */ daddu $s3, $s1, $zero
.LE00CAAEC:
/* 3D0FEC E00CAAEC 0C080140 */ jal func_E0200500
/* 3D0FEC E00CAAEC 0C080140 */ jal shim_sin_deg
/* 3D0FF0 E00CAAF0 4600F306 */ mov.s $f12, $f30
/* 3D0FF4 E00CAAF4 4600B502 */ mul.s $f20, $f22, $f0
/* 3D0FF8 E00CAAF8 00000000 */ nop
/* 3D0FFC E00CAAFC 0C080144 */ jal func_E0200510
/* 3D0FFC E00CAAFC 0C080144 */ jal shim_cos_deg
/* 3D1000 E00CAB00 4600F306 */ mov.s $f12, $f30
/* 3D1004 E00CAB04 4600B002 */ mul.s $f0, $f22, $f0
/* 3D1008 E00CAB08 00000000 */ nop

View File

@ -29,12 +29,12 @@ glabel fx_101_main
/* 3D0560 E00CA060 AFB00028 */ sw $s0, 0x28($sp)
/* 3D0564 E00CA064 AFA00010 */ sw $zero, 0x10($sp)
/* 3D0568 E00CA068 AFA00024 */ sw $zero, 0x24($sp)
/* 3D056C E00CA06C 0C080124 */ jal func_E0200490
/* 3D056C E00CA06C 0C080124 */ jal shim_create_effect_instance
/* 3D0570 E00CA070 AFA20014 */ sw $v0, 0x14($sp)
/* 3D0574 E00CA074 24040324 */ addiu $a0, $zero, 0x324
/* 3D0578 E00CA078 24030001 */ addiu $v1, $zero, 1
/* 3D057C E00CA07C 0040902D */ daddu $s2, $v0, $zero
/* 3D0580 E00CA080 0C08012C */ jal func_E02004B0
/* 3D0580 E00CA080 0C08012C */ jal shim_general_heap_malloc
/* 3D0584 E00CA084 AE430008 */ sw $v1, 8($s2)
/* 3D0588 E00CA088 0040802D */ daddu $s0, $v0, $zero
/* 3D058C E00CA08C 16000003 */ bnez $s0, .LE00CA09C
@ -140,7 +140,7 @@ glabel fx_101_main
/* 3D06E4 E00CA1E4 E6180140 */ swc1 $f24, 0x140($s0)
/* 3D06E8 E00CA1E8 AE020230 */ sw $v0, 0x230($s0)
/* 3D06EC E00CA1EC AE0001B8 */ sw $zero, 0x1b8($s0)
/* 3D06F0 E00CA1F0 0C080138 */ jal func_E02004E0
/* 3D06F0 E00CA1F0 0C080138 */ jal shim_rand_int
/* 3D06F4 E00CA1F4 AE0002AC */ sw $zero, 0x2ac($s0)
/* 3D06F8 E00CA1F8 2443000A */ addiu $v1, $v0, 0xa
/* 3D06FC E00CA1FC 0240102D */ daddu $v0, $s2, $zero

View File

@ -41,7 +41,7 @@ glabel func_E00CC258
/* 3D1970 E00CC2E0 24420001 */ addiu $v0, $v0, 1
/* 3D1974 E00CC2E4 04610005 */ bgez $v1, .LE00CC2FC
/* 3D1978 E00CC2E8 AE420014 */ sw $v0, 0x14($s2)
/* 3D197C E00CC2EC 0C080128 */ jal func_E02004A0
/* 3D197C E00CC2EC 0C080128 */ jal shim_remove_effect
/* 3D1980 E00CC2F0 00000000 */ nop
/* 3D1984 E00CC2F4 0803324E */ j .LE00CC938
/* 3D1988 E00CC2F8 00000000 */ nop
@ -273,7 +273,7 @@ glabel LE00CC614_3D1CA4
/* 3D1CE4 E00CC654 44826000 */ mtc1 $v0, $f12
/* 3D1CE8 E00CC658 00000000 */ nop
/* 3D1CEC E00CC65C 46806320 */ cvt.s.w $f12, $f12
/* 3D1CF0 E00CC660 0C080144 */ jal func_E0200510
/* 3D1CF0 E00CC660 0C080144 */ jal shim_cos_deg
/* 3D1CF4 E00CC664 462005A0 */ cvt.s.d $f22, $f0
/* 3D1CF8 E00CC668 4616E081 */ sub.s $f2, $f28, $f22
/* 3D1CFC E00CC66C 3C014487 */ lui $at, 0x4487
@ -297,10 +297,10 @@ glabel LE00CC614_3D1CA4
/* 3D1D44 E00CC6B4 4680A521 */ cvt.d.w $f20, $f20
/* 3D1D48 E00CC6B8 4622A500 */ add.d $f20, $f20, $f2
/* 3D1D4C E00CC6BC 4620A520 */ cvt.s.d $f20, $f20
/* 3D1D50 E00CC6C0 0C080140 */ jal func_E0200500
/* 3D1D50 E00CC6C0 0C080140 */ jal shim_sin_deg
/* 3D1D54 E00CC6C4 4600A306 */ mov.s $f12, $f20
/* 3D1D58 E00CC6C8 4600A306 */ mov.s $f12, $f20
/* 3D1D5C E00CC6CC 0C080144 */ jal func_E0200510
/* 3D1D5C E00CC6CC 0C080144 */ jal shim_cos_deg
/* 3D1D60 E00CC6D0 46000506 */ mov.s $f20, $f0
/* 3D1D64 E00CC6D4 3C014170 */ lui $at, 0x4170
/* 3D1D68 E00CC6D8 44811000 */ mtc1 $at, $f2
@ -409,23 +409,23 @@ glabel LE00CC790_3D1E20
/* 3D1EF8 E00CC868 08033248 */ j LE00CC920_3D1FB0
/* 3D1EFC E00CC86C E6200478 */ swc1 $f0, 0x478($s1)
glabel LE00CC870_3D1F00
/* 3D1F00 E00CC870 0C080150 */ jal func_E0200540
/* 3D1F00 E00CC870 0C080150 */ jal shim_load_effect
/* 3D1F04 E00CC874 24040069 */ addiu $a0, $zero, 0x69
/* 3D1F08 E00CC878 E7BE0010 */ swc1 $f30, 0x10($sp)
/* 3D1F0C E00CC87C 8E2504DC */ lw $a1, 0x4dc($s1)
/* 3D1F10 E00CC880 4406F000 */ mfc1 $a2, $f30
/* 3D1F14 E00CC884 4407E000 */ mfc1 $a3, $f28
/* 3D1F18 E00CC888 0C080104 */ jal func_E0200410
/* 3D1F18 E00CC888 0C080104 */ jal shim_guRotateF
/* 3D1F1C E00CC88C 27A40018 */ addiu $a0, $sp, 0x18
/* 3D1F20 E00CC890 27B00058 */ addiu $s0, $sp, 0x58
/* 3D1F24 E00CC894 8E25002C */ lw $a1, 0x2c($s1)
/* 3D1F28 E00CC898 8E260090 */ lw $a2, 0x90($s1)
/* 3D1F2C E00CC89C 8E2700F4 */ lw $a3, 0xf4($s1)
/* 3D1F30 E00CC8A0 0C080108 */ jal func_E0200420
/* 3D1F30 E00CC8A0 0C080108 */ jal shim_guTranslateF
/* 3D1F34 E00CC8A4 0200202D */ daddu $a0, $s0, $zero
/* 3D1F38 E00CC8A8 0200202D */ daddu $a0, $s0, $zero
/* 3D1F3C E00CC8AC 27A50018 */ addiu $a1, $sp, 0x18
/* 3D1F40 E00CC8B0 0C080114 */ jal func_E0200450
/* 3D1F40 E00CC8B0 0C080114 */ jal shim_guMtxCatF
/* 3D1F44 E00CC8B4 00A0302D */ daddu $a2, $a1, $zero
/* 3D1F48 E00CC8B8 C6420004 */ lwc1 $f2, 4($s2)
/* 3D1F4C E00CC8BC C7A00048 */ lwc1 $f0, 0x48($sp)

View File

@ -12,7 +12,7 @@ glabel func_E00CC980
/* 3D202C E00CC99C AFA40018 */ sw $a0, 0x18($sp)
/* 3D2030 E00CC9A0 27A40010 */ addiu $a0, $sp, 0x10
/* 3D2034 E00CC9A4 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D2038 E00CC9A8 0C080120 */ jal func_E0200480
/* 3D2038 E00CC9A8 0C080120 */ jal shim_queue_render_task
/* 3D203C E00CC9AC AFA20010 */ sw $v0, 0x10($sp)
/* 3D2040 E00CC9B0 8C430000 */ lw $v1, ($v0)
/* 3D2044 E00CC9B4 34630002 */ ori $v1, $v1, 2

View File

@ -71,23 +71,23 @@ glabel func_E00CC9D0
/* 3D2168 E00CCAD8 00431021 */ addu $v0, $v0, $v1
/* 3D216C E00CCADC 000210C0 */ sll $v0, $v0, 3
/* 3D2170 E00CCAE0 00481021 */ addu $v0, $v0, $t0
/* 3D2174 E00CCAE4 0C080108 */ jal func_E0200420
/* 3D2174 E00CCAE4 0C080108 */ jal shim_guTranslateF
/* 3D2178 E00CCAE8 AFA20098 */ sw $v0, 0x98($sp)
/* 3D217C E00CCAEC 8E450028 */ lw $a1, 0x28($s2)
/* 3D2180 E00CCAF0 0260202D */ daddu $a0, $s3, $zero
/* 3D2184 E00CCAF4 00A0302D */ daddu $a2, $a1, $zero
/* 3D2188 E00CCAF8 0C080110 */ jal func_E0200440
/* 3D2188 E00CCAF8 0C080110 */ jal shim_guScaleF
/* 3D218C E00CCAFC 00A0382D */ daddu $a3, $a1, $zero
/* 3D2190 E00CCB00 0260202D */ daddu $a0, $s3, $zero
/* 3D2194 E00CCB04 27A50018 */ addiu $a1, $sp, 0x18
/* 3D2198 E00CCB08 0C080114 */ jal func_E0200450
/* 3D2198 E00CCB08 0C080114 */ jal shim_guMtxCatF
/* 3D219C E00CCB0C 00A0302D */ daddu $a2, $a1, $zero
/* 3D21A0 E00CCB10 27A40018 */ addiu $a0, $sp, 0x18
/* 3D21A4 E00CCB14 96A50000 */ lhu $a1, ($s5)
/* 3D21A8 E00CCB18 8FC20000 */ lw $v0, ($fp)
/* 3D21AC E00CCB1C 00052980 */ sll $a1, $a1, 6
/* 3D21B0 E00CCB20 00B12821 */ addu $a1, $a1, $s1
/* 3D21B4 E00CCB24 0C080118 */ jal func_E0200460
/* 3D21B4 E00CCB24 0C080118 */ jal shim_guMtxF2L
/* 3D21B8 E00CCB28 00452821 */ addu $a1, $v0, $a1
/* 3D21BC E00CCB2C 3C03DA38 */ lui $v1, 0xda38
/* 3D21C0 E00CCB30 34630002 */ ori $v1, $v1, 2
@ -143,16 +143,16 @@ glabel func_E00CC9D0
/* 3D2284 E00CCBF4 8E4504DC */ lw $a1, 0x4dc($s2)
/* 3D2288 E00CCBF8 4406A000 */ mfc1 $a2, $f20
/* 3D228C E00CCBFC 4407B000 */ mfc1 $a3, $f22
/* 3D2290 E00CCC00 0C080104 */ jal func_E0200410
/* 3D2290 E00CCC00 0C080104 */ jal shim_guRotateF
/* 3D2294 E00CCC04 27A40018 */ addiu $a0, $sp, 0x18
/* 3D2298 E00CCC08 8E45002C */ lw $a1, 0x2c($s2)
/* 3D229C E00CCC0C 8E460090 */ lw $a2, 0x90($s2)
/* 3D22A0 E00CCC10 8E4700F4 */ lw $a3, 0xf4($s2)
/* 3D22A4 E00CCC14 0C080108 */ jal func_E0200420
/* 3D22A4 E00CCC14 0C080108 */ jal shim_guTranslateF
/* 3D22A8 E00CCC18 0260202D */ daddu $a0, $s3, $zero
/* 3D22AC E00CCC1C 0260202D */ daddu $a0, $s3, $zero
/* 3D22B0 E00CCC20 27A50018 */ addiu $a1, $sp, 0x18
/* 3D22B4 E00CCC24 0C080114 */ jal func_E0200450
/* 3D22B4 E00CCC24 0C080114 */ jal shim_guMtxCatF
/* 3D22B8 E00CCC28 00A0302D */ daddu $a2, $a1, $zero
/* 3D22BC E00CCC2C 4406A000 */ mfc1 $a2, $f20
/* 3D22C0 E00CCC30 C64004DC */ lwc1 $f0, 0x4dc($s2)
@ -160,37 +160,37 @@ glabel func_E00CC9D0
/* 3D22C8 E00CCC38 46000007 */ neg.s $f0, $f0
/* 3D22CC E00CCC3C 44050000 */ mfc1 $a1, $f0
/* 3D22D0 E00CCC40 0260202D */ daddu $a0, $s3, $zero
/* 3D22D4 E00CCC44 0C080104 */ jal func_E0200410
/* 3D22D4 E00CCC44 0C080104 */ jal shim_guRotateF
/* 3D22D8 E00CCC48 E7B40010 */ swc1 $f20, 0x10($sp)
/* 3D22DC E00CCC4C 0260202D */ daddu $a0, $s3, $zero
/* 3D22E0 E00CCC50 27A50018 */ addiu $a1, $sp, 0x18
/* 3D22E4 E00CCC54 0C080114 */ jal func_E0200450
/* 3D22E4 E00CCC54 0C080114 */ jal shim_guMtxCatF
/* 3D22E8 E00CCC58 00A0302D */ daddu $a2, $a1, $zero
/* 3D22EC E00CCC5C E7B60010 */ swc1 $f22, 0x10($sp)
/* 3D22F0 E00CCC60 8E450478 */ lw $a1, 0x478($s2)
/* 3D22F4 E00CCC64 4406A000 */ mfc1 $a2, $f20
/* 3D22F8 E00CCC68 4407A000 */ mfc1 $a3, $f20
/* 3D22FC E00CCC6C 0C080104 */ jal func_E0200410
/* 3D22FC E00CCC6C 0C080104 */ jal shim_guRotateF
/* 3D2300 E00CCC70 0260202D */ daddu $a0, $s3, $zero
/* 3D2304 E00CCC74 0260202D */ daddu $a0, $s3, $zero
/* 3D2308 E00CCC78 27A50018 */ addiu $a1, $sp, 0x18
/* 3D230C E00CCC7C 0C080114 */ jal func_E0200450
/* 3D230C E00CCC7C 0C080114 */ jal shim_guMtxCatF
/* 3D2310 E00CCC80 00A0302D */ daddu $a2, $a1, $zero
/* 3D2314 E00CCC84 8E4503B0 */ lw $a1, 0x3b0($s2)
/* 3D2318 E00CCC88 8E460414 */ lw $a2, 0x414($s2)
/* 3D231C E00CCC8C 4407B000 */ mfc1 $a3, $f22
/* 3D2320 E00CCC90 0C080110 */ jal func_E0200440
/* 3D2320 E00CCC90 0C080110 */ jal shim_guScaleF
/* 3D2324 E00CCC94 0260202D */ daddu $a0, $s3, $zero
/* 3D2328 E00CCC98 0260202D */ daddu $a0, $s3, $zero
/* 3D232C E00CCC9C 27A50018 */ addiu $a1, $sp, 0x18
/* 3D2330 E00CCCA0 0C080114 */ jal func_E0200450
/* 3D2330 E00CCCA0 0C080114 */ jal shim_guMtxCatF
/* 3D2334 E00CCCA4 00A0302D */ daddu $a2, $a1, $zero
/* 3D2338 E00CCCA8 27A40018 */ addiu $a0, $sp, 0x18
/* 3D233C E00CCCAC 96A50000 */ lhu $a1, ($s5)
/* 3D2340 E00CCCB0 8FC20000 */ lw $v0, ($fp)
/* 3D2344 E00CCCB4 00052980 */ sll $a1, $a1, 6
/* 3D2348 E00CCCB8 00B72821 */ addu $a1, $a1, $s7
/* 3D234C E00CCCBC 0C080118 */ jal func_E0200460
/* 3D234C E00CCCBC 0C080118 */ jal shim_guMtxF2L
/* 3D2350 E00CCCC0 00452821 */ addu $a1, $v0, $a1
/* 3D2354 E00CCCC4 3C06DA38 */ lui $a2, 0xda38
/* 3D2358 E00CCCC8 34C60001 */ ori $a2, $a2, 1

View File

@ -33,12 +33,12 @@ glabel fx_102_main
/* 3D1700 E00CC070 F7B80058 */ sdc1 $f24, 0x58($sp)
/* 3D1704 E00CC074 AFA00010 */ sw $zero, 0x10($sp)
/* 3D1708 E00CC078 AFA00024 */ sw $zero, 0x24($sp)
/* 3D170C E00CC07C 0C080124 */ jal func_E0200490
/* 3D170C E00CC07C 0C080124 */ jal shim_create_effect_instance
/* 3D1710 E00CC080 AFA20014 */ sw $v0, 0x14($sp)
/* 3D1714 E00CC084 24040798 */ addiu $a0, $zero, 0x798
/* 3D1718 E00CC088 24030001 */ addiu $v1, $zero, 1
/* 3D171C E00CC08C 0040A02D */ daddu $s4, $v0, $zero
/* 3D1720 E00CC090 0C08012C */ jal func_E02004B0
/* 3D1720 E00CC090 0C08012C */ jal shim_general_heap_malloc
/* 3D1724 E00CC094 AE830008 */ sw $v1, 8($s4)
/* 3D1728 E00CC098 0040182D */ daddu $v1, $v0, $zero
/* 3D172C E00CC09C 14600003 */ bnez $v1, .LE00CC0AC
@ -88,13 +88,13 @@ glabel fx_102_main
/* 3D17C8 E00CC138 4482A000 */ mtc1 $v0, $f20
/* 3D17CC E00CC13C 00000000 */ nop
/* 3D17D0 E00CC140 4680A520 */ cvt.s.w $f20, $f20
/* 3D17D4 E00CC144 0C080140 */ jal func_E0200500
/* 3D17D4 E00CC144 0C080140 */ jal shim_sin_deg
/* 3D17D8 E00CC148 4600A306 */ mov.s $f12, $f20
/* 3D17DC E00CC14C 4600A306 */ mov.s $f12, $f20
/* 3D17E0 E00CC150 0C080144 */ jal func_E0200510
/* 3D17E0 E00CC150 0C080144 */ jal shim_cos_deg
/* 3D17E4 E00CC154 46000506 */ mov.s $f20, $f0
/* 3D17E8 E00CC158 24040167 */ addiu $a0, $zero, 0x167
/* 3D17EC E00CC15C 0C080138 */ jal func_E02004E0
/* 3D17EC E00CC15C 0C080138 */ jal shim_rand_int
/* 3D17F0 E00CC160 46000586 */ mov.s $f22, $f0
/* 3D17F4 E00CC164 461AA082 */ mul.s $f2, $f20, $f26
/* 3D17F8 E00CC168 00000000 */ nop

View File

@ -25,7 +25,7 @@ glabel func_E00CE224
/* 3D2D2C E00CE26C 24460001 */ addiu $a2, $v0, 1
/* 3D2D30 E00CE270 04610005 */ bgez $v1, .LE00CE288
/* 3D2D34 E00CE274 ACA60014 */ sw $a2, 0x14($a1)
/* 3D2D38 E00CE278 0C080128 */ jal func_E02004A0
/* 3D2D38 E00CE278 0C080128 */ jal shim_remove_effect
/* 3D2D3C E00CE27C 00000000 */ nop
/* 3D2D40 E00CE280 08033907 */ j .LE00CE41C
/* 3D2D44 E00CE284 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00CE428
/* 3D2F04 E00CE444 AFA40018 */ sw $a0, 0x18($sp)
/* 3D2F08 E00CE448 27A40010 */ addiu $a0, $sp, 0x10
/* 3D2F0C E00CE44C AFBF0020 */ sw $ra, 0x20($sp)
/* 3D2F10 E00CE450 0C080120 */ jal func_E0200480
/* 3D2F10 E00CE450 0C080120 */ jal shim_queue_render_task
/* 3D2F14 E00CE454 AFA20010 */ sw $v0, 0x10($sp)
/* 3D2F18 E00CE458 8C430000 */ lw $v1, ($v0)
/* 3D2F1C E00CE45C 34630002 */ ori $v1, $v1, 2

View File

@ -71,7 +71,7 @@ glabel func_E00CE478
/* 3D3040 E00CE580 E7A600B0 */ swc1 $f6, 0xb0($sp)
/* 3D3044 E00CE584 4600118D */ trunc.w.s $f6, $f2
/* 3D3048 E00CE588 E7A600B4 */ swc1 $f6, 0xb4($sp)
/* 3D304C E00CE58C 0C080108 */ jal func_E0200420
/* 3D304C E00CE58C 0C080108 */ jal shim_guTranslateF
/* 3D3050 E00CE590 00A0382D */ daddu $a3, $a1, $zero
/* 3D3054 E00CE594 27A40020 */ addiu $a0, $sp, 0x20
/* 3D3058 E00CE598 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -82,7 +82,7 @@ glabel func_E00CE478
/* 3D306C E00CE5AC 8E420000 */ lw $v0, ($s2)
/* 3D3070 E00CE5B0 00052980 */ sll $a1, $a1, 6
/* 3D3074 E00CE5B4 00B32821 */ addu $a1, $a1, $s3
/* 3D3078 E00CE5B8 0C080118 */ jal func_E0200460
/* 3D3078 E00CE5B8 0C080118 */ jal shim_guMtxF2L
/* 3D307C E00CE5BC 00452821 */ addu $a1, $v0, $a1
/* 3D3080 E00CE5C0 3C03DA38 */ lui $v1, 0xda38
/* 3D3084 E00CE5C4 34630002 */ ori $v1, $v1, 2
@ -121,7 +121,7 @@ glabel func_E00CE478
/* 3D3104 E00CE644 4680A520 */ cvt.s.w $f20, $f20
/* 3D3108 E00CE648 8FAC00AC */ lw $t4, 0xac($sp)
/* 3D310C E00CE64C 4600A306 */ mov.s $f12, $f20
/* 3D3110 E00CE650 0C080144 */ jal func_E0200510
/* 3D3110 E00CE650 0C080144 */ jal shim_cos_deg
/* 3D3114 E00CE654 01828021 */ addu $s0, $t4, $v0
/* 3D3118 E00CE658 46160002 */ mul.s $f0, $f0, $f22
/* 3D311C E00CE65C 00000000 */ nop
@ -130,7 +130,7 @@ glabel func_E00CE478
/* 3D3128 E00CE668 A6000002 */ sh $zero, 2($s0)
/* 3D312C E00CE66C 4600018D */ trunc.w.s $f6, $f0
/* 3D3130 E00CE670 44023000 */ mfc1 $v0, $f6
/* 3D3134 E00CE674 0C080140 */ jal func_E0200500
/* 3D3134 E00CE674 0C080140 */ jal shim_sin_deg
/* 3D3138 E00CE678 A6020000 */ sh $v0, ($s0)
/* 3D313C E00CE67C 46160002 */ mul.s $f0, $f0, $f22
/* 3D3140 E00CE680 00000000 */ nop
@ -140,7 +140,7 @@ glabel func_E00CE478
/* 3D3150 E00CE690 A600000A */ sh $zero, 0xa($s0)
/* 3D3154 E00CE694 4600018D */ trunc.w.s $f6, $f0
/* 3D3158 E00CE698 44023000 */ mfc1 $v0, $f6
/* 3D315C E00CE69C 0C080144 */ jal func_E0200510
/* 3D315C E00CE69C 0C080144 */ jal shim_cos_deg
/* 3D3160 E00CE6A0 A6020004 */ sh $v0, 4($s0)
/* 3D3164 E00CE6A4 46160002 */ mul.s $f0, $f0, $f22
/* 3D3168 E00CE6A8 00000000 */ nop
@ -151,7 +151,7 @@ glabel func_E00CE478
/* 3D317C E00CE6BC A6000002 */ sh $zero, 2($s0)
/* 3D3180 E00CE6C0 4600018D */ trunc.w.s $f6, $f0
/* 3D3184 E00CE6C4 44023000 */ mfc1 $v0, $f6
/* 3D3188 E00CE6C8 0C080140 */ jal func_E0200500
/* 3D3188 E00CE6C8 0C080140 */ jal shim_sin_deg
/* 3D318C E00CE6CC A6020000 */ sh $v0, ($s0)
/* 3D3190 E00CE6D0 46160002 */ mul.s $f0, $f0, $f22
/* 3D3194 E00CE6D4 00000000 */ nop
@ -236,7 +236,7 @@ glabel func_E00CE478
/* 3D32CC E00CE80C AC620000 */ sw $v0, ($v1)
/* 3D32D0 E00CE810 AC600004 */ sw $zero, 4($v1)
/* 3D32D4 E00CE814 00A0302D */ daddu $a2, $a1, $zero
/* 3D32D8 E00CE818 0C080110 */ jal func_E0200440
/* 3D32D8 E00CE818 0C080110 */ jal shim_guScaleF
/* 3D32DC E00CE81C 00A0382D */ daddu $a3, $a1, $zero
/* 3D32E0 E00CE820 27A40020 */ addiu $a0, $sp, 0x20
/* 3D32E4 E00CE824 96E50000 */ lhu $a1, ($s7)
@ -244,7 +244,7 @@ glabel func_E00CE478
/* 3D32EC E00CE82C 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3D32F0 E00CE830 00052980 */ sll $a1, $a1, 6
/* 3D32F4 E00CE834 00B02821 */ addu $a1, $a1, $s0
/* 3D32F8 E00CE838 0C080118 */ jal func_E0200460
/* 3D32F8 E00CE838 0C080118 */ jal shim_guMtxF2L
/* 3D32FC E00CE83C 00452821 */ addu $a1, $v0, $a1
/* 3D3300 E00CE840 8EA20000 */ lw $v0, ($s5)
/* 3D3304 E00CE844 3C014120 */ lui $at, 0x4120
@ -292,7 +292,7 @@ glabel func_E00CE478
/* 3D33A8 E00CE8E8 4406F000 */ mfc1 $a2, $f30
/* 3D33AC E00CE8EC E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3D33B0 E00CE8F0 8E470118 */ lw $a3, 0x118($s2)
/* 3D33B4 E00CE8F4 0C080180 */ jal func_E0200600
/* 3D33B4 E00CE8F4 0C080180 */ jal shim_guPositionF
/* 3D33B8 E00CE8F8 27A40020 */ addiu $a0, $sp, 0x20
/* 3D33BC E00CE8FC 02940018 */ mult $s4, $s4
/* 3D33C0 E00CE900 00006012 */ mflo $t4
@ -309,11 +309,11 @@ glabel func_E00CE478
/* 3D33EC E00CE92C 3421CCCD */ ori $at, $at, 0xcccd
/* 3D33F0 E00CE930 44810000 */ mtc1 $at, $f0
/* 3D33F4 E00CE934 0260202D */ daddu $a0, $s3, $zero
/* 3D33F8 E00CE938 0C080104 */ jal func_E0200410
/* 3D33F8 E00CE938 0C080104 */ jal shim_guRotateF
/* 3D33FC E00CE93C E7A00010 */ swc1 $f0, 0x10($sp)
/* 3D3400 E00CE940 0260202D */ daddu $a0, $s3, $zero
/* 3D3404 E00CE944 27A50020 */ addiu $a1, $sp, 0x20
/* 3D3408 E00CE948 0C080114 */ jal func_E0200450
/* 3D3408 E00CE948 0C080114 */ jal shim_guMtxCatF
/* 3D340C E00CE94C 00A0302D */ daddu $a2, $a1, $zero
/* 3D3410 E00CE950 C6400098 */ lwc1 $f0, 0x98($s2)
/* 3D3414 E00CE954 8FAC00A0 */ lw $t4, 0xa0($sp)
@ -338,32 +338,32 @@ glabel func_E00CE478
/* 3D345C E00CE99C 0260202D */ daddu $a0, $s3, $zero
/* 3D3460 E00CE9A0 44052000 */ mfc1 $a1, $f4
/* 3D3464 E00CE9A4 8FA600B8 */ lw $a2, 0xb8($sp)
/* 3D3468 E00CE9A8 0C080110 */ jal func_E0200440
/* 3D3468 E00CE9A8 0C080110 */ jal shim_guScaleF
/* 3D346C E00CE9AC 00A0382D */ daddu $a3, $a1, $zero
/* 3D3470 E00CE9B0 0260202D */ daddu $a0, $s3, $zero
/* 3D3474 E00CE9B4 27A50020 */ addiu $a1, $sp, 0x20
/* 3D3478 E00CE9B8 0C080114 */ jal func_E0200450
/* 3D3478 E00CE9B8 0C080114 */ jal shim_guMtxCatF
/* 3D347C E00CE9BC 00A0302D */ daddu $a2, $a1, $zero
/* 3D3480 E00CE9C0 C65400F8 */ lwc1 $f20, 0xf8($s2)
/* 3D3484 E00CE9C4 461AA502 */ mul.s $f20, $f20, $f26
/* 3D3488 E00CE9C8 00000000 */ nop
/* 3D348C E00CE9CC C65600B8 */ lwc1 $f22, 0xb8($s2)
/* 3D3490 E00CE9D0 0C080140 */ jal func_E0200500
/* 3D3490 E00CE9D0 0C080140 */ jal shim_sin_deg
/* 3D3494 E00CE9D4 4600B306 */ mov.s $f12, $f22
/* 3D3498 E00CE9D8 4600A602 */ mul.s $f24, $f20, $f0
/* 3D349C E00CE9DC 00000000 */ nop
/* 3D34A0 E00CE9E0 0C080144 */ jal func_E0200510
/* 3D34A0 E00CE9E0 0C080144 */ jal shim_cos_deg
/* 3D34A4 E00CE9E4 4600B306 */ mov.s $f12, $f22
/* 3D34A8 E00CE9E8 4600A502 */ mul.s $f20, $f20, $f0
/* 3D34AC E00CE9EC 00000000 */ nop
/* 3D34B0 E00CE9F0 4406F000 */ mfc1 $a2, $f30
/* 3D34B4 E00CE9F4 4407A000 */ mfc1 $a3, $f20
/* 3D34B8 E00CE9F8 4405C000 */ mfc1 $a1, $f24
/* 3D34BC E00CE9FC 0C080108 */ jal func_E0200420
/* 3D34BC E00CE9FC 0C080108 */ jal shim_guTranslateF
/* 3D34C0 E00CEA00 0260202D */ daddu $a0, $s3, $zero
/* 3D34C4 E00CEA04 0260202D */ daddu $a0, $s3, $zero
/* 3D34C8 E00CEA08 27A50020 */ addiu $a1, $sp, 0x20
/* 3D34CC E00CEA0C 0C080114 */ jal func_E0200450
/* 3D34CC E00CEA0C 0C080114 */ jal shim_guMtxCatF
/* 3D34D0 E00CEA10 00A0302D */ daddu $a2, $a1, $zero
/* 3D34D4 E00CEA14 27A40020 */ addiu $a0, $sp, 0x20
/* 3D34D8 E00CEA18 96E50000 */ lhu $a1, ($s7)
@ -371,7 +371,7 @@ glabel func_E00CE478
/* 3D34E0 E00CEA20 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3D34E4 E00CEA24 00052980 */ sll $a1, $a1, 6
/* 3D34E8 E00CEA28 00BE2821 */ addu $a1, $a1, $fp
/* 3D34EC E00CEA2C 0C080118 */ jal func_E0200460
/* 3D34EC E00CEA2C 0C080118 */ jal shim_guMtxF2L
/* 3D34F0 E00CEA30 00452821 */ addu $a1, $v0, $a1
/* 3D34F4 E00CEA34 3C050101 */ lui $a1, 0x101
/* 3D34F8 E00CEA38 34A50020 */ ori $a1, $a1, 0x20
@ -423,7 +423,7 @@ glabel func_E00CE478
/* 3D35B0 E00CEAF0 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3D35B4 E00CEAF4 8E070118 */ lw $a3, 0x118($s0)
/* 3D35B8 E00CEAF8 25080010 */ addiu $t0, $t0, 0x10
/* 3D35BC E00CEAFC 0C080180 */ jal func_E0200600
/* 3D35BC E00CEAFC 0C080180 */ jal shim_guPositionF
/* 3D35C0 E00CEB00 AEA80000 */ sw $t0, ($s5)
/* 3D35C4 E00CEB04 C6C00138 */ lwc1 $f0, 0x138($s6)
/* 3D35C8 E00CEB08 461C0000 */ add.s $f0, $f0, $f28
@ -432,11 +432,11 @@ glabel func_E00CE478
/* 3D35D4 E00CEB14 3C073F80 */ lui $a3, 0x3f80
/* 3D35D8 E00CEB18 44050000 */ mfc1 $a1, $f0
/* 3D35DC E00CEB1C 0260202D */ daddu $a0, $s3, $zero
/* 3D35E0 E00CEB20 0C080104 */ jal func_E0200410
/* 3D35E0 E00CEB20 0C080104 */ jal shim_guRotateF
/* 3D35E4 E00CEB24 E7BE0010 */ swc1 $f30, 0x10($sp)
/* 3D35E8 E00CEB28 0260202D */ daddu $a0, $s3, $zero
/* 3D35EC E00CEB2C 27A50020 */ addiu $a1, $sp, 0x20
/* 3D35F0 E00CEB30 0C080114 */ jal func_E0200450
/* 3D35F0 E00CEB30 0C080114 */ jal shim_guMtxCatF
/* 3D35F4 E00CEB34 00A0302D */ daddu $a2, $a1, $zero
/* 3D35F8 E00CEB38 C6000098 */ lwc1 $f0, 0x98($s0)
/* 3D35FC E00CEB3C C7A600B8 */ lwc1 $f6, 0xb8($sp)
@ -445,31 +445,31 @@ glabel func_E00CE478
/* 3D3608 E00CEB48 0260202D */ daddu $a0, $s3, $zero
/* 3D360C E00CEB4C 44050000 */ mfc1 $a1, $f0
/* 3D3610 E00CEB50 44063000 */ mfc1 $a2, $f6
/* 3D3614 E00CEB54 0C080110 */ jal func_E0200440
/* 3D3614 E00CEB54 0C080110 */ jal shim_guScaleF
/* 3D3618 E00CEB58 00A0382D */ daddu $a3, $a1, $zero
/* 3D361C E00CEB5C 0260202D */ daddu $a0, $s3, $zero
/* 3D3620 E00CEB60 27A50020 */ addiu $a1, $sp, 0x20
/* 3D3624 E00CEB64 0C080114 */ jal func_E0200450
/* 3D3624 E00CEB64 0C080114 */ jal shim_guMtxCatF
/* 3D3628 E00CEB68 00A0302D */ daddu $a2, $a1, $zero
/* 3D362C E00CEB6C C65400F8 */ lwc1 $f20, 0xf8($s2)
/* 3D3630 E00CEB70 461AA502 */ mul.s $f20, $f20, $f26
/* 3D3634 E00CEB74 00000000 */ nop
/* 3D3638 E00CEB78 0C080140 */ jal func_E0200500
/* 3D3638 E00CEB78 0C080140 */ jal shim_sin_deg
/* 3D363C E00CEB7C C64C00B8 */ lwc1 $f12, 0xb8($s2)
/* 3D3640 E00CEB80 4600A582 */ mul.s $f22, $f20, $f0
/* 3D3644 E00CEB84 00000000 */ nop
/* 3D3648 E00CEB88 0C080144 */ jal func_E0200510
/* 3D3648 E00CEB88 0C080144 */ jal shim_cos_deg
/* 3D364C E00CEB8C C64C00B8 */ lwc1 $f12, 0xb8($s2)
/* 3D3650 E00CEB90 4600A502 */ mul.s $f20, $f20, $f0
/* 3D3654 E00CEB94 00000000 */ nop
/* 3D3658 E00CEB98 4406F000 */ mfc1 $a2, $f30
/* 3D365C E00CEB9C 4407A000 */ mfc1 $a3, $f20
/* 3D3660 E00CEBA0 4405B000 */ mfc1 $a1, $f22
/* 3D3664 E00CEBA4 0C080108 */ jal func_E0200420
/* 3D3664 E00CEBA4 0C080108 */ jal shim_guTranslateF
/* 3D3668 E00CEBA8 0260202D */ daddu $a0, $s3, $zero
/* 3D366C E00CEBAC 0260202D */ daddu $a0, $s3, $zero
/* 3D3670 E00CEBB0 27A50020 */ addiu $a1, $sp, 0x20
/* 3D3674 E00CEBB4 0C080114 */ jal func_E0200450
/* 3D3674 E00CEBB4 0C080114 */ jal shim_guMtxCatF
/* 3D3678 E00CEBB8 00A0302D */ daddu $a2, $a1, $zero
/* 3D367C E00CEBBC 27A40020 */ addiu $a0, $sp, 0x20
/* 3D3680 E00CEBC0 96E50000 */ lhu $a1, ($s7)
@ -477,7 +477,7 @@ glabel func_E00CE478
/* 3D3688 E00CEBC8 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3D368C E00CEBCC 00052980 */ sll $a1, $a1, 6
/* 3D3690 E00CEBD0 00BE2821 */ addu $a1, $a1, $fp
/* 3D3694 E00CEBD4 0C080118 */ jal func_E0200460
/* 3D3694 E00CEBD4 0C080118 */ jal shim_guMtxF2L
/* 3D3698 E00CEBD8 00452821 */ addu $a1, $v0, $a1
/* 3D369C E00CEBDC 3C080101 */ lui $t0, 0x101
/* 3D36A0 E00CEBE0 35080040 */ ori $t0, $t0, 0x40

View File

@ -32,12 +32,12 @@ glabel fx_103_main
/* 3D2B2C E00CE06C AFA7007C */ sw $a3, 0x7c($sp)
/* 3D2B30 E00CE070 AFA00010 */ sw $zero, 0x10($sp)
/* 3D2B34 E00CE074 AFA00024 */ sw $zero, 0x24($sp)
/* 3D2B38 E00CE078 0C080124 */ jal func_E0200490
/* 3D2B38 E00CE078 0C080124 */ jal shim_create_effect_instance
/* 3D2B3C E00CE07C AFA20014 */ sw $v0, 0x14($sp)
/* 3D2B40 E00CE080 24040144 */ addiu $a0, $zero, 0x144
/* 3D2B44 E00CE084 24030001 */ addiu $v1, $zero, 1
/* 3D2B48 E00CE088 0040982D */ daddu $s3, $v0, $zero
/* 3D2B4C E00CE08C 0C08012C */ jal func_E02004B0
/* 3D2B4C E00CE08C 0C08012C */ jal shim_general_heap_malloc
/* 3D2B50 E00CE090 AE630008 */ sw $v1, 8($s3)
/* 3D2B54 E00CE094 0040882D */ daddu $s1, $v0, $zero
/* 3D2B58 E00CE098 16200003 */ bnez $s1, .LE00CE0A8
@ -95,13 +95,13 @@ glabel fx_103_main
/* 3D2C14 E00CE154 24040168 */ addiu $a0, $zero, 0x168
/* 3D2C18 E00CE158 E6020078 */ swc1 $f2, 0x78($s0)
/* 3D2C1C E00CE15C 46200020 */ cvt.s.d $f0, $f0
/* 3D2C20 E00CE160 0C080138 */ jal func_E02004E0
/* 3D2C20 E00CE160 0C080138 */ jal shim_rand_int
/* 3D2C24 E00CE164 E6000098 */ swc1 $f0, 0x98($s0)
/* 3D2C28 E00CE168 24040064 */ addiu $a0, $zero, 0x64
/* 3D2C2C E00CE16C 44820000 */ mtc1 $v0, $f0
/* 3D2C30 E00CE170 00000000 */ nop
/* 3D2C34 E00CE174 46800020 */ cvt.s.w $f0, $f0
/* 3D2C38 E00CE178 0C080138 */ jal func_E02004E0
/* 3D2C38 E00CE178 0C080138 */ jal shim_rand_int
/* 3D2C3C E00CE17C E60000B8 */ swc1 $f0, 0xb8($s0)
/* 3D2C40 E00CE180 44820000 */ mtc1 $v0, $f0
/* 3D2C44 E00CE184 00000000 */ nop
@ -111,7 +111,7 @@ glabel fx_103_main
/* 3D2C54 E00CE194 46360000 */ add.d $f0, $f0, $f22
/* 3D2C58 E00CE198 2404001E */ addiu $a0, $zero, 0x1e
/* 3D2C5C E00CE19C 46200020 */ cvt.s.d $f0, $f0
/* 3D2C60 E00CE1A0 0C080138 */ jal func_E02004E0
/* 3D2C60 E00CE1A0 0C080138 */ jal shim_rand_int
/* 3D2C64 E00CE1A4 E60000D8 */ swc1 $f0, 0xd8($s0)
/* 3D2C68 E00CE1A8 44820000 */ mtc1 $v0, $f0
/* 3D2C6C E00CE1AC 00000000 */ nop

View File

@ -22,7 +22,7 @@ glabel func_E00D0194
/* 3D3FF8 E00D01D8 AC82002C */ sw $v0, 0x2c($a0)
/* 3D3FFC E00D01DC 04610005 */ bgez $v1, .LE00D01F4
/* 3D4000 E00D01E0 AC830028 */ sw $v1, 0x28($a0)
/* 3D4004 E00D01E4 0C080128 */ jal func_E02004A0
/* 3D4004 E00D01E4 0C080128 */ jal shim_remove_effect
/* 3D4008 E00D01E8 0260202D */ daddu $a0, $s3, $zero
/* 3D400C E00D01EC 08034106 */ j .LE00D0418
/* 3D4010 E00D01F0 00000000 */ nop
@ -67,7 +67,7 @@ glabel func_E00D0194
/* 3D40A0 E00D0280 C60CFFF8 */ lwc1 $f12, -8($s0)
/* 3D40A4 E00D0284 AE00FFC8 */ sw $zero, -0x38($s0)
/* 3D40A8 E00D0288 AE00FFCC */ sw $zero, -0x34($s0)
/* 3D40AC E00D028C 0C080140 */ jal func_E0200500
/* 3D40AC E00D028C 0C080140 */ jal shim_sin_deg
/* 3D40B0 E00D0290 AE00FFD0 */ sw $zero, -0x30($s0)
/* 3D40B4 E00D0294 46000007 */ neg.s $f0, $f0
/* 3D40B8 E00D0298 46000021 */ cvt.d.s $f0, $f0
@ -75,7 +75,7 @@ glabel func_E00D0194
/* 3D40C0 E00D02A0 00000000 */ nop
/* 3D40C4 E00D02A4 C60CFFF8 */ lwc1 $f12, -8($s0)
/* 3D40C8 E00D02A8 46200020 */ cvt.s.d $f0, $f0
/* 3D40CC E00D02AC 0C080144 */ jal func_E0200510
/* 3D40CC E00D02AC 0C080144 */ jal shim_cos_deg
/* 3D40D0 E00D02B0 E600FFD4 */ swc1 $f0, -0x2c($s0)
/* 3D40D4 E00D02B4 46000021 */ cvt.d.s $f0, $f0
/* 3D40D8 E00D02B8 46340002 */ mul.d $f0, $f0, $f20

View File

@ -11,7 +11,7 @@ glabel func_E00D0448
/* 3D4280 E00D0460 27A40010 */ addiu $a0, $sp, 0x10
/* 3D4284 E00D0464 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D4288 E00D0468 AFA00014 */ sw $zero, 0x14($sp)
/* 3D428C E00D046C 0C080120 */ jal func_E0200480
/* 3D428C E00D046C 0C080120 */ jal shim_queue_render_task
/* 3D4290 E00D0470 AFA20010 */ sw $v0, 0x10($sp)
/* 3D4294 E00D0474 8C430000 */ lw $v1, ($v0)
/* 3D4298 E00D0478 34630002 */ ori $v1, $v1, 2

View File

@ -108,7 +108,7 @@ glabel func_E00D048C
/* 3D4448 E00D0628 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3D444C E00D062C C620000C */ lwc1 $f0, 0xc($s1)
/* 3D4450 E00D0630 46204620 */ cvt.s.d $f24, $f8
/* 3D4454 E00D0634 0C080180 */ jal func_E0200600
/* 3D4454 E00D0634 0C080180 */ jal shim_guPositionF
/* 3D4458 E00D0638 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3D445C E00D063C 27A40020 */ addiu $a0, $sp, 0x20
/* 3D4460 E00D0640 3C158007 */ lui $s5, %hi(gMatrixListPos)
@ -119,7 +119,7 @@ glabel func_E00D048C
/* 3D4474 E00D0654 8EC20000 */ lw $v0, ($s6)
/* 3D4478 E00D0658 00052980 */ sll $a1, $a1, 6
/* 3D447C E00D065C 00B02821 */ addu $a1, $a1, $s0
/* 3D4480 E00D0660 0C080118 */ jal func_E0200460
/* 3D4480 E00D0660 0C080118 */ jal shim_guMtxF2L
/* 3D4484 E00D0664 00452821 */ addu $a1, $v0, $a1
/* 3D4488 E00D0668 24140001 */ addiu $s4, $zero, 1
/* 3D448C E00D066C 3C02DA38 */ lui $v0, 0xda38
@ -173,17 +173,17 @@ glabel func_E00D048C
/* 3D4548 E00D0728 8E05FFC0 */ lw $a1, -0x40($s0)
/* 3D454C E00D072C 8E06FFC4 */ lw $a2, -0x3c($s0)
/* 3D4550 E00D0730 8E07FFC8 */ lw $a3, -0x38($s0)
/* 3D4554 E00D0734 0C080108 */ jal func_E0200420
/* 3D4554 E00D0734 0C080108 */ jal shim_guTranslateF
/* 3D4558 E00D0738 27A40020 */ addiu $a0, $sp, 0x20
/* 3D455C E00D073C E7B60010 */ swc1 $f22, 0x10($sp)
/* 3D4560 E00D0740 8E05FFF0 */ lw $a1, -0x10($s0)
/* 3D4564 E00D0744 4406A000 */ mfc1 $a2, $f20
/* 3D4568 E00D0748 4407A000 */ mfc1 $a3, $f20
/* 3D456C E00D074C 0C080104 */ jal func_E0200410
/* 3D456C E00D074C 0C080104 */ jal shim_guRotateF
/* 3D4570 E00D0750 0240202D */ daddu $a0, $s2, $zero
/* 3D4574 E00D0754 0240202D */ daddu $a0, $s2, $zero
/* 3D4578 E00D0758 27A50020 */ addiu $a1, $sp, 0x20
/* 3D457C E00D075C 0C080114 */ jal func_E0200450
/* 3D457C E00D075C 0C080114 */ jal shim_guMtxCatF
/* 3D4580 E00D0760 00A0302D */ daddu $a2, $a1, $zero
/* 3D4584 E00D0764 C600FFD8 */ lwc1 $f0, -0x28($s0)
/* 3D4588 E00D0768 461C0002 */ mul.s $f0, $f0, $f28
@ -197,21 +197,21 @@ glabel func_E00D048C
/* 3D45A8 E00D0788 46180002 */ mul.s $f0, $f0, $f24
/* 3D45AC E00D078C 00000000 */ nop
/* 3D45B0 E00D0790 44070000 */ mfc1 $a3, $f0
/* 3D45B4 E00D0794 0C080110 */ jal func_E0200440
/* 3D45B4 E00D0794 0C080110 */ jal shim_guScaleF
/* 3D45B8 E00D0798 0240202D */ daddu $a0, $s2, $zero
/* 3D45BC E00D079C 0240202D */ daddu $a0, $s2, $zero
/* 3D45C0 E00D07A0 27A50020 */ addiu $a1, $sp, 0x20
/* 3D45C4 E00D07A4 0C080114 */ jal func_E0200450
/* 3D45C4 E00D07A4 0C080114 */ jal shim_guMtxCatF
/* 3D45C8 E00D07A8 00A0302D */ daddu $a2, $a1, $zero
/* 3D45CC E00D07AC E7B40010 */ swc1 $f20, 0x10($sp)
/* 3D45D0 E00D07B0 8E05FFEC */ lw $a1, -0x14($s0)
/* 3D45D4 E00D07B4 4406A000 */ mfc1 $a2, $f20
/* 3D45D8 E00D07B8 4407B000 */ mfc1 $a3, $f22
/* 3D45DC E00D07BC 0C080104 */ jal func_E0200410
/* 3D45DC E00D07BC 0C080104 */ jal shim_guRotateF
/* 3D45E0 E00D07C0 0240202D */ daddu $a0, $s2, $zero
/* 3D45E4 E00D07C4 0240202D */ daddu $a0, $s2, $zero
/* 3D45E8 E00D07C8 27A50020 */ addiu $a1, $sp, 0x20
/* 3D45EC E00D07CC 0C080114 */ jal func_E0200450
/* 3D45EC E00D07CC 0C080114 */ jal shim_guMtxCatF
/* 3D45F0 E00D07D0 00A0302D */ daddu $a2, $a1, $zero
/* 3D45F4 E00D07D4 27A40020 */ addiu $a0, $sp, 0x20
/* 3D45F8 E00D07D8 96C50000 */ lhu $a1, ($s6)
@ -219,7 +219,7 @@ glabel func_E00D048C
/* 3D4600 E00D07E0 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3D4604 E00D07E4 00052980 */ sll $a1, $a1, 6
/* 3D4608 E00D07E8 00B52821 */ addu $a1, $a1, $s5
/* 3D460C E00D07EC 0C080118 */ jal func_E0200460
/* 3D460C E00D07EC 0C080118 */ jal shim_guMtxF2L
/* 3D4610 E00D07F0 00452821 */ addu $a1, $v0, $a1
/* 3D4614 E00D07F4 3C06000F */ lui $a2, 0xf
/* 3D4618 E00D07F8 34C6C000 */ ori $a2, $a2, 0xc000

View File

@ -36,7 +36,7 @@ glabel fx_104_main
/* 3D3E98 E00D0078 AC820010 */ sw $v0, 0x10($a0)
/* 3D3E9C E00D007C 24020068 */ addiu $v0, $zero, 0x68
/* 3D3EA0 E00D0080 AC800014 */ sw $zero, 0x14($a0)
/* 3D3EA4 E00D0084 0C080124 */ jal func_E0200490
/* 3D3EA4 E00D0084 0C080124 */ jal shim_create_effect_instance
/* 3D3EA8 E00D0088 AC820004 */ sw $v0, 4($a0)
/* 3D3EAC E00D008C 00102040 */ sll $a0, $s0, 1
/* 3D3EB0 E00D0090 00902021 */ addu $a0, $a0, $s0
@ -44,7 +44,7 @@ glabel fx_104_main
/* 3D3EB8 E00D0098 00902023 */ subu $a0, $a0, $s0
/* 3D3EBC E00D009C 000420C0 */ sll $a0, $a0, 3
/* 3D3EC0 E00D00A0 0040882D */ daddu $s1, $v0, $zero
/* 3D3EC4 E00D00A4 0C08012C */ jal func_E02004B0
/* 3D3EC4 E00D00A4 0C08012C */ jal shim_general_heap_malloc
/* 3D3EC8 E00D00A8 AE300008 */ sw $s0, 8($s1)
/* 3D3ECC E00D00AC 0040182D */ daddu $v1, $v0, $zero
/* 3D3ED0 E00D00B0 14600003 */ bnez $v1, .LE00D00C0

View File

@ -25,7 +25,7 @@ glabel func_E00D2120
/* 3D4AD8 E00D2168 24E60001 */ addiu $a2, $a3, 1
/* 3D4ADC E00D216C 04610005 */ bgez $v1, .LE00D2184
/* 3D4AE0 E00D2170 ACA60014 */ sw $a2, 0x14($a1)
/* 3D4AE4 E00D2174 0C080128 */ jal func_E02004A0
/* 3D4AE4 E00D2174 0C080128 */ jal shim_remove_effect
/* 3D4AE8 E00D2178 00000000 */ nop
/* 3D4AEC E00D217C 0803488A */ j .LE00D2228
/* 3D4AF0 E00D2180 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00D2234
/* 3D4BC0 E00D2250 AFA40018 */ sw $a0, 0x18($sp)
/* 3D4BC4 E00D2254 27A40010 */ addiu $a0, $sp, 0x10
/* 3D4BC8 E00D2258 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D4BCC E00D225C 0C080120 */ jal func_E0200480
/* 3D4BCC E00D225C 0C080120 */ jal shim_queue_render_task
/* 3D4BD0 E00D2260 AFA20010 */ sw $v0, 0x10($sp)
/* 3D4BD4 E00D2264 8C430000 */ lw $v1, ($v0)
/* 3D4BD8 E00D2268 34630002 */ ori $v1, $v1, 2

View File

@ -55,17 +55,17 @@ glabel func_E00D2284
/* 3D4CBC E00D234C 001110C0 */ sll $v0, $s1, 3
/* 3D4CC0 E00D2350 02228821 */ addu $s1, $s1, $v0
/* 3D4CC4 E00D2354 001188C0 */ sll $s1, $s1, 3
/* 3D4CC8 E00D2358 0C080108 */ jal func_E0200420
/* 3D4CC8 E00D2358 0C080108 */ jal shim_guTranslateF
/* 3D4CCC E00D235C 02238821 */ addu $s1, $s1, $v1
/* 3D4CD0 E00D2360 27B00050 */ addiu $s0, $sp, 0x50
/* 3D4CD4 E00D2364 4405A000 */ mfc1 $a1, $f20
/* 3D4CD8 E00D2368 0200202D */ daddu $a0, $s0, $zero
/* 3D4CDC E00D236C 00A0302D */ daddu $a2, $a1, $zero
/* 3D4CE0 E00D2370 0C080110 */ jal func_E0200440
/* 3D4CE0 E00D2370 0C080110 */ jal shim_guScaleF
/* 3D4CE4 E00D2374 00A0382D */ daddu $a3, $a1, $zero
/* 3D4CE8 E00D2378 0200202D */ daddu $a0, $s0, $zero
/* 3D4CEC E00D237C 27A50010 */ addiu $a1, $sp, 0x10
/* 3D4CF0 E00D2380 0C080114 */ jal func_E0200450
/* 3D4CF0 E00D2380 0C080114 */ jal shim_guMtxCatF
/* 3D4CF4 E00D2384 00A0302D */ daddu $a2, $a1, $zero
/* 3D4CF8 E00D2388 27A40010 */ addiu $a0, $sp, 0x10
/* 3D4CFC E00D238C 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -76,7 +76,7 @@ glabel func_E00D2284
/* 3D4D10 E00D23A0 8E820000 */ lw $v0, ($s4)
/* 3D4D14 E00D23A4 00052980 */ sll $a1, $a1, 6
/* 3D4D18 E00D23A8 00B62821 */ addu $a1, $a1, $s6
/* 3D4D1C E00D23AC 0C080118 */ jal func_E0200460
/* 3D4D1C E00D23AC 0C080118 */ jal shim_guMtxF2L
/* 3D4D20 E00D23B0 00452821 */ addu $a1, $v0, $a1
/* 3D4D24 E00D23B4 3C03DA38 */ lui $v1, 0xda38
/* 3D4D28 E00D23B8 34630002 */ ori $v1, $v1, 2

View File

@ -28,12 +28,12 @@ glabel fx_105_main
/* 3D49CC E00D205C AFB00028 */ sw $s0, 0x28($sp)
/* 3D49D0 E00D2060 AFA00010 */ sw $zero, 0x10($sp)
/* 3D49D4 E00D2064 AFA00024 */ sw $zero, 0x24($sp)
/* 3D49D8 E00D2068 0C080124 */ jal func_E0200490
/* 3D49D8 E00D2068 0C080124 */ jal shim_create_effect_instance
/* 3D49DC E00D206C AFA20014 */ sw $v0, 0x14($sp)
/* 3D49E0 E00D2070 2404003C */ addiu $a0, $zero, 0x3c
/* 3D49E4 E00D2074 24030001 */ addiu $v1, $zero, 1
/* 3D49E8 E00D2078 0040802D */ daddu $s0, $v0, $zero
/* 3D49EC E00D207C 0C08012C */ jal func_E02004B0
/* 3D49EC E00D207C 0C08012C */ jal shim_general_heap_malloc
/* 3D49F0 E00D2080 AE030008 */ sw $v1, 8($s0)
/* 3D49F4 E00D2084 0040202D */ daddu $a0, $v0, $zero
/* 3D49F8 E00D2088 14800003 */ bnez $a0, .LE00D2098

View File

@ -30,7 +30,7 @@ glabel func_E00D6720
/* 3D579C E00D677C 24450001 */ addiu $a1, $v0, 1
/* 3D57A0 E00D6780 04610005 */ bgez $v1, .LE00D6798
/* 3D57A4 E00D6784 AC850014 */ sw $a1, 0x14($a0)
/* 3D57A8 E00D6788 0C080128 */ jal func_E02004A0
/* 3D57A8 E00D6788 0C080128 */ jal shim_remove_effect
/* 3D57AC E00D678C 0240202D */ daddu $a0, $s2, $zero
/* 3D57B0 E00D6790 08035A48 */ j .LE00D6920
/* 3D57B4 E00D6794 00000000 */ nop
@ -78,7 +78,7 @@ glabel func_E00D6720
.LE00D682C:
/* 3D584C E00D682C E614FFE0 */ swc1 $f20, -0x20($s0)
.LE00D6830:
/* 3D5850 E00D6830 0C080138 */ jal func_E02004E0
/* 3D5850 E00D6830 0C080138 */ jal shim_rand_int
/* 3D5854 E00D6834 24040167 */ addiu $a0, $zero, 0x167
/* 3D5858 E00D6838 44820000 */ mtc1 $v0, $f0
/* 3D585C E00D683C 00000000 */ nop
@ -129,7 +129,7 @@ glabel func_E00D6720
/* 3D5900 E00D68E0 08035A43 */ j .LE00D690C
/* 3D5904 E00D68E4 AE000000 */ sw $zero, ($s0)
.LE00D68E8:
/* 3D5908 E00D68E8 0C080140 */ jal func_E0200500
/* 3D5908 E00D68E8 0C080140 */ jal shim_sin_deg
/* 3D590C E00D68EC 00000000 */ nop
/* 3D5910 E00D68F0 3C01437F */ lui $at, 0x437f
/* 3D5914 E00D68F4 44811000 */ mtc1 $at, $f2

View File

@ -12,7 +12,7 @@ glabel func_E00D693C
/* 3D5978 E00D6958 AFA40018 */ sw $a0, 0x18($sp)
/* 3D597C E00D695C 27A40010 */ addiu $a0, $sp, 0x10
/* 3D5980 E00D6960 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D5984 E00D6964 0C080120 */ jal func_E0200480
/* 3D5984 E00D6964 0C080120 */ jal shim_queue_render_task
/* 3D5988 E00D6968 AFA20010 */ sw $v0, 0x10($sp)
/* 3D598C E00D696C 8FBF0020 */ lw $ra, 0x20($sp)
/* 3D5990 E00D6970 03E00008 */ jr $ra

View File

@ -80,7 +80,7 @@ glabel func_E00D6980
/* 3D5ACC E00D6AAC E7A00018 */ swc1 $f0, 0x18($sp)
/* 3D5AD0 E00D6AB0 C620000C */ lwc1 $f0, 0xc($s1)
/* 3D5AD4 E00D6AB4 24140001 */ addiu $s4, $zero, 1
/* 3D5AD8 E00D6AB8 0C080180 */ jal func_E0200600
/* 3D5AD8 E00D6AB8 0C080180 */ jal shim_guPositionF
/* 3D5ADC E00D6ABC E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3D5AE0 E00D6AC0 27A40020 */ addiu $a0, $sp, 0x20
/* 3D5AE4 E00D6AC4 3C158007 */ lui $s5, %hi(gMatrixListPos)
@ -91,7 +91,7 @@ glabel func_E00D6980
/* 3D5AF8 E00D6AD8 8EE20000 */ lw $v0, ($s7)
/* 3D5AFC E00D6ADC 00052980 */ sll $a1, $a1, 6
/* 3D5B00 E00D6AE0 00B02821 */ addu $a1, $a1, $s0
/* 3D5B04 E00D6AE4 0C080118 */ jal func_E0200460
/* 3D5B04 E00D6AE4 0C080118 */ jal shim_guMtxF2L
/* 3D5B08 E00D6AE8 00452821 */ addu $a1, $v0, $a1
/* 3D5B0C E00D6AEC 3C03DA38 */ lui $v1, 0xda38
/* 3D5B10 E00D6AF0 34630002 */ ori $v1, $v1, 2
@ -202,18 +202,18 @@ glabel func_E00D6980
/* 3D5CB0 E00D6C90 E7B60010 */ swc1 $f22, 0x10($sp)
/* 3D5CB4 E00D6C94 8E050038 */ lw $a1, 0x38($s0)
/* 3D5CB8 E00D6C98 25080008 */ addiu $t0, $t0, 8
/* 3D5CBC E00D6C9C 0C080104 */ jal func_E0200410
/* 3D5CBC E00D6C9C 0C080104 */ jal shim_guRotateF
/* 3D5CC0 E00D6CA0 AE680000 */ sw $t0, ($s3)
/* 3D5CC4 E00D6CA4 C6000000 */ lwc1 $f0, ($s0)
/* 3D5CC8 E00D6CA8 461A0000 */ add.s $f0, $f0, $f26
/* 3D5CCC E00D6CAC 4406C000 */ mfc1 $a2, $f24
/* 3D5CD0 E00D6CB0 4407C000 */ mfc1 $a3, $f24
/* 3D5CD4 E00D6CB4 44050000 */ mfc1 $a1, $f0
/* 3D5CD8 E00D6CB8 0C080108 */ jal func_E0200420
/* 3D5CD8 E00D6CB8 0C080108 */ jal shim_guTranslateF
/* 3D5CDC E00D6CBC 0240202D */ daddu $a0, $s2, $zero
/* 3D5CE0 E00D6CC0 0240202D */ daddu $a0, $s2, $zero
/* 3D5CE4 E00D6CC4 27A50020 */ addiu $a1, $sp, 0x20
/* 3D5CE8 E00D6CC8 0C080114 */ jal func_E0200450
/* 3D5CE8 E00D6CC8 0C080114 */ jal shim_guMtxCatF
/* 3D5CEC E00D6CCC 00A0302D */ daddu $a2, $a1, $zero
/* 3D5CF0 E00D6CD0 8EC30000 */ lw $v1, ($s6)
/* 3D5CF4 E00D6CD4 3C020900 */ lui $v0, 0x900
@ -235,18 +235,18 @@ glabel func_E00D6980
/* 3D5D2C E00D6D0C 4407B000 */ mfc1 $a3, $f22
/* 3D5D30 E00D6D10 00A0302D */ daddu $a2, $a1, $zero
.LE00D6D14:
/* 3D5D34 E00D6D14 0C080110 */ jal func_E0200440
/* 3D5D34 E00D6D14 0C080110 */ jal shim_guScaleF
/* 3D5D38 E00D6D18 26940001 */ addiu $s4, $s4, 1
/* 3D5D3C E00D6D1C 27A40060 */ addiu $a0, $sp, 0x60
/* 3D5D40 E00D6D20 27A50020 */ addiu $a1, $sp, 0x20
/* 3D5D44 E00D6D24 0C080114 */ jal func_E0200450
/* 3D5D44 E00D6D24 0C080114 */ jal shim_guMtxCatF
/* 3D5D48 E00D6D28 00A0302D */ daddu $a2, $a1, $zero
/* 3D5D4C E00D6D2C 27A40020 */ addiu $a0, $sp, 0x20
/* 3D5D50 E00D6D30 96E50000 */ lhu $a1, ($s7)
/* 3D5D54 E00D6D34 8FC20000 */ lw $v0, ($fp)
/* 3D5D58 E00D6D38 00052980 */ sll $a1, $a1, 6
/* 3D5D5C E00D6D3C 00B52821 */ addu $a1, $a1, $s5
/* 3D5D60 E00D6D40 0C080118 */ jal func_E0200460
/* 3D5D60 E00D6D40 0C080118 */ jal shim_guMtxF2L
/* 3D5D64 E00D6D44 00452821 */ addu $a1, $v0, $a1
/* 3D5D68 E00D6D48 3C06D838 */ lui $a2, 0xd838
/* 3D5D6C E00D6D4C 8E640000 */ lw $a0, ($s3)

View File

@ -40,14 +40,14 @@ glabel fx_107_main
/* 3D50AC E00D608C AFA00010 */ sw $zero, 0x10($sp)
/* 3D50B0 E00D6090 AFA00024 */ sw $zero, 0x24($sp)
/* 3D50B4 E00D6094 AFA20014 */ sw $v0, 0x14($sp)
/* 3D50B8 E00D6098 0C080124 */ jal func_E0200490
/* 3D50B8 E00D6098 0C080124 */ jal shim_create_effect_instance
/* 3D50BC E00D609C AFA8002C */ sw $t0, 0x2c($sp)
/* 3D50C0 E00D60A0 8FA9002C */ lw $t1, 0x2c($sp)
/* 3D50C4 E00D60A4 AFA20028 */ sw $v0, 0x28($sp)
/* 3D50C8 E00D60A8 000920C0 */ sll $a0, $t1, 3
/* 3D50CC E00D60AC 00892021 */ addu $a0, $a0, $t1
/* 3D50D0 E00D60B0 000420C0 */ sll $a0, $a0, 3
/* 3D50D4 E00D60B4 0C08012C */ jal func_E02004B0
/* 3D50D4 E00D60B4 0C08012C */ jal shim_general_heap_malloc
/* 3D50D8 E00D60B8 AC490008 */ sw $t1, 8($v0)
/* 3D50DC E00D60BC 0040902D */ daddu $s2, $v0, $zero
/* 3D50E0 E00D60C0 8FA80028 */ lw $t0, 0x28($sp)
@ -92,7 +92,7 @@ glabel fx_107_main
/* 3D516C E00D614C 44820000 */ mtc1 $v0, $f0
/* 3D5170 E00D6150 00000000 */ nop
/* 3D5174 E00D6154 46800020 */ cvt.s.w $f0, $f0
/* 3D5178 E00D6158 0C080138 */ jal func_E02004E0
/* 3D5178 E00D6158 0C080138 */ jal shim_rand_int
/* 3D517C E00D615C E6400038 */ swc1 $f0, 0x38($s2)
/* 3D5180 E00D6160 8FA90028 */ lw $t1, 0x28($sp)
/* 3D5184 E00D6164 8D230008 */ lw $v1, 8($t1)
@ -137,7 +137,7 @@ glabel fx_107_main
/* 3D521C E00D61FC 00400008 */ jr $v0
/* 3D5220 E00D6200 00000000 */ nop
glabel LE00D6204_3D5224
/* 3D5224 E00D6204 0C080138 */ jal func_E02004E0
/* 3D5224 E00D6204 0C080138 */ jal shim_rand_int
/* 3D5228 E00D6208 2404000A */ addiu $a0, $zero, 0xa
/* 3D522C E00D620C 44821000 */ mtc1 $v0, $f2
/* 3D5230 E00D6210 00000000 */ nop
@ -162,7 +162,7 @@ glabel LE00D6204_3D5224
/* 3D527C E00D625C 08035982 */ j .LE00D6608
/* 3D5280 E00D6260 46201087 */ neg.d $f2, $f2
glabel LE00D6264_3D5284
/* 3D5284 E00D6264 0C080138 */ jal func_E02004E0
/* 3D5284 E00D6264 0C080138 */ jal shim_rand_int
/* 3D5288 E00D6268 2404000A */ addiu $a0, $zero, 0xa
/* 3D528C E00D626C 44821000 */ mtc1 $v0, $f2
/* 3D5290 E00D6270 00000000 */ nop
@ -186,7 +186,7 @@ glabel LE00D6264_3D5284
/* 3D52D8 E00D62B8 08035982 */ j .LE00D6608
/* 3D52DC E00D62BC AE000004 */ sw $zero, 4($s0)
glabel LE00D62C0_3D52E0
/* 3D52E0 E00D62C0 0C080138 */ jal func_E02004E0
/* 3D52E0 E00D62C0 0C080138 */ jal shim_rand_int
/* 3D52E4 E00D62C4 2404000A */ addiu $a0, $zero, 0xa
/* 3D52E8 E00D62C8 02330018 */ mult $s1, $s3
/* 3D52EC E00D62CC 001127C3 */ sra $a0, $s1, 0x1f
@ -211,7 +211,7 @@ glabel LE00D62C0_3D52E0
/* 3D5338 E00D6318 08035985 */ j .LE00D6614
/* 3D533C E00D631C AE000004 */ sw $zero, 4($s0)
glabel LE00D6320_3D5340
/* 3D5340 E00D6320 0C080138 */ jal func_E02004E0
/* 3D5340 E00D6320 0C080138 */ jal shim_rand_int
/* 3D5344 E00D6324 2404000A */ addiu $a0, $zero, 0xa
/* 3D5348 E00D6328 02330018 */ mult $s1, $s3
/* 3D534C E00D632C 001127C3 */ sra $a0, $s1, 0x1f
@ -236,7 +236,7 @@ glabel LE00D6320_3D5340
/* 3D5398 E00D6378 08035985 */ j .LE00D6614
/* 3D539C E00D637C AE000004 */ sw $zero, 4($s0)
glabel LE00D6380_3D53A0
/* 3D53A0 E00D6380 0C080138 */ jal func_E02004E0
/* 3D53A0 E00D6380 0C080138 */ jal shim_rand_int
/* 3D53A4 E00D6384 2404000A */ addiu $a0, $zero, 0xa
/* 3D53A8 E00D6388 44821000 */ mtc1 $v0, $f2
/* 3D53AC E00D638C 00000000 */ nop
@ -262,7 +262,7 @@ glabel LE00D6380_3D53A0
/* 3D53FC E00D63DC 08035980 */ j .LE00D6600
/* 3D5400 E00D63E0 46241080 */ add.d $f2, $f2, $f4
glabel LE00D63E4_3D5404
/* 3D5404 E00D63E4 0C080138 */ jal func_E02004E0
/* 3D5404 E00D63E4 0C080138 */ jal shim_rand_int
/* 3D5408 E00D63E8 2404000A */ addiu $a0, $zero, 0xa
/* 3D540C E00D63EC 44821000 */ mtc1 $v0, $f2
/* 3D5410 E00D63F0 00000000 */ nop
@ -307,7 +307,7 @@ glabel LE00D63E4_3D5404
/* 3D54AC E00D648C 08035987 */ j .LE00D661C
/* 3D54B0 E00D6490 AE9E0030 */ sw $fp, 0x30($s4)
glabel LE00D6494_3D54B4
/* 3D54B4 E00D6494 0C080138 */ jal func_E02004E0
/* 3D54B4 E00D6494 0C080138 */ jal shim_rand_int
/* 3D54B8 E00D6498 2404000A */ addiu $a0, $zero, 0xa
/* 3D54BC E00D649C 44821000 */ mtc1 $v0, $f2
/* 3D54C0 E00D64A0 00000000 */ nop
@ -346,7 +346,7 @@ glabel LE00D6494_3D54B4
/* 3D5544 E00D6524 08035987 */ j .LE00D661C
/* 3D5548 E00D6528 E604FFF8 */ swc1 $f4, -8($s0)
glabel LE00D652C_3D554C
/* 3D554C E00D652C 0C080138 */ jal func_E02004E0
/* 3D554C E00D652C 0C080138 */ jal shim_rand_int
/* 3D5550 E00D6530 2404000A */ addiu $a0, $zero, 0xa
/* 3D5554 E00D6534 3C01E00D */ lui $at, %hi(D_E00D6F00)
/* 3D5558 E00D6538 D4206F00 */ ldc1 $f0, %lo(D_E00D6F00)($at)
@ -376,7 +376,7 @@ glabel LE00D652C_3D554C
/* 3D55B8 E00D6598 08035982 */ j .LE00D6608
/* 3D55BC E00D659C AE02FFD4 */ sw $v0, -0x2c($s0)
glabel LE00D65A0_3D55C0
/* 3D55C0 E00D65A0 0C080138 */ jal func_E02004E0
/* 3D55C0 E00D65A0 0C080138 */ jal shim_rand_int
/* 3D55C4 E00D65A4 2404000A */ addiu $a0, $zero, 0xa
/* 3D55C8 E00D65A8 44821000 */ mtc1 $v0, $f2
/* 3D55CC E00D65AC 00000000 */ nop
@ -411,7 +411,7 @@ glabel LE00D65A0_3D55C0
/* 3D5634 E00D6614 46200020 */ cvt.s.d $f0, $f0
/* 3D5638 E00D6618 E600FFF8 */ swc1 $f0, -8($s0)
.LE00D661C:
/* 3D563C E00D661C 0C080138 */ jal func_E02004E0
/* 3D563C E00D661C 0C080138 */ jal shim_rand_int
/* 3D5640 E00D6620 8E04FFD4 */ lw $a0, -0x2c($s0)
/* 3D5644 E00D6624 C602FFFC */ lwc1 $f2, -4($s0)
/* 3D5648 E00D6628 44800000 */ mtc1 $zero, $f0

View File

@ -25,7 +25,7 @@ glabel func_E00D8128
/* 3D6930 E00D8170 24620001 */ addiu $v0, $v1, 1
/* 3D6934 E00D8174 04C10005 */ bgez $a2, .LE00D818C
/* 3D6938 E00D8178 ACA20014 */ sw $v0, 0x14($a1)
/* 3D693C E00D817C 0C080128 */ jal func_E02004A0
/* 3D693C E00D817C 0C080128 */ jal shim_remove_effect
/* 3D6940 E00D8180 00000000 */ nop
/* 3D6944 E00D8184 08036094 */ j .LE00D8250
/* 3D6948 E00D8188 00000000 */ nop

View File

@ -96,7 +96,7 @@ glabel func_E00D8630
/* 3D6F58 E00D8798 44066000 */ mfc1 $a2, $f12
/* 3D6F5C E00D879C 4600130D */ trunc.w.s $f12, $f2
/* 3D6F60 E00D87A0 44076000 */ mfc1 $a3, $f12
/* 3D6F64 E00D87A4 0C080190 */ jal func_E0200640
/* 3D6F64 E00D87A4 0C080190 */ jal shim_draw_box
/* 3D6F68 E00D87A8 E7A60034 */ swc1 $f6, 0x34($sp)
/* 3D6F6C E00D87AC 3C03800A */ lui $v1, %hi(gMasterGfxPos)
/* 3D6F70 E00D87B0 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos)

View File

@ -30,12 +30,12 @@ glabel fx_108_main
/* 3D6824 E00D8064 AFBF0034 */ sw $ra, 0x34($sp)
/* 3D6828 E00D8068 AFB00028 */ sw $s0, 0x28($sp)
/* 3D682C E00D806C AFA00010 */ sw $zero, 0x10($sp)
/* 3D6830 E00D8070 0C080124 */ jal func_E0200490
/* 3D6830 E00D8070 0C080124 */ jal shim_create_effect_instance
/* 3D6834 E00D8074 AFA20014 */ sw $v0, 0x14($sp)
/* 3D6838 E00D8078 24040038 */ addiu $a0, $zero, 0x38
/* 3D683C E00D807C 24030001 */ addiu $v1, $zero, 1
/* 3D6840 E00D8080 0040802D */ daddu $s0, $v0, $zero
/* 3D6844 E00D8084 0C08012C */ jal func_E02004B0
/* 3D6844 E00D8084 0C08012C */ jal shim_general_heap_malloc
/* 3D6848 E00D8088 AE030008 */ sw $v1, 8($s0)
/* 3D684C E00D808C 0040202D */ daddu $a0, $v0, $zero
/* 3D6850 E00D8090 14800003 */ bnez $a0, .LE00D80A0

View File

@ -25,7 +25,7 @@ glabel func_E00DA104
/* 3D738C E00DA14C 24460001 */ addiu $a2, $v0, 1
/* 3D7390 E00DA150 04A10005 */ bgez $a1, .LE00DA168
/* 3D7394 E00DA154 AC660014 */ sw $a2, 0x14($v1)
/* 3D7398 E00DA158 0C080128 */ jal func_E02004A0
/* 3D7398 E00DA158 0C080128 */ jal shim_remove_effect
/* 3D739C E00DA15C 00000000 */ nop
/* 3D73A0 E00DA160 08036875 */ j .LE00DA1D4
/* 3D73A4 E00DA164 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00DA1E0
/* 3D743C E00DA1FC AFA40018 */ sw $a0, 0x18($sp)
/* 3D7440 E00DA200 27A40010 */ addiu $a0, $sp, 0x10
/* 3D7444 E00DA204 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D7448 E00DA208 0C080120 */ jal func_E0200480
/* 3D7448 E00DA208 0C080120 */ jal shim_queue_render_task
/* 3D744C E00DA20C AFA20010 */ sw $v0, 0x10($sp)
/* 3D7450 E00DA210 8C430000 */ lw $v1, ($v0)
/* 3D7454 E00DA214 34630002 */ ori $v1, $v1, 2

View File

@ -55,17 +55,17 @@ glabel func_E00DA230
/* 3D7538 E00DA2F8 001110C0 */ sll $v0, $s1, 3
/* 3D753C E00DA2FC 02228821 */ addu $s1, $s1, $v0
/* 3D7540 E00DA300 001188C0 */ sll $s1, $s1, 3
/* 3D7544 E00DA304 0C080108 */ jal func_E0200420
/* 3D7544 E00DA304 0C080108 */ jal shim_guTranslateF
/* 3D7548 E00DA308 02238821 */ addu $s1, $s1, $v1
/* 3D754C E00DA30C 27B00050 */ addiu $s0, $sp, 0x50
/* 3D7550 E00DA310 4405A000 */ mfc1 $a1, $f20
/* 3D7554 E00DA314 0200202D */ daddu $a0, $s0, $zero
/* 3D7558 E00DA318 00A0302D */ daddu $a2, $a1, $zero
/* 3D755C E00DA31C 0C080110 */ jal func_E0200440
/* 3D755C E00DA31C 0C080110 */ jal shim_guScaleF
/* 3D7560 E00DA320 00A0382D */ daddu $a3, $a1, $zero
/* 3D7564 E00DA324 0200202D */ daddu $a0, $s0, $zero
/* 3D7568 E00DA328 27A50010 */ addiu $a1, $sp, 0x10
/* 3D756C E00DA32C 0C080114 */ jal func_E0200450
/* 3D756C E00DA32C 0C080114 */ jal shim_guMtxCatF
/* 3D7570 E00DA330 00A0302D */ daddu $a2, $a1, $zero
/* 3D7574 E00DA334 27A40010 */ addiu $a0, $sp, 0x10
/* 3D7578 E00DA338 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -76,7 +76,7 @@ glabel func_E00DA230
/* 3D758C E00DA34C 8E820000 */ lw $v0, ($s4)
/* 3D7590 E00DA350 00052980 */ sll $a1, $a1, 6
/* 3D7594 E00DA354 00B62821 */ addu $a1, $a1, $s6
/* 3D7598 E00DA358 0C080118 */ jal func_E0200460
/* 3D7598 E00DA358 0C080118 */ jal shim_guMtxF2L
/* 3D759C E00DA35C 00452821 */ addu $a1, $v0, $a1
/* 3D75A0 E00DA360 3C03DA38 */ lui $v1, 0xda38
/* 3D75A4 E00DA364 34630002 */ ori $v1, $v1, 2

View File

@ -26,12 +26,12 @@ glabel fx_109_main
/* 3D7294 E00DA054 AFB00028 */ sw $s0, 0x28($sp)
/* 3D7298 E00DA058 AFA00010 */ sw $zero, 0x10($sp)
/* 3D729C E00DA05C AFA00024 */ sw $zero, 0x24($sp)
/* 3D72A0 E00DA060 0C080124 */ jal func_E0200490
/* 3D72A0 E00DA060 0C080124 */ jal shim_create_effect_instance
/* 3D72A4 E00DA064 AFA20014 */ sw $v0, 0x14($sp)
/* 3D72A8 E00DA068 24040030 */ addiu $a0, $zero, 0x30
/* 3D72AC E00DA06C 24030001 */ addiu $v1, $zero, 1
/* 3D72B0 E00DA070 0040802D */ daddu $s0, $v0, $zero
/* 3D72B4 E00DA074 0C08012C */ jal func_E02004B0
/* 3D72B4 E00DA074 0C08012C */ jal shim_general_heap_malloc
/* 3D72B8 E00DA078 AE030008 */ sw $v1, 8($s0)
/* 3D72BC E00DA07C 0040202D */ daddu $a0, $v0, $zero
/* 3D72C0 E00DA080 14800003 */ bnez $a0, .LE00DA090

View File

@ -37,10 +37,10 @@ glabel func_E0016228
/* 32F0D0 E00162A0 C600FFF8 */ lwc1 $f0, -8($s0)
/* 32F0D4 E00162A4 3C014140 */ lui $at, 0x4140
/* 32F0D8 E00162A8 44816000 */ mtc1 $at, $f12
/* 32F0DC E00162AC 0C08013C */ jal func_E02004F0
/* 32F0DC E00162AC 0C08013C */ jal shim_clamp_angle
/* 32F0E0 E00162B0 460C0300 */ add.s $f12, $f0, $f12
/* 32F0E4 E00162B4 46000306 */ mov.s $f12, $f0
/* 32F0E8 E00162B8 0C080140 */ jal func_E0200500
/* 32F0E8 E00162B8 0C080140 */ jal shim_sin_deg
/* 32F0EC E00162BC E60CFFF8 */ swc1 $f12, -8($s0)
/* 32F0F0 E00162C0 46000021 */ cvt.d.s $f0, $f0
/* 32F0F4 E00162C4 46340002 */ mul.d $f0, $f0, $f20
@ -50,7 +50,7 @@ glabel func_E0016228
/* 32F104 E00162D4 46201080 */ add.d $f2, $f2, $f0
/* 32F108 E00162D8 C60CFFF8 */ lwc1 $f12, -8($s0)
/* 32F10C E00162DC 462010A0 */ cvt.s.d $f2, $f2
/* 32F110 E00162E0 0C080144 */ jal func_E0200510
/* 32F110 E00162E0 0C080144 */ jal shim_cos_deg
/* 32F114 E00162E4 E602FFE4 */ swc1 $f2, -0x1c($s0)
/* 32F118 E00162E8 46000021 */ cvt.d.s $f0, $f0
/* 32F11C E00162EC 46340002 */ mul.d $f0, $f0, $f20
@ -118,7 +118,7 @@ glabel func_E0016228
.LE00163D8:
/* 32F208 E00163D8 16600003 */ bnez $s3, .LE00163E8
/* 32F20C E00163DC 00000000 */ nop
/* 32F210 E00163E0 0C080128 */ jal func_E02004A0
/* 32F210 E00163E0 0C080128 */ jal shim_remove_effect
/* 32F214 E00163E4 0280202D */ daddu $a0, $s4, $zero
.LE00163E8:
/* 32F218 E00163E8 8FBF0024 */ lw $ra, 0x24($sp)

View File

@ -11,7 +11,7 @@ glabel func_E0016410
/* 32F258 E0016428 27A40010 */ addiu $a0, $sp, 0x10
/* 32F25C E001642C AFBF0020 */ sw $ra, 0x20($sp)
/* 32F260 E0016430 AFA00014 */ sw $zero, 0x14($sp)
/* 32F264 E0016434 0C080120 */ jal func_E0200480
/* 32F264 E0016434 0C080120 */ jal shim_queue_render_task
/* 32F268 E0016438 AFA20010 */ sw $v0, 0x10($sp)
/* 32F26C E001643C 8C430000 */ lw $v1, ($v0)
/* 32F270 E0016440 34630002 */ ori $v1, $v1, 2

View File

@ -86,33 +86,33 @@ glabel func_E0016454
/* 32F3C4 E0016594 E7A00018 */ swc1 $f0, 0x18($sp)
/* 32F3C8 E0016598 C600000C */ lwc1 $f0, 0xc($s0)
/* 32F3CC E001659C 27A40020 */ addiu $a0, $sp, 0x20
/* 32F3D0 E00165A0 0C080180 */ jal func_E0200600
/* 32F3D0 E00165A0 0C080180 */ jal shim_guPositionF
/* 32F3D4 E00165A4 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 32F3D8 E00165A8 8E050014 */ lw $a1, 0x14($s0)
/* 32F3DC E00165AC 8E060018 */ lw $a2, 0x18($s0)
/* 32F3E0 E00165B0 8E07001C */ lw $a3, 0x1c($s0)
/* 32F3E4 E00165B4 0C080110 */ jal func_E0200440
/* 32F3E4 E00165B4 0C080110 */ jal shim_guScaleF
/* 32F3E8 E00165B8 0220202D */ daddu $a0, $s1, $zero
/* 32F3EC E00165BC 0220202D */ daddu $a0, $s1, $zero
/* 32F3F0 E00165C0 27A50020 */ addiu $a1, $sp, 0x20
/* 32F3F4 E00165C4 0C080114 */ jal func_E0200450
/* 32F3F4 E00165C4 0C080114 */ jal shim_guMtxCatF
/* 32F3F8 E00165C8 00A0302D */ daddu $a2, $a1, $zero
/* 32F3FC E00165CC E7B60010 */ swc1 $f22, 0x10($sp)
/* 32F400 E00165D0 8E050010 */ lw $a1, 0x10($s0)
/* 32F404 E00165D4 4406A000 */ mfc1 $a2, $f20
/* 32F408 E00165D8 4407A000 */ mfc1 $a3, $f20
/* 32F40C E00165DC 0C080104 */ jal func_E0200410
/* 32F40C E00165DC 0C080104 */ jal shim_guRotateF
/* 32F410 E00165E0 0220202D */ daddu $a0, $s1, $zero
/* 32F414 E00165E4 0220202D */ daddu $a0, $s1, $zero
/* 32F418 E00165E8 27A50020 */ addiu $a1, $sp, 0x20
/* 32F41C E00165EC 0C080114 */ jal func_E0200450
/* 32F41C E00165EC 0C080114 */ jal shim_guMtxCatF
/* 32F420 E00165F0 00A0302D */ daddu $a2, $a1, $zero
/* 32F424 E00165F4 27A40020 */ addiu $a0, $sp, 0x20
/* 32F428 E00165F8 96E50000 */ lhu $a1, ($s7)
/* 32F42C E00165FC 8FC20000 */ lw $v0, ($fp)
/* 32F430 E0016600 00052980 */ sll $a1, $a1, 6
/* 32F434 E0016604 00B52821 */ addu $a1, $a1, $s5
/* 32F438 E0016608 0C080118 */ jal func_E0200460
/* 32F438 E0016608 0C080118 */ jal shim_guMtxF2L
/* 32F43C E001660C 00452821 */ addu $a1, $v0, $a1
/* 32F440 E0016610 3C077060 */ lui $a3, 0x7060
/* 32F444 E0016614 34E71800 */ ori $a3, $a3, 0x1800

View File

@ -33,12 +33,12 @@ glabel fx_11_main
/* 32EEA0 E0016070 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 32EEA4 E0016074 AFA00010 */ sw $zero, 0x10($sp)
/* 32EEA8 E0016078 AFA00024 */ sw $zero, 0x24($sp)
/* 32EEAC E001607C 0C080124 */ jal func_E0200490
/* 32EEAC E001607C 0C080124 */ jal shim_create_effect_instance
/* 32EEB0 E0016080 AFA20014 */ sw $v0, 0x14($sp)
/* 32EEB4 E0016084 24040050 */ addiu $a0, $zero, 0x50
/* 32EEB8 E0016088 24130001 */ addiu $s3, $zero, 1
/* 32EEBC E001608C 0040802D */ daddu $s0, $v0, $zero
/* 32EEC0 E0016090 0C08012C */ jal func_E02004B0
/* 32EEC0 E0016090 0C08012C */ jal shim_general_heap_malloc
/* 32EEC4 E0016094 AE130008 */ sw $s3, 8($s0)
/* 32EEC8 E0016098 0040882D */ daddu $s1, $v0, $zero
/* 32EECC E001609C 16200003 */ bnez $s1, .LE00160AC
@ -50,7 +50,7 @@ glabel fx_11_main
/* 32EEDC E00160AC 0220202D */ daddu $a0, $s1, $zero
/* 32EEE0 E00160B0 00132880 */ sll $a1, $s3, 2
/* 32EEE4 E00160B4 00B32821 */ addu $a1, $a1, $s3
/* 32EEE8 E00160B8 0C080130 */ jal func_E02004C0
/* 32EEE8 E00160B8 0C080130 */ jal shim_mem_clear
/* 32EEEC E00160BC 00052900 */ sll $a1, $a1, 4
/* 32EEF0 E00160C0 0000902D */ daddu $s2, $zero, $zero
/* 32EEF4 E00160C4 0253102A */ slt $v0, $s2, $s3
@ -74,7 +74,7 @@ glabel fx_11_main
/* 32EF38 E0016108 E6160014 */ swc1 $f22, 0x14($s0)
/* 32EF3C E001610C E6160018 */ swc1 $f22, 0x18($s0)
/* 32EF40 E0016110 E616001C */ swc1 $f22, 0x1c($s0)
/* 32EF44 E0016114 0C080138 */ jal func_E02004E0
/* 32EF44 E0016114 0C080138 */ jal shim_rand_int
/* 32EF48 E0016118 A2140000 */ sb $s4, ($s0)
/* 32EF4C E001611C 44820000 */ mtc1 $v0, $f0
/* 32EF50 E0016120 00000000 */ nop
@ -86,7 +86,7 @@ glabel fx_11_main
/* 32EF68 E0016138 46220000 */ add.d $f0, $f0, $f2
/* 32EF6C E001613C 2404000A */ addiu $a0, $zero, 0xa
/* 32EF70 E0016140 46200020 */ cvt.s.d $f0, $f0
/* 32EF74 E0016144 0C080138 */ jal func_E02004E0
/* 32EF74 E0016144 0C080138 */ jal shim_rand_int
/* 32EF78 E0016148 E6000020 */ swc1 $f0, 0x20($s0)
/* 32EF7C E001614C 44820000 */ mtc1 $v0, $f0
/* 32EF80 E0016150 00000000 */ nop

View File

@ -25,7 +25,7 @@ glabel func_E00DC198
/* 3D7C50 E00DC1E0 24460001 */ addiu $a2, $v0, 1
/* 3D7C54 E00DC1E4 04A10005 */ bgez $a1, .LE00DC1FC
/* 3D7C58 E00DC1E8 AC660014 */ sw $a2, 0x14($v1)
/* 3D7C5C E00DC1EC 0C080128 */ jal func_E02004A0
/* 3D7C5C E00DC1EC 0C080128 */ jal shim_remove_effect
/* 3D7C60 E00DC1F0 00000000 */ nop
/* 3D7C64 E00DC1F4 080370AD */ j .LE00DC2B4
/* 3D7C68 E00DC1F8 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00DC2C0
/* 3D7D4C E00DC2DC AFA40018 */ sw $a0, 0x18($sp)
/* 3D7D50 E00DC2E0 27A40010 */ addiu $a0, $sp, 0x10
/* 3D7D54 E00DC2E4 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D7D58 E00DC2E8 0C080120 */ jal func_E0200480
/* 3D7D58 E00DC2E8 0C080120 */ jal shim_queue_render_task
/* 3D7D5C E00DC2EC AFA20010 */ sw $v0, 0x10($sp)
/* 3D7D60 E00DC2F0 8FBF0020 */ lw $ra, 0x20($sp)
/* 3D7D64 E00DC2F4 03E00008 */ jr $ra

View File

@ -65,7 +65,7 @@ glabel func_E00DC304
/* 3D7E64 E00DC3F4 44133000 */ mfc1 $s3, $f6
/* 3D7E68 E00DC3F8 4600218D */ trunc.w.s $f6, $f4
/* 3D7E6C E00DC3FC 44163000 */ mfc1 $s6, $f6
/* 3D7E70 E00DC400 0C080108 */ jal func_E0200420
/* 3D7E70 E00DC400 0C080108 */ jal shim_guTranslateF
/* 3D7E74 E00DC404 02238821 */ addu $s1, $s1, $v1
/* 3D7E78 E00DC408 37DE1630 */ ori $fp, $fp, 0x1630
/* 3D7E7C E00DC40C 3C013F80 */ lui $at, 0x3f80
@ -76,20 +76,20 @@ glabel func_E00DC304
/* 3D7E90 E00DC420 0200202D */ daddu $a0, $s0, $zero
/* 3D7E94 E00DC424 44060000 */ mfc1 $a2, $f0
/* 3D7E98 E00DC428 8E450048 */ lw $a1, 0x48($s2)
/* 3D7E9C E00DC42C 0C080104 */ jal func_E0200410
/* 3D7E9C E00DC42C 0C080104 */ jal shim_guRotateF
/* 3D7EA0 E00DC430 00C0382D */ daddu $a3, $a2, $zero
/* 3D7EA4 E00DC434 0200202D */ daddu $a0, $s0, $zero
/* 3D7EA8 E00DC438 27A50018 */ addiu $a1, $sp, 0x18
/* 3D7EAC E00DC43C 0C080114 */ jal func_E0200450
/* 3D7EAC E00DC43C 0C080114 */ jal shim_guMtxCatF
/* 3D7EB0 E00DC440 00A0302D */ daddu $a2, $a1, $zero
/* 3D7EB4 E00DC444 8E45004C */ lw $a1, 0x4c($s2)
/* 3D7EB8 E00DC448 0200202D */ daddu $a0, $s0, $zero
/* 3D7EBC E00DC44C 00A0302D */ daddu $a2, $a1, $zero
/* 3D7EC0 E00DC450 0C080110 */ jal func_E0200440
/* 3D7EC0 E00DC450 0C080110 */ jal shim_guScaleF
/* 3D7EC4 E00DC454 00A0382D */ daddu $a3, $a1, $zero
/* 3D7EC8 E00DC458 0200202D */ daddu $a0, $s0, $zero
/* 3D7ECC E00DC45C 27A50018 */ addiu $a1, $sp, 0x18
/* 3D7ED0 E00DC460 0C080114 */ jal func_E0200450
/* 3D7ED0 E00DC460 0C080114 */ jal shim_guMtxCatF
/* 3D7ED4 E00DC464 00A0302D */ daddu $a2, $a1, $zero
/* 3D7ED8 E00DC468 27A40018 */ addiu $a0, $sp, 0x18
/* 3D7EDC E00DC46C 3C108007 */ lui $s0, %hi(gMatrixListPos)
@ -100,7 +100,7 @@ glabel func_E00DC304
/* 3D7EF0 E00DC480 8EA20000 */ lw $v0, ($s5)
/* 3D7EF4 E00DC484 00052980 */ sll $a1, $a1, 6
/* 3D7EF8 E00DC488 00BE2821 */ addu $a1, $a1, $fp
/* 3D7EFC E00DC48C 0C080118 */ jal func_E0200460
/* 3D7EFC E00DC48C 0C080118 */ jal shim_guMtxF2L
/* 3D7F00 E00DC490 00452821 */ addu $a1, $v0, $a1
/* 3D7F04 E00DC494 3C03DA38 */ lui $v1, 0xda38
/* 3D7F08 E00DC498 34630002 */ ori $v1, $v1, 2

View File

@ -29,12 +29,12 @@ glabel fx_110_main
/* 3D7AD0 E00DC060 AFB1002C */ sw $s1, 0x2c($sp)
/* 3D7AD4 E00DC064 AFA00010 */ sw $zero, 0x10($sp)
/* 3D7AD8 E00DC068 AFA00024 */ sw $zero, 0x24($sp)
/* 3D7ADC E00DC06C 0C080124 */ jal func_E0200490
/* 3D7ADC E00DC06C 0C080124 */ jal shim_create_effect_instance
/* 3D7AE0 E00DC070 AFA20014 */ sw $v0, 0x14($sp)
/* 3D7AE4 E00DC074 24040050 */ addiu $a0, $zero, 0x50
/* 3D7AE8 E00DC078 24030001 */ addiu $v1, $zero, 1
/* 3D7AEC E00DC07C 0040902D */ daddu $s2, $v0, $zero
/* 3D7AF0 E00DC080 0C08012C */ jal func_E02004B0
/* 3D7AF0 E00DC080 0C08012C */ jal shim_general_heap_malloc
/* 3D7AF4 E00DC084 AE430008 */ sw $v1, 8($s2)
/* 3D7AF8 E00DC088 0040882D */ daddu $s1, $v0, $zero
/* 3D7AFC E00DC08C 16200003 */ bnez $s1, .LE00DC09C
@ -73,13 +73,13 @@ glabel fx_110_main
/* 3D7B70 E00DC100 E6200048 */ swc1 $f0, 0x48($s1)
/* 3D7B74 E00DC104 C7A0006C */ lwc1 $f0, 0x6c($sp)
/* 3D7B78 E00DC108 24040020 */ addiu $a0, $zero, 0x20
/* 3D7B7C E00DC10C 0C080138 */ jal func_E02004E0
/* 3D7B7C E00DC10C 0C080138 */ jal shim_rand_int
/* 3D7B80 E00DC110 E620003C */ swc1 $f0, 0x3c($s1)
/* 3D7B84 E00DC114 24040010 */ addiu $a0, $zero, 0x10
/* 3D7B88 E00DC118 44820000 */ mtc1 $v0, $f0
/* 3D7B8C E00DC11C 00000000 */ nop
/* 3D7B90 E00DC120 46800020 */ cvt.s.w $f0, $f0
/* 3D7B94 E00DC124 0C080138 */ jal func_E02004E0
/* 3D7B94 E00DC124 0C080138 */ jal shim_rand_int
/* 3D7B98 E00DC128 E6200038 */ swc1 $f0, 0x38($s1)
/* 3D7B9C E00DC12C 44820000 */ mtc1 $v0, $f0
/* 3D7BA0 E00DC130 00000000 */ nop

View File

@ -26,7 +26,7 @@ glabel func_E00DE124
/* 3D8890 E00DE170 24420001 */ addiu $v0, $v0, 1
/* 3D8894 E00DE174 04A10005 */ bgez $a1, .LE00DE18C
/* 3D8898 E00DE178 AC620014 */ sw $v0, 0x14($v1)
/* 3D889C E00DE17C 0C080128 */ jal func_E02004A0
/* 3D889C E00DE17C 0C080128 */ jal shim_remove_effect
/* 3D88A0 E00DE180 00000000 */ nop
/* 3D88A4 E00DE184 08037895 */ j .LE00DE254
/* 3D88A8 E00DE188 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00DE260
/* 3D899C E00DE27C AFA40018 */ sw $a0, 0x18($sp)
/* 3D89A0 E00DE280 27A40010 */ addiu $a0, $sp, 0x10
/* 3D89A4 E00DE284 AFBF0020 */ sw $ra, 0x20($sp)
/* 3D89A8 E00DE288 0C080120 */ jal func_E0200480
/* 3D89A8 E00DE288 0C080120 */ jal shim_queue_render_task
/* 3D89AC E00DE28C AFA20010 */ sw $v0, 0x10($sp)
/* 3D89B0 E00DE290 8C430000 */ lw $v1, ($v0)
/* 3D89B4 E00DE294 34630002 */ ori $v1, $v1, 2

View File

@ -54,17 +54,17 @@ glabel func_E00DE2A8
/* 3D8A8C E00DE36C 001010C0 */ sll $v0, $s0, 3
/* 3D8A90 E00DE370 02028021 */ addu $s0, $s0, $v0
/* 3D8A94 E00DE374 001080C0 */ sll $s0, $s0, 3
/* 3D8A98 E00DE378 0C080108 */ jal func_E0200420
/* 3D8A98 E00DE378 0C080108 */ jal shim_guTranslateF
/* 3D8A9C E00DE37C 02038021 */ addu $s0, $s0, $v1
/* 3D8AA0 E00DE380 27B10060 */ addiu $s1, $sp, 0x60
/* 3D8AA4 E00DE384 8EC50040 */ lw $a1, 0x40($s6)
/* 3D8AA8 E00DE388 0220202D */ daddu $a0, $s1, $zero
/* 3D8AAC E00DE38C 00A0302D */ daddu $a2, $a1, $zero
/* 3D8AB0 E00DE390 0C080110 */ jal func_E0200440
/* 3D8AB0 E00DE390 0C080110 */ jal shim_guScaleF
/* 3D8AB4 E00DE394 00A0382D */ daddu $a3, $a1, $zero
/* 3D8AB8 E00DE398 0220202D */ daddu $a0, $s1, $zero
/* 3D8ABC E00DE39C 27A50020 */ addiu $a1, $sp, 0x20
/* 3D8AC0 E00DE3A0 0C080114 */ jal func_E0200450
/* 3D8AC0 E00DE3A0 0C080114 */ jal shim_guMtxCatF
/* 3D8AC4 E00DE3A4 00A0302D */ daddu $a2, $a1, $zero
/* 3D8AC8 E00DE3A8 27A40020 */ addiu $a0, $sp, 0x20
/* 3D8ACC E00DE3AC 3C118007 */ lui $s1, %hi(gMatrixListPos)
@ -75,7 +75,7 @@ glabel func_E00DE2A8
/* 3D8AE0 E00DE3C0 8E620000 */ lw $v0, ($s3)
/* 3D8AE4 E00DE3C4 00052980 */ sll $a1, $a1, 6
/* 3D8AE8 E00DE3C8 00B42821 */ addu $a1, $a1, $s4
/* 3D8AEC E00DE3CC 0C080118 */ jal func_E0200460
/* 3D8AEC E00DE3CC 0C080118 */ jal shim_guMtxF2L
/* 3D8AF0 E00DE3D0 00452821 */ addu $a1, $v0, $a1
/* 3D8AF4 E00DE3D4 3C03DA38 */ lui $v1, 0xda38
/* 3D8AF8 E00DE3D8 34630002 */ ori $v1, $v1, 2
@ -204,7 +204,7 @@ glabel func_E00DE2A8
/* 3D8CD8 E00DE5B8 00000000 */ nop
/* 3D8CDC E00DE5BC 46800020 */ cvt.s.w $f0, $f0
/* 3D8CE0 E00DE5C0 E7A00014 */ swc1 $f0, 0x14($sp)
/* 3D8CE4 E00DE5C4 0C080180 */ jal func_E0200600
/* 3D8CE4 E00DE5C4 0C080180 */ jal shim_guPositionF
/* 3D8CE8 E00DE5C8 E7A20010 */ swc1 $f2, 0x10($sp)
/* 3D8CEC E00DE5CC 27A40020 */ addiu $a0, $sp, 0x20
/* 3D8CF0 E00DE5D0 3C118007 */ lui $s1, %hi(gMatrixListPos)
@ -215,7 +215,7 @@ glabel func_E00DE2A8
/* 3D8D04 E00DE5E4 8E420000 */ lw $v0, ($s2)
/* 3D8D08 E00DE5E8 00052980 */ sll $a1, $a1, 6
/* 3D8D0C E00DE5EC 00B32821 */ addu $a1, $a1, $s3
/* 3D8D10 E00DE5F0 0C080118 */ jal func_E0200460
/* 3D8D10 E00DE5F0 0C080118 */ jal shim_guMtxF2L
/* 3D8D14 E00DE5F4 00452821 */ addu $a1, $v0, $a1
/* 3D8D18 E00DE5F8 8E850000 */ lw $a1, ($s4)
/* 3D8D1C E00DE5FC 00A0202D */ daddu $a0, $a1, $zero

View File

@ -28,12 +28,12 @@ glabel fx_111_main
/* 3D877C E00DE05C AFB00028 */ sw $s0, 0x28($sp)
/* 3D8780 E00DE060 AFA00010 */ sw $zero, 0x10($sp)
/* 3D8784 E00DE064 AFA00024 */ sw $zero, 0x24($sp)
/* 3D8788 E00DE068 0C080124 */ jal func_E0200490
/* 3D8788 E00DE068 0C080124 */ jal shim_create_effect_instance
/* 3D878C E00DE06C AFA20014 */ sw $v0, 0x14($sp)
/* 3D8790 E00DE070 24040044 */ addiu $a0, $zero, 0x44
/* 3D8794 E00DE074 24030001 */ addiu $v1, $zero, 1
/* 3D8798 E00DE078 0040802D */ daddu $s0, $v0, $zero
/* 3D879C E00DE07C 0C08012C */ jal func_E02004B0
/* 3D879C E00DE07C 0C08012C */ jal shim_general_heap_malloc
/* 3D87A0 E00DE080 AE030008 */ sw $v1, 8($s0)
/* 3D87A4 E00DE084 0040202D */ daddu $a0, $v0, $zero
/* 3D87A8 E00DE088 14800003 */ bnez $a0, .LE00DE098

View File

@ -44,7 +44,7 @@ glabel func_E00E01D8
/* 3DB6C8 E00E0268 8C830018 */ lw $v1, 0x18($a0)
/* 3DB6CC E00E026C 04610005 */ bgez $v1, .LE00E0284
/* 3DB6D0 E00E0270 28620010 */ slti $v0, $v1, 0x10
/* 3DB6D4 E00E0274 0C080128 */ jal func_E02004A0
/* 3DB6D4 E00E0274 0C080128 */ jal shim_remove_effect
/* 3DB6D8 E00E0278 0240202D */ daddu $a0, $s2, $zero
/* 3DB6DC E00E027C 0803815F */ j .LE00E057C
/* 3DB6E0 E00E0280 00000000 */ nop
@ -92,7 +92,7 @@ glabel func_E00E01D8
/* 3DB774 E00E0314 00000000 */ nop
/* 3DB778 E00E0318 4600C68D */ trunc.w.s $f26, $f24
/* 3DB77C E00E031C 4404D000 */ mfc1 $a0, $f26
/* 3DB780 E00E0320 0C080138 */ jal func_E02004E0
/* 3DB780 E00E0320 0C080138 */ jal shim_rand_int
/* 3DB784 E00E0324 00000000 */ nop
/* 3DB788 E00E0328 3C013FE0 */ lui $at, 0x3fe0
/* 3DB78C E00E032C 44810800 */ mtc1 $at, $f1
@ -107,14 +107,14 @@ glabel func_E00E01D8
/* 3DB7B0 E00E0350 4600F68D */ trunc.w.s $f26, $f30
/* 3DB7B4 E00E0354 4404D000 */ mfc1 $a0, $f26
/* 3DB7B8 E00E0358 46200020 */ cvt.s.d $f0, $f0
/* 3DB7BC E00E035C 0C080138 */ jal func_E02004E0
/* 3DB7BC E00E035C 0C080138 */ jal shim_rand_int
/* 3DB7C0 E00E0360 E600FFB8 */ swc1 $f0, -0x48($s0)
/* 3DB7C4 E00E0364 24040014 */ addiu $a0, $zero, 0x14
/* 3DB7C8 E00E0368 44820000 */ mtc1 $v0, $f0
/* 3DB7CC E00E036C 00000000 */ nop
/* 3DB7D0 E00E0370 46800020 */ cvt.s.w $f0, $f0
/* 3DB7D4 E00E0374 E600FFBC */ swc1 $f0, -0x44($s0)
/* 3DB7D8 E00E0378 0C080138 */ jal func_E02004E0
/* 3DB7D8 E00E0378 0C080138 */ jal shim_rand_int
/* 3DB7DC E00E037C AE00FFC0 */ sw $zero, -0x40($s0)
/* 3DB7E0 E00E0380 2442FFF6 */ addiu $v0, $v0, -0xa
/* 3DB7E4 E00E0384 44820000 */ mtc1 $v0, $f0
@ -125,7 +125,7 @@ glabel func_E00E01D8
/* 3DB7F8 E00E0398 00000000 */ nop
/* 3DB7FC E00E039C 24040028 */ addiu $a0, $zero, 0x28
/* 3DB800 E00E03A0 46200020 */ cvt.s.d $f0, $f0
/* 3DB804 E00E03A4 0C080138 */ jal func_E02004E0
/* 3DB804 E00E03A4 0C080138 */ jal shim_rand_int
/* 3DB808 E00E03A8 E600FFF8 */ swc1 $f0, -8($s0)
/* 3DB80C E00E03AC 2442FFFF */ addiu $v0, $v0, -1
/* 3DB810 E00E03B0 44820000 */ mtc1 $v0, $f0
@ -139,7 +139,7 @@ glabel func_E00E01D8
/* 3DB830 E00E03D0 24040014 */ addiu $a0, $zero, 0x14
/* 3DB834 E00E03D4 AE000000 */ sw $zero, ($s0)
/* 3DB838 E00E03D8 46200020 */ cvt.s.d $f0, $f0
/* 3DB83C E00E03DC 0C080138 */ jal func_E02004E0
/* 3DB83C E00E03DC 0C080138 */ jal shim_rand_int
/* 3DB840 E00E03E0 E600FFFC */ swc1 $f0, -4($s0)
/* 3DB844 E00E03E4 2442FFF6 */ addiu $v0, $v0, -0xa
/* 3DB848 E00E03E8 44820000 */ mtc1 $v0, $f0
@ -150,7 +150,7 @@ glabel func_E00E01D8
/* 3DB85C E00E03FC 00000000 */ nop
/* 3DB860 E00E0400 2404001E */ addiu $a0, $zero, 0x1e
/* 3DB864 E00E0404 46200020 */ cvt.s.d $f0, $f0
/* 3DB868 E00E0408 0C080138 */ jal func_E02004E0
/* 3DB868 E00E0408 0C080138 */ jal shim_rand_int
/* 3DB86C E00E040C E6000004 */ swc1 $f0, 4($s0)
/* 3DB870 E00E0410 2442FFFF */ addiu $v0, $v0, -1
/* 3DB874 E00E0414 C7BA0010 */ lwc1 $f26, 0x10($sp)
@ -165,13 +165,13 @@ glabel func_E00E01D8
/* 3DB898 E00E0438 2404000F */ addiu $a0, $zero, 0xf
/* 3DB89C E00E043C AE00000C */ sw $zero, 0xc($s0)
/* 3DB8A0 E00E0440 46200020 */ cvt.s.d $f0, $f0
/* 3DB8A4 E00E0444 0C080138 */ jal func_E02004E0
/* 3DB8A4 E00E0444 0C080138 */ jal shim_rand_int
/* 3DB8A8 E00E0448 E6000008 */ swc1 $f0, 8($s0)
/* 3DB8AC E00E044C 2404000F */ addiu $a0, $zero, 0xf
/* 3DB8B0 E00E0450 44820000 */ mtc1 $v0, $f0
/* 3DB8B4 E00E0454 00000000 */ nop
/* 3DB8B8 E00E0458 46800020 */ cvt.s.w $f0, $f0
/* 3DB8BC E00E045C 0C080138 */ jal func_E02004E0
/* 3DB8BC E00E045C 0C080138 */ jal shim_rand_int
/* 3DB8C0 E00E0460 E6000010 */ swc1 $f0, 0x10($s0)
/* 3DB8C4 E00E0464 44820000 */ mtc1 $v0, $f0
/* 3DB8C8 E00E0468 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00E05B0
/* 3DBA2C E00E05CC AFA40018 */ sw $a0, 0x18($sp)
/* 3DBA30 E00E05D0 27A40010 */ addiu $a0, $sp, 0x10
/* 3DBA34 E00E05D4 AFBF0020 */ sw $ra, 0x20($sp)
/* 3DBA38 E00E05D8 0C080120 */ jal func_E0200480
/* 3DBA38 E00E05D8 0C080120 */ jal shim_queue_render_task
/* 3DBA3C E00E05DC AFA20010 */ sw $v0, 0x10($sp)
/* 3DBA40 E00E05E0 8C430000 */ lw $v1, ($v0)
/* 3DBA44 E00E05E4 34630002 */ ori $v1, $v1, 2

View File

@ -53,17 +53,17 @@ glabel func_E00E0600
/* 3DBB20 E00E06C0 001010C0 */ sll $v0, $s0, 3
/* 3DBB24 E00E06C4 02028021 */ addu $s0, $s0, $v0
/* 3DBB28 E00E06C8 001080C0 */ sll $s0, $s0, 3
/* 3DBB2C E00E06CC 0C080108 */ jal func_E0200420
/* 3DBB2C E00E06CC 0C080108 */ jal shim_guTranslateF
/* 3DBB30 E00E06D0 02038021 */ addu $s0, $s0, $v1
/* 3DBB34 E00E06D4 27B10050 */ addiu $s1, $sp, 0x50
/* 3DBB38 E00E06D8 8E850040 */ lw $a1, 0x40($s4)
/* 3DBB3C E00E06DC 0220202D */ daddu $a0, $s1, $zero
/* 3DBB40 E00E06E0 00A0302D */ daddu $a2, $a1, $zero
/* 3DBB44 E00E06E4 0C080110 */ jal func_E0200440
/* 3DBB44 E00E06E4 0C080110 */ jal shim_guScaleF
/* 3DBB48 E00E06E8 00A0382D */ daddu $a3, $a1, $zero
/* 3DBB4C E00E06EC 0220202D */ daddu $a0, $s1, $zero
/* 3DBB50 E00E06F0 27A50010 */ addiu $a1, $sp, 0x10
/* 3DBB54 E00E06F4 0C080114 */ jal func_E0200450
/* 3DBB54 E00E06F4 0C080114 */ jal shim_guMtxCatF
/* 3DBB58 E00E06F8 00A0302D */ daddu $a2, $a1, $zero
/* 3DBB5C E00E06FC 27A40010 */ addiu $a0, $sp, 0x10
/* 3DBB60 E00E0700 3C118007 */ lui $s1, %hi(gMatrixListPos)
@ -74,7 +74,7 @@ glabel func_E00E0600
/* 3DBB74 E00E0714 8EE20000 */ lw $v0, ($s7)
/* 3DBB78 E00E0718 00052980 */ sll $a1, $a1, 6
/* 3DBB7C E00E071C 00B32821 */ addu $a1, $a1, $s3
/* 3DBB80 E00E0720 0C080118 */ jal func_E0200460
/* 3DBB80 E00E0720 0C080118 */ jal shim_guMtxF2L
/* 3DBB84 E00E0724 00452821 */ addu $a1, $v0, $a1
/* 3DBB88 E00E0728 3C03DA38 */ lui $v1, 0xda38
/* 3DBB8C E00E072C 34630002 */ ori $v1, $v1, 2
@ -153,14 +153,14 @@ glabel func_E00E0600
/* 3DBCAC E00E084C 8E05FFA4 */ lw $a1, -0x5c($s0)
/* 3DBCB0 E00E0850 8E06FFA8 */ lw $a2, -0x58($s0)
/* 3DBCB4 E00E0854 8E07FFAC */ lw $a3, -0x54($s0)
/* 3DBCB8 E00E0858 0C080108 */ jal func_E0200420
/* 3DBCB8 E00E0858 0C080108 */ jal shim_guTranslateF
/* 3DBCBC E00E085C 27A40010 */ addiu $a0, $sp, 0x10
/* 3DBCC0 E00E0860 27A40010 */ addiu $a0, $sp, 0x10
/* 3DBCC4 E00E0864 96650000 */ lhu $a1, ($s3)
/* 3DBCC8 E00E0868 8EE20000 */ lw $v0, ($s7)
/* 3DBCCC E00E086C 00052980 */ sll $a1, $a1, 6
/* 3DBCD0 E00E0870 00B22821 */ addu $a1, $a1, $s2
/* 3DBCD4 E00E0874 0C080118 */ jal func_E0200460
/* 3DBCD4 E00E0874 0C080118 */ jal shim_guMtxF2L
/* 3DBCD8 E00E0878 00452821 */ addu $a1, $v0, $a1
/* 3DBCDC E00E087C 8E260000 */ lw $a2, ($s1)
/* 3DBCE0 E00E0880 02A0382D */ daddu $a3, $s5, $zero

View File

@ -31,13 +31,13 @@ glabel fx_112_main
/* 3DB4C8 E00E0068 AFA00010 */ sw $zero, 0x10($sp)
/* 3DB4CC E00E006C AFA00024 */ sw $zero, 0x24($sp)
/* 3DB4D0 E00E0070 AFA20014 */ sw $v0, 0x14($sp)
/* 3DB4D4 E00E0074 0C080124 */ jal func_E0200490
/* 3DB4D4 E00E0074 0C080124 */ jal shim_create_effect_instance
/* 3DB4D8 E00E0078 26100001 */ addiu $s0, $s0, 1
/* 3DB4DC E00E007C 001020C0 */ sll $a0, $s0, 3
/* 3DB4E0 E00E0080 00902023 */ subu $a0, $a0, $s0
/* 3DB4E4 E00E0084 00042100 */ sll $a0, $a0, 4
/* 3DB4E8 E00E0088 0040882D */ daddu $s1, $v0, $zero
/* 3DB4EC E00E008C 0C08012C */ jal func_E02004B0
/* 3DB4EC E00E008C 0C08012C */ jal shim_general_heap_malloc
/* 3DB4F0 E00E0090 AE300008 */ sw $s0, 8($s1)
/* 3DB4F4 E00E0094 0040202D */ daddu $a0, $v0, $zero
/* 3DB4F8 E00E0098 14800003 */ bnez $a0, .LE00E00A8

View File

@ -25,7 +25,7 @@ glabel func_E00E2134
/* 3DC48C E00E217C 24460001 */ addiu $a2, $v0, 1
/* 3DC490 E00E2180 04610005 */ bgez $v1, .LE00E2198
/* 3DC494 E00E2184 ACA60014 */ sw $a2, 0x14($a1)
/* 3DC498 E00E2188 0C080128 */ jal func_E02004A0
/* 3DC498 E00E2188 0C080128 */ jal shim_remove_effect
/* 3DC49C E00E218C 00000000 */ nop
/* 3DC4A0 E00E2190 0803886F */ j .LE00E21BC
/* 3DC4A4 E00E2194 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00E21C8
/* 3DC4F4 E00E21E4 AFA40018 */ sw $a0, 0x18($sp)
/* 3DC4F8 E00E21E8 27A40010 */ addiu $a0, $sp, 0x10
/* 3DC4FC E00E21EC AFBF0020 */ sw $ra, 0x20($sp)
/* 3DC500 E00E21F0 0C080120 */ jal func_E0200480
/* 3DC500 E00E21F0 0C080120 */ jal shim_queue_render_task
/* 3DC504 E00E21F4 AFA20010 */ sw $v0, 0x10($sp)
/* 3DC508 E00E21F8 8C430000 */ lw $v1, ($v0)
/* 3DC50C E00E21FC 34630002 */ ori $v1, $v1, 2

View File

@ -63,17 +63,17 @@ glabel func_E00E2218
/* 3DC610 E00E2300 001010C0 */ sll $v0, $s0, 3
/* 3DC614 E00E2304 02028021 */ addu $s0, $s0, $v0
/* 3DC618 E00E2308 001080C0 */ sll $s0, $s0, 3
/* 3DC61C E00E230C 0C080108 */ jal func_E0200420
/* 3DC61C E00E230C 0C080108 */ jal shim_guTranslateF
/* 3DC620 E00E2310 02038021 */ addu $s0, $s0, $v1
/* 3DC624 E00E2314 27B20060 */ addiu $s2, $sp, 0x60
/* 3DC628 E00E2318 8EA50038 */ lw $a1, 0x38($s5)
/* 3DC62C E00E231C 0240202D */ daddu $a0, $s2, $zero
/* 3DC630 E00E2320 00A0302D */ daddu $a2, $a1, $zero
/* 3DC634 E00E2324 0C080110 */ jal func_E0200440
/* 3DC634 E00E2324 0C080110 */ jal shim_guScaleF
/* 3DC638 E00E2328 00A0382D */ daddu $a3, $a1, $zero
/* 3DC63C E00E232C 0240202D */ daddu $a0, $s2, $zero
/* 3DC640 E00E2330 27A50020 */ addiu $a1, $sp, 0x20
/* 3DC644 E00E2334 0C080114 */ jal func_E0200450
/* 3DC644 E00E2334 0C080114 */ jal shim_guMtxCatF
/* 3DC648 E00E2338 00A0302D */ daddu $a2, $a1, $zero
/* 3DC64C E00E233C 27A40020 */ addiu $a0, $sp, 0x20
/* 3DC650 E00E2340 96E50000 */ lhu $a1, ($s7)
@ -81,7 +81,7 @@ glabel func_E00E2218
/* 3DC658 E00E2348 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3DC65C E00E234C 00052980 */ sll $a1, $a1, 6
/* 3DC660 E00E2350 00B32821 */ addu $a1, $a1, $s3
/* 3DC664 E00E2354 0C080118 */ jal func_E0200460
/* 3DC664 E00E2354 0C080118 */ jal shim_guMtxF2L
/* 3DC668 E00E2358 00452821 */ addu $a1, $v0, $a1
/* 3DC66C E00E235C 3C03DA38 */ lui $v1, 0xda38
/* 3DC670 E00E2360 34630002 */ ori $v1, $v1, 2
@ -172,7 +172,7 @@ glabel func_E00E2218
/* 3DC7C4 E00E24B4 AD09001C */ sw $t1, 0x1c($t0)
/* 3DC7C8 E00E24B8 25080028 */ addiu $t0, $t0, 0x28
/* 3DC7CC E00E24BC E7B40010 */ swc1 $f20, 0x10($sp)
/* 3DC7D0 E00E24C0 0C080104 */ jal func_E0200410
/* 3DC7D0 E00E24C0 0C080104 */ jal shim_guRotateF
/* 3DC7D4 E00E24C4 AFA800A4 */ sw $t0, 0xa4($sp)
/* 3DC7D8 E00E24C8 3C01E00E */ lui $at, %hi(D_E00E2A30)
/* 3DC7DC E00E24CC D4202A30 */ ldc1 $f0, %lo(D_E00E2A30)($at)
@ -181,7 +181,7 @@ glabel func_E00E2218
/* 3DC7E8 E00E24D8 46806321 */ cvt.d.w $f12, $f12
/* 3DC7EC E00E24DC 46206300 */ add.d $f12, $f12, $f0
/* 3DC7F0 E00E24E0 0000A02D */ daddu $s4, $zero, $zero
/* 3DC7F4 E00E24E4 0C080140 */ jal func_E0200500
/* 3DC7F4 E00E24E4 0C080140 */ jal shim_sin_deg
/* 3DC7F8 E00E24E8 46206320 */ cvt.s.d $f12, $f12
/* 3DC7FC E00E24EC 3C01C1F0 */ lui $at, 0xc1f0
/* 3DC800 E00E24F0 44811000 */ mtc1 $at, $f2
@ -199,11 +199,11 @@ glabel func_E00E2218
/* 3DC830 E00E2520 E7B60010 */ swc1 $f22, 0x10($sp)
/* 3DC834 E00E2524 E7B40018 */ swc1 $f20, 0x18($sp)
/* 3DC838 E00E2528 E7B4001C */ swc1 $f20, 0x1c($sp)
/* 3DC83C E00E252C 0C080180 */ jal func_E0200600
/* 3DC83C E00E252C 0C080180 */ jal shim_guPositionF
/* 3DC840 E00E2530 E7A40014 */ swc1 $f4, 0x14($sp)
/* 3DC844 E00E2534 0240202D */ daddu $a0, $s2, $zero
/* 3DC848 E00E2538 27A50020 */ addiu $a1, $sp, 0x20
/* 3DC84C E00E253C 0C080114 */ jal func_E0200450
/* 3DC84C E00E253C 0C080114 */ jal shim_guMtxCatF
/* 3DC850 E00E2540 00A0302D */ daddu $a2, $a1, $zero
/* 3DC854 E00E2544 27A40020 */ addiu $a0, $sp, 0x20
/* 3DC858 E00E2548 96E50000 */ lhu $a1, ($s7)
@ -211,7 +211,7 @@ glabel func_E00E2218
/* 3DC860 E00E2550 8C42A674 */ lw $v0, %lo(gDisplayContext)($v0)
/* 3DC864 E00E2554 00052980 */ sll $a1, $a1, 6
/* 3DC868 E00E2558 00B32821 */ addu $a1, $a1, $s3
/* 3DC86C E00E255C 0C080118 */ jal func_E0200460
/* 3DC86C E00E255C 0C080118 */ jal shim_guMtxF2L
/* 3DC870 E00E2560 00452821 */ addu $a1, $v0, $a1
/* 3DC874 E00E2564 8EC20000 */ lw $v0, ($s6)
/* 3DC878 E00E2568 0280802D */ daddu $s0, $s4, $zero
@ -237,7 +237,7 @@ glabel func_E00E2218
/* 3DC8C4 E00E25B4 44826000 */ mtc1 $v0, $f12
/* 3DC8C8 E00E25B8 00000000 */ nop
/* 3DC8CC E00E25BC 46806320 */ cvt.s.w $f12, $f12
/* 3DC8D0 E00E25C0 0C080140 */ jal func_E0200500
/* 3DC8D0 E00E25C0 0C080140 */ jal shim_sin_deg
/* 3DC8D4 E00E25C4 26100030 */ addiu $s0, $s0, 0x30
/* 3DC8D8 E00E25C8 44941000 */ mtc1 $s4, $f2
/* 3DC8DC E00E25CC 00000000 */ nop
@ -267,7 +267,7 @@ glabel func_E00E2218
/* 3DC93C E00E262C E7B4001C */ swc1 $f20, 0x1c($sp)
/* 3DC940 E00E2630 E7A40014 */ swc1 $f4, 0x14($sp)
/* 3DC944 E00E2634 462010A0 */ cvt.s.d $f2, $f2
/* 3DC948 E00E2638 0C080180 */ jal func_E0200600
/* 3DC948 E00E2638 0C080180 */ jal shim_guPositionF
/* 3DC94C E00E263C E7A20010 */ swc1 $f2, 0x10($sp)
/* 3DC950 E00E2640 27A40020 */ addiu $a0, $sp, 0x20
/* 3DC954 E00E2644 96E50000 */ lhu $a1, ($s7)
@ -276,7 +276,7 @@ glabel func_E00E2218
/* 3DC960 E00E2650 8FAF00A8 */ lw $t7, 0xa8($sp)
/* 3DC964 E00E2654 00052980 */ sll $a1, $a1, 6
/* 3DC968 E00E2658 00AF2821 */ addu $a1, $a1, $t7
/* 3DC96C E00E265C 0C080118 */ jal func_E0200460
/* 3DC96C E00E265C 0C080118 */ jal shim_guMtxF2L
/* 3DC970 E00E2660 00452821 */ addu $a1, $v0, $a1
/* 3DC974 E00E2664 3C02DA38 */ lui $v0, 0xda38
/* 3DC978 E00E2668 34420001 */ ori $v0, $v0, 1
@ -424,7 +424,7 @@ glabel func_E00E2218
/* 3DCB8C E00E287C 00628823 */ subu $s1, $v1, $v0
/* 3DCB90 E00E2880 00111100 */ sll $v0, $s1, 4
/* 3DCB94 E00E2884 00511021 */ addu $v0, $v0, $s1
/* 3DCB98 E00E2888 0C080180 */ jal func_E0200600
/* 3DCB98 E00E2888 0C080180 */ jal shim_guPositionF
/* 3DCB9C E00E288C 02028823 */ subu $s1, $s0, $v0
/* 3DCBA0 E00E2890 27A40020 */ addiu $a0, $sp, 0x20
/* 3DCBA4 E00E2894 26100004 */ addiu $s0, $s0, 4
@ -432,7 +432,7 @@ glabel func_E00E2218
/* 3DCBAC E00E289C 8FC20000 */ lw $v0, ($fp)
/* 3DCBB0 E00E28A0 00052980 */ sll $a1, $a1, 6
/* 3DCBB4 E00E28A4 00B62821 */ addu $a1, $a1, $s6
/* 3DCBB8 E00E28A8 0C080118 */ jal func_E0200460
/* 3DCBB8 E00E28A8 0C080118 */ jal shim_guMtxF2L
/* 3DCBBC E00E28AC 00452821 */ addu $a1, $v0, $a1
/* 3DCBC0 E00E28B0 3C09D838 */ lui $t1, 0xd838
/* 3DCBC4 E00E28B4 35290002 */ ori $t1, $t1, 2

View File

@ -28,12 +28,12 @@ glabel fx_113_main
/* 3DC36C E00E205C AFB00028 */ sw $s0, 0x28($sp)
/* 3DC370 E00E2060 AFA00010 */ sw $zero, 0x10($sp)
/* 3DC374 E00E2064 AFA00024 */ sw $zero, 0x24($sp)
/* 3DC378 E00E2068 0C080124 */ jal func_E0200490
/* 3DC378 E00E2068 0C080124 */ jal shim_create_effect_instance
/* 3DC37C E00E206C AFA20014 */ sw $v0, 0x14($sp)
/* 3DC380 E00E2070 2404003C */ addiu $a0, $zero, 0x3c
/* 3DC384 E00E2074 24030001 */ addiu $v1, $zero, 1
/* 3DC388 E00E2078 0040802D */ daddu $s0, $v0, $zero
/* 3DC38C E00E207C 0C08012C */ jal func_E02004B0
/* 3DC38C E00E207C 0C08012C */ jal shim_general_heap_malloc
/* 3DC390 E00E2080 AE030008 */ sw $v1, 8($s0)
/* 3DC394 E00E2084 0040202D */ daddu $a0, $v0, $zero
/* 3DC398 E00E2088 14800003 */ bnez $a0, .LE00E2098

View File

@ -42,7 +42,7 @@ glabel func_E00E4290
/* 3DE31C E00E431C 24420001 */ addiu $v0, $v0, 1
/* 3DE320 E00E4320 04610005 */ bgez $v1, .LE00E4338
/* 3DE324 E00E4324 AE220034 */ sw $v0, 0x34($s1)
/* 3DE328 E00E4328 0C080128 */ jal func_E02004A0
/* 3DE328 E00E4328 0C080128 */ jal shim_remove_effect
/* 3DE32C E00E432C 0280202D */ daddu $a0, $s4, $zero
/* 3DE330 E00E4330 08039231 */ j .LE00E48C4
/* 3DE334 E00E4334 00000000 */ nop
@ -74,7 +74,7 @@ glabel func_E00E4290
/* 3DE394 E00E4394 C6300008 */ lwc1 $f16, 8($s1)
/* 3DE398 E00E4398 E7B00018 */ swc1 $f16, 0x18($sp)
/* 3DE39C E00E439C C630000C */ lwc1 $f16, 0xc($s1)
/* 3DE3A0 E00E43A0 0C080144 */ jal func_E0200510
/* 3DE3A0 E00E43A0 0C080144 */ jal shim_cos_deg
/* 3DE3A4 E00E43A4 E7B0001C */ swc1 $f16, 0x1c($sp)
/* 3DE3A8 E00E43A8 8E030000 */ lw $v1, ($s0)
/* 3DE3AC E00E43AC 00031080 */ sll $v0, $v1, 2
@ -87,7 +87,7 @@ glabel func_E00E4290
/* 3DE3C8 E00E43C8 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 3DE3CC E00E43CC 00220821 */ addu $at, $at, $v0
/* 3DE3D0 E00E43D0 C42C1DEC */ lwc1 $f12, %lo(gCameras+0x6C)($at)
/* 3DE3D4 E00E43D4 0C080140 */ jal func_E0200500
/* 3DE3D4 E00E43D4 0C080140 */ jal shim_sin_deg
/* 3DE3D8 E00E43D8 46000706 */ mov.s $f28, $f0
/* 3DE3DC E00E43DC 8E250038 */ lw $a1, 0x38($s1)
/* 3DE3E0 E00E43E0 24130001 */ addiu $s3, $zero, 1
@ -129,7 +129,7 @@ glabel func_E00E4290
/* 3DE464 E00E4464 00000000 */ nop
/* 3DE468 E00E4468 4600F40D */ trunc.w.s $f16, $f30
/* 3DE46C E00E446C 44048000 */ mfc1 $a0, $f16
/* 3DE470 E00E4470 0C080138 */ jal func_E02004E0
/* 3DE470 E00E4470 0C080138 */ jal shim_rand_int
/* 3DE474 E00E4474 00000000 */ nop
/* 3DE478 E00E4478 3C013FE0 */ lui $at, 0x3fe0
/* 3DE47C E00E447C 44811800 */ mtc1 $at, $f3
@ -150,7 +150,7 @@ glabel func_E00E4290
/* 3DE4B8 E00E44B8 461A0001 */ sub.s $f0, $f0, $f26
/* 3DE4BC E00E44BC 4600840D */ trunc.w.s $f16, $f16
/* 3DE4C0 E00E44C0 44048000 */ mfc1 $a0, $f16
/* 3DE4C4 E00E44C4 0C080138 */ jal func_E02004E0
/* 3DE4C4 E00E44C4 0C080138 */ jal shim_rand_int
/* 3DE4C8 E00E44C8 E600FFAC */ swc1 $f0, -0x54($s0)
/* 3DE4CC E00E44CC 461AA502 */ mul.s $f20, $f20, $f26
/* 3DE4D0 E00E44D0 00000000 */ nop
@ -184,7 +184,7 @@ glabel func_E00E4290
/* 3DE538 E00E4538 2404000A */ addiu $a0, $zero, 0xa
/* 3DE53C E00E453C AE00FFC0 */ sw $zero, -0x40($s0)
/* 3DE540 E00E4540 AE00FFC4 */ sw $zero, -0x3c($s0)
/* 3DE544 E00E4544 0C080138 */ jal func_E02004E0
/* 3DE544 E00E4544 0C080138 */ jal shim_rand_int
/* 3DE548 E00E4548 AE00FFCC */ sw $zero, -0x34($s0)
/* 3DE54C E00E454C 00021023 */ negu $v0, $v0
/* 3DE550 E00E4550 2442FFFE */ addiu $v0, $v0, -2
@ -198,7 +198,7 @@ glabel func_E00E4290
/* 3DE570 E00E4570 AE000004 */ sw $zero, 4($s0)
/* 3DE574 E00E4574 AE000008 */ sw $zero, 8($s0)
/* 3DE578 E00E4578 46200020 */ cvt.s.d $f0, $f0
/* 3DE57C E00E457C 0C080138 */ jal func_E02004E0
/* 3DE57C E00E457C 0C080138 */ jal shim_rand_int
/* 3DE580 E00E4580 E600FFD0 */ swc1 $f0, -0x30($s0)
/* 3DE584 E00E4584 44820000 */ mtc1 $v0, $f0
/* 3DE588 E00E4588 00000000 */ nop
@ -265,7 +265,7 @@ glabel func_E00E4290
/* 3DE674 E00E4674 24020002 */ addiu $v0, $zero, 2
/* 3DE678 E00E4678 56420018 */ bnel $s2, $v0, .LE00E46DC
/* 3DE67C E00E467C AE00FFC0 */ sw $zero, -0x40($s0)
/* 3DE680 E00E4680 0C080138 */ jal func_E02004E0
/* 3DE680 E00E4680 0C080138 */ jal shim_rand_int
/* 3DE684 E00E4684 24040014 */ addiu $a0, $zero, 0x14
/* 3DE688 E00E4688 2442FFF6 */ addiu $v0, $v0, -0xa
/* 3DE68C E00E468C 44820000 */ mtc1 $v0, $f0
@ -276,7 +276,7 @@ glabel func_E00E4290
/* 3DE6A0 E00E46A0 00000000 */ nop
/* 3DE6A4 E00E46A4 24040014 */ addiu $a0, $zero, 0x14
/* 3DE6A8 E00E46A8 46200020 */ cvt.s.d $f0, $f0
/* 3DE6AC E00E46AC 0C080138 */ jal func_E02004E0
/* 3DE6AC E00E46AC 0C080138 */ jal shim_rand_int
/* 3DE6B0 E00E46B0 E600FFC0 */ swc1 $f0, -0x40($s0)
/* 3DE6B4 E00E46B4 2442FFF6 */ addiu $v0, $v0, -0xa
/* 3DE6B8 E00E46B8 44820000 */ mtc1 $v0, $f0
@ -293,13 +293,13 @@ glabel func_E00E4290
.LE00E46E0:
/* 3DE6E0 E00E46E0 2404000F */ addiu $a0, $zero, 0xf
/* 3DE6E4 E00E46E4 AE00FFCC */ sw $zero, -0x34($s0)
/* 3DE6E8 E00E46E8 0C080138 */ jal func_E02004E0
/* 3DE6E8 E00E46E8 0C080138 */ jal shim_rand_int
/* 3DE6EC E00E46EC AE00FFD0 */ sw $zero, -0x30($s0)
/* 3DE6F0 E00E46F0 2404000F */ addiu $a0, $zero, 0xf
/* 3DE6F4 E00E46F4 44820000 */ mtc1 $v0, $f0
/* 3DE6F8 E00E46F8 00000000 */ nop
/* 3DE6FC E00E46FC 46800020 */ cvt.s.w $f0, $f0
/* 3DE700 E00E4700 0C080138 */ jal func_E02004E0
/* 3DE700 E00E4700 0C080138 */ jal shim_rand_int
/* 3DE704 E00E4704 E6000004 */ swc1 $f0, 4($s0)
/* 3DE708 E00E4708 44820000 */ mtc1 $v0, $f0
/* 3DE70C E00E470C 00000000 */ nop
@ -374,18 +374,18 @@ glabel func_E00E4290
/* 3DE814 E00E4814 AE000004 */ sw $zero, 4($s0)
/* 3DE818 E00E4818 AE000008 */ sw $zero, 8($s0)
/* 3DE81C E00E481C AE16FFEC */ sw $s6, -0x14($s0)
/* 3DE820 E00E4820 0C080138 */ jal func_E02004E0
/* 3DE820 E00E4820 0C080138 */ jal shim_rand_int
/* 3DE824 E00E4824 E6000000 */ swc1 $f0, ($s0)
/* 3DE828 E00E4828 24420080 */ addiu $v0, $v0, 0x80
/* 3DE82C E00E482C 02C22023 */ subu $a0, $s6, $v0
/* 3DE830 E00E4830 0C080138 */ jal func_E02004E0
/* 3DE830 E00E4830 0C080138 */ jal shim_rand_int
/* 3DE834 E00E4834 AE02FFE0 */ sw $v0, -0x20($s0)
/* 3DE838 E00E4838 24420080 */ addiu $v0, $v0, 0x80
/* 3DE83C E00E483C 2404017F */ addiu $a0, $zero, 0x17f
/* 3DE840 E00E4840 8E03FFE0 */ lw $v1, -0x20($s0)
/* 3DE844 E00E4844 00822023 */ subu $a0, $a0, $v0
/* 3DE848 E00E4848 AE02FFE4 */ sw $v0, -0x1c($s0)
/* 3DE84C E00E484C 0C080138 */ jal func_E02004E0
/* 3DE84C E00E484C 0C080138 */ jal shim_rand_int
/* 3DE850 E00E4850 00832023 */ subu $a0, $a0, $v1
/* 3DE854 E00E4854 24420080 */ addiu $v0, $v0, 0x80
/* 3DE858 E00E4858 AE02FFE8 */ sw $v0, -0x18($s0)

View File

@ -12,7 +12,7 @@ glabel func_E00E490C
/* 3DE928 E00E4928 AFA40018 */ sw $a0, 0x18($sp)
/* 3DE92C E00E492C 27A40010 */ addiu $a0, $sp, 0x10
/* 3DE930 E00E4930 AFBF0020 */ sw $ra, 0x20($sp)
/* 3DE934 E00E4934 0C080120 */ jal func_E0200480
/* 3DE934 E00E4934 0C080120 */ jal shim_queue_render_task
/* 3DE938 E00E4938 AFA20010 */ sw $v0, 0x10($sp)
/* 3DE93C E00E493C 8C430000 */ lw $v1, ($v0)
/* 3DE940 E00E4940 34630002 */ ori $v1, $v1, 2

View File

@ -118,14 +118,14 @@ glabel func_E00E495C
/* 3DEB1C E00E4B1C C600FFA8 */ lwc1 $f0, -0x58($s0)
/* 3DEB20 E00E4B20 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3DEB24 E00E4B24 C600FFAC */ lwc1 $f0, -0x54($s0)
/* 3DEB28 E00E4B28 0C080180 */ jal func_E0200600
/* 3DEB28 E00E4B28 0C080180 */ jal shim_guPositionF
/* 3DEB2C E00E4B2C E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3DEB30 E00E4B30 27A40020 */ addiu $a0, $sp, 0x20
/* 3DEB34 E00E4B34 96A50000 */ lhu $a1, ($s5)
/* 3DEB38 E00E4B38 8EC20000 */ lw $v0, ($s6)
/* 3DEB3C E00E4B3C 00052980 */ sll $a1, $a1, 6
/* 3DEB40 E00E4B40 00B32821 */ addu $a1, $a1, $s3
/* 3DEB44 E00E4B44 0C080118 */ jal func_E0200460
/* 3DEB44 E00E4B44 0C080118 */ jal shim_guMtxF2L
/* 3DEB48 E00E4B48 00452821 */ addu $a1, $v0, $a1
/* 3DEB4C E00E4B4C 8E240000 */ lw $a0, ($s1)
/* 3DEB50 E00E4B50 0080282D */ daddu $a1, $a0, $zero

View File

@ -32,7 +32,7 @@ glabel fx_114_main
/* 3DE06C E00E406C AFA00010 */ sw $zero, 0x10($sp)
/* 3DE070 E00E4070 AFA00024 */ sw $zero, 0x24($sp)
/* 3DE074 E00E4074 AFA20014 */ sw $v0, 0x14($sp)
/* 3DE078 E00E4078 0C080124 */ jal func_E0200490
/* 3DE078 E00E4078 0C080124 */ jal shim_create_effect_instance
/* 3DE07C E00E407C 26310001 */ addiu $s1, $s1, 1
/* 3DE080 E00E4080 00112040 */ sll $a0, $s1, 1
/* 3DE084 E00E4084 00912021 */ addu $a0, $a0, $s1
@ -40,7 +40,7 @@ glabel fx_114_main
/* 3DE08C E00E408C 00912021 */ addu $a0, $a0, $s1
/* 3DE090 E00E4090 00042080 */ sll $a0, $a0, 2
/* 3DE094 E00E4094 0040982D */ daddu $s3, $v0, $zero
/* 3DE098 E00E4098 0C08012C */ jal func_E02004B0
/* 3DE098 E00E4098 0C08012C */ jal shim_general_heap_malloc
/* 3DE09C E00E409C AE710008 */ sw $s1, 8($s3)
/* 3DE0A0 E00E40A0 0040802D */ daddu $s0, $v0, $zero
/* 3DE0A4 E00E40A4 16000003 */ bnez $s0, .LE00E40B4
@ -104,19 +104,19 @@ glabel fx_114_main
/* 3DE168 E00E4168 08039071 */ j .LE00E41C4
/* 3DE16C E00E416C AE030054 */ sw $v1, 0x54($s0)
.LE00E4170:
/* 3DE170 E00E4170 0C080138 */ jal func_E02004E0
/* 3DE170 E00E4170 0C080138 */ jal shim_rand_int
/* 3DE174 E00E4174 2404007F */ addiu $a0, $zero, 0x7f
/* 3DE178 E00E4178 24420080 */ addiu $v0, $v0, 0x80
/* 3DE17C E00E417C 240400FF */ addiu $a0, $zero, 0xff
/* 3DE180 E00E4180 00822023 */ subu $a0, $a0, $v0
/* 3DE184 E00E4184 0C080138 */ jal func_E02004E0
/* 3DE184 E00E4184 0C080138 */ jal shim_rand_int
/* 3DE188 E00E4188 AE020038 */ sw $v0, 0x38($s0)
/* 3DE18C E00E418C 24420080 */ addiu $v0, $v0, 0x80
/* 3DE190 E00E4190 2404017F */ addiu $a0, $zero, 0x17f
/* 3DE194 E00E4194 8E030038 */ lw $v1, 0x38($s0)
/* 3DE198 E00E4198 00822023 */ subu $a0, $a0, $v0
/* 3DE19C E00E419C AE02003C */ sw $v0, 0x3c($s0)
/* 3DE1A0 E00E41A0 0C080138 */ jal func_E02004E0
/* 3DE1A0 E00E41A0 0C080138 */ jal shim_rand_int
/* 3DE1A4 E00E41A4 00832023 */ subu $a0, $a0, $v1
/* 3DE1A8 E00E41A8 24420080 */ addiu $v0, $v0, 0x80
/* 3DE1AC E00E41AC AE020040 */ sw $v0, 0x40($s0)

View File

@ -40,7 +40,7 @@ glabel func_E00E6184
/* 3E0B38 E00E6208 24420001 */ addiu $v0, $v0, 1
/* 3E0B3C E00E620C 04810005 */ bgez $a0, .LE00E6224
/* 3E0B40 E00E6210 ACA2002C */ sw $v0, 0x2c($a1)
/* 3E0B44 E00E6214 0C080128 */ jal func_E02004A0
/* 3E0B44 E00E6214 0C080128 */ jal shim_remove_effect
/* 3E0B48 E00E6218 0240202D */ daddu $a0, $s2, $zero
/* 3E0B4C E00E621C 08039925 */ j .LE00E6494
/* 3E0B50 E00E6220 00000000 */ nop
@ -112,12 +112,12 @@ glabel func_E00E6184
/* 3E0C40 E00E6310 00000000 */ nop
/* 3E0C44 E00E6314 46800020 */ cvt.s.w $f0, $f0
/* 3E0C48 E00E6318 4600A503 */ div.s $f20, $f20, $f0
/* 3E0C4C E00E631C 0C080140 */ jal func_E0200500
/* 3E0C4C E00E631C 0C080140 */ jal shim_sin_deg
/* 3E0C50 E00E6320 4600A306 */ mov.s $f12, $f20
/* 3E0C54 E00E6324 461C0002 */ mul.s $f0, $f0, $f28
/* 3E0C58 E00E6328 00000000 */ nop
/* 3E0C5C E00E632C 4600A306 */ mov.s $f12, $f20
/* 3E0C60 E00E6330 0C080144 */ jal func_E0200510
/* 3E0C60 E00E6330 0C080144 */ jal shim_cos_deg
/* 3E0C64 E00E6334 E600FFF0 */ swc1 $f0, -0x10($s0)
/* 3E0C68 E00E6338 461C0002 */ mul.s $f0, $f0, $f28
/* 3E0C6C E00E633C 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00E64D4
/* 3E0E20 E00E64F0 AFA40018 */ sw $a0, 0x18($sp)
/* 3E0E24 E00E64F4 27A40010 */ addiu $a0, $sp, 0x10
/* 3E0E28 E00E64F8 AFBF0020 */ sw $ra, 0x20($sp)
/* 3E0E2C E00E64FC 0C080120 */ jal func_E0200480
/* 3E0E2C E00E64FC 0C080120 */ jal shim_queue_render_task
/* 3E0E30 E00E6500 AFA20010 */ sw $v0, 0x10($sp)
/* 3E0E34 E00E6504 8C430000 */ lw $v1, ($v0)
/* 3E0E38 E00E6508 34630002 */ ori $v1, $v1, 2

View File

@ -56,18 +56,18 @@ glabel func_E00E6524
/* 3E0F20 E00E65F0 001010C0 */ sll $v0, $s0, 3
/* 3E0F24 E00E65F4 02028021 */ addu $s0, $s0, $v0
/* 3E0F28 E00E65F8 001080C0 */ sll $s0, $s0, 3
/* 3E0F2C E00E65FC 0C080108 */ jal func_E0200420
/* 3E0F2C E00E65FC 0C080108 */ jal shim_guTranslateF
/* 3E0F30 E00E6600 02038021 */ addu $s0, $s0, $v1
/* 3E0F34 E00E6604 27B10060 */ addiu $s1, $sp, 0x60
/* 3E0F38 E00E6608 0220202D */ daddu $a0, $s1, $zero
/* 3E0F3C E00E660C 8E850034 */ lw $a1, 0x34($s4)
/* 3E0F40 E00E6610 26940038 */ addiu $s4, $s4, 0x38
/* 3E0F44 E00E6614 00A0302D */ daddu $a2, $a1, $zero
/* 3E0F48 E00E6618 0C080110 */ jal func_E0200440
/* 3E0F48 E00E6618 0C080110 */ jal shim_guScaleF
/* 3E0F4C E00E661C 00A0382D */ daddu $a3, $a1, $zero
/* 3E0F50 E00E6620 0220202D */ daddu $a0, $s1, $zero
/* 3E0F54 E00E6624 27A50020 */ addiu $a1, $sp, 0x20
/* 3E0F58 E00E6628 0C080114 */ jal func_E0200450
/* 3E0F58 E00E6628 0C080114 */ jal shim_guMtxCatF
/* 3E0F5C E00E662C 00A0302D */ daddu $a2, $a1, $zero
/* 3E0F60 E00E6630 27A40020 */ addiu $a0, $sp, 0x20
/* 3E0F64 E00E6634 3C118007 */ lui $s1, %hi(gMatrixListPos)
@ -78,7 +78,7 @@ glabel func_E00E6524
/* 3E0F78 E00E6648 8EE20000 */ lw $v0, ($s7)
/* 3E0F7C E00E664C 00052980 */ sll $a1, $a1, 6
/* 3E0F80 E00E6650 00B22821 */ addu $a1, $a1, $s2
/* 3E0F84 E00E6654 0C080118 */ jal func_E0200460
/* 3E0F84 E00E6654 0C080118 */ jal shim_guMtxF2L
/* 3E0F88 E00E6658 00452821 */ addu $a1, $v0, $a1
/* 3E0F8C E00E665C 3C03DA38 */ lui $v1, 0xda38
/* 3E0F90 E00E6660 34630002 */ ori $v1, $v1, 2
@ -138,14 +138,14 @@ glabel func_E00E6524
/* 3E1064 E00E6734 E7B4001C */ swc1 $f20, 0x1c($sp)
/* 3E1068 E00E6738 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3E106C E00E673C 8E67FFF4 */ lw $a3, -0xc($s3)
/* 3E1070 E00E6740 0C080180 */ jal func_E0200600
/* 3E1070 E00E6740 0C080180 */ jal shim_guPositionF
/* 3E1074 E00E6744 27A40020 */ addiu $a0, $sp, 0x20
/* 3E1078 E00E6748 27A40020 */ addiu $a0, $sp, 0x20
/* 3E107C E00E674C 96450000 */ lhu $a1, ($s2)
/* 3E1080 E00E6750 8EE20000 */ lw $v0, ($s7)
/* 3E1084 E00E6754 00052980 */ sll $a1, $a1, 6
/* 3E1088 E00E6758 00B12821 */ addu $a1, $a1, $s1
/* 3E108C E00E675C 0C080118 */ jal func_E0200460
/* 3E108C E00E675C 0C080118 */ jal shim_guMtxF2L
/* 3E1090 E00E6760 00452821 */ addu $a1, $v0, $a1
/* 3E1094 E00E6764 8E040000 */ lw $a0, ($s0)
/* 3E1098 E00E6768 3C06D838 */ lui $a2, 0xd838

View File

@ -31,13 +31,13 @@ glabel fx_115_main
/* 3E0998 E00E6068 AFA00010 */ sw $zero, 0x10($sp)
/* 3E099C E00E606C AFA00024 */ sw $zero, 0x24($sp)
/* 3E09A0 E00E6070 AFA20014 */ sw $v0, 0x14($sp)
/* 3E09A4 E00E6074 0C080124 */ jal func_E0200490
/* 3E09A4 E00E6074 0C080124 */ jal shim_create_effect_instance
/* 3E09A8 E00E6078 26100001 */ addiu $s0, $s0, 1
/* 3E09AC E00E607C 001020C0 */ sll $a0, $s0, 3
/* 3E09B0 E00E6080 00902023 */ subu $a0, $a0, $s0
/* 3E09B4 E00E6084 000420C0 */ sll $a0, $a0, 3
/* 3E09B8 E00E6088 0040882D */ daddu $s1, $v0, $zero
/* 3E09BC E00E608C 0C08012C */ jal func_E02004B0
/* 3E09BC E00E608C 0C08012C */ jal shim_general_heap_malloc
/* 3E09C0 E00E6090 AE300008 */ sw $s0, 8($s1)
/* 3E09C4 E00E6094 0040182D */ daddu $v1, $v0, $zero
/* 3E09C8 E00E6098 14600003 */ bnez $v1, .LE00E60A8

View File

@ -26,7 +26,7 @@ glabel func_E00E8264
/* 3E1940 E00E82B0 24450001 */ addiu $a1, $v0, 1
/* 3E1944 E00E82B4 04C10005 */ bgez $a2, .LE00E82CC
/* 3E1948 E00E82B8 AC650020 */ sw $a1, 0x20($v1)
/* 3E194C E00E82BC 0C080128 */ jal func_E02004A0
/* 3E194C E00E82BC 0C080128 */ jal shim_remove_effect
/* 3E1950 E00E82C0 00000000 */ nop
/* 3E1954 E00E82C4 0803A0DA */ j .LE00E8368
/* 3E1958 E00E82C8 00000000 */ nop

View File

@ -12,7 +12,7 @@ glabel func_E00E8374
/* 3E1A20 E00E8390 AFA40018 */ sw $a0, 0x18($sp)
/* 3E1A24 E00E8394 27A40010 */ addiu $a0, $sp, 0x10
/* 3E1A28 E00E8398 AFBF0020 */ sw $ra, 0x20($sp)
/* 3E1A2C E00E839C 0C080120 */ jal func_E0200480
/* 3E1A2C E00E839C 0C080120 */ jal shim_queue_render_task
/* 3E1A30 E00E83A0 AFA20010 */ sw $v0, 0x10($sp)
/* 3E1A34 E00E83A4 8C430000 */ lw $v1, ($v0)
/* 3E1A38 E00E83A8 34630002 */ ori $v1, $v1, 2

View File

@ -50,17 +50,17 @@ glabel func_E00E83BC
/* 3E1B00 E00E8470 001010C0 */ sll $v0, $s0, 3
/* 3E1B04 E00E8474 02028021 */ addu $s0, $s0, $v0
/* 3E1B08 E00E8478 001080C0 */ sll $s0, $s0, 3
/* 3E1B0C E00E847C 0C080108 */ jal func_E0200420
/* 3E1B0C E00E847C 0C080108 */ jal shim_guTranslateF
/* 3E1B10 E00E8480 02038021 */ addu $s0, $s0, $v1
/* 3E1B14 E00E8484 27B10050 */ addiu $s1, $sp, 0x50
/* 3E1B18 E00E8488 8E450044 */ lw $a1, 0x44($s2)
/* 3E1B1C E00E848C 0220202D */ daddu $a0, $s1, $zero
/* 3E1B20 E00E8490 00A0302D */ daddu $a2, $a1, $zero
/* 3E1B24 E00E8494 0C080110 */ jal func_E0200440
/* 3E1B24 E00E8494 0C080110 */ jal shim_guScaleF
/* 3E1B28 E00E8498 00A0382D */ daddu $a3, $a1, $zero
/* 3E1B2C E00E849C 0220202D */ daddu $a0, $s1, $zero
/* 3E1B30 E00E84A0 27A50010 */ addiu $a1, $sp, 0x10
/* 3E1B34 E00E84A4 0C080114 */ jal func_E0200450
/* 3E1B34 E00E84A4 0C080114 */ jal shim_guMtxCatF
/* 3E1B38 E00E84A8 00A0302D */ daddu $a2, $a1, $zero
/* 3E1B3C E00E84AC 27A40010 */ addiu $a0, $sp, 0x10
/* 3E1B40 E00E84B0 3C118007 */ lui $s1, %hi(gMatrixListPos)
@ -71,7 +71,7 @@ glabel func_E00E83BC
/* 3E1B54 E00E84C4 8E820000 */ lw $v0, ($s4)
/* 3E1B58 E00E84C8 00052980 */ sll $a1, $a1, 6
/* 3E1B5C E00E84CC 00B62821 */ addu $a1, $a1, $s6
/* 3E1B60 E00E84D0 0C080118 */ jal func_E0200460
/* 3E1B60 E00E84D0 0C080118 */ jal shim_guMtxF2L
/* 3E1B64 E00E84D4 00452821 */ addu $a1, $v0, $a1
/* 3E1B68 E00E84D8 3C03DA38 */ lui $v1, 0xda38
/* 3E1B6C E00E84DC 34630002 */ ori $v1, $v1, 2

View File

@ -31,12 +31,12 @@ glabel fx_116_main
/* 3E16F8 E00E8068 AFA70074 */ sw $a3, 0x74($sp)
/* 3E16FC E00E806C AFA00010 */ sw $zero, 0x10($sp)
/* 3E1700 E00E8070 AFA00024 */ sw $zero, 0x24($sp)
/* 3E1704 E00E8074 0C080124 */ jal func_E0200490
/* 3E1704 E00E8074 0C080124 */ jal shim_create_effect_instance
/* 3E1708 E00E8078 AFA20014 */ sw $v0, 0x14($sp)
/* 3E170C E00E807C 24040048 */ addiu $a0, $zero, 0x48
/* 3E1710 E00E8080 24030001 */ addiu $v1, $zero, 1
/* 3E1714 E00E8084 0040882D */ daddu $s1, $v0, $zero
/* 3E1718 E00E8088 0C08012C */ jal func_E02004B0
/* 3E1718 E00E8088 0C08012C */ jal shim_general_heap_malloc
/* 3E171C E00E808C AE230008 */ sw $v1, 8($s1)
/* 3E1720 E00E8090 0040802D */ daddu $s0, $v0, $zero
/* 3E1724 E00E8094 16000003 */ bnez $s0, .LE00E80A4
@ -67,7 +67,7 @@ glabel fx_116_main
/* 3E1780 E00E80F0 00000000 */ nop
/* 3E1784 E00E80F4 45010004 */ bc1t .LE00E8108
/* 3E1788 E00E80F8 AE000020 */ sw $zero, 0x20($s0)
/* 3E178C E00E80FC 0C080154 */ jal func_E0200550
/* 3E178C E00E80FC 0C080154 */ jal shim_sqrtf
/* 3E1790 E00E8100 00000000 */ nop
/* 3E1794 E00E8104 46000306 */ mov.s $f12, $f0
.LE00E8108:

View File

@ -37,7 +37,7 @@ glabel func_E00EA198
/* 3E20EC E00EA20C 8E030010 */ lw $v1, 0x10($s0)
/* 3E20F0 E00EA210 04610005 */ bgez $v1, .LE00EA228
/* 3E20F4 E00EA214 28620010 */ slti $v0, $v1, 0x10
/* 3E20F8 E00EA218 0C080128 */ jal func_E02004A0
/* 3E20F8 E00EA218 0C080128 */ jal shim_remove_effect
/* 3E20FC E00EA21C 00000000 */ nop
/* 3E2100 E00EA220 0803A940 */ j .LE00EA500
/* 3E2104 E00EA224 00000000 */ nop
@ -216,7 +216,7 @@ glabel func_E00EA198
/* 3E238C E00EA4AC 00021080 */ sll $v0, $v0, 2
/* 3E2390 E00EA4B0 44826000 */ mtc1 $v0, $f12
/* 3E2394 E00EA4B4 00000000 */ nop
/* 3E2398 E00EA4B8 0C080140 */ jal func_E0200500
/* 3E2398 E00EA4B8 0C080140 */ jal shim_sin_deg
/* 3E239C E00EA4BC 46806320 */ cvt.s.w $f12, $f12
/* 3E23A0 E00EA4C0 C6040060 */ lwc1 $f4, 0x60($s0)
/* 3E23A4 E00EA4C4 C6020064 */ lwc1 $f2, 0x64($s0)

View File

@ -33,7 +33,7 @@ glabel func_E00EA520
/* 3E2470 E00EA590 8CE50004 */ lw $a1, 4($a3)
/* 3E2474 E00EA594 8CE60008 */ lw $a2, 8($a3)
/* 3E2478 E00EA598 8CE7000C */ lw $a3, 0xc($a3)
/* 3E247C E00EA59C 0C080168 */ jal func_E02005A0
/* 3E247C E00EA59C 0C080168 */ jal shim_transform_point
/* 3E2480 E00EA5A0 00822021 */ addu $a0, $a0, $v0
/* 3E2484 E00EA5A4 C7A00040 */ lwc1 $f0, 0x40($sp)
/* 3E2488 E00EA5A8 3C01459C */ lui $at, 0x459c
@ -76,7 +76,7 @@ glabel func_E00EA520
/* 3E2510 E00EA630 AC820004 */ sw $v0, 4($a0)
/* 3E2514 E00EA634 24020011 */ addiu $v0, $zero, 0x11
/* 3E2518 E00EA638 AC910008 */ sw $s1, 8($a0)
/* 3E251C E00EA63C 0C080120 */ jal func_E0200480
/* 3E251C E00EA63C 0C080120 */ jal shim_queue_render_task
/* 3E2520 E00EA640 AC820000 */ sw $v0, ($a0)
/* 3E2524 E00EA644 8C430000 */ lw $v1, ($v0)
/* 3E2528 E00EA648 34630002 */ ori $v1, $v1, 2

View File

@ -73,17 +73,17 @@ glabel func_E00EA66C
/* 3E265C E00EA77C 441E5000 */ mfc1 $fp, $f10
/* 3E2660 E00EA780 4600428D */ trunc.w.s $f10, $f8
/* 3E2664 E00EA784 E7AA009C */ swc1 $f10, 0x9c($sp)
/* 3E2668 E00EA788 0C080108 */ jal func_E0200420
/* 3E2668 E00EA788 0C080108 */ jal shim_guTranslateF
/* 3E266C E00EA78C 0048A821 */ addu $s5, $v0, $t0
/* 3E2670 E00EA790 27B00058 */ addiu $s0, $sp, 0x58
/* 3E2674 E00EA794 8E65003C */ lw $a1, 0x3c($s3)
/* 3E2678 E00EA798 0200202D */ daddu $a0, $s0, $zero
/* 3E267C E00EA79C 00A0302D */ daddu $a2, $a1, $zero
/* 3E2680 E00EA7A0 0C080110 */ jal func_E0200440
/* 3E2680 E00EA7A0 0C080110 */ jal shim_guScaleF
/* 3E2684 E00EA7A4 00A0382D */ daddu $a3, $a1, $zero
/* 3E2688 E00EA7A8 0200202D */ daddu $a0, $s0, $zero
/* 3E268C E00EA7AC 27A50018 */ addiu $a1, $sp, 0x18
/* 3E2690 E00EA7B0 0C080114 */ jal func_E0200450
/* 3E2690 E00EA7B0 0C080114 */ jal shim_guMtxCatF
/* 3E2694 E00EA7B4 00A0302D */ daddu $a2, $a1, $zero
/* 3E2698 E00EA7B8 8FAB0098 */ lw $t3, 0x98($sp)
/* 3E269C E00EA7BC 24020001 */ addiu $v0, $zero, 1
@ -96,11 +96,11 @@ glabel func_E00EA66C
/* 3E26B8 E00EA7D8 3C013F80 */ lui $at, 0x3f80
/* 3E26BC E00EA7DC 44810000 */ mtc1 $at, $f0
/* 3E26C0 E00EA7E0 00C0382D */ daddu $a3, $a2, $zero
/* 3E26C4 E00EA7E4 0C080104 */ jal func_E0200410
/* 3E26C4 E00EA7E4 0C080104 */ jal shim_guRotateF
/* 3E26C8 E00EA7E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3E26CC E00EA7EC 0200202D */ daddu $a0, $s0, $zero
/* 3E26D0 E00EA7F0 27A50018 */ addiu $a1, $sp, 0x18
/* 3E26D4 E00EA7F4 0C080114 */ jal func_E0200450
/* 3E26D4 E00EA7F4 0C080114 */ jal shim_guMtxCatF
/* 3E26D8 E00EA7F8 00A0302D */ daddu $a2, $a1, $zero
/* 3E26DC E00EA7FC 3C120001 */ lui $s2, 1
.LE00EA800:
@ -114,7 +114,7 @@ glabel func_E00EA66C
/* 3E26FC E00EA81C 8E220000 */ lw $v0, ($s1)
/* 3E2700 E00EA820 00052980 */ sll $a1, $a1, 6
/* 3E2704 E00EA824 00B22821 */ addu $a1, $a1, $s2
/* 3E2708 E00EA828 0C080118 */ jal func_E0200460
/* 3E2708 E00EA828 0C080118 */ jal shim_guMtxF2L
/* 3E270C E00EA82C 00452821 */ addu $a1, $v0, $a1
/* 3E2710 E00EA830 3C03DA38 */ lui $v1, 0xda38
/* 3E2714 E00EA834 34630002 */ ori $v1, $v1, 2

View File

@ -28,12 +28,12 @@ glabel fx_117_main
/* 3E1F3C E00EA05C AFB00028 */ sw $s0, 0x28($sp)
/* 3E1F40 E00EA060 AFA00010 */ sw $zero, 0x10($sp)
/* 3E1F44 E00EA064 AFA00024 */ sw $zero, 0x24($sp)
/* 3E1F48 E00EA068 0C080124 */ jal func_E0200490
/* 3E1F48 E00EA068 0C080124 */ jal shim_create_effect_instance
/* 3E1F4C E00EA06C AFA20014 */ sw $v0, 0x14($sp)
/* 3E1F50 E00EA070 24040080 */ addiu $a0, $zero, 0x80
/* 3E1F54 E00EA074 24030001 */ addiu $v1, $zero, 1
/* 3E1F58 E00EA078 0040802D */ daddu $s0, $v0, $zero
/* 3E1F5C E00EA07C 0C08012C */ jal func_E02004B0
/* 3E1F5C E00EA07C 0C08012C */ jal shim_general_heap_malloc
/* 3E1F60 E00EA080 AE030008 */ sw $v1, 8($s0)
/* 3E1F64 E00EA084 0040202D */ daddu $a0, $v0, $zero
/* 3E1F68 E00EA088 14800003 */ bnez $a0, .LE00EA098

View File

@ -29,7 +29,7 @@ glabel func_E010A18C
/* 3E4584 E010A1E4 24420001 */ addiu $v0, $v0, 1
/* 3E4588 E010A1E8 04A10005 */ bgez $a1, .LE010A200
/* 3E458C E010A1EC AE220020 */ sw $v0, 0x20($s1)
/* 3E4590 E010A1F0 0C080128 */ jal func_E02004A0
/* 3E4590 E010A1F0 0C080128 */ jal shim_remove_effect
/* 3E4594 E010A1F4 00000000 */ nop
/* 3E4598 E010A1F8 08042921 */ j .LE010A484
/* 3E459C E010A1FC 00000000 */ nop
@ -112,7 +112,7 @@ glabel func_E010A18C
/* 3E46C4 E010A324 44826000 */ mtc1 $v0, $f12
/* 3E46C8 E010A328 00000000 */ nop
/* 3E46CC E010A32C 46806320 */ cvt.s.w $f12, $f12
/* 3E46D0 E010A330 0C080140 */ jal func_E0200500
/* 3E46D0 E010A330 0C080140 */ jal shim_sin_deg
/* 3E46D4 E010A334 E6020050 */ swc1 $f2, 0x50($s0)
/* 3E46D8 E010A338 C6260014 */ lwc1 $f6, 0x14($s1)
/* 3E46DC E010A33C 46143182 */ mul.s $f6, $f6, $f20
@ -133,7 +133,7 @@ glabel func_E010A18C
/* 3E4718 E010A378 C622000C */ lwc1 $f2, 0xc($s1)
/* 3E471C E010A37C 46001081 */ sub.s $f2, $f2, $f0
/* 3E4720 E010A380 2404000A */ addiu $a0, $zero, 0xa
/* 3E4724 E010A384 0C080138 */ jal func_E02004E0
/* 3E4724 E010A384 0C080138 */ jal shim_rand_int
/* 3E4728 E010A388 E6020070 */ swc1 $f2, 0x70($s0)
/* 3E472C E010A38C 2442FFFB */ addiu $v0, $v0, -5
/* 3E4730 E010A390 3C013DCC */ lui $at, 0x3dcc
@ -145,7 +145,7 @@ glabel func_E010A18C
/* 3E4748 E010A3A8 46140002 */ mul.s $f0, $f0, $f20
/* 3E474C E010A3AC 00000000 */ nop
/* 3E4750 E010A3B0 2404000A */ addiu $a0, $zero, 0xa
/* 3E4754 E010A3B4 0C080138 */ jal func_E02004E0
/* 3E4754 E010A3B4 0C080138 */ jal shim_rand_int
/* 3E4758 E010A3B8 E6000080 */ swc1 $f0, 0x80($s0)
/* 3E475C E010A3BC 2442FFFB */ addiu $v0, $v0, -5
/* 3E4760 E010A3C0 44820000 */ mtc1 $v0, $f0
@ -154,7 +154,7 @@ glabel func_E010A18C
/* 3E476C E010A3CC 46140002 */ mul.s $f0, $f0, $f20
/* 3E4770 E010A3D0 00000000 */ nop
/* 3E4774 E010A3D4 2404000A */ addiu $a0, $zero, 0xa
/* 3E4778 E010A3D8 0C080138 */ jal func_E02004E0
/* 3E4778 E010A3D8 0C080138 */ jal shim_rand_int
/* 3E477C E010A3DC E6000090 */ swc1 $f0, 0x90($s0)
/* 3E4780 E010A3E0 0000202D */ daddu $a0, $zero, $zero
/* 3E4784 E010A3E4 2442FFFB */ addiu $v0, $v0, -5

View File

@ -12,7 +12,7 @@ glabel func_E010A4A0
/* 3E485C E010A4BC AFA40018 */ sw $a0, 0x18($sp)
/* 3E4860 E010A4C0 27A40010 */ addiu $a0, $sp, 0x10
/* 3E4864 E010A4C4 AFBF0020 */ sw $ra, 0x20($sp)
/* 3E4868 E010A4C8 0C080120 */ jal func_E0200480
/* 3E4868 E010A4C8 0C080120 */ jal shim_queue_render_task
/* 3E486C E010A4CC AFA20010 */ sw $v0, 0x10($sp)
/* 3E4870 E010A4D0 8C430000 */ lw $v1, ($v0)
/* 3E4874 E010A4D4 34630002 */ ori $v1, $v1, 2

View File

@ -37,10 +37,10 @@ glabel func_E010A4E8
/* 3E4908 E010A568 8E330030 */ lw $s3, 0x30($s1)
/* 3E490C E010A56C 8E360000 */ lw $s6, ($s1)
/* 3E4910 E010A570 4600A507 */ neg.s $f20, $f20
/* 3E4914 E010A574 0C080140 */ jal func_E0200500
/* 3E4914 E010A574 0C080140 */ jal shim_sin_deg
/* 3E4918 E010A578 4600A306 */ mov.s $f12, $f20
/* 3E491C E010A57C 4600A306 */ mov.s $f12, $f20
/* 3E4920 E010A580 0C080144 */ jal func_E0200510
/* 3E4920 E010A580 0C080144 */ jal shim_cos_deg
/* 3E4924 E010A584 E7A00058 */ swc1 $f0, 0x58($sp)
/* 3E4928 E010A588 3C148007 */ lui $s4, %hi(gGameStatusPtr)
/* 3E492C E010A58C 2694419C */ addiu $s4, $s4, %lo(gGameStatusPtr)
@ -65,7 +65,7 @@ glabel func_E010A4E8
/* 3E4978 E010A5D8 24060136 */ addiu $a2, $zero, 0x136
/* 3E497C E010A5DC 240700E6 */ addiu $a3, $zero, 0xe6
/* 3E4980 E010A5E0 46200020 */ cvt.s.d $f0, $f0
/* 3E4984 E010A5E4 0C08018C */ jal func_E0200630
/* 3E4984 E010A5E4 0C08018C */ jal shim_func_80138D88
/* 3E4988 E010A5E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3E498C E010A5EC 8E820000 */ lw $v0, ($s4)
/* 3E4990 E010A5F0 94420134 */ lhu $v0, 0x134($v0)
@ -200,7 +200,7 @@ glabel func_E010A4E8
/* 3E4B80 E010A7E0 24020001 */ addiu $v0, $zero, 1
/* 3E4B84 E010A7E4 17C20030 */ bne $fp, $v0, .LE010A8A8
/* 3E4B88 E010A7E8 00000000 */ nop
/* 3E4B8C E010A7EC 0C080138 */ jal func_E02004E0
/* 3E4B8C E010A7EC 0C080138 */ jal shim_rand_int
/* 3E4B90 E010A7F0 24040010 */ addiu $a0, $zero, 0x10
/* 3E4B94 E010A7F4 28420006 */ slti $v0, $v0, 6
/* 3E4B98 E010A7F8 54400117 */ bnel $v0, $zero, .LE010AC58

Some files were not shown because too many files have changed in this diff Show More