From b6e5baa4fc6ab92924c9b4b8d46f05ad86de1d37 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sat, 4 Mar 2023 04:40:20 +0100 Subject: [PATCH] iQue engine2 (#954) * Include engine2 segment * Match msg_get_print_char_width * Make m2ctx include version/current/include * fix undefined_syms * Remove redundant syms * match ique get_msg_properties * Fix build after rebase * Remove unused asm * rebase fixes --------- Co-authored-by: pixel-stuck --- include/functions.h | 4 + src/C50A0.c | 5 + src/a5dd0_len_114e0.c | 10 + src/d0a70_len_4fe0.c | 5 + src/hud_element.c | 5 + src/msg.c | 60 +- tools/m2ctx.py | 1 + ver/cn/asm/bss3.s | 735 +++ .../B4580/appendGfx_animator_node.s | 360 ++ .../C50A0/draw_image_with_clipping.s | 567 ++ .../C50A0/test_item_player_collision.s | 328 ++ .../a5dd0_len_114e0/mdl_project_tex_coords.s | 332 ++ .../appendGfx_shading_palette.s | 547 ++ .../hud_element/render_hud_element.s | 725 +++ .../asm/nonmatchings/msg/appendGfx_message.s | 4934 +++++++++++++++++ .../msg/msg_copy_to_print_buffer.s | 1323 +++++ ver/cn/asm/nonmatchings/msg/msg_draw_char.s | 670 +++ ver/cn/splat.yaml | 63 +- ver/cn/symbol_addrs.txt | 111 + ver/cn/undefined_syms.txt | 242 +- 20 files changed, 10853 insertions(+), 174 deletions(-) create mode 100644 ver/cn/asm/bss3.s create mode 100644 ver/cn/asm/nonmatchings/B4580/appendGfx_animator_node.s create mode 100644 ver/cn/asm/nonmatchings/C50A0/draw_image_with_clipping.s create mode 100644 ver/cn/asm/nonmatchings/C50A0/test_item_player_collision.s create mode 100644 ver/cn/asm/nonmatchings/a5dd0_len_114e0/mdl_project_tex_coords.s create mode 100644 ver/cn/asm/nonmatchings/de740_len_23f0/appendGfx_shading_palette.s create mode 100644 ver/cn/asm/nonmatchings/hud_element/render_hud_element.s create mode 100644 ver/cn/asm/nonmatchings/msg/appendGfx_message.s create mode 100644 ver/cn/asm/nonmatchings/msg/msg_copy_to_print_buffer.s create mode 100644 ver/cn/asm/nonmatchings/msg/msg_draw_char.s diff --git a/include/functions.h b/include/functions.h index 1d9a0d8fae..6cdff6a12e 100644 --- a/include/functions.h +++ b/include/functions.h @@ -815,7 +815,11 @@ s32 is_actor_hp_bar_visible(Actor*); void sin_cos_rad(f32 rad, f32* outSinTheta, f32* outCosTheta); void load_font(s32 font); +#if VERSION_CN +void load_font_data(Addr offset, u32 size, void* dest); +#else void load_font_data(Addr offset, u16 size, void* dest); +#endif void* load_asset_by_name(const char* assetName, u32* decompressedSize); diff --git a/src/C50A0.c b/src/C50A0.c index ba131ace5f..0de251aad0 100644 --- a/src/C50A0.c +++ b/src/C50A0.c @@ -9,6 +9,11 @@ #include "nu/nusys.h" #include "ld_addrs.h" +#if VERSION_CN +// TODO: remove if section is split in iQue release +extern Addr icon_present_ROM_START; +#endif + #define MAX_ITEM_ENTITIES 256 extern SparkleScript SparkleScript_Coin; diff --git a/src/a5dd0_len_114e0.c b/src/a5dd0_len_114e0.c index 1634e5745c..824a28b594 100644 --- a/src/a5dd0_len_114e0.c +++ b/src/a5dd0_len_114e0.c @@ -8,6 +8,16 @@ #include "nu/nusys.h" #include "model_clear_render_tasks.h" +#if VERSION_CN +// TODO: remove if sections are split in iQue release +extern Addr entity_jan_iwa_ROM_START; +extern Addr entity_jan_iwa_ROM_END; +extern Addr entity_default_ROM_START; +extern Addr entity_default_ROM_END; +extern Addr entity_sbk_omo_ROM_START; +extern Addr entity_sbk_omo_ROM_END; +#endif + extern Addr MapTextureMemory; #ifdef SHIFT diff --git a/src/d0a70_len_4fe0.c b/src/d0a70_len_4fe0.c index 8ea2c59acc..023f4c4a78 100644 --- a/src/d0a70_len_4fe0.c +++ b/src/d0a70_len_4fe0.c @@ -2,6 +2,11 @@ #include "ld_addrs.h" #include "sprite.h" +#if VERSION_CN +// TODO: remove if section is split in iQue release +extern Addr fold_gfx_data_ROM_START; +#endif + typedef struct { /* 0x00 */ u8 arrayIdx; /* 0x01 */ u8 meshType; diff --git a/src/hud_element.c b/src/hud_element.c index 2f6f0f14ea..3c6f1e4fae 100644 --- a/src/hud_element.c +++ b/src/hud_element.c @@ -3,6 +3,11 @@ #include "nu/nusys.h" #include "ld_addrs.h" +#if VERSION_CN +// TODO: remove if section is split in iQue release +extern Addr icon_present_ROM_START; +#endif + #define MAX_HUD_CACHE_ENTRIES 192 typedef struct HudElementSize { diff --git a/src/msg.c b/src/msg.c index f1a5c17cde..c4c5fe559a 100644 --- a/src/msg.c +++ b/src/msg.c @@ -2,8 +2,22 @@ #include "ld_addrs.h" #include "message_ids.h" #include "sprite.h" + +#if !VERSION_CN +// TODO: remove if assets are dumped in iQue release #include "charset/postcard.png.h" #include "charset/letter_content_1.png.h" +#endif + +#if VERSION_CN +// TODO: remove if section is split in iQue release +extern Addr charset_ROM_START; +extern Addr charset_standard_OFFSET; +extern Addr charset_standard_pal_OFFSET; +extern Addr charset_title_OFFSET; +extern Addr charset_credits_pal_OFFSET; +extern Addr charset_subtitle_OFFSET; +#endif enum RewindArrowStates { REWIND_ARROW_STATE_INIT = 0, @@ -197,7 +211,12 @@ Gfx D_8014C500[] = { }; u8 D_8014C580[] = { 50, 80, 100, 105, 100, 0, 0, 0 }; -u8 D_8014C588[] = { 105, 100, 77, 57, 40, 27, 16, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +u8 D_8014C588[] = { 105, 100, 77, 57, 40, 27, 16, 8, 3, 0, 0, 0}; +#if VERSION_CN +u32 D_8014AD24 = 2; +#else +u8 D_8014C594[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +#endif s32 draw_image_with_clipping(IMG_PTR raster, s32 width, s32 height, s32 fmt, s32 bitDepth, s16 posX, s16 posY, u16 clipULx, u16 clipULy, u16 clipLRx, u16 clipRLy); @@ -244,7 +263,11 @@ void clear_printers(void) { load_font(0); } +#if VERSION_CN +void load_font_data(Addr offset, u32 size, void* dest) { +#else void load_font_data(Addr offset, u16 size, void* dest) { +#endif u8* base = charset_ROM_START + (s32) offset; dma_copy(base, base + size, dest); @@ -655,6 +678,9 @@ extern s32 D_802EB5C0[]; extern s32 D_802EB5F0[]; extern struct_D_802EB620 D_802EB620[]; +#if VERSION_CN +INCLUDE_ASM(s32, "msg", msg_copy_to_print_buffer); +#else void msg_copy_to_print_buffer(MessagePrintState* printer, s32 arg1, s32 arg2) { u8 arg; u8 argQ; @@ -1289,6 +1315,7 @@ void msg_copy_to_print_buffer(MessagePrintState* printer, s32 arg1, s32 arg2) { printer->srcBufferPos = (u16)(s32)(srcBuf - (s32)printer->srcBuffer); *printBuf = MSG_CHAR_PRINT_END; } +#endif void initialize_printer(MessagePrintState* printer, s32 arg1, s32 arg2) { s32 i; @@ -1550,6 +1577,13 @@ s32 msg_get_print_char_width(s32 character, s32 charset, s32 variation, f32 msgS return 0; } +#if VERSION_CN + if (character >= 0x5F && character<=0x8F) { + charWidth = 16.0; + return charWidth * msgScale; + } +#endif + if (overrideCharWidth != 0) { charWidth = overrideCharWidth; } else if (flags != 0) { @@ -1635,7 +1669,6 @@ void get_msg_properties(s32 msgID, s32* height, s32* width, s32* maxLineChars, s s32 lineWidth; s32 charCount; u16 lineIndex; - u16 endl; s32 msgStyle; s32 functionCode; u8 packedScaleY; @@ -1653,8 +1686,13 @@ void get_msg_properties(s32 msgID, s32* height, s32* width, s32* maxLineChars, s u16 maxCharsPerLine; u16 maxLinesOnPage; u16 spaceCount; + u16 endl; + + u8 c; + u8 prevChar; scale = 1.0f; + c = 0; lineIndex = 0; pageCount = 0; varIndex = 0; @@ -1690,7 +1728,8 @@ void get_msg_properties(s32 msgID, s32* height, s32* width, s32* maxLineChars, s lineCount = 0; do { - u8 c = message[i++]; + prevChar = c; + c = message[i++]; switch (c) { case MSG_CHAR_READ_VARIANT0: case MSG_CHAR_READ_VARIANT1: @@ -1865,6 +1904,13 @@ void get_msg_properties(s32 msgID, s32* height, s32* width, s32* maxLineChars, s linesOnPage++; endl = FALSE; } + +#if VERSION_CN + if (prevChar >= 0x5f && prevChar <= 0x8F) { + break; + } +#endif + lineWidth += msg_get_print_char_width(c, font, varIndex, scale, 0, 1); charCount++; break; @@ -2294,6 +2340,9 @@ void draw_message_window(MessagePrintState* printer) { } } +#if VERSION_CN +INCLUDE_ASM(s32, "msg", appendGfx_message); +#else void appendGfx_message(MessagePrintState* printer, s16 posX, s16 posY, u16 additionalOffsetX, u16 additionalOffsetY, u16 flag, u8 alpha) { SpriteRasterInfo sprRasterInfo; @@ -3614,12 +3663,16 @@ void appendGfx_message(MessagePrintState* printer, s16 posX, s16 posY, u16 addit gDPPipeSync(gMasterGfxPos++); D_80151338 = gMasterGfxPos; } +#endif void msg_reset_gfx_state(void) { gDPPipeSync(gMasterGfxPos++); gSPDisplayList(gMasterGfxPos++, D_8014C500); } +#if VERSION_CN +INCLUDE_ASM(s32, "msg", msg_draw_char); +#else void msg_draw_char(MessagePrintState* printer, MessageDrawState* drawState, s32 charIndex, s32 palette, s32 posX, s32 posY) { MessageCharset* messageCharset = gMsgCharsets[drawState->font]; s32 fontVariant = drawState->fontVariant; @@ -3696,6 +3749,7 @@ void msg_draw_char(MessagePrintState* printer, MessageDrawState* drawState, s32 gSPTextureRectangle(gMasterGfxPos++, ulx * 4, uly * 4, lrx * 4, lry * 4, G_TX_RENDERTILE, texOffsetX, texOffsetY, dsdx, dtdy); } +#endif void msg_draw_prim_rect(u8 r, u8 g, u8 b, u8 a, u16 posX, u16 posY, u16 sizeX, u16 sizeY) { u16 lrX = posX + sizeX; diff --git a/tools/m2ctx.py b/tools/m2ctx.py index 3699742971..93ad6973d2 100755 --- a/tools/m2ctx.py +++ b/tools/m2ctx.py @@ -15,6 +15,7 @@ CPP_FLAGS = [ "-Iinclude", "-Isrc", "-Iassets/us", + "-Iver/current/include", "-Iver/current/build/include", "-D_LANGUAGE_C", "-DF3DEX_GBI_2", diff --git a/ver/cn/asm/bss3.s b/ver/cn/asm/bss3.s new file mode 100644 index 0000000000..f37d1ad68e --- /dev/null +++ b/ver/cn/asm/bss3.s @@ -0,0 +1,735 @@ +.include "macro.inc" + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.section .bss + +dlabel gAuxSpriteShadingProfile +.space 4 + +dlabel gHudElementsNumber +.space 4 + +dlabel gCurrentCustomModelGfxBuildersPtr +.space 4 + +dlabel D_801512BC +.space 4 + +dlabel entity_numEntities +.space 4 + +dlabel gEntityHeapBase +.space 4 + +dlabel gHudElementCacheTableRaster +.space 4 + +dlabel gCurrentModels +.space 4 + +dlabel gHudElementCacheTablePalette +.space 4 + +dlabel gAnimCount +.space 4 + +dlabel gMsgBGScrollAmtX +.space 2 + +dlabel D_801512DA +.space 2 + +dlabel D_801512DC +.space 4 + +dlabel gCurrentTransformGroups +.space 4 + +dlabel gMsgGlobalWaveCounter +.space 4 + +dlabel gCurrentCustomModelGfxPtr +.space 4 + +dlabel gLastCreatedEntityIndex +.space 4 + +dlabel gBackgroundFogModePtr +.space 4 + +dlabel gMsgVarImages +.space 4 + +dlabel ItemEntitiesCreated +.space 4 + +dlabel gCurrentModelTreeRoot +.space 4 + +dlabel gEntityHeapBottom +.space 4 + +dlabel D_80151304 +.space 4 + +dlabel gCurrentRoomDoorSounds +.space 4 + +dlabel gMsgBGScrollAmtY +.space 2 + +dlabel D_8015130E +.space 2 + +dlabel gEntityHideMode +.space 4 + +dlabel gHudElementCacheBuffer +.space 4 + +dlabel gEntityModelCount +.space 4 + +dlabel D_8015131C +.space 4 + +dlabel D_80151320 +.space 4 + +dlabel entity_numShadows +.space 4 + +dlabel gSpriteShadingProfile +.space 4 + +dlabel entity_area_specific_data_is_loaded +.space 4 + +dlabel entity_updateCounter +.space 4 + +dlabel gTriggerCount +.space 4 + +dlabel D_80151338 +.space 4 + +dlabel gHudElementCacheSize +.space 4 + +dlabel gCurrentDoorSounds +.space 4 + +dlabel D_80151344 +.space 4 + +dlabel D_80151348 +.space 0x00000028 + +dlabel gWorldEntityList +.space 0x00000078 + +dlabel gBattleEntityList +.space 0x00000078 + +dlabel gCurrentEntityListPtr +.space 4 + +dlabel D_80151474 +.space 4 + +dlabel gWorldShadowList +.space 0x000000f0 + +dlabel gBattleShadowList +.space 0x000000f0 + +dlabel gCurrentShadowListPtr +.space 4 + +dlabel wEntityDataLoadedSize +.space 4 + +dlabel bEntityDataLoadedSize +.space 4 + +dlabel D_80151664 +.space 4 + +dlabel wEntityBlueprint +.space 0x00000074 + +dlabel D_801516DC +.space 4 + +dlabel D_8015DCE0 +.space 8 + +dlabel bEntityBlueprint +.space 0x00000014 + +dlabel D_801516FC +.space 4 + +dlabel gMainGameState +.space 0x00000040 + +dlabel gCurrentTileDescriptor +.space 0x00000030 + +dlabel wModelList +.space 0x00000400 + +dlabel bModelList +.space 0x00000400 + +dlabel wTransformGroups +.space 0x00000010 + +dlabel bTransformGroups +.space 0x00000010 + +dlabel wModelSpecialDls +.space 0x00000080 + +dlabel bModelSpecialDls +.space 0x00000080 + +dlabel wCustomModelGfxBuilders +.space 0x00000080 + +dlabel bCustomModelGfxBuilders +.space 0x00000080 + +dlabel wModelLocalVtxBuffers +.space 0x00000040 + +dlabel bModelLocalVtxBuffers +.space 0x00000040 + +dlabel gCurrentModelLocalVtxBuffers +.space 4 + +dlabel D_80152214 +.space 4 + +dlabel D_80152218 +.space 4 + +dlabel D_8015221C +.space 4 + +dlabel D_80152220 +.space 0x00000800 + +dlabel D_80152A20 +.space 0x00000800 + +dlabel wBackgroundFogMode +.space 1 + +dlabel bBackgroundFogMode +.space 1 + +dlabel D_80153222 +.space 1 + +dlabel D_80153223 +.space 1 + +dlabel mdl_treeIterPos +.space 2 + +dlabel D_80153226 +.space 2 + +dlabel wFogSettings +.space 0x00000020 + +dlabel bFogSettings +.space 0x0000001c + +dlabel gCurrentFogSettings +.space 4 + +dlabel texPannerMainU +.space 0x00000040 + +dlabel texPannerMainV +.space 0x00000040 + +dlabel texPannerAuxU +.space 0x00000040 + +dlabel texPannerAuxV +.space 0x00000040 + +dlabel mdl_nextTextureAddress +.space 4 + +dlabel mdl_currentTransformGroupChildIndex +.space 2 + +dlabel D_8015336E +.space 2 + +dlabel D_80153370 +.space 4 + +dlabel D_80153374 +.space 2 + +dlabel D_80153376 +.space 2 + +dlabel D_80153378 +.space 8 + +dlabel depthCopyBuffer +.space 0x00000020 + +dlabel mdl_renderTaskLists +.space 0x0000000c + +dlabel mdl_renderTaskQueueIdx +.space 4 + +dlabel mdl_renderTaskCount +.space 0x00000010 + +dlabel D_801533C0 +.space 0x00000300 + +dlabel D_801536C0 +.space 0x00000300 + +dlabel D_801539C0 +.space 0x00000040 + +dlabel D_80153A00 +.space 0x00000040 + +dlabel gCurrentAnimMeshListPtr +.space 4 + +dlabel gAnimModelFogEnabled +.space 4 + +dlabel gAnimModelFogR +.space 4 + +dlabel gAnimModelFogG +.space 4 + +dlabel gAnimModelFogB +.space 4 + +dlabel gAnimModelFogA +.space 4 + +dlabel gAnimModelFogStart +.space 4 + +dlabel gAnimModelFogEnd +.space 4 + +dlabel gAnimVtxSegment +.space 4 + +dlabel D_80153A64 +.space 4 + +dlabel gAnimRotMtx +.space 0x00000040 + +dlabel gAnimScaleMtx +.space 0x00000040 + +dlabel gAnimTranslateMtx +.space 0x00000040 + +dlabel gAnimRotScaleMtx +.space 0x00000040 + +dlabel gAnimTreeRoot +.space 8 + +dlabel gWorldEntityModelList +.space 0x00000400 + +dlabel gBattleEntityModelList +.space 0x00000400 + +dlabel gCurrentEntityModelList +.space 4 + +dlabel D_80154374 +.space 4 + +dlabel entity_fog_enabled +.space 4 + +dlabel entity_fog_red +.space 1 + +dlabel D_8015437D +.space 1 + +dlabel D_8015437E +.space 1 + +dlabel D_8015437F +.space 1 + +dlabel entity_fog_green +.space 1 + +dlabel D_80154381 +.space 1 + +dlabel D_80154382 +.space 1 + +dlabel D_80154383 +.space 1 + +dlabel entity_fog_blue +.space 1 + +dlabel D_80154385 +.space 1 + +dlabel D_80154386 +.space 1 + +dlabel D_80154387 +.space 1 + +dlabel entity_fog_alpha +.space 1 + +dlabel D_80154389 +.space 1 + +dlabel D_8015438A +.space 1 + +dlabel D_8015438B +.space 1 + +dlabel entity_fog_dist_min +.space 4 + +dlabel entity_fog_dist_max +.space 4 + +######################## +.align 4 # file boundary +######################## + +dlabel gWorldWorkerList +.space 0x00000040 + +dlabel gBattleWorkerList +.space 0x00000040 + +dlabel gCurrentWorkerListPtr +.space 4 + +.align 4 # file boundary + +dlabel gMessageBuffers +.space 0x00000800 + +dlabel gMessagePrinters +.space 0x00001008 + +dlabel gMessageMsgVars +.space 0x00000060 + +dlabel D_80155C98 +.space 8 + +.align 4 + +dlabel gMessageWindowProjMatrix +.space 0x00000080 + +dlabel D_801544A0 +.space 120 * 128 + +dlabel D_80155D20 +.space 4 + +dlabel D_8015DD24 +.space 0x00000050 + +dlabel msg_drawState +.space 4 + +dlabel D_8015DD78 +.space 8 + +dlabel D_80155D80 +.space 4 + +dlabel ItemEntityAlternatingSpawn +.space 4 + +dlabel ItemEntityRenderGroup +.space 4 + +dlabel D_80155D8C +.space 2 + +dlabel D_80155D8E +.space 2 + +dlabel D_80155D90 +.space 0x00000010 + +dlabel WorldItemEntities +.space 0x00000400 + +dlabel BattleItemEntities +.space 0x00000400 + +dlabel gCurrentItemEntities +.space 4 + +dlabel isPickingUpItem +.space 2 + +dlabel D_801565A6 +.space 2 + +dlabel D_801565A8 +.space 4 + +dlabel D_801565AC +.space 4 + +dlabel D_801565B0 +.space 0x00000330 + +dlabel D_801568E0 +.space 4 + +dlabel D_801568E4 +.space 4 + +dlabel D_801568E8 +.space 4 + +dlabel D_801568EC +.space 4 + +dlabel D_801568F0 +.space 4 + +dlabel D_801568F4 +.space 4 + +dlabel D_801568F8 +.space 4 + +dlabel D_801568FC +.space 4 + +dlabel screen_overlay_frontType +.space 4 + +dlabel screen_overlay_frontZoom +.space 4 + +dlabel screen_overlay_backType +.space 4 + +dlabel screen_overlay_backZoom +.space 4 + +dlabel D_80156910 +.space 0x00000010 + +dlabel D_80156920 +.space 0x00000028 + +dlabel D_80156948 +.space 8 + +dlabel fold_vtxBuf +.space 4 + +dlabel D_80156954 +.space 4 + +dlabel D_80156958 +.space 8 + +dlabel D_80156960 +.space 8 + +dlabel D_80156968 +.space 8 + +dlabel D_80156970 +.space 0x00000010 + +dlabel fold_groupDescriptors +.space 0x000005a0 + +dlabel fold_gfxDataCache +.space 0x00000040 + +dlabel gHudElementsWorld +.space 0x00000500 + +dlabel gHudElementsBattle +.space 0x00000500 + +dlabel gHudElements +.space 4 + +dlabel gHudElementCacheBufferWorld +.space 4 + +dlabel gHudElementCacheSizeWorld +.space 4 + +dlabel D_8015796C +.space 4 + +dlabel gHudElementCacheTableRasterWorld +.space 0x00000600 + +dlabel gHudElementCacheTablePaletteWorld +.space 0x00000600 + +dlabel gHudElementCacheBufferBattle +.space 4 + +dlabel gHudElementCacheSizeBattle +.space 4 + +dlabel D_80158578 +.space 8 + +dlabel gHudElementCacheTableRasterBattle +.space 0x00000600 + +dlabel gHudElementCacheTablePaletteBattle +.space 0x00000600 + +dlabel D_80159180 +.space 0x00000010 + +dlabel wTriggerList +.space 0x00000100 + +dlabel bTriggerList +.space 0x00000100 + +dlabel gCurrentTriggerListPtr +.space 4 + +dlabel D_80159394 +.space 0x0000000c + +dlabel gBackgroundPalette +.space 0x000001fe + +dlabel D_8015959E +.space 2 + +dlabel gBackroundLastScrollValue +.space 0x00000020 + +dlabel wSpriteShadingProfile +.space 0x000000b0 + +dlabel bSpriteShadingProfile +.space 0x000000b0 + +dlabel wSpriteShadingProfileAux +.space 0x000000b0 + +dlabel bSpriteShadingProfileAux +.space 0x000000b0 + +dlabel D_80159880 +.space 0x00000020 + +dlabel wEnvSounds +.space 0x00000118 + +dlabel bEnvSounds +.space 0x00000118 + +dlabel gCurrentEnvSounds +.space 4 + +dlabel SfxReverbMode +.space 4 + +dlabel D_80159AD8 +.space 8 + +dlabel MusicDefaultVolume +.space 2 + +dlabel MusicTargetVolume +.space 2 + +dlabel MusicMaxVolume +.space 2 + +dlabel MusicCurrentVolume +.space 2 + +dlabel D_80159AE8 +.space 8 + +dlabel gMusicSettings +.space 0x00000060 + +dlabel D_80159B50 +.space 0x00000200 + +dlabel gWindows +.space 0x00000800 + +dlabel gCollisionStatus +.space 0x00000028 + +dlabel gCurrentHiddenPanels +.space 2 + +dlabel D_8015A57A +.space 2 + +dlabel D_8015A57C +.space 0x00000014 + +dlabel mdl_textureHandles +.space 0x00002200 + +dlabel D_8015C790 +.space 0x00000030 + +dlabel AmbientSoundData +.space 0x00000010 + +dlabel CreateEntityVarArgBuffer +.space 0x00000010 + +dlabel D_8015C7E0 +.space 0x20 + +.space 0x3C80 + +dlabel D_80164000 +.space 0x1a230 * 2 diff --git a/ver/cn/asm/nonmatchings/B4580/appendGfx_animator_node.s b/ver/cn/asm/nonmatchings/B4580/appendGfx_animator_node.s new file mode 100644 index 0000000000..51ca0d3522 --- /dev/null +++ b/ver/cn/asm/nonmatchings/B4580/appendGfx_animator_node.s @@ -0,0 +1,360 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel appendGfx_animator_node +/* B4D14 8011DE34 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* B4D18 8011DE38 AFB60030 */ sw $s6, 0x30($sp) +/* B4D1C 8011DE3C 00A0B02D */ daddu $s6, $a1, $zero +/* B4D20 8011DE40 AFBF003C */ sw $ra, 0x3C($sp) +/* B4D24 8011DE44 AFBE0038 */ sw $fp, 0x38($sp) +/* B4D28 8011DE48 AFB70034 */ sw $s7, 0x34($sp) +/* B4D2C 8011DE4C AFB5002C */ sw $s5, 0x2C($sp) +/* B4D30 8011DE50 AFB40028 */ sw $s4, 0x28($sp) +/* B4D34 8011DE54 AFB30024 */ sw $s3, 0x24($sp) +/* B4D38 8011DE58 AFB20020 */ sw $s2, 0x20($sp) +/* B4D3C 8011DE5C AFB1001C */ sw $s1, 0x1C($sp) +/* B4D40 8011DE60 AFB00018 */ sw $s0, 0x18($sp) +/* B4D44 8011DE64 AFA40040 */ sw $a0, 0x40($sp) +/* B4D48 8011DE68 96C200F4 */ lhu $v0, 0xF4($s6) +/* B4D4C 8011DE6C 30420080 */ andi $v0, $v0, 0x80 +/* B4D50 8011DE70 10400015 */ beqz $v0, .LIQUE_8011DEC8 +/* B4D54 8011DE74 00C0982D */ daddu $s3, $a2, $zero +/* B4D58 8011DE78 0000882D */ daddu $s1, $zero, $zero +/* B4D5C 8011DE7C 26D200B4 */ addiu $s2, $s6, 0xB4 +/* B4D60 8011DE80 02C0802D */ daddu $s0, $s6, $zero +.LIQUE_8011DE84: +/* B4D64 8011DE84 8E020004 */ lw $v0, 0x4($s0) +/* B4D68 8011DE88 5040000A */ beql $v0, $zero, .LIQUE_8011DEB4 +/* B4D6C 8011DE8C 26310001 */ addiu $s1, $s1, 0x1 +/* B4D70 8011DE90 0240202D */ daddu $a0, $s2, $zero +/* B4D74 8011DE94 0260282D */ daddu $a1, $s3, $zero +/* B4D78 8011DE98 0C0196F0 */ jal guMtxCatF +/* B4D7C 8011DE9C 0240302D */ daddu $a2, $s2, $zero +/* B4D80 8011DEA0 8FA40040 */ lw $a0, 0x40($sp) +/* B4D84 8011DEA4 8E050004 */ lw $a1, 0x4($s0) +/* B4D88 8011DEA8 0C04778D */ jal appendGfx_animator_node +/* B4D8C 8011DEAC 0240302D */ daddu $a2, $s2, $zero +/* B4D90 8011DEB0 26310001 */ addiu $s1, $s1, 0x1 +.LIQUE_8011DEB4: +/* B4D94 8011DEB4 2A220020 */ slti $v0, $s1, 0x20 +/* B4D98 8011DEB8 1440FFF2 */ bnez $v0, .LIQUE_8011DE84 +/* B4D9C 8011DEBC 26100004 */ addiu $s0, $s0, 0x4 +/* B4DA0 8011DEC0 080478C9 */ j .LIQUE_8011E324 +/* B4DA4 8011DEC4 00000000 */ nop +.LIQUE_8011DEC8: +/* B4DA8 8011DEC8 26D000B4 */ addiu $s0, $s6, 0xB4 +/* B4DAC 8011DECC 0200202D */ daddu $a0, $s0, $zero +/* B4DB0 8011DED0 0260282D */ daddu $a1, $s3, $zero +/* B4DB4 8011DED4 0C0196F0 */ jal guMtxCatF +/* B4DB8 8011DED8 0200302D */ daddu $a2, $s0, $zero +/* B4DBC 8011DEDC 3C120001 */ lui $s2, (0x12230 >> 16) +/* B4DC0 8011DEE0 36522230 */ ori $s2, $s2, (0x12230 & 0xFFFF) +/* B4DC4 8011DEE4 0200202D */ daddu $a0, $s0, $zero +/* B4DC8 8011DEE8 3C108007 */ lui $s0, %hi(gMatrixListPos) +/* B4DCC 8011DEEC 26102E60 */ addiu $s0, $s0, %lo(gMatrixListPos) +/* B4DD0 8011DEF0 3C11800A */ lui $s1, %hi(gDisplayContext) +/* B4DD4 8011DEF4 2631924C */ addiu $s1, $s1, %lo(gDisplayContext) +/* B4DD8 8011DEF8 96050000 */ lhu $a1, 0x0($s0) +/* B4DDC 8011DEFC 8E220000 */ lw $v0, 0x0($s1) +/* B4DE0 8011DF00 00052980 */ sll $a1, $a1, 6 +/* B4DE4 8011DF04 00B22821 */ addu $a1, $a1, $s2 +/* B4DE8 8011DF08 0C0196B0 */ jal guMtxF2L +/* B4DEC 8011DF0C 00452821 */ addu $a1, $v0, $a1 +/* B4DF0 8011DF10 3C03DA38 */ lui $v1, (0xDA380003 >> 16) +/* B4DF4 8011DF14 34630003 */ ori $v1, $v1, (0xDA380003 & 0xFFFF) +/* B4DF8 8011DF18 3C05E300 */ lui $a1, (0xE3000F00 >> 16) +/* B4DFC 8011DF1C 34A50F00 */ ori $a1, $a1, (0xE3000F00 & 0xFFFF) +/* B4E00 8011DF20 3C06E300 */ lui $a2, (0xE3001001 >> 16) +/* B4E04 8011DF24 34C61001 */ ori $a2, $a2, (0xE3001001 & 0xFFFF) +/* B4E08 8011DF28 3C07D9FD */ lui $a3, (0xD9FDFFFF >> 16) +/* B4E0C 8011DF2C 3C09800A */ lui $t1, %hi(gMasterGfxPos) +/* B4E10 8011DF30 25299244 */ addiu $t1, $t1, %lo(gMasterGfxPos) +/* B4E14 8011DF34 34E7FFFF */ ori $a3, $a3, (0xD9FDFFFF & 0xFFFF) +/* B4E18 8011DF38 8D280000 */ lw $t0, 0x0($t1) +/* B4E1C 8011DF3C 96020000 */ lhu $v0, 0x0($s0) +/* B4E20 8011DF40 0100202D */ daddu $a0, $t0, $zero +/* B4E24 8011DF44 25080008 */ addiu $t0, $t0, 0x8 +/* B4E28 8011DF48 AD280000 */ sw $t0, 0x0($t1) +/* B4E2C 8011DF4C AC830000 */ sw $v1, 0x0($a0) +/* B4E30 8011DF50 24430001 */ addiu $v1, $v0, 0x1 +/* B4E34 8011DF54 3042FFFF */ andi $v0, $v0, 0xFFFF +/* B4E38 8011DF58 00021180 */ sll $v0, $v0, 6 +/* B4E3C 8011DF5C A6030000 */ sh $v1, 0x0($s0) +/* B4E40 8011DF60 8E230000 */ lw $v1, 0x0($s1) +/* B4E44 8011DF64 00521021 */ addu $v0, $v0, $s2 +/* B4E48 8011DF68 00621821 */ addu $v1, $v1, $v0 +/* B4E4C 8011DF6C 25020008 */ addiu $v0, $t0, 0x8 +/* B4E50 8011DF70 AC830004 */ sw $v1, 0x4($a0) +/* B4E54 8011DF74 AD220000 */ sw $v0, 0x0($t1) +/* B4E58 8011DF78 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* B4E5C 8011DF7C AD020000 */ sw $v0, 0x0($t0) +/* B4E60 8011DF80 25020010 */ addiu $v0, $t0, 0x10 +/* B4E64 8011DF84 AD000004 */ sw $zero, 0x4($t0) +/* B4E68 8011DF88 AD220000 */ sw $v0, 0x0($t1) +/* B4E6C 8011DF8C 3C02D700 */ lui $v0, (0xD7000000 >> 16) +/* B4E70 8011DF90 AD020008 */ sw $v0, 0x8($t0) +/* B4E74 8011DF94 25020018 */ addiu $v0, $t0, 0x18 +/* B4E78 8011DF98 AD00000C */ sw $zero, 0xC($t0) +/* B4E7C 8011DF9C AD220000 */ sw $v0, 0x0($t1) +/* B4E80 8011DFA0 25020020 */ addiu $v0, $t0, 0x20 +/* B4E84 8011DFA4 AD050010 */ sw $a1, 0x10($t0) +/* B4E88 8011DFA8 AD000014 */ sw $zero, 0x14($t0) +/* B4E8C 8011DFAC AD220000 */ sw $v0, 0x0($t1) +/* B4E90 8011DFB0 25020028 */ addiu $v0, $t0, 0x28 +/* B4E94 8011DFB4 AD060018 */ sw $a2, 0x18($t0) +/* B4E98 8011DFB8 AD00001C */ sw $zero, 0x1C($t0) +/* B4E9C 8011DFBC AD220000 */ sw $v0, 0x0($t1) +/* B4EA0 8011DFC0 AD070020 */ sw $a3, 0x20($t0) +/* B4EA4 8011DFC4 AD000024 */ sw $zero, 0x24($t0) +/* B4EA8 8011DFC8 8FAA0040 */ lw $t2, 0x40($sp) +/* B4EAC 8011DFCC 8D420000 */ lw $v0, 0x0($t2) +/* B4EB0 8011DFD0 3C030001 */ lui $v1, (0x10000 >> 16) +/* B4EB4 8011DFD4 00431024 */ and $v0, $v0, $v1 +/* B4EB8 8011DFD8 10400007 */ beqz $v0, .LIQUE_8011DFF8 +/* B4EBC 8011DFDC 3C02D9FF */ lui $v0, (0xD9FFFFFF >> 16) +/* B4EC0 8011DFE0 3442FFFF */ ori $v0, $v0, (0xD9FFFFFF & 0xFFFF) +/* B4EC4 8011DFE4 25030030 */ addiu $v1, $t0, 0x30 +/* B4EC8 8011DFE8 AD230000 */ sw $v1, 0x0($t1) +/* B4ECC 8011DFEC AD020028 */ sw $v0, 0x28($t0) +/* B4ED0 8011DFF0 24020400 */ addiu $v0, $zero, 0x400 +/* B4ED4 8011DFF4 AD02002C */ sw $v0, 0x2C($t0) +.LIQUE_8011DFF8: +/* B4ED8 8011DFF8 3C028015 */ lui $v0, %hi(gAnimModelFogEnabled) +/* B4EDC 8011DFFC 8C4221C4 */ lw $v0, %lo(gAnimModelFogEnabled)($v0) +/* B4EE0 8011E000 1440000C */ bnez $v0, .LIQUE_8011E034 +/* B4EE4 8011E004 3C04FC12 */ lui $a0, (0xFC121E04 >> 16) +/* B4EE8 8011E008 3C05FCFF */ lui $a1, (0xFCFFFFFF >> 16) +/* B4EEC 8011E00C 34A5FFFF */ ori $a1, $a1, (0xFCFFFFFF & 0xFFFF) +/* B4EF0 8011E010 3C04FFFC */ lui $a0, (0xFFFCF279 >> 16) +/* B4EF4 8011E014 8D220000 */ lw $v0, 0x0($t1) +/* B4EF8 8011E018 3484F279 */ ori $a0, $a0, (0xFFFCF279 & 0xFFFF) +/* B4EFC 8011E01C 0040182D */ daddu $v1, $v0, $zero +/* B4F00 8011E020 24420008 */ addiu $v0, $v0, 0x8 +/* B4F04 8011E024 AD220000 */ sw $v0, 0x0($t1) +/* B4F08 8011E028 AC650000 */ sw $a1, 0x0($v1) +/* B4F0C 8011E02C 08047815 */ j .LIQUE_8011E054 +/* B4F10 8011E030 AC640004 */ sw $a0, 0x4($v1) +.LIQUE_8011E034: +/* B4F14 8011E034 8D220000 */ lw $v0, 0x0($t1) +/* B4F18 8011E038 34841E04 */ ori $a0, $a0, (0xFC121E04 & 0xFFFF) +/* B4F1C 8011E03C 0040182D */ daddu $v1, $v0, $zero +/* B4F20 8011E040 24420008 */ addiu $v0, $v0, 0x8 +/* B4F24 8011E044 AD220000 */ sw $v0, 0x0($t1) +/* B4F28 8011E048 2402F3F8 */ addiu $v0, $zero, -0xC08 +/* B4F2C 8011E04C AC640000 */ sw $a0, 0x0($v1) +/* B4F30 8011E050 AC620004 */ sw $v0, 0x4($v1) +.LIQUE_8011E054: +/* B4F34 8011E054 3C10800A */ lui $s0, %hi(gMasterGfxPos) +/* B4F38 8011E058 26109244 */ addiu $s0, $s0, %lo(gMasterGfxPos) +/* B4F3C 8011E05C 8E020000 */ lw $v0, 0x0($s0) +/* B4F40 8011E060 3C11E700 */ lui $s1, (0xE7000000 >> 16) +/* B4F44 8011E064 0040182D */ daddu $v1, $v0, $zero +/* B4F48 8011E068 AC710000 */ sw $s1, 0x0($v1) +/* B4F4C 8011E06C AC600004 */ sw $zero, 0x4($v1) +/* B4F50 8011E070 8FAA0040 */ lw $t2, 0x40($sp) +/* B4F54 8011E074 8D4302D4 */ lw $v1, 0x2D4($t2) +/* B4F58 8011E078 24420008 */ addiu $v0, $v0, 0x8 +/* B4F5C 8011E07C 10600004 */ beqz $v1, .LIQUE_8011E090 +/* B4F60 8011E080 AE020000 */ sw $v0, 0x0($s0) +/* B4F64 8011E084 8D4402D8 */ lw $a0, 0x2D8($t2) +/* B4F68 8011E088 0060F809 */ jalr $v1 +/* B4F6C 8011E08C 00000000 */ nop +.LIQUE_8011E090: +/* B4F70 8011E090 8E040000 */ lw $a0, 0x0($s0) +/* B4F74 8011E094 0080102D */ daddu $v0, $a0, $zero +/* B4F78 8011E098 AC510000 */ sw $s1, 0x0($v0) +/* B4F7C 8011E09C AC400004 */ sw $zero, 0x4($v0) +/* B4F80 8011E0A0 8EC50000 */ lw $a1, 0x0($s6) +/* B4F84 8011E0A4 24840008 */ addiu $a0, $a0, 0x8 +/* B4F88 8011E0A8 10A00089 */ beqz $a1, .LIQUE_8011E2D0 +/* B4F8C 8011E0AC AE040000 */ sw $a0, 0x0($s0) +/* B4F90 8011E0B0 86C200F8 */ lh $v0, 0xF8($s6) +/* B4F94 8011E0B4 04410008 */ bgez $v0, .LIQUE_8011E0D8 +/* B4F98 8011E0B8 240200DF */ addiu $v0, $zero, 0xDF +/* B4F9C 8011E0BC 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* B4FA0 8011E0C0 AC820000 */ sw $v0, 0x0($a0) +/* B4FA4 8011E0C4 8EC30000 */ lw $v1, 0x0($s6) +/* B4FA8 8011E0C8 24820008 */ addiu $v0, $a0, 0x8 +/* B4FAC 8011E0CC AE020000 */ sw $v0, 0x0($s0) +/* B4FB0 8011E0D0 080478B4 */ j .LIQUE_8011E2D0 +/* B4FB4 8011E0D4 AC830004 */ sw $v1, 0x4($a0) +.LIQUE_8011E0D8: +/* B4FB8 8011E0D8 90A30000 */ lbu $v1, 0x0($a1) +/* B4FBC 8011E0DC 10620008 */ beq $v1, $v0, .LIQUE_8011E100 +/* B4FC0 8011E0E0 0000202D */ daddu $a0, $zero, $zero +/* B4FC4 8011E0E4 0040302D */ daddu $a2, $v0, $zero +/* B4FC8 8011E0E8 24A20008 */ addiu $v0, $a1, 0x8 +.LIQUE_8011E0EC: +/* B4FCC 8011E0EC 24840001 */ addiu $a0, $a0, 0x1 +/* B4FD0 8011E0F0 8C450000 */ lw $a1, 0x0($v0) +/* B4FD4 8011E0F4 00051E02 */ srl $v1, $a1, 24 +/* B4FD8 8011E0F8 1466FFFC */ bne $v1, $a2, .LIQUE_8011E0EC +/* B4FDC 8011E0FC 24420008 */ addiu $v0, $v0, 0x8 +.LIQUE_8011E100: +/* B4FE0 8011E100 24840001 */ addiu $a0, $a0, 0x1 +/* B4FE4 8011E104 0000182D */ daddu $v1, $zero, $zero +/* B4FE8 8011E108 3C058015 */ lui $a1, %hi(D_801536C0) +/* B4FEC 8011E10C 24A51E40 */ addiu $a1, $a1, %lo(D_801536C0) +/* B4FF0 8011E110 000310C0 */ sll $v0, $v1, 3 +.LIQUE_8011E114: +/* B4FF4 8011E114 0045B821 */ addu $s7, $v0, $a1 +/* B4FF8 8011E118 8EE20000 */ lw $v0, 0x0($s7) +/* B4FFC 8011E11C 04400006 */ bltz $v0, .LIQUE_8011E138 +/* B5000 8011E120 28620060 */ slti $v0, $v1, 0x60 +/* B5004 8011E124 24630001 */ addiu $v1, $v1, 0x1 +/* B5008 8011E128 28620060 */ slti $v0, $v1, 0x60 +/* B500C 8011E12C 1440FFF9 */ bnez $v0, .LIQUE_8011E114 +/* B5010 8011E130 000310C0 */ sll $v0, $v1, 3 +/* B5014 8011E134 28620060 */ slti $v0, $v1, 0x60 +.LIQUE_8011E138: +/* B5018 8011E138 14400003 */ bnez $v0, .LIQUE_8011E148 +/* B501C 8011E13C 00000000 */ nop +.LIQUE_8011E140: +/* B5020 8011E140 08047850 */ j .LIQUE_8011E140 +/* B5024 8011E144 00000000 */ nop +.LIQUE_8011E148: +/* B5028 8011E148 0C00AA3E */ jal general_heap_malloc +/* B502C 8011E14C 000420C0 */ sll $a0, $a0, 3 +/* B5030 8011E150 0040982D */ daddu $s3, $v0, $zero +/* B5034 8011E154 16600003 */ bnez $s3, .LIQUE_8011E164 +/* B5038 8011E158 AEF30004 */ sw $s3, 0x4($s7) +.LIQUE_8011E15C: +/* B503C 8011E15C 08047857 */ j .LIQUE_8011E15C +/* B5040 8011E160 00000000 */ nop +.LIQUE_8011E164: +/* B5044 8011E164 0000A82D */ daddu $s5, $zero, $zero +/* B5048 8011E168 24020003 */ addiu $v0, $zero, 0x3 +/* B504C 8011E16C AEE20000 */ sw $v0, 0x0($s7) +/* B5050 8011E170 8EC20000 */ lw $v0, 0x0($s6) +/* B5054 8011E174 8C450000 */ lw $a1, 0x0($v0) +/* B5058 8011E178 8C470004 */ lw $a3, 0x4($v0) +/* B505C 8011E17C 240200DF */ addiu $v0, $zero, 0xDF +/* B5060 8011E180 00051E02 */ srl $v1, $a1, 24 +/* B5064 8011E184 10620044 */ beq $v1, $v0, .LIQUE_8011E298 +/* B5068 8011E188 24140002 */ addiu $s4, $zero, 0x2 +/* B506C 8011E18C 3C1E0100 */ lui $fp, (0x1000000 >> 16) +/* B5070 8011E190 2672FFFC */ addiu $s2, $s3, -0x4 +.LIQUE_8011E194: +/* B5074 8011E194 24020001 */ addiu $v0, $zero, 0x1 +/* B5078 8011E198 5462002F */ bnel $v1, $v0, .LIQUE_8011E258 +/* B507C 8011E19C 0260102D */ daddu $v0, $s3, $zero +/* B5080 8011E1A0 00451006 */ srlv $v0, $a1, $v0 +/* B5084 8011E1A4 3051007F */ andi $s1, $v0, 0x7F +/* B5088 8011E1A8 00051302 */ srl $v0, $a1, 12 +/* B508C 8011E1AC 305000FF */ andi $s0, $v0, 0xFF +/* B5090 8011E1B0 8EC200FC */ lw $v0, 0xFC($s6) +/* B5094 8011E1B4 14400010 */ bnez $v0, .LIQUE_8011E1F8 +/* B5098 8011E1B8 02308823 */ subu $s1, $s1, $s0 +/* B509C 8011E1BC 26520008 */ addiu $s2, $s2, 0x8 +/* B50A0 8011E1C0 26730008 */ addiu $s3, $s3, 0x8 +/* B50A4 8011E1C4 00101300 */ sll $v0, $s0, 12 +/* B50A8 8011E1C8 02301821 */ addu $v1, $s1, $s0 +/* B50AC 8011E1CC 3063007F */ andi $v1, $v1, 0x7F +/* B50B0 8011E1D0 00031840 */ sll $v1, $v1, 1 +/* B50B4 8011E1D4 007E1825 */ or $v1, $v1, $fp +/* B50B8 8011E1D8 86C400F8 */ lh $a0, 0xF8($s6) +/* B50BC 8011E1DC 00431025 */ or $v0, $v0, $v1 +/* B50C0 8011E1E0 AE42FFFC */ sw $v0, -0x4($s2) +/* B50C4 8011E1E4 00952021 */ addu $a0, $a0, $s5 +/* B50C8 8011E1E8 00042100 */ sll $a0, $a0, 4 +/* B50CC 8011E1EC 00E41821 */ addu $v1, $a3, $a0 +/* B50D0 8011E1F0 08047894 */ j .LIQUE_8011E250 +/* B50D4 8011E1F4 AE430000 */ sw $v1, 0x0($s2) +.LIQUE_8011E1F8: +/* B50D8 8011E1F8 02C0282D */ daddu $a1, $s6, $zero +/* B50DC 8011E1FC 26520008 */ addiu $s2, $s2, 0x8 +/* B50E0 8011E200 8FA40040 */ lw $a0, 0x40($sp) +/* B50E4 8011E204 86C200F8 */ lh $v0, 0xF8($s6) +/* B50E8 8011E208 26730008 */ addiu $s3, $s3, 0x8 +/* B50EC 8011E20C AFB10010 */ sw $s1, 0x10($sp) +/* B50F0 8011E210 AFB50014 */ sw $s5, 0x14($sp) +/* B50F4 8011E214 00551021 */ addu $v0, $v0, $s5 +/* B50F8 8011E218 00023040 */ sll $a2, $v0, 1 +/* B50FC 8011E21C 00C23021 */ addu $a2, $a2, $v0 +/* B5100 8011E220 00063040 */ sll $a2, $a2, 1 +/* B5104 8011E224 00E63021 */ addu $a2, $a3, $a2 +/* B5108 8011E228 0C047098 */ jal animator_copy_vertices_to_buffer +/* B510C 8011E22C 0200382D */ daddu $a3, $s0, $zero +/* B5110 8011E230 00102300 */ sll $a0, $s0, 12 +/* B5114 8011E234 02301821 */ addu $v1, $s1, $s0 +/* B5118 8011E238 3063007F */ andi $v1, $v1, 0x7F +/* B511C 8011E23C 00031840 */ sll $v1, $v1, 1 +/* B5120 8011E240 007E1825 */ or $v1, $v1, $fp +/* B5124 8011E244 00832025 */ or $a0, $a0, $v1 +/* B5128 8011E248 AE44FFFC */ sw $a0, -0x4($s2) +/* B512C 8011E24C AE420000 */ sw $v0, 0x0($s2) +.LIQUE_8011E250: +/* B5130 8011E250 0804789A */ j .LIQUE_8011E268 +/* B5134 8011E254 02B0A821 */ addu $s5, $s5, $s0 +.LIQUE_8011E258: +/* B5138 8011E258 26520008 */ addiu $s2, $s2, 0x8 +/* B513C 8011E25C 26730008 */ addiu $s3, $s3, 0x8 +/* B5140 8011E260 AC450000 */ sw $a1, 0x0($v0) +/* B5144 8011E264 AC470004 */ sw $a3, 0x4($v0) +.LIQUE_8011E268: +/* B5148 8011E268 00141080 */ sll $v0, $s4, 2 +/* B514C 8011E26C 26940001 */ addiu $s4, $s4, 0x1 +/* B5150 8011E270 00141880 */ sll $v1, $s4, 2 +/* B5154 8011E274 8EC40000 */ lw $a0, 0x0($s6) +/* B5158 8011E278 00441021 */ addu $v0, $v0, $a0 +/* B515C 8011E27C 00641821 */ addu $v1, $v1, $a0 +/* B5160 8011E280 8C450000 */ lw $a1, 0x0($v0) +/* B5164 8011E284 240200DF */ addiu $v0, $zero, 0xDF +/* B5168 8011E288 8C670000 */ lw $a3, 0x0($v1) +/* B516C 8011E28C 00051E02 */ srl $v1, $a1, 24 +/* B5170 8011E290 1462FFC0 */ bne $v1, $v0, .LIQUE_8011E194 +/* B5174 8011E294 26940001 */ addiu $s4, $s4, 0x1 +.LIQUE_8011E298: +/* B5178 8011E298 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* B517C 8011E29C 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* B5180 8011E2A0 0260202D */ daddu $a0, $s3, $zero +/* B5184 8011E2A4 8CA30000 */ lw $v1, 0x0($a1) +/* B5188 8011E2A8 3C02DF00 */ lui $v0, (0xDF000000 >> 16) +/* B518C 8011E2AC AC820000 */ sw $v0, 0x0($a0) +/* B5190 8011E2B0 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* B5194 8011E2B4 AC800004 */ sw $zero, 0x4($a0) +/* B5198 8011E2B8 0060202D */ daddu $a0, $v1, $zero +/* B519C 8011E2BC AC820000 */ sw $v0, 0x0($a0) +/* B51A0 8011E2C0 8EE20004 */ lw $v0, 0x4($s7) +/* B51A4 8011E2C4 24630008 */ addiu $v1, $v1, 0x8 +/* B51A8 8011E2C8 ACA30000 */ sw $v1, 0x0($a1) +/* B51AC 8011E2CC AC820004 */ sw $v0, 0x4($a0) +.LIQUE_8011E2D0: +/* B51B0 8011E2D0 0000882D */ daddu $s1, $zero, $zero +/* B51B4 8011E2D4 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* B51B8 8011E2D8 24639244 */ addiu $v1, $v1, %lo(gMasterGfxPos) +/* B51BC 8011E2DC 8C620000 */ lw $v0, 0x0($v1) +/* B51C0 8011E2E0 02C0802D */ daddu $s0, $s6, $zero +/* B51C4 8011E2E4 0040202D */ daddu $a0, $v0, $zero +/* B51C8 8011E2E8 24420008 */ addiu $v0, $v0, 0x8 +/* B51CC 8011E2EC AC620000 */ sw $v0, 0x0($v1) +/* B51D0 8011E2F0 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* B51D4 8011E2F4 AC820000 */ sw $v0, 0x0($a0) +/* B51D8 8011E2F8 AC800004 */ sw $zero, 0x4($a0) +.LIQUE_8011E2FC: +/* B51DC 8011E2FC 8E050004 */ lw $a1, 0x4($s0) +/* B51E0 8011E300 50A00005 */ beql $a1, $zero, .LIQUE_8011E318 +/* B51E4 8011E304 26310001 */ addiu $s1, $s1, 0x1 +/* B51E8 8011E308 8FA40040 */ lw $a0, 0x40($sp) +/* B51EC 8011E30C 0C04778D */ jal appendGfx_animator_node +/* B51F0 8011E310 26C600B4 */ addiu $a2, $s6, 0xB4 +/* B51F4 8011E314 26310001 */ addiu $s1, $s1, 0x1 +.LIQUE_8011E318: +/* B51F8 8011E318 2A220020 */ slti $v0, $s1, 0x20 +/* B51FC 8011E31C 1440FFF7 */ bnez $v0, .LIQUE_8011E2FC +/* B5200 8011E320 26100004 */ addiu $s0, $s0, 0x4 +.LIQUE_8011E324: +/* B5204 8011E324 8FBF003C */ lw $ra, 0x3C($sp) +/* B5208 8011E328 8FBE0038 */ lw $fp, 0x38($sp) +/* B520C 8011E32C 8FB70034 */ lw $s7, 0x34($sp) +/* B5210 8011E330 8FB60030 */ lw $s6, 0x30($sp) +/* B5214 8011E334 8FB5002C */ lw $s5, 0x2C($sp) +/* B5218 8011E338 8FB40028 */ lw $s4, 0x28($sp) +/* B521C 8011E33C 8FB30024 */ lw $s3, 0x24($sp) +/* B5220 8011E340 8FB20020 */ lw $s2, 0x20($sp) +/* B5224 8011E344 8FB1001C */ lw $s1, 0x1C($sp) +/* B5228 8011E348 8FB00018 */ lw $s0, 0x18($sp) +/* B522C 8011E34C 03E00008 */ jr $ra +/* B5230 8011E350 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/cn/asm/nonmatchings/C50A0/draw_image_with_clipping.s b/ver/cn/asm/nonmatchings/C50A0/draw_image_with_clipping.s new file mode 100644 index 0000000000..bdb374ed87 --- /dev/null +++ b/ver/cn/asm/nonmatchings/C50A0/draw_image_with_clipping.s @@ -0,0 +1,567 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel draw_image_with_clipping +/* C4304 8012D424 27BDFF80 */ addiu $sp, $sp, -0x80 +/* C4308 8012D428 AFA7008C */ sw $a3, 0x8C($sp) +/* C430C 8012D42C 8FA70094 */ lw $a3, 0x94($sp) +/* C4310 8012D430 AFA60088 */ sw $a2, 0x88($sp) +/* C4314 8012D434 8FA60098 */ lw $a2, 0x98($sp) +/* C4318 8012D438 8FAC009C */ lw $t4, 0x9C($sp) +/* C431C 8012D43C 8FA900A0 */ lw $t1, 0xA0($sp) +/* C4320 8012D440 8FAB00A4 */ lw $t3, 0xA4($sp) +/* C4324 8012D444 8FA800A8 */ lw $t0, 0xA8($sp) +/* C4328 8012D448 AFBE0078 */ sw $fp, 0x78($sp) +/* C432C 8012D44C 8FBE0090 */ lw $fp, 0x90($sp) +/* C4330 8012D450 AFB70074 */ sw $s7, 0x74($sp) +/* C4334 8012D454 AFB60070 */ sw $s6, 0x70($sp) +/* C4338 8012D458 AFB5006C */ sw $s5, 0x6C($sp) +/* C433C 8012D45C AFB40068 */ sw $s4, 0x68($sp) +/* C4340 8012D460 AFB30064 */ sw $s3, 0x64($sp) +/* C4344 8012D464 AFB20060 */ sw $s2, 0x60($sp) +/* C4348 8012D468 AFB1005C */ sw $s1, 0x5C($sp) +/* C434C 8012D46C AFB00058 */ sw $s0, 0x58($sp) +/* C4350 8012D470 AFA40080 */ sw $a0, 0x80($sp) +/* C4354 8012D474 AFA50084 */ sw $a1, 0x84($sp) +/* C4358 8012D478 00E0C02D */ daddu $t8, $a3, $zero +/* C435C 8012D47C 00071C00 */ sll $v1, $a3, 16 +/* C4360 8012D480 00031C03 */ sra $v1, $v1, 16 +/* C4364 8012D484 A7AC0018 */ sh $t4, 0x18($sp) +/* C4368 8012D488 3185FFFF */ andi $a1, $t4, 0xFFFF +/* C436C 8012D48C A7AB001C */ sh $t3, 0x1C($sp) +/* C4370 8012D490 3162FFFF */ andi $v0, $t3, 0xFFFF +/* C4374 8012D494 00A21021 */ addu $v0, $a1, $v0 +/* C4378 8012D498 0062182A */ slt $v1, $v1, $v0 +/* C437C 8012D49C A7A60016 */ sh $a2, 0x16($sp) +/* C4380 8012D4A0 A7A9001A */ sh $t1, 0x1A($sp) +/* C4384 8012D4A4 10600017 */ beqz $v1, .LIQUE_8012D504 +/* C4388 8012D4A8 A7A8001E */ sh $t0, 0x1E($sp) +/* C438C 8012D4AC 00061C00 */ sll $v1, $a2, 16 +/* C4390 8012D4B0 00031C03 */ sra $v1, $v1, 16 +/* C4394 8012D4B4 3124FFFF */ andi $a0, $t1, 0xFFFF +/* C4398 8012D4B8 3102FFFF */ andi $v0, $t0, 0xFFFF +/* C439C 8012D4BC 00821021 */ addu $v0, $a0, $v0 +/* C43A0 8012D4C0 0062182A */ slt $v1, $v1, $v0 +/* C43A4 8012D4C4 106001E7 */ beqz $v1, .LIQUE_8012DC64 +/* C43A8 8012D4C8 0000102D */ daddu $v0, $zero, $zero +/* C43AC 8012D4CC 8FB50084 */ lw $s5, 0x84($sp) +/* C43B0 8012D4D0 00F51021 */ addu $v0, $a3, $s5 +/* C43B4 8012D4D4 00021400 */ sll $v0, $v0, 16 +/* C43B8 8012D4D8 00021403 */ sra $v0, $v0, 16 +/* C43BC 8012D4DC 00A2102A */ slt $v0, $a1, $v0 +/* C43C0 8012D4E0 104001E0 */ beqz $v0, .LIQUE_8012DC64 +/* C43C4 8012D4E4 0000102D */ daddu $v0, $zero, $zero +/* C43C8 8012D4E8 8FB60088 */ lw $s6, 0x88($sp) +/* C43CC 8012D4EC 00D61021 */ addu $v0, $a2, $s6 +/* C43D0 8012D4F0 00021400 */ sll $v0, $v0, 16 +/* C43D4 8012D4F4 00021403 */ sra $v0, $v0, 16 +/* C43D8 8012D4F8 0082102A */ slt $v0, $a0, $v0 +/* C43DC 8012D4FC 14400003 */ bnez $v0, .LIQUE_8012D50C +/* C43E0 8012D500 0080702D */ daddu $t6, $a0, $zero +.LIQUE_8012D504: +/* C43E4 8012D504 0804B719 */ j .LIQUE_8012DC64 +/* C43E8 8012D508 0000102D */ daddu $v0, $zero, $zero +.LIQUE_8012D50C: +/* C43EC 8012D50C 01284821 */ addu $t1, $t1, $t0 +/* C43F0 8012D510 00A0502D */ daddu $t2, $a1, $zero +/* C43F4 8012D514 018B6021 */ addu $t4, $t4, $t3 +/* C43F8 8012D518 8FB50088 */ lw $s5, 0x88($sp) +/* C43FC 8012D51C 8FB60088 */ lw $s6, 0x88($sp) +/* C4400 8012D520 3C08800A */ lui $t0, %hi(gMasterGfxPos) +/* C4404 8012D524 25089244 */ addiu $t0, $t0, %lo(gMasterGfxPos) +/* C4408 8012D528 A3A00020 */ sb $zero, 0x20($sp) +/* C440C 8012D52C AFA90024 */ sw $t1, 0x24($sp) +/* C4410 8012D530 AFAC0034 */ sw $t4, 0x34($sp) +/* C4414 8012D534 A7A00002 */ sh $zero, 0x2($sp) +/* C4418 8012D538 A7A6000A */ sh $a2, 0xA($sp) +/* C441C 8012D53C 26B5FFFF */ addiu $s5, $s5, -0x1 +/* C4420 8012D540 AFB50028 */ sw $s5, 0x28($sp) +/* C4424 8012D544 8FB50084 */ lw $s5, 0x84($sp) +/* C4428 8012D548 02C6B021 */ addu $s6, $s6, $a2 +/* C442C 8012D54C AFB6002C */ sw $s6, 0x2C($sp) +/* C4430 8012D550 8FB60084 */ lw $s6, 0x84($sp) +/* C4434 8012D554 26B5FFFF */ addiu $s5, $s5, -0x1 +/* C4438 8012D558 02C73821 */ addu $a3, $s6, $a3 +/* C443C 8012D55C AFB50038 */ sw $s5, 0x38($sp) +/* C4440 8012D560 AFA7003C */ sw $a3, 0x3C($sp) +.LIQUE_8012D564: +/* C4444 8012D564 97A30002 */ lhu $v1, 0x2($sp) +/* C4448 8012D568 97A2000A */ lhu $v0, 0xA($sp) +/* C444C 8012D56C A7A00056 */ sh $zero, 0x56($sp) +/* C4450 8012D570 2463001F */ addiu $v1, $v1, 0x1F +/* C4454 8012D574 24420020 */ addiu $v0, $v0, 0x20 +/* C4458 8012D578 A7A2000E */ sh $v0, 0xE($sp) +/* C445C 8012D57C 00021400 */ sll $v0, $v0, 16 +/* C4460 8012D580 00021403 */ sra $v0, $v0, 16 +/* C4464 8012D584 01C2102A */ slt $v0, $t6, $v0 +/* C4468 8012D588 1440000E */ bnez $v0, .LIQUE_8012D5C4 +/* C446C 8012D58C A7A30006 */ sh $v1, 0x6($sp) +.LIQUE_8012D590: +/* C4470 8012D590 97A40002 */ lhu $a0, 0x2($sp) +/* C4474 8012D594 97A2000E */ lhu $v0, 0xE($sp) +/* C4478 8012D598 24830020 */ addiu $v1, $a0, 0x20 +/* C447C 8012D59C A7A2000A */ sh $v0, 0xA($sp) +/* C4480 8012D5A0 24420020 */ addiu $v0, $v0, 0x20 +/* C4484 8012D5A4 A7A2000E */ sh $v0, 0xE($sp) +/* C4488 8012D5A8 00021400 */ sll $v0, $v0, 16 +/* C448C 8012D5AC 00021403 */ sra $v0, $v0, 16 +/* C4490 8012D5B0 004E102A */ slt $v0, $v0, $t6 +/* C4494 8012D5B4 1440FFF6 */ bnez $v0, .LIQUE_8012D590 +/* C4498 8012D5B8 A7A30002 */ sh $v1, 0x2($sp) +/* C449C 8012D5BC 2482003F */ addiu $v0, $a0, 0x3F +/* C44A0 8012D5C0 A7A20006 */ sh $v0, 0x6($sp) +.LIQUE_8012D5C4: +/* C44A4 8012D5C4 87A2000A */ lh $v0, 0xA($sp) +/* C44A8 8012D5C8 004E102A */ slt $v0, $v0, $t6 +/* C44AC 8012D5CC 1040000A */ beqz $v0, .LIQUE_8012D5F8 +/* C44B0 8012D5D0 00000000 */ nop +/* C44B4 8012D5D4 97B50016 */ lhu $s5, 0x16($sp) +/* C44B8 8012D5D8 97B6001A */ lhu $s6, 0x1A($sp) +/* C44BC 8012D5DC 00151400 */ sll $v0, $s5, 16 +/* C44C0 8012D5E0 00021403 */ sra $v0, $v0, 16 +/* C44C4 8012D5E4 004E1023 */ subu $v0, $v0, $t6 +/* C44C8 8012D5E8 04420001 */ bltzl $v0, .LIQUE_8012D5F0 +/* C44CC 8012D5EC 00021023 */ negu $v0, $v0 +.LIQUE_8012D5F0: +/* C44D0 8012D5F0 A7A20056 */ sh $v0, 0x56($sp) +/* C44D4 8012D5F4 A7B6000A */ sh $s6, 0xA($sp) +.LIQUE_8012D5F8: +/* C44D8 8012D5F8 97A2001E */ lhu $v0, 0x1E($sp) +/* C44DC 8012D5FC 87A3000E */ lh $v1, 0xE($sp) +/* C44E0 8012D600 01C21021 */ addu $v0, $t6, $v0 +/* C44E4 8012D604 0062182A */ slt $v1, $v1, $v0 +/* C44E8 8012D608 14600009 */ bnez $v1, .LIQUE_8012D630 +/* C44EC 8012D60C 24150001 */ addiu $s5, $zero, 0x1 +/* C44F0 8012D610 8FB60024 */ lw $s6, 0x24($sp) +/* C44F4 8012D614 A3B50020 */ sb $s5, 0x20($sp) +/* C44F8 8012D618 97B50016 */ lhu $s5, 0x16($sp) +/* C44FC 8012D61C 02D51023 */ subu $v0, $s6, $s5 +/* C4500 8012D620 97B60026 */ lhu $s6, 0x26($sp) +/* C4504 8012D624 2442FFFF */ addiu $v0, $v0, -0x1 +/* C4508 8012D628 A7A20006 */ sh $v0, 0x6($sp) +/* C450C 8012D62C A7B6000E */ sh $s6, 0xE($sp) +.LIQUE_8012D630: +/* C4510 8012D630 97A20006 */ lhu $v0, 0x6($sp) +/* C4514 8012D634 8FB50088 */ lw $s5, 0x88($sp) +/* C4518 8012D638 00021400 */ sll $v0, $v0, 16 +/* C451C 8012D63C 00021403 */ sra $v0, $v0, 16 +/* C4520 8012D640 24420001 */ addiu $v0, $v0, 0x1 +/* C4524 8012D644 0055102B */ sltu $v0, $v0, $s5 +/* C4528 8012D648 14400007 */ bnez $v0, .LIQUE_8012D668 +/* C452C 8012D64C 0000682D */ daddu $t5, $zero, $zero +/* C4530 8012D650 24160001 */ addiu $s6, $zero, 0x1 +/* C4534 8012D654 97B5002A */ lhu $s5, 0x2A($sp) +/* C4538 8012D658 A3B60020 */ sb $s6, 0x20($sp) +/* C453C 8012D65C 97B6002E */ lhu $s6, 0x2E($sp) +/* C4540 8012D660 A7B50006 */ sh $s5, 0x6($sp) +/* C4544 8012D664 A7B6000E */ sh $s6, 0xE($sp) +.LIQUE_8012D668: +/* C4548 8012D668 3C14F508 */ lui $s4, (0xF5080000 >> 16) +/* C454C 8012D66C 3C0C0701 */ lui $t4, (0x7014060 >> 16) +/* C4550 8012D670 358C4060 */ ori $t4, $t4, (0x7014060 & 0xFFFF) +/* C4554 8012D674 3C13E600 */ lui $s3, (0xE6000000 >> 16) +/* C4558 8012D678 3C12F400 */ lui $s2, (0xF4000000 >> 16) +/* C455C 8012D67C 3C110700 */ lui $s1, (0x7000000 >> 16) +/* C4560 8012D680 3C10E700 */ lui $s0, (0xE7000000 >> 16) +/* C4564 8012D684 3C0B0001 */ lui $t3, (0x14060 >> 16) +/* C4568 8012D688 356B4060 */ ori $t3, $t3, (0x14060 & 0xFFFF) +/* C456C 8012D68C 3C19F200 */ lui $t9, (0xF2000000 >> 16) +/* C4570 8012D690 8FB5008C */ lw $s5, 0x8C($sp) +/* C4574 8012D694 8FB60038 */ lw $s6, 0x38($sp) +/* C4578 8012D698 3C17F510 */ lui $s7, (0xF5100000 >> 16) +/* C457C 8012D69C A7A00000 */ sh $zero, 0x0($sp) +/* C4580 8012D6A0 A7B80008 */ sh $t8, 0x8($sp) +/* C4584 8012D6A4 32A20007 */ andi $v0, $s5, 0x7 +/* C4588 8012D6A8 00024D40 */ sll $t1, $v0, 21 +/* C458C 8012D6AC 32D60FFF */ andi $s6, $s6, 0xFFF +/* C4590 8012D6B0 3C15FD08 */ lui $s5, (0xFD080000 >> 16) +/* C4594 8012D6B4 02D51025 */ or $v0, $s6, $s5 +/* C4598 8012D6B8 01221025 */ or $v0, $t1, $v0 +/* C459C 8012D6BC AFB60048 */ sw $s6, 0x48($sp) +/* C45A0 8012D6C0 AFA20040 */ sw $v0, 0x40($sp) +.LIQUE_8012D6C4: +/* C45A4 8012D6C4 0000782D */ daddu $t7, $zero, $zero +/* C45A8 8012D6C8 97A30000 */ lhu $v1, 0x0($sp) +/* C45AC 8012D6CC 97A20008 */ lhu $v0, 0x8($sp) +/* C45B0 8012D6D0 2463003F */ addiu $v1, $v1, 0x3F +/* C45B4 8012D6D4 24420040 */ addiu $v0, $v0, 0x40 +/* C45B8 8012D6D8 A7A2000C */ sh $v0, 0xC($sp) +/* C45BC 8012D6DC 00021400 */ sll $v0, $v0, 16 +/* C45C0 8012D6E0 00021403 */ sra $v0, $v0, 16 +/* C45C4 8012D6E4 0142102A */ slt $v0, $t2, $v0 +/* C45C8 8012D6E8 1440000E */ bnez $v0, .LIQUE_8012D724 +/* C45CC 8012D6EC A7A30004 */ sh $v1, 0x4($sp) +.LIQUE_8012D6F0: +/* C45D0 8012D6F0 97A40000 */ lhu $a0, 0x0($sp) +/* C45D4 8012D6F4 97A2000C */ lhu $v0, 0xC($sp) +/* C45D8 8012D6F8 24830040 */ addiu $v1, $a0, 0x40 +/* C45DC 8012D6FC A7A20008 */ sh $v0, 0x8($sp) +/* C45E0 8012D700 24420040 */ addiu $v0, $v0, 0x40 +/* C45E4 8012D704 A7A2000C */ sh $v0, 0xC($sp) +/* C45E8 8012D708 00021400 */ sll $v0, $v0, 16 +/* C45EC 8012D70C 00021403 */ sra $v0, $v0, 16 +/* C45F0 8012D710 004A102A */ slt $v0, $v0, $t2 +/* C45F4 8012D714 1440FFF6 */ bnez $v0, .LIQUE_8012D6F0 +/* C45F8 8012D718 A7A30000 */ sh $v1, 0x0($sp) +/* C45FC 8012D71C 2482007F */ addiu $v0, $a0, 0x7F +/* C4600 8012D720 A7A20004 */ sh $v0, 0x4($sp) +.LIQUE_8012D724: +/* C4604 8012D724 87A20008 */ lh $v0, 0x8($sp) +/* C4608 8012D728 004A102A */ slt $v0, $v0, $t2 +/* C460C 8012D72C 10400008 */ beqz $v0, .LIQUE_8012D750 +/* C4610 8012D730 00181400 */ sll $v0, $t8, 16 +/* C4614 8012D734 00021403 */ sra $v0, $v0, 16 +/* C4618 8012D738 004A1023 */ subu $v0, $v0, $t2 +/* C461C 8012D73C 97B60018 */ lhu $s6, 0x18($sp) +/* C4620 8012D740 04410002 */ bgez $v0, .LIQUE_8012D74C +/* C4624 8012D744 0040782D */ daddu $t7, $v0, $zero +/* C4628 8012D748 000F7823 */ negu $t7, $t7 +.LIQUE_8012D74C: +/* C462C 8012D74C A7B60008 */ sh $s6, 0x8($sp) +.LIQUE_8012D750: +/* C4630 8012D750 97A2001C */ lhu $v0, 0x1C($sp) +/* C4634 8012D754 87A3000C */ lh $v1, 0xC($sp) +/* C4638 8012D758 01421021 */ addu $v0, $t2, $v0 +/* C463C 8012D75C 0062182A */ slt $v1, $v1, $v0 +/* C4640 8012D760 14600008 */ bnez $v1, .LIQUE_8012D784 +/* C4644 8012D764 00000000 */ nop +/* C4648 8012D768 240D0001 */ addiu $t5, $zero, 0x1 +/* C464C 8012D76C 8FB50034 */ lw $s5, 0x34($sp) +/* C4650 8012D770 97B60036 */ lhu $s6, 0x36($sp) +/* C4654 8012D774 02B81023 */ subu $v0, $s5, $t8 +/* C4658 8012D778 2442FFFF */ addiu $v0, $v0, -0x1 +/* C465C 8012D77C A7A20004 */ sh $v0, 0x4($sp) +/* C4660 8012D780 A7B6000C */ sh $s6, 0xC($sp) +.LIQUE_8012D784: +/* C4664 8012D784 97A20004 */ lhu $v0, 0x4($sp) +/* C4668 8012D788 8FB50084 */ lw $s5, 0x84($sp) +/* C466C 8012D78C 00021400 */ sll $v0, $v0, 16 +/* C4670 8012D790 00021403 */ sra $v0, $v0, 16 +/* C4674 8012D794 24420001 */ addiu $v0, $v0, 0x1 +/* C4678 8012D798 0055102B */ sltu $v0, $v0, $s5 +/* C467C 8012D79C 14400006 */ bnez $v0, .LIQUE_8012D7B8 +/* C4680 8012D7A0 00000000 */ nop +/* C4684 8012D7A4 240D0001 */ addiu $t5, $zero, 0x1 +/* C4688 8012D7A8 97B6003A */ lhu $s6, 0x3A($sp) +/* C468C 8012D7AC 97B5003E */ lhu $s5, 0x3E($sp) +/* C4690 8012D7B0 A7B60004 */ sh $s6, 0x4($sp) +/* C4694 8012D7B4 A7B5000C */ sh $s5, 0xC($sp) +.LIQUE_8012D7B8: +/* C4698 8012D7B8 57C0004D */ bnel $fp, $zero, .LIQUE_8012D8F0 +/* C469C 8012D7BC 24020002 */ addiu $v0, $zero, 0x2 +/* C46A0 8012D7C0 8D050000 */ lw $a1, 0x0($t0) +/* C46A4 8012D7C4 00A0182D */ daddu $v1, $a1, $zero +/* C46A8 8012D7C8 24A50008 */ addiu $a1, $a1, 0x8 +/* C46AC 8012D7CC AD050000 */ sw $a1, 0x0($t0) +/* C46B0 8012D7D0 8FB60084 */ lw $s6, 0x84($sp) +/* C46B4 8012D7D4 3C15FD08 */ lui $s5, (0xFD080000 >> 16) +/* C46B8 8012D7D8 00161042 */ srl $v0, $s6, 1 +/* C46BC 8012D7DC 2442FFFF */ addiu $v0, $v0, -0x1 +/* C46C0 8012D7E0 30420FFF */ andi $v0, $v0, 0xFFF +/* C46C4 8012D7E4 00551025 */ or $v0, $v0, $s5 +/* C46C8 8012D7E8 01221025 */ or $v0, $t1, $v0 +/* C46CC 8012D7EC AC620000 */ sw $v0, 0x0($v1) +/* C46D0 8012D7F0 8FB60080 */ lw $s6, 0x80($sp) +/* C46D4 8012D7F4 AC760004 */ sw $s6, 0x4($v1) +/* C46D8 8012D7F8 97A20004 */ lhu $v0, 0x4($sp) +/* C46DC 8012D7FC 87A40000 */ lh $a0, 0x0($sp) +/* C46E0 8012D800 24A30008 */ addiu $v1, $a1, 0x8 +/* C46E4 8012D804 AD030000 */ sw $v1, 0x0($t0) +/* C46E8 8012D808 ACAC0004 */ sw $t4, 0x4($a1) +/* C46EC 8012D80C ACB30008 */ sw $s3, 0x8($a1) +/* C46F0 8012D810 ACA0000C */ sw $zero, 0xC($a1) +/* C46F4 8012D814 00021400 */ sll $v0, $v0, 16 +/* C46F8 8012D818 00021403 */ sra $v0, $v0, 16 +/* C46FC 8012D81C 00441023 */ subu $v0, $v0, $a0 +/* C4700 8012D820 24420001 */ addiu $v0, $v0, 0x1 +/* C4704 8012D824 00021043 */ sra $v0, $v0, 1 +/* C4708 8012D828 24420007 */ addiu $v0, $v0, 0x7 +/* C470C 8012D82C 000210C3 */ sra $v0, $v0, 3 +/* C4710 8012D830 304201FF */ andi $v0, $v0, 0x1FF +/* C4714 8012D834 00021240 */ sll $v0, $v0, 9 +/* C4718 8012D838 00541025 */ or $v0, $v0, $s4 +/* C471C 8012D83C 01221025 */ or $v0, $t1, $v0 +/* C4720 8012D840 ACA20000 */ sw $v0, 0x0($a1) +/* C4724 8012D844 87A30000 */ lh $v1, 0x0($sp) +/* C4728 8012D848 24A20010 */ addiu $v0, $a1, 0x10 +/* C472C 8012D84C AD020000 */ sw $v0, 0x0($t0) +/* C4730 8012D850 97A20002 */ lhu $v0, 0x2($sp) +/* C4734 8012D854 00031840 */ sll $v1, $v1, 1 +/* C4738 8012D858 30630FFF */ andi $v1, $v1, 0xFFF +/* C473C 8012D85C 00031B00 */ sll $v1, $v1, 12 +/* C4740 8012D860 00021080 */ sll $v0, $v0, 2 +/* C4744 8012D864 30420FFC */ andi $v0, $v0, 0xFFC +/* C4748 8012D868 00521025 */ or $v0, $v0, $s2 +/* C474C 8012D86C 00621825 */ or $v1, $v1, $v0 +/* C4750 8012D870 ACA30010 */ sw $v1, 0x10($a1) +/* C4754 8012D874 97A30004 */ lhu $v1, 0x4($sp) +/* C4758 8012D878 97A40006 */ lhu $a0, 0x6($sp) +/* C475C 8012D87C 24A20018 */ addiu $v0, $a1, 0x18 +/* C4760 8012D880 AD020000 */ sw $v0, 0x0($t0) +/* C4764 8012D884 ACB00018 */ sw $s0, 0x18($a1) +/* C4768 8012D888 ACA0001C */ sw $zero, 0x1C($a1) +/* C476C 8012D88C 00031840 */ sll $v1, $v1, 1 +/* C4770 8012D890 30630FFE */ andi $v1, $v1, 0xFFE +/* C4774 8012D894 00031B00 */ sll $v1, $v1, 12 +/* C4778 8012D898 00042080 */ sll $a0, $a0, 2 +/* C477C 8012D89C 30840FFC */ andi $a0, $a0, 0xFFC +/* C4780 8012D8A0 00912025 */ or $a0, $a0, $s1 +/* C4784 8012D8A4 00641825 */ or $v1, $v1, $a0 +/* C4788 8012D8A8 ACA30014 */ sw $v1, 0x14($a1) +/* C478C 8012D8AC 97A20004 */ lhu $v0, 0x4($sp) +/* C4790 8012D8B0 87A40000 */ lh $a0, 0x0($sp) +/* C4794 8012D8B4 24A30020 */ addiu $v1, $a1, 0x20 +/* C4798 8012D8B8 AD030000 */ sw $v1, 0x0($t0) +/* C479C 8012D8BC 3C03F500 */ lui $v1, (0xF5000000 >> 16) +/* C47A0 8012D8C0 ACAB0024 */ sw $t3, 0x24($a1) +/* C47A4 8012D8C4 00021400 */ sll $v0, $v0, 16 +/* C47A8 8012D8C8 00021403 */ sra $v0, $v0, 16 +/* C47AC 8012D8CC 00441023 */ subu $v0, $v0, $a0 +/* C47B0 8012D8D0 24420001 */ addiu $v0, $v0, 0x1 +/* C47B4 8012D8D4 00021043 */ sra $v0, $v0, 1 +/* C47B8 8012D8D8 24420007 */ addiu $v0, $v0, 0x7 +/* C47BC 8012D8DC 000210C3 */ sra $v0, $v0, 3 +/* C47C0 8012D8E0 304201FF */ andi $v0, $v0, 0x1FF +/* C47C4 8012D8E4 00021240 */ sll $v0, $v0, 9 +/* C47C8 8012D8E8 0804B6C6 */ j .LIQUE_8012DB18 +/* C47CC 8012D8EC 00431025 */ or $v0, $v0, $v1 +.LIQUE_8012D8F0: +/* C47D0 8012D8F0 57C20047 */ bnel $fp, $v0, .LIQUE_8012DA10 +/* C47D4 8012D8F4 24020001 */ addiu $v0, $zero, 0x1 +/* C47D8 8012D8F8 8D050000 */ lw $a1, 0x0($t0) +/* C47DC 8012D8FC 00A0182D */ daddu $v1, $a1, $zero +/* C47E0 8012D900 24A50008 */ addiu $a1, $a1, 0x8 +/* C47E4 8012D904 AD050000 */ sw $a1, 0x0($t0) +/* C47E8 8012D908 8FB50048 */ lw $s5, 0x48($sp) +/* C47EC 8012D90C 3C02FD10 */ lui $v0, (0xFD100000 >> 16) +/* C47F0 8012D910 02A21025 */ or $v0, $s5, $v0 +/* C47F4 8012D914 01221025 */ or $v0, $t1, $v0 +/* C47F8 8012D918 AC620000 */ sw $v0, 0x0($v1) +/* C47FC 8012D91C 8FB60080 */ lw $s6, 0x80($sp) +/* C4800 8012D920 AC760004 */ sw $s6, 0x4($v1) +/* C4804 8012D924 97A20004 */ lhu $v0, 0x4($sp) +/* C4808 8012D928 87A40000 */ lh $a0, 0x0($sp) +/* C480C 8012D92C 24A30008 */ addiu $v1, $a1, 0x8 +/* C4810 8012D930 AD030000 */ sw $v1, 0x0($t0) +/* C4814 8012D934 ACAC0004 */ sw $t4, 0x4($a1) +/* C4818 8012D938 ACB30008 */ sw $s3, 0x8($a1) +/* C481C 8012D93C ACA0000C */ sw $zero, 0xC($a1) +/* C4820 8012D940 00021400 */ sll $v0, $v0, 16 +/* C4824 8012D944 00021403 */ sra $v0, $v0, 16 +/* C4828 8012D948 00441023 */ subu $v0, $v0, $a0 +/* C482C 8012D94C 00021040 */ sll $v0, $v0, 1 +/* C4830 8012D950 24420009 */ addiu $v0, $v0, 0x9 +/* C4834 8012D954 000210C3 */ sra $v0, $v0, 3 +/* C4838 8012D958 304201FF */ andi $v0, $v0, 0x1FF +/* C483C 8012D95C 00021240 */ sll $v0, $v0, 9 +/* C4840 8012D960 00571025 */ or $v0, $v0, $s7 +/* C4844 8012D964 01221025 */ or $v0, $t1, $v0 +/* C4848 8012D968 ACA20000 */ sw $v0, 0x0($a1) +/* C484C 8012D96C 87A30000 */ lh $v1, 0x0($sp) +/* C4850 8012D970 24A20010 */ addiu $v0, $a1, 0x10 +/* C4854 8012D974 AD020000 */ sw $v0, 0x0($t0) +/* C4858 8012D978 97A20002 */ lhu $v0, 0x2($sp) +/* C485C 8012D97C 00031880 */ sll $v1, $v1, 2 +/* C4860 8012D980 30630FFF */ andi $v1, $v1, 0xFFF +/* C4864 8012D984 00031B00 */ sll $v1, $v1, 12 +/* C4868 8012D988 00021080 */ sll $v0, $v0, 2 +/* C486C 8012D98C 30420FFC */ andi $v0, $v0, 0xFFC +/* C4870 8012D990 00521025 */ or $v0, $v0, $s2 +/* C4874 8012D994 00621825 */ or $v1, $v1, $v0 +/* C4878 8012D998 ACA30010 */ sw $v1, 0x10($a1) +/* C487C 8012D99C 97A30004 */ lhu $v1, 0x4($sp) +/* C4880 8012D9A0 97A40006 */ lhu $a0, 0x6($sp) +/* C4884 8012D9A4 24A20018 */ addiu $v0, $a1, 0x18 +/* C4888 8012D9A8 AD020000 */ sw $v0, 0x0($t0) +/* C488C 8012D9AC ACB00018 */ sw $s0, 0x18($a1) +/* C4890 8012D9B0 ACA0001C */ sw $zero, 0x1C($a1) +/* C4894 8012D9B4 00031880 */ sll $v1, $v1, 2 +/* C4898 8012D9B8 30630FFC */ andi $v1, $v1, 0xFFC +/* C489C 8012D9BC 00031B00 */ sll $v1, $v1, 12 +/* C48A0 8012D9C0 00042080 */ sll $a0, $a0, 2 +/* C48A4 8012D9C4 30840FFC */ andi $a0, $a0, 0xFFC +/* C48A8 8012D9C8 00912025 */ or $a0, $a0, $s1 +/* C48AC 8012D9CC 00641825 */ or $v1, $v1, $a0 +/* C48B0 8012D9D0 ACA30014 */ sw $v1, 0x14($a1) +/* C48B4 8012D9D4 97A20004 */ lhu $v0, 0x4($sp) +/* C48B8 8012D9D8 87A40000 */ lh $a0, 0x0($sp) +/* C48BC 8012D9DC 24A30020 */ addiu $v1, $a1, 0x20 +/* C48C0 8012D9E0 AD030000 */ sw $v1, 0x0($t0) +/* C48C4 8012D9E4 ACAB0024 */ sw $t3, 0x24($a1) +/* C48C8 8012D9E8 00021400 */ sll $v0, $v0, 16 +/* C48CC 8012D9EC 00021403 */ sra $v0, $v0, 16 +/* C48D0 8012D9F0 00441023 */ subu $v0, $v0, $a0 +/* C48D4 8012D9F4 00021040 */ sll $v0, $v0, 1 +/* C48D8 8012D9F8 24420009 */ addiu $v0, $v0, 0x9 +/* C48DC 8012D9FC 000210C3 */ sra $v0, $v0, 3 +/* C48E0 8012DA00 304201FF */ andi $v0, $v0, 0x1FF +/* C48E4 8012DA04 00021240 */ sll $v0, $v0, 9 +/* C48E8 8012DA08 0804B6C6 */ j .LIQUE_8012DB18 +/* C48EC 8012DA0C 00571025 */ or $v0, $v0, $s7 +.LIQUE_8012DA10: +/* C48F0 8012DA10 17C2005B */ bne $fp, $v0, .LIQUE_8012DB80 +/* C48F4 8012DA14 3C070400 */ lui $a3, (0x4000400 >> 16) +/* C48F8 8012DA18 8D050000 */ lw $a1, 0x0($t0) +/* C48FC 8012DA1C 00A0102D */ daddu $v0, $a1, $zero +/* C4900 8012DA20 24A50008 */ addiu $a1, $a1, 0x8 +/* C4904 8012DA24 AD050000 */ sw $a1, 0x0($t0) +/* C4908 8012DA28 8FB50040 */ lw $s5, 0x40($sp) +/* C490C 8012DA2C AC550000 */ sw $s5, 0x0($v0) +/* C4910 8012DA30 8FB60080 */ lw $s6, 0x80($sp) +/* C4914 8012DA34 AC560004 */ sw $s6, 0x4($v0) +/* C4918 8012DA38 97A20004 */ lhu $v0, 0x4($sp) +/* C491C 8012DA3C 87A40000 */ lh $a0, 0x0($sp) +/* C4920 8012DA40 24A30008 */ addiu $v1, $a1, 0x8 +/* C4924 8012DA44 AD030000 */ sw $v1, 0x0($t0) +/* C4928 8012DA48 ACAC0004 */ sw $t4, 0x4($a1) +/* C492C 8012DA4C ACB30008 */ sw $s3, 0x8($a1) +/* C4930 8012DA50 ACA0000C */ sw $zero, 0xC($a1) +/* C4934 8012DA54 00021400 */ sll $v0, $v0, 16 +/* C4938 8012DA58 00021403 */ sra $v0, $v0, 16 +/* C493C 8012DA5C 00441023 */ subu $v0, $v0, $a0 +/* C4940 8012DA60 24420008 */ addiu $v0, $v0, 0x8 +/* C4944 8012DA64 000210C3 */ sra $v0, $v0, 3 +/* C4948 8012DA68 304201FF */ andi $v0, $v0, 0x1FF +/* C494C 8012DA6C 00021240 */ sll $v0, $v0, 9 +/* C4950 8012DA70 00541025 */ or $v0, $v0, $s4 +/* C4954 8012DA74 01221025 */ or $v0, $t1, $v0 +/* C4958 8012DA78 ACA20000 */ sw $v0, 0x0($a1) +/* C495C 8012DA7C 87A30000 */ lh $v1, 0x0($sp) +/* C4960 8012DA80 24A20010 */ addiu $v0, $a1, 0x10 +/* C4964 8012DA84 AD020000 */ sw $v0, 0x0($t0) +/* C4968 8012DA88 97A20002 */ lhu $v0, 0x2($sp) +/* C496C 8012DA8C 00031880 */ sll $v1, $v1, 2 +/* C4970 8012DA90 30630FFF */ andi $v1, $v1, 0xFFF +/* C4974 8012DA94 00031B00 */ sll $v1, $v1, 12 +/* C4978 8012DA98 00021080 */ sll $v0, $v0, 2 +/* C497C 8012DA9C 30420FFC */ andi $v0, $v0, 0xFFC +/* C4980 8012DAA0 00521025 */ or $v0, $v0, $s2 +/* C4984 8012DAA4 00621825 */ or $v1, $v1, $v0 +/* C4988 8012DAA8 ACA30010 */ sw $v1, 0x10($a1) +/* C498C 8012DAAC 97A30004 */ lhu $v1, 0x4($sp) +/* C4990 8012DAB0 97A40006 */ lhu $a0, 0x6($sp) +/* C4994 8012DAB4 24A20018 */ addiu $v0, $a1, 0x18 +/* C4998 8012DAB8 AD020000 */ sw $v0, 0x0($t0) +/* C499C 8012DABC ACB00018 */ sw $s0, 0x18($a1) +/* C49A0 8012DAC0 ACA0001C */ sw $zero, 0x1C($a1) +/* C49A4 8012DAC4 00031880 */ sll $v1, $v1, 2 +/* C49A8 8012DAC8 30630FFC */ andi $v1, $v1, 0xFFC +/* C49AC 8012DACC 00031B00 */ sll $v1, $v1, 12 +/* C49B0 8012DAD0 00042080 */ sll $a0, $a0, 2 +/* C49B4 8012DAD4 30840FFC */ andi $a0, $a0, 0xFFC +/* C49B8 8012DAD8 00912025 */ or $a0, $a0, $s1 +/* C49BC 8012DADC 00641825 */ or $v1, $v1, $a0 +/* C49C0 8012DAE0 ACA30014 */ sw $v1, 0x14($a1) +/* C49C4 8012DAE4 97A20004 */ lhu $v0, 0x4($sp) +/* C49C8 8012DAE8 87A40000 */ lh $a0, 0x0($sp) +/* C49CC 8012DAEC 24A30020 */ addiu $v1, $a1, 0x20 +/* C49D0 8012DAF0 AD030000 */ sw $v1, 0x0($t0) +/* C49D4 8012DAF4 ACAB0024 */ sw $t3, 0x24($a1) +/* C49D8 8012DAF8 00021400 */ sll $v0, $v0, 16 +/* C49DC 8012DAFC 00021403 */ sra $v0, $v0, 16 +/* C49E0 8012DB00 00441023 */ subu $v0, $v0, $a0 +/* C49E4 8012DB04 24420008 */ addiu $v0, $v0, 0x8 +/* C49E8 8012DB08 000210C3 */ sra $v0, $v0, 3 +/* C49EC 8012DB0C 304201FF */ andi $v0, $v0, 0x1FF +/* C49F0 8012DB10 00021240 */ sll $v0, $v0, 9 +/* C49F4 8012DB14 00541025 */ or $v0, $v0, $s4 +.LIQUE_8012DB18: +/* C49F8 8012DB18 01221025 */ or $v0, $t1, $v0 +/* C49FC 8012DB1C ACA20020 */ sw $v0, 0x20($a1) +/* C4A00 8012DB20 87A30000 */ lh $v1, 0x0($sp) +/* C4A04 8012DB24 24A20028 */ addiu $v0, $a1, 0x28 +/* C4A08 8012DB28 AD020000 */ sw $v0, 0x0($t0) +/* C4A0C 8012DB2C 97A20002 */ lhu $v0, 0x2($sp) +/* C4A10 8012DB30 00031880 */ sll $v1, $v1, 2 +/* C4A14 8012DB34 30630FFF */ andi $v1, $v1, 0xFFF +/* C4A18 8012DB38 00031B00 */ sll $v1, $v1, 12 +/* C4A1C 8012DB3C 00021080 */ sll $v0, $v0, 2 +/* C4A20 8012DB40 30420FFC */ andi $v0, $v0, 0xFFC +/* C4A24 8012DB44 00591025 */ or $v0, $v0, $t9 +/* C4A28 8012DB48 00621825 */ or $v1, $v1, $v0 +/* C4A2C 8012DB4C ACA30028 */ sw $v1, 0x28($a1) +/* C4A30 8012DB50 97A30004 */ lhu $v1, 0x4($sp) +/* C4A34 8012DB54 24A20030 */ addiu $v0, $a1, 0x30 +/* C4A38 8012DB58 AD020000 */ sw $v0, 0x0($t0) +/* C4A3C 8012DB5C 97A20006 */ lhu $v0, 0x6($sp) +/* C4A40 8012DB60 00031880 */ sll $v1, $v1, 2 +/* C4A44 8012DB64 30630FFC */ andi $v1, $v1, 0xFFC +/* C4A48 8012DB68 00031B00 */ sll $v1, $v1, 12 +/* C4A4C 8012DB6C 00021080 */ sll $v0, $v0, 2 +/* C4A50 8012DB70 30420FFC */ andi $v0, $v0, 0xFFC +/* C4A54 8012DB74 00621825 */ or $v1, $v1, $v0 +/* C4A58 8012DB78 ACA3002C */ sw $v1, 0x2C($a1) +/* C4A5C 8012DB7C 3C070400 */ lui $a3, (0x4000400 >> 16) +.LIQUE_8012DB80: +/* C4A60 8012DB80 34E70400 */ ori $a3, $a3, (0x4000400 & 0xFFFF) +/* C4A64 8012DB84 3C03E400 */ lui $v1, (0xE4000000 >> 16) +/* C4A68 8012DB88 8D050000 */ lw $a1, 0x0($t0) +/* C4A6C 8012DB8C 87A4000C */ lh $a0, 0xC($sp) +/* C4A70 8012DB90 00A0302D */ daddu $a2, $a1, $zero +/* C4A74 8012DB94 24A50008 */ addiu $a1, $a1, 0x8 +/* C4A78 8012DB98 00042080 */ sll $a0, $a0, 2 +/* C4A7C 8012DB9C 30840FFF */ andi $a0, $a0, 0xFFF +/* C4A80 8012DBA0 AD050000 */ sw $a1, 0x0($t0) +/* C4A84 8012DBA4 87A2000E */ lh $v0, 0xE($sp) +/* C4A88 8012DBA8 00042300 */ sll $a0, $a0, 12 +/* C4A8C 8012DBAC 00021080 */ sll $v0, $v0, 2 +/* C4A90 8012DBB0 30420FFF */ andi $v0, $v0, 0xFFF +/* C4A94 8012DBB4 00431025 */ or $v0, $v0, $v1 +/* C4A98 8012DBB8 00822025 */ or $a0, $a0, $v0 +/* C4A9C 8012DBBC 24A20008 */ addiu $v0, $a1, 0x8 +/* C4AA0 8012DBC0 ACC40000 */ sw $a0, 0x0($a2) +/* C4AA4 8012DBC4 AD020000 */ sw $v0, 0x0($t0) +/* C4AA8 8012DBC8 87A30008 */ lh $v1, 0x8($sp) +/* C4AAC 8012DBCC 24A20010 */ addiu $v0, $a1, 0x10 +/* C4AB0 8012DBD0 AD020000 */ sw $v0, 0x0($t0) +/* C4AB4 8012DBD4 87A2000A */ lh $v0, 0xA($sp) +/* C4AB8 8012DBD8 00031880 */ sll $v1, $v1, 2 +/* C4ABC 8012DBDC 30630FFF */ andi $v1, $v1, 0xFFF +/* C4AC0 8012DBE0 00031B00 */ sll $v1, $v1, 12 +/* C4AC4 8012DBE4 00021080 */ sll $v0, $v0, 2 +/* C4AC8 8012DBE8 30420FFF */ andi $v0, $v0, 0xFFF +/* C4ACC 8012DBEC 00621825 */ or $v1, $v1, $v0 +/* C4AD0 8012DBF0 3C02E100 */ lui $v0, (0xE1000000 >> 16) +/* C4AD4 8012DBF4 ACC30004 */ sw $v1, 0x4($a2) +/* C4AD8 8012DBF8 ACA20000 */ sw $v0, 0x0($a1) +/* C4ADC 8012DBFC 97B50056 */ lhu $s5, 0x56($sp) +/* C4AE0 8012DC00 000F1D40 */ sll $v1, $t7, 21 +/* C4AE4 8012DC04 ACA7000C */ sw $a3, 0xC($a1) +/* C4AE8 8012DC08 00151140 */ sll $v0, $s5, 5 +/* C4AEC 8012DC0C 3042FFE0 */ andi $v0, $v0, 0xFFE0 +/* C4AF0 8012DC10 00621825 */ or $v1, $v1, $v0 +/* C4AF4 8012DC14 3C02F100 */ lui $v0, (0xF1000000 >> 16) +/* C4AF8 8012DC18 ACA20008 */ sw $v0, 0x8($a1) +/* C4AFC 8012DC1C 31A200FF */ andi $v0, $t5, 0xFF +/* C4B00 8012DC20 14400007 */ bnez $v0, .LIQUE_8012DC40 +/* C4B04 8012DC24 ACA30004 */ sw $v1, 0x4($a1) +/* C4B08 8012DC28 97A20000 */ lhu $v0, 0x0($sp) +/* C4B0C 8012DC2C 97A3000C */ lhu $v1, 0xC($sp) +/* C4B10 8012DC30 24420040 */ addiu $v0, $v0, 0x40 +/* C4B14 8012DC34 A7A20000 */ sh $v0, 0x0($sp) +/* C4B18 8012DC38 0804B5B1 */ j .LIQUE_8012D6C4 +/* C4B1C 8012DC3C A7A30008 */ sh $v1, 0x8($sp) +.LIQUE_8012DC40: +/* C4B20 8012DC40 93A20020 */ lbu $v0, 0x20($sp) +/* C4B24 8012DC44 14400007 */ bnez $v0, .LIQUE_8012DC64 +/* C4B28 8012DC48 24020001 */ addiu $v0, $zero, 0x1 +/* C4B2C 8012DC4C 97A20002 */ lhu $v0, 0x2($sp) +/* C4B30 8012DC50 97A3000E */ lhu $v1, 0xE($sp) +/* C4B34 8012DC54 24420020 */ addiu $v0, $v0, 0x20 +/* C4B38 8012DC58 A7A20002 */ sh $v0, 0x2($sp) +/* C4B3C 8012DC5C 0804B559 */ j .LIQUE_8012D564 +/* C4B40 8012DC60 A7A3000A */ sh $v1, 0xA($sp) +.LIQUE_8012DC64: +/* C4B44 8012DC64 8FBE0078 */ lw $fp, 0x78($sp) +/* C4B48 8012DC68 8FB70074 */ lw $s7, 0x74($sp) +/* C4B4C 8012DC6C 8FB60070 */ lw $s6, 0x70($sp) +/* C4B50 8012DC70 8FB5006C */ lw $s5, 0x6C($sp) +/* C4B54 8012DC74 8FB40068 */ lw $s4, 0x68($sp) +/* C4B58 8012DC78 8FB30064 */ lw $s3, 0x64($sp) +/* C4B5C 8012DC7C 8FB20060 */ lw $s2, 0x60($sp) +/* C4B60 8012DC80 8FB1005C */ lw $s1, 0x5C($sp) +/* C4B64 8012DC84 8FB00058 */ lw $s0, 0x58($sp) +/* C4B68 8012DC88 03E00008 */ jr $ra +/* C4B6C 8012DC8C 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/ver/cn/asm/nonmatchings/C50A0/test_item_player_collision.s b/ver/cn/asm/nonmatchings/C50A0/test_item_player_collision.s new file mode 100644 index 0000000000..5072d67363 --- /dev/null +++ b/ver/cn/asm/nonmatchings/C50A0/test_item_player_collision.s @@ -0,0 +1,328 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel test_item_player_collision +/* C917C 8013229C 27BDFF90 */ addiu $sp, $sp, -0x70 +/* C9180 801322A0 AFB30034 */ sw $s3, 0x34($sp) +/* C9184 801322A4 0080982D */ daddu $s3, $a0, $zero +/* C9188 801322A8 AFB1002C */ sw $s1, 0x2C($sp) +/* C918C 801322AC 3C118011 */ lui $s1, %hi(gPlayerStatus) +/* C9190 801322B0 2631D3A8 */ addiu $s1, $s1, %lo(gPlayerStatus) +/* C9194 801322B4 AFB40038 */ sw $s4, 0x38($sp) +/* C9198 801322B8 3C148011 */ lui $s4, %hi(gPartnerActionStatus) +/* C919C 801322BC 2694CF90 */ addiu $s4, $s4, %lo(gPartnerActionStatus) +/* C91A0 801322C0 3C038007 */ lui $v1, %hi(gCurrentCameraID) +/* C91A4 801322C4 8C636070 */ lw $v1, %lo(gCurrentCameraID)($v1) +/* C91A8 801322C8 3C04800B */ lui $a0, %hi(gCameras) +/* C91AC 801322CC 248407D0 */ addiu $a0, $a0, %lo(gCameras) +/* C91B0 801322D0 AFBF003C */ sw $ra, 0x3C($sp) +/* C91B4 801322D4 AFB20030 */ sw $s2, 0x30($sp) +/* C91B8 801322D8 AFB00028 */ sw $s0, 0x28($sp) +/* C91BC 801322DC F7BE0068 */ sdc1 $f30, 0x68($sp) +/* C91C0 801322E0 F7BC0060 */ sdc1 $f28, 0x60($sp) +/* C91C4 801322E4 F7BA0058 */ sdc1 $f26, 0x58($sp) +/* C91C8 801322E8 F7B80050 */ sdc1 $f24, 0x50($sp) +/* C91CC 801322EC F7B60048 */ sdc1 $f22, 0x48($sp) +/* C91D0 801322F0 F7B40040 */ sdc1 $f20, 0x40($sp) +/* C91D4 801322F4 823200B4 */ lb $s2, 0xB4($s1) +/* C91D8 801322F8 00031080 */ sll $v0, $v1, 2 +/* C91DC 801322FC 00431021 */ addu $v0, $v0, $v1 +/* C91E0 80132300 00021080 */ sll $v0, $v0, 2 +/* C91E4 80132304 00431023 */ subu $v0, $v0, $v1 +/* C91E8 80132308 000218C0 */ sll $v1, $v0, 3 +/* C91EC 8013230C 00431021 */ addu $v0, $v0, $v1 +/* C91F0 80132310 000210C0 */ sll $v0, $v0, 3 +/* C91F4 80132314 8E630000 */ lw $v1, 0x0($s3) +/* C91F8 80132318 00448021 */ addu $s0, $v0, $a0 +/* C91FC 8013231C 30620100 */ andi $v0, $v1, 0x100 +/* C9200 80132320 10400003 */ beqz $v0, .LIQUE_80132330 +/* C9204 80132324 2402FEFF */ addiu $v0, $zero, -0x101 +/* C9208 80132328 0804C9BE */ j .LIQUE_801326F8 +/* C920C 8013232C 00621024 */ and $v0, $v1, $v0 +.LIQUE_80132330: +/* C9210 80132330 3C03800A */ lui $v1, %hi(gEncounterState) +/* C9214 80132334 8C6391CC */ lw $v1, %lo(gEncounterState)($v1) +/* C9218 80132338 24020002 */ addiu $v0, $zero, 0x2 +/* C921C 8013233C 10620003 */ beq $v1, $v0, .LIQUE_8013234C +/* C9220 80132340 00000000 */ nop +/* C9224 80132344 146000F6 */ bnez $v1, .LIQUE_80132720 +/* C9228 80132348 0000102D */ daddu $v0, $zero, $zero +.LIQUE_8013234C: +/* C922C 8013234C 3C02800B */ lui $v0, %hi(gCurrentEncounter) +/* C9230 80132350 2442F950 */ addiu $v0, $v0, %lo(gCurrentEncounter) +/* C9234 80132354 80430005 */ lb $v1, 0x5($v0) +/* C9238 80132358 24020005 */ addiu $v0, $zero, 0x5 +/* C923C 8013235C 106200EF */ beq $v1, $v0, .LIQUE_8013271C +/* C9240 80132360 3C020020 */ lui $v0, (0x200000 >> 16) +/* C9244 80132364 8E630000 */ lw $v1, 0x0($s3) +/* C9248 80132368 00621024 */ and $v0, $v1, $v0 +/* C924C 8013236C 144000EC */ bnez $v0, .LIQUE_80132720 +/* C9250 80132370 0000102D */ daddu $v0, $zero, $zero +/* C9254 80132374 3C028016 */ lui $v0, %hi(isPickingUpItem) +/* C9258 80132378 84428924 */ lh $v0, %lo(isPickingUpItem)($v0) +/* C925C 8013237C 144000E8 */ bnez $v0, .LIQUE_80132720 +/* C9260 80132380 0000102D */ daddu $v0, $zero, $zero +/* C9264 80132384 30620040 */ andi $v0, $v1, 0x40 +/* C9268 80132388 144000E5 */ bnez $v0, .LIQUE_80132720 +/* C926C 8013238C 0000102D */ daddu $v0, $zero, $zero +/* C9270 80132390 0C009B98 */ jal get_time_freeze_mode +/* C9274 80132394 00000000 */ nop +/* C9278 80132398 144000E1 */ bnez $v0, .LIQUE_80132720 +/* C927C 8013239C 0000102D */ daddu $v0, $zero, $zero +/* C9280 801323A0 82820000 */ lb $v0, 0x0($s4) +/* C9284 801323A4 10400004 */ beqz $v0, .LIQUE_801323B8 +/* C9288 801323A8 24020009 */ addiu $v0, $zero, 0x9 +/* C928C 801323AC 82830003 */ lb $v1, 0x3($s4) +/* C9290 801323B0 106200DB */ beq $v1, $v0, .LIQUE_80132720 +/* C9294 801323B4 0000102D */ daddu $v0, $zero, $zero +.LIQUE_801323B8: +/* C9298 801323B8 2642FFE3 */ addiu $v0, $s2, -0x1D +/* C929C 801323BC 2C420003 */ sltiu $v0, $v0, 0x3 +/* C92A0 801323C0 10400004 */ beqz $v0, .LIQUE_801323D4 +/* C92A4 801323C4 24020157 */ addiu $v0, $zero, 0x157 +/* C92A8 801323C8 86630018 */ lh $v1, 0x18($s3) +/* C92AC 801323CC 146200D4 */ bne $v1, $v0, .LIQUE_80132720 +/* C92B0 801323D0 0000102D */ daddu $v0, $zero, $zero +.LIQUE_801323D4: +/* C92B4 801323D4 3C02800A */ lui $v0, %hi(gOverrideFlags) +/* C92B8 801323D8 8C429228 */ lw $v0, %lo(gOverrideFlags)($v0) +/* C92BC 801323DC 3C030020 */ lui $v1, (0x200000 >> 16) +/* C92C0 801323E0 00431024 */ and $v0, $v0, $v1 +/* C92C4 801323E4 144000CE */ bnez $v0, .LIQUE_80132720 +/* C92C8 801323E8 0000102D */ daddu $v0, $zero, $zero +/* C92CC 801323EC 962300B0 */ lhu $v1, 0xB0($s1) +/* C92D0 801323F0 862400B2 */ lh $a0, 0xB2($s1) +/* C92D4 801323F4 00031C00 */ sll $v1, $v1, 16 +/* C92D8 801323F8 00031403 */ sra $v0, $v1, 16 +/* C92DC 801323FC 00031FC2 */ srl $v1, $v1, 31 +/* C92E0 80132400 00431021 */ addu $v0, $v0, $v1 +/* C92E4 80132404 00021043 */ sra $v0, $v0, 1 +/* C92E8 80132408 44823000 */ mtc1 $v0, $f6 +/* C92EC 8013240C 00000000 */ nop +/* C92F0 80132410 468031A0 */ cvt.s.w $f6, $f6 +/* C92F4 80132414 E7A6001C */ swc1 $f6, 0x1C($sp) +/* C92F8 80132418 C63E0028 */ lwc1 $f30, 0x28($s1) +/* C92FC 8013241C C63A002C */ lwc1 $f26, 0x2C($s1) +/* C9300 80132420 C6280030 */ lwc1 $f8, 0x30($s1) +/* C9304 80132424 0000902D */ daddu $s2, $zero, $zero +/* C9308 80132428 04810002 */ bgez $a0, .LIQUE_80132434 +/* C930C 8013242C E7A80018 */ swc1 $f8, 0x18($sp) +/* C9310 80132430 24840003 */ addiu $a0, $a0, 0x3 +.LIQUE_80132434: +/* C9314 80132434 00041083 */ sra $v0, $a0, 2 +/* C9318 80132438 C62E00A8 */ lwc1 $f14, 0xA8($s1) +/* C931C 8013243C 3C014334 */ lui $at, (0x43340000 >> 16) +/* C9320 80132440 44810000 */ mtc1 $at, $f0 +/* C9324 80132444 44823000 */ mtc1 $v0, $f6 +/* C9328 80132448 00000000 */ nop +/* C932C 8013244C 468031A0 */ cvt.s.w $f6, $f6 +/* C9330 80132450 4600703C */ c.lt.s $f14, $f0 +/* C9334 80132454 00000000 */ nop +/* C9338 80132458 45000006 */ bc1f .LIQUE_80132474 +/* C933C 8013245C E7A60020 */ swc1 $f6, 0x20($sp) +/* C9340 80132460 C600006C */ lwc1 $f0, 0x6C($s0) +/* C9344 80132464 3C0142B4 */ lui $at, (0x42B40000 >> 16) +/* C9348 80132468 44816000 */ mtc1 $at, $f12 +/* C934C 8013246C 0804C922 */ j .LIQUE_80132488 +/* C9350 80132470 460C0301 */ sub.s $f12, $f0, $f12 +.LIQUE_80132474: +/* C9354 80132474 C600006C */ lwc1 $f0, 0x6C($s0) +/* C9358 80132478 3C0142B4 */ lui $at, (0x42B40000 >> 16) +/* C935C 8013247C 44816000 */ mtc1 $at, $f12 +/* C9360 80132480 00000000 */ nop +/* C9364 80132484 460C0300 */ add.s $f12, $f0, $f12 +.LIQUE_80132488: +/* C9368 80132488 0C00A5FD */ jal clamp_angle +/* C936C 8013248C 00000000 */ nop +/* C9370 80132490 46000386 */ mov.s $f14, $f0 +/* C9374 80132494 C60C006C */ lwc1 $f12, 0x6C($s0) +/* C9378 80132498 C7A80018 */ lwc1 $f8, 0x18($sp) +/* C937C 8013249C E7BE0010 */ swc1 $f30, 0x10($sp) +/* C9380 801324A0 0C00A63E */ jal get_clamped_angle_diff +/* C9384 801324A4 E7A80014 */ swc1 $f8, 0x14($sp) +/* C9388 801324A8 44801000 */ mtc1 $zero, $f2 +/* C938C 801324AC 00000000 */ nop +/* C9390 801324B0 4602003C */ c.lt.s $f0, $f2 +/* C9394 801324B4 00000000 */ nop +/* C9398 801324B8 4500000F */ bc1f .LIQUE_801324F8 +/* C939C 801324BC E7BA0024 */ swc1 $f26, 0x24($sp) +/* C93A0 801324C0 C600006C */ lwc1 $f0, 0x6C($s0) +/* C93A4 801324C4 3C0142B4 */ lui $at, (0x42B40000 >> 16) +/* C93A8 801324C8 44816000 */ mtc1 $at, $f12 +/* C93AC 801324CC 0C00A5FD */ jal clamp_angle +/* C93B0 801324D0 460C0301 */ sub.s $f12, $f0, $f12 +/* C93B4 801324D4 8E2200A4 */ lw $v0, 0xA4($s1) +/* C93B8 801324D8 3C030100 */ lui $v1, (0x1000000 >> 16) +/* C93BC 801324DC 00431024 */ and $v0, $v0, $v1 +/* C93C0 801324E0 10400016 */ beqz $v0, .LIQUE_8013253C +/* C93C4 801324E4 27A40010 */ addiu $a0, $sp, 0x10 +/* C93C8 801324E8 3C0141F0 */ lui $at, (0x41F00000 >> 16) +/* C93CC 801324EC 44816000 */ mtc1 $at, $f12 +/* C93D0 801324F0 0804C94C */ j .LIQUE_80132530 +/* C93D4 801324F4 460C0300 */ add.s $f12, $f0, $f12 +.LIQUE_801324F8: +/* C93D8 801324F8 C600006C */ lwc1 $f0, 0x6C($s0) +/* C93DC 801324FC 3C0142B4 */ lui $at, (0x42B40000 >> 16) +/* C93E0 80132500 44816000 */ mtc1 $at, $f12 +/* C93E4 80132504 0C00A5FD */ jal clamp_angle +/* C93E8 80132508 460C0300 */ add.s $f12, $f0, $f12 +/* C93EC 8013250C 8E2200A4 */ lw $v0, 0xA4($s1) +/* C93F0 80132510 3C030100 */ lui $v1, (0x1000000 >> 16) +/* C93F4 80132514 00431024 */ and $v0, $v0, $v1 +/* C93F8 80132518 10400008 */ beqz $v0, .LIQUE_8013253C +/* C93FC 8013251C 27A40010 */ addiu $a0, $sp, 0x10 +/* C9400 80132520 3C0141F0 */ lui $at, (0x41F00000 >> 16) +/* C9404 80132524 44816000 */ mtc1 $at, $f12 +/* C9408 80132528 00000000 */ nop +/* C940C 8013252C 460C0301 */ sub.s $f12, $f0, $f12 +.LIQUE_80132530: +/* C9410 80132530 0C00A5FD */ jal clamp_angle +/* C9414 80132534 00000000 */ nop +/* C9418 80132538 27A40010 */ addiu $a0, $sp, 0x10 +.LIQUE_8013253C: +/* C941C 8013253C 3C0641C0 */ lui $a2, (0x41C00000 >> 16) +/* C9420 80132540 44070000 */ mfc1 $a3, $f0 +/* C9424 80132544 0C00A71B */ jal add_vec2D_polar +/* C9428 80132548 27A50014 */ addiu $a1, $sp, 0x14 +/* C942C 8013254C C6760008 */ lwc1 $f22, 0x8($s3) +/* C9430 80132550 C674000C */ lwc1 $f20, 0xC($s3) +/* C9434 80132554 C6780010 */ lwc1 $f24, 0x10($s3) +/* C9438 80132558 3C014158 */ lui $at, (0x41580000 >> 16) +/* C943C 8013255C 4481E000 */ mtc1 $at, $f28 +/* C9440 80132560 461EB081 */ sub.s $f2, $f22, $f30 +/* C9444 80132564 46021082 */ mul.s $f2, $f2, $f2 +/* C9448 80132568 00000000 */ nop +/* C944C 8013256C C7A60018 */ lwc1 $f6, 0x18($sp) +/* C9450 80132570 4606C001 */ sub.s $f0, $f24, $f6 +/* C9454 80132574 46000002 */ mul.s $f0, $f0, $f0 +/* C9458 80132578 00000000 */ nop +/* C945C 8013257C 46001300 */ add.s $f12, $f2, $f0 +/* C9460 80132580 46006104 */ sqrt.s $f4, $f12 +/* C9464 80132584 46042032 */ c.eq.s $f4, $f4 +/* C9468 80132588 00000000 */ nop +/* C946C 8013258C 45010004 */ bc1t .LIQUE_801325A0 +/* C9470 80132590 00000000 */ nop +/* C9474 80132594 0C0183A0 */ jal sqrtf +/* C9478 80132598 00000000 */ nop +/* C947C 8013259C 46000106 */ mov.s $f4, $f0 +.LIQUE_801325A0: +/* C9480 801325A0 C7A80020 */ lwc1 $f8, 0x20($sp) +/* C9484 801325A4 461C4000 */ add.s $f0, $f8, $f28 +/* C9488 801325A8 4604003E */ c.le.s $f0, $f4 +/* C948C 801325AC 00000000 */ nop +/* C9490 801325B0 4501000F */ bc1t .LIQUE_801325F0 +/* C9494 801325B4 00000000 */ nop +/* C9498 801325B8 3C0141D8 */ lui $at, (0x41D80000 >> 16) +/* C949C 801325BC 44813000 */ mtc1 $at, $f6 +/* C94A0 801325C0 00000000 */ nop +/* C94A4 801325C4 4606A000 */ add.s $f0, $f20, $f6 +/* C94A8 801325C8 461A003C */ c.lt.s $f0, $f26 +/* C94AC 801325CC 00000000 */ nop +/* C94B0 801325D0 45010007 */ bc1t .LIQUE_801325F0 +/* C94B4 801325D4 00000000 */ nop +/* C94B8 801325D8 C7A8001C */ lwc1 $f8, 0x1C($sp) +/* C94BC 801325DC 4608D000 */ add.s $f0, $f26, $f8 +/* C94C0 801325E0 4614003C */ c.lt.s $f0, $f20 +/* C94C4 801325E4 00000000 */ nop +/* C94C8 801325E8 45020001 */ bc1fl .LIQUE_801325F0 +/* C94CC 801325EC 24120001 */ addiu $s2, $zero, 0x1 +.LIQUE_801325F0: +/* C94D0 801325F0 822300B4 */ lb $v1, 0xB4($s1) +/* C94D4 801325F4 24020012 */ addiu $v0, $zero, 0x12 +/* C94D8 801325F8 1462002F */ bne $v1, $v0, .LIQUE_801326B8 +/* C94DC 801325FC 3C030100 */ lui $v1, (0x1000000 >> 16) +/* C94E0 80132600 8E220000 */ lw $v0, 0x0($s1) +/* C94E4 80132604 00431024 */ and $v0, $v0, $v1 +/* C94E8 80132608 1040002B */ beqz $v0, .LIQUE_801326B8 +/* C94EC 8013260C 00000000 */ nop +/* C94F0 80132610 C7A00010 */ lwc1 $f0, 0x10($sp) +/* C94F4 80132614 4600B081 */ sub.s $f2, $f22, $f0 +/* C94F8 80132618 46021082 */ mul.s $f2, $f2, $f2 +/* C94FC 8013261C 00000000 */ nop +/* C9500 80132620 C7A00014 */ lwc1 $f0, 0x14($sp) +/* C9504 80132624 4600C001 */ sub.s $f0, $f24, $f0 +/* C9508 80132628 46000002 */ mul.s $f0, $f0, $f0 +/* C950C 8013262C 00000000 */ nop +/* C9510 80132630 46001300 */ add.s $f12, $f2, $f0 +/* C9514 80132634 46006104 */ sqrt.s $f4, $f12 +/* C9518 80132638 46042032 */ c.eq.s $f4, $f4 +/* C951C 8013263C 00000000 */ nop +/* C9520 80132640 45010004 */ bc1t .LIQUE_80132654 +/* C9524 80132644 00000000 */ nop +/* C9528 80132648 0C0183A0 */ jal sqrtf +/* C952C 8013264C 00000000 */ nop +/* C9530 80132650 46000106 */ mov.s $f4, $f0 +.LIQUE_80132654: +/* C9534 80132654 3C014160 */ lui $at, (0x41600000 >> 16) +/* C9538 80132658 44813000 */ mtc1 $at, $f6 +/* C953C 8013265C 00000000 */ nop +/* C9540 80132660 461C3000 */ add.s $f0, $f6, $f28 +/* C9544 80132664 4604003E */ c.le.s $f0, $f4 +/* C9548 80132668 00000000 */ nop +/* C954C 8013266C 45010012 */ bc1t .LIQUE_801326B8 +/* C9550 80132670 00000000 */ nop +/* C9554 80132674 3C0141D8 */ lui $at, (0x41D80000 >> 16) +/* C9558 80132678 44814000 */ mtc1 $at, $f8 +/* C955C 8013267C 00000000 */ nop +/* C9560 80132680 4608A000 */ add.s $f0, $f20, $f8 +/* C9564 80132684 C7A60024 */ lwc1 $f6, 0x24($sp) +/* C9568 80132688 4606003C */ c.lt.s $f0, $f6 +/* C956C 8013268C 00000000 */ nop +/* C9570 80132690 45010009 */ bc1t .LIQUE_801326B8 +/* C9574 80132694 00000000 */ nop +/* C9578 80132698 3C014190 */ lui $at, (0x41900000 >> 16) +/* C957C 8013269C 44814000 */ mtc1 $at, $f8 +/* C9580 801326A0 00000000 */ nop +/* C9584 801326A4 46083000 */ add.s $f0, $f6, $f8 +/* C9588 801326A8 4614003C */ c.lt.s $f0, $f20 +/* C958C 801326AC 00000000 */ nop +/* C9590 801326B0 45020001 */ bc1fl .LIQUE_801326B8 +/* C9594 801326B4 24120001 */ addiu $s2, $zero, 0x1 +.LIQUE_801326B8: +/* C9598 801326B8 12400012 */ beqz $s2, .LIQUE_80132704 +/* C959C 801326BC 00000000 */ nop +/* C95A0 801326C0 8E640000 */ lw $a0, 0x0($s3) +/* C95A4 801326C4 30820080 */ andi $v0, $a0, 0x80 +/* C95A8 801326C8 10400015 */ beqz $v0, .LIQUE_80132720 +/* C95AC 801326CC 24020001 */ addiu $v0, $zero, 0x1 +/* C95B0 801326D0 3C058016 */ lui $a1, %hi(D_801565A6) +/* C95B4 801326D4 24A58926 */ addiu $a1, $a1, %lo(D_801565A6) +/* C95B8 801326D8 84A20000 */ lh $v0, 0x0($a1) +/* C95BC 801326DC 94A30000 */ lhu $v1, 0x0($a1) +/* C95C0 801326E0 10400004 */ beqz $v0, .LIQUE_801326F4 +/* C95C4 801326E4 2402FF7F */ addiu $v0, $zero, -0x81 +/* C95C8 801326E8 2462FFFF */ addiu $v0, $v1, -0x1 +/* C95CC 801326EC 0804C9C7 */ j .LIQUE_8013271C +/* C95D0 801326F0 A4A20000 */ sh $v0, 0x0($a1) +.LIQUE_801326F4: +/* C95D4 801326F4 00821024 */ and $v0, $a0, $v0 +.LIQUE_801326F8: +/* C95D8 801326F8 AE620000 */ sw $v0, 0x0($s3) +/* C95DC 801326FC 0804C9C8 */ j .LIQUE_80132720 +/* C95E0 80132700 24020001 */ addiu $v0, $zero, 0x1 +.LIQUE_80132704: +/* C95E4 80132704 8E630000 */ lw $v1, 0x0($s3) +/* C95E8 80132708 30620080 */ andi $v0, $v1, 0x80 +/* C95EC 8013270C 10400003 */ beqz $v0, .LIQUE_8013271C +/* C95F0 80132710 2402FF7F */ addiu $v0, $zero, -0x81 +/* C95F4 80132714 00621024 */ and $v0, $v1, $v0 +/* C95F8 80132718 AE620000 */ sw $v0, 0x0($s3) +.LIQUE_8013271C: +/* C95FC 8013271C 0000102D */ daddu $v0, $zero, $zero +.LIQUE_80132720: +/* C9600 80132720 8FBF003C */ lw $ra, 0x3C($sp) +/* C9604 80132724 8FB40038 */ lw $s4, 0x38($sp) +/* C9608 80132728 8FB30034 */ lw $s3, 0x34($sp) +/* C960C 8013272C 8FB20030 */ lw $s2, 0x30($sp) +/* C9610 80132730 8FB1002C */ lw $s1, 0x2C($sp) +/* C9614 80132734 8FB00028 */ lw $s0, 0x28($sp) +/* C9618 80132738 D7BE0068 */ ldc1 $f30, 0x68($sp) +/* C961C 8013273C D7BC0060 */ ldc1 $f28, 0x60($sp) +/* C9620 80132740 D7BA0058 */ ldc1 $f26, 0x58($sp) +/* C9624 80132744 D7B80050 */ ldc1 $f24, 0x50($sp) +/* C9628 80132748 D7B60048 */ ldc1 $f22, 0x48($sp) +/* C962C 8013274C D7B40040 */ ldc1 $f20, 0x40($sp) +/* C9630 80132750 03E00008 */ jr $ra +/* C9634 80132754 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/ver/cn/asm/nonmatchings/a5dd0_len_114e0/mdl_project_tex_coords.s b/ver/cn/asm/nonmatchings/a5dd0_len_114e0/mdl_project_tex_coords.s new file mode 100644 index 0000000000..919da68957 --- /dev/null +++ b/ver/cn/asm/nonmatchings/a5dd0_len_114e0/mdl_project_tex_coords.s @@ -0,0 +1,332 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel mdl_project_tex_coords +/* B15EC 8011A70C 27BDFF68 */ addiu $sp, $sp, -0x98 +/* B15F0 8011A710 AFB40058 */ sw $s4, 0x58($sp) +/* B15F4 8011A714 00A0A02D */ daddu $s4, $a1, $zero +/* B15F8 8011A718 AFB00048 */ sw $s0, 0x48($sp) +/* B15FC 8011A71C 00C0802D */ daddu $s0, $a2, $zero +/* B1600 8011A720 AFB5005C */ sw $s5, 0x5C($sp) +/* B1604 8011A724 00E0A82D */ daddu $s5, $a3, $zero +/* B1608 8011A728 AFBF0060 */ sw $ra, 0x60($sp) +/* B160C 8011A72C AFB30054 */ sw $s3, 0x54($sp) +/* B1610 8011A730 AFB20050 */ sw $s2, 0x50($sp) +/* B1614 8011A734 AFB1004C */ sw $s1, 0x4C($sp) +/* B1618 8011A738 F7BE0090 */ sdc1 $f30, 0x90($sp) +/* B161C 8011A73C F7BC0088 */ sdc1 $f28, 0x88($sp) +/* B1620 8011A740 F7BA0080 */ sdc1 $f26, 0x80($sp) +/* B1624 8011A744 F7B80078 */ sdc1 $f24, 0x78($sp) +/* B1628 8011A748 F7B60070 */ sdc1 $f22, 0x70($sp) +/* B162C 8011A74C F7B40068 */ sdc1 $f20, 0x68($sp) +/* B1630 8011A750 0C0464FC */ jal get_model_list_index_from_tree_index +/* B1634 8011A754 3084FFFF */ andi $a0, $a0, 0xFFFF +/* B1638 8011A758 0C046444 */ jal get_model_from_list_index +/* B163C 8011A75C 0040202D */ daddu $a0, $v0, $zero +/* B1640 8011A760 8C420008 */ lw $v0, 0x8($v0) +/* B1644 8011A764 240600DF */ addiu $a2, $zero, 0xDF +/* B1648 8011A768 8C420004 */ lw $v0, 0x4($v0) +/* B164C 8011A76C 24050001 */ addiu $a1, $zero, 0x1 +/* B1650 8011A770 8C420000 */ lw $v0, 0x0($v0) +.LIQUE_8011A774: +/* B1654 8011A774 90430000 */ lbu $v1, 0x0($v0) +/* B1658 8011A778 10660004 */ beq $v1, $a2, .LIQUE_8011A78C +/* B165C 8011A77C 8C440004 */ lw $a0, 0x4($v0) +/* B1660 8011A780 1465FFFC */ bne $v1, $a1, .LIQUE_8011A774 +/* B1664 8011A784 24420008 */ addiu $v0, $v0, 0x8 +/* B1668 8011A788 AFA4001C */ sw $a0, 0x1C($sp) +.LIQUE_8011A78C: +/* B166C 8011A78C 8FA2001C */ lw $v0, 0x1C($sp) +/* B1670 8011A790 84430000 */ lh $v1, 0x0($v0) +/* B1674 8011A794 84440010 */ lh $a0, 0x10($v0) +/* B1678 8011A798 44838000 */ mtc1 $v1, $f16 +/* B167C 8011A79C 00000000 */ nop +/* B1680 8011A7A0 46808420 */ cvt.s.w $f16, $f16 +/* B1684 8011A7A4 44842000 */ mtc1 $a0, $f4 +/* B1688 8011A7A8 00000000 */ nop +/* B168C 8011A7AC 46802120 */ cvt.s.w $f4, $f4 +/* B1690 8011A7B0 46048032 */ c.eq.s $f16, $f4 +/* B1694 8011A7B4 84430004 */ lh $v1, 0x4($v0) +/* B1698 8011A7B8 84440008 */ lh $a0, 0x8($v0) +/* B169C 8011A7BC 44839000 */ mtc1 $v1, $f18 +/* B16A0 8011A7C0 00000000 */ nop +/* B16A4 8011A7C4 468094A0 */ cvt.s.w $f18, $f18 +/* B16A8 8011A7C8 4484A000 */ mtc1 $a0, $f20 +/* B16AC 8011A7CC 00000000 */ nop +/* B16B0 8011A7D0 4680A520 */ cvt.s.w $f20, $f20 +/* B16B4 8011A7D4 8443000A */ lh $v1, 0xA($v0) +/* B16B8 8011A7D8 84440014 */ lh $a0, 0x14($v0) +/* B16BC 8011A7DC 4483B000 */ mtc1 $v1, $f22 +/* B16C0 8011A7E0 00000000 */ nop +/* B16C4 8011A7E4 4680B5A0 */ cvt.s.w $f22, $f22 +/* B16C8 8011A7E8 44845000 */ mtc1 $a0, $f10 +/* B16CC 8011A7EC 00000000 */ nop +/* B16D0 8011A7F0 468052A0 */ cvt.s.w $f10, $f10 +/* B16D4 8011A7F4 E7B60038 */ swc1 $f22, 0x38($sp) +/* B16D8 8011A7F8 84430018 */ lh $v1, 0x18($v0) +/* B16DC 8011A7FC 8444001A */ lh $a0, 0x1A($v0) +/* B16E0 8011A800 44830000 */ mtc1 $v1, $f0 +/* B16E4 8011A804 00000000 */ nop +/* B16E8 8011A808 46800020 */ cvt.s.w $f0, $f0 +/* B16EC 8011A80C 4484E000 */ mtc1 $a0, $f28 +/* B16F0 8011A810 00000000 */ nop +/* B16F4 8011A814 4680E720 */ cvt.s.w $f28, $f28 +/* B16F8 8011A818 E7BC0024 */ swc1 $f28, 0x24($sp) +/* B16FC 8011A81C 84430020 */ lh $v1, 0x20($v0) +/* B1700 8011A820 84440024 */ lh $a0, 0x24($v0) +/* B1704 8011A824 4483C000 */ mtc1 $v1, $f24 +/* B1708 8011A828 00000000 */ nop +/* B170C 8011A82C 4680C620 */ cvt.s.w $f24, $f24 +/* B1710 8011A830 44843000 */ mtc1 $a0, $f6 +/* B1714 8011A834 00000000 */ nop +/* B1718 8011A838 468031A0 */ cvt.s.w $f6, $f6 +/* B171C 8011A83C 84430028 */ lh $v1, 0x28($v0) +/* B1720 8011A840 8444002A */ lh $a0, 0x2A($v0) +/* B1724 8011A844 4483D000 */ mtc1 $v1, $f26 +/* B1728 8011A848 00000000 */ nop +/* B172C 8011A84C 4680D6A0 */ cvt.s.w $f26, $f26 +/* B1730 8011A850 4484B000 */ mtc1 $a0, $f22 +/* B1734 8011A854 00000000 */ nop +/* B1738 8011A858 4680B5A0 */ cvt.s.w $f22, $f22 +/* B173C 8011A85C E7B60028 */ swc1 $f22, 0x28($sp) +/* B1740 8011A860 9053000C */ lbu $s3, 0xC($v0) +/* B1744 8011A864 9052000D */ lbu $s2, 0xD($v0) +/* B1748 8011A868 9051000E */ lbu $s1, 0xE($v0) +/* B174C 8011A86C 4503002E */ bc1tl .LIQUE_8011A928 +/* B1750 8011A870 46069081 */ sub.s $f2, $f18, $f6 +/* B1754 8011A874 46188081 */ sub.s $f2, $f16, $f24 +/* B1758 8011A878 46048381 */ sub.s $f14, $f16, $f4 +/* B175C 8011A87C 4600A201 */ sub.s $f8, $f20, $f0 +/* B1760 8011A880 460E1083 */ div.s $f2, $f2, $f14 +/* B1764 8011A884 46081002 */ mul.s $f0, $f2, $f8 +/* B1768 8011A888 00000000 */ nop +/* B176C 8011A88C 460A9301 */ sub.s $f12, $f18, $f10 +/* B1770 8011A890 460C1282 */ mul.s $f10, $f2, $f12 +/* B1774 8011A894 00000000 */ nop +/* B1778 8011A898 461AA101 */ sub.s $f4, $f20, $f26 +/* B177C 8011A89C 46069181 */ sub.s $f6, $f18, $f6 +/* B1780 8011A8A0 46040001 */ sub.s $f0, $f0, $f4 +/* B1784 8011A8A4 46065281 */ sub.s $f10, $f10, $f6 +/* B1788 8011A8A8 460A0003 */ div.s $f0, $f0, $f10 +/* B178C 8011A8AC E7A00040 */ swc1 $f0, 0x40($sp) +/* B1790 8011A8B0 46006002 */ mul.s $f0, $f12, $f0 +/* B1794 8011A8B4 00000000 */ nop +/* B1798 8011A8B8 C7B60038 */ lwc1 $f22, 0x38($sp) +/* B179C 8011A8BC 461CB101 */ sub.s $f4, $f22, $f28 +/* B17A0 8011A8C0 46041082 */ mul.s $f2, $f2, $f4 +/* B17A4 8011A8C4 00000000 */ nop +/* B17A8 8011A8C8 46004201 */ sub.s $f8, $f8, $f0 +/* B17AC 8011A8CC 460E4783 */ div.s $f30, $f8, $f14 +/* B17B0 8011A8D0 4610F182 */ mul.s $f6, $f30, $f16 +/* B17B4 8011A8D4 00000000 */ nop +/* B17B8 8011A8D8 C7BC0028 */ lwc1 $f28, 0x28($sp) +/* B17BC 8011A8DC 461CB001 */ sub.s $f0, $f22, $f28 +/* B17C0 8011A8E0 C7B60040 */ lwc1 $f22, 0x40($sp) +/* B17C4 8011A8E4 4612B202 */ mul.s $f8, $f22, $f18 +/* B17C8 8011A8E8 00000000 */ nop +/* B17CC 8011A8EC 46001081 */ sub.s $f2, $f2, $f0 +/* B17D0 8011A8F0 460A1683 */ div.s $f26, $f2, $f10 +/* B17D4 8011A8F4 461A6302 */ mul.s $f12, $f12, $f26 +/* B17D8 8011A8F8 00000000 */ nop +/* B17DC 8011A8FC 4612D082 */ mul.s $f2, $f26, $f18 +/* B17E0 8011A900 00000000 */ nop +/* B17E4 8011A904 460C2101 */ sub.s $f4, $f4, $f12 +/* B17E8 8011A908 460E2603 */ div.s $f24, $f4, $f14 +/* B17EC 8011A90C 4610C002 */ mul.s $f0, $f24, $f16 +/* B17F0 8011A910 00000000 */ nop +/* B17F4 8011A914 4606A181 */ sub.s $f6, $f20, $f6 +/* B17F8 8011A918 46083181 */ sub.s $f6, $f6, $f8 +/* B17FC 8011A91C C7BC0038 */ lwc1 $f28, 0x38($sp) +/* B1800 8011A920 08046A74 */ j .LIQUE_8011A9D0 +/* B1804 8011A924 4600E001 */ sub.s $f0, $f28, $f0 +.LIQUE_8011A928: +/* B1808 8011A928 460A9381 */ sub.s $f14, $f18, $f10 +/* B180C 8011A92C 4600A201 */ sub.s $f8, $f20, $f0 +/* B1810 8011A930 460E1083 */ div.s $f2, $f2, $f14 +/* B1814 8011A934 46081002 */ mul.s $f0, $f2, $f8 +/* B1818 8011A938 00000000 */ nop +/* B181C 8011A93C 46048301 */ sub.s $f12, $f16, $f4 +/* B1820 8011A940 460C1282 */ mul.s $f10, $f2, $f12 +/* B1824 8011A944 00000000 */ nop +/* B1828 8011A948 461AA101 */ sub.s $f4, $f20, $f26 +/* B182C 8011A94C 46188181 */ sub.s $f6, $f16, $f24 +/* B1830 8011A950 46040001 */ sub.s $f0, $f0, $f4 +/* B1834 8011A954 46065281 */ sub.s $f10, $f10, $f6 +/* B1838 8011A958 460A0783 */ div.s $f30, $f0, $f10 +/* B183C 8011A95C 461E6002 */ mul.s $f0, $f12, $f30 +/* B1840 8011A960 00000000 */ nop +/* B1844 8011A964 4610F182 */ mul.s $f6, $f30, $f16 +/* B1848 8011A968 00000000 */ nop +/* B184C 8011A96C C7B60038 */ lwc1 $f22, 0x38($sp) +/* B1850 8011A970 C7BC0024 */ lwc1 $f28, 0x24($sp) +/* B1854 8011A974 461CB101 */ sub.s $f4, $f22, $f28 +/* B1858 8011A978 46041082 */ mul.s $f2, $f2, $f4 +/* B185C 8011A97C 00000000 */ nop +/* B1860 8011A980 46004201 */ sub.s $f8, $f8, $f0 +/* B1864 8011A984 460E4203 */ div.s $f8, $f8, $f14 +/* B1868 8011A988 E7A80040 */ swc1 $f8, 0x40($sp) +/* B186C 8011A98C 46124202 */ mul.s $f8, $f8, $f18 +/* B1870 8011A990 00000000 */ nop +/* B1874 8011A994 C7BC0028 */ lwc1 $f28, 0x28($sp) +/* B1878 8011A998 461CB001 */ sub.s $f0, $f22, $f28 +/* B187C 8011A99C 46001081 */ sub.s $f2, $f2, $f0 +/* B1880 8011A9A0 460A1603 */ div.s $f24, $f2, $f10 +/* B1884 8011A9A4 46186302 */ mul.s $f12, $f12, $f24 +/* B1888 8011A9A8 00000000 */ nop +/* B188C 8011A9AC 4610C002 */ mul.s $f0, $f24, $f16 +/* B1890 8011A9B0 00000000 */ nop +/* B1894 8011A9B4 460C2101 */ sub.s $f4, $f4, $f12 +/* B1898 8011A9B8 460E2683 */ div.s $f26, $f4, $f14 +/* B189C 8011A9BC 4612D082 */ mul.s $f2, $f26, $f18 +/* B18A0 8011A9C0 00000000 */ nop +/* B18A4 8011A9C4 4606A181 */ sub.s $f6, $f20, $f6 +/* B18A8 8011A9C8 46083181 */ sub.s $f6, $f6, $f8 +/* B18AC 8011A9CC 4600B001 */ sub.s $f0, $f22, $f0 +.LIQUE_8011A9D0: +/* B18B0 8011A9D0 E7A6002C */ swc1 $f6, 0x2C($sp) +/* B18B4 8011A9D4 46020501 */ sub.s $f20, $f0, $f2 +/* B18B8 8011A9D8 0280202D */ daddu $a0, $s4, $zero +/* B18BC 8011A9DC 27A50018 */ addiu $a1, $sp, 0x18 +/* B18C0 8011A9E0 27A6001C */ addiu $a2, $sp, 0x1C +/* B18C4 8011A9E4 27A70020 */ addiu $a3, $sp, 0x20 +/* B18C8 8011A9E8 0C046902 */ jal mdl_get_vertex_count +/* B18CC 8011A9EC AFB50010 */ sw $s5, 0x10($sp) +/* B18D0 8011A9F0 8FA20018 */ lw $v0, 0x18($sp) +/* B18D4 8011A9F4 1840006E */ blez $v0, .LIQUE_8011ABB0 +/* B18D8 8011A9F8 0000282D */ daddu $a1, $zero, $zero +/* B18DC 8011A9FC 44809000 */ mtc1 $zero, $f18 +/* B18E0 8011AA00 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* B18E4 8011AA04 44818800 */ mtc1 $at, $f17 +/* B18E8 8011AA08 44808000 */ mtc1 $zero, $f16 +.LIQUE_8011AA0C: +/* B18EC 8011AA0C 8FA3001C */ lw $v1, 0x1C($sp) +/* B18F0 8011AA10 84620000 */ lh $v0, 0x0($v1) +/* B18F4 8011AA14 44823000 */ mtc1 $v0, $f6 +/* B18F8 8011AA18 00000000 */ nop +/* B18FC 8011AA1C 468031A0 */ cvt.s.w $f6, $f6 +/* B1900 8011AA20 84620002 */ lh $v0, 0x2($v1) +/* B1904 8011AA24 84630004 */ lh $v1, 0x4($v1) +/* B1908 8011AA28 44827000 */ mtc1 $v0, $f14 +/* B190C 8011AA2C 00000000 */ nop +/* B1910 8011AA30 468073A0 */ cvt.s.w $f14, $f14 +/* B1914 8011AA34 44836000 */ mtc1 $v1, $f12 +/* B1918 8011AA38 00000000 */ nop +/* B191C 8011AA3C 46806320 */ cvt.s.w $f12, $f12 +/* B1920 8011AA40 1200001C */ beqz $s0, .LIQUE_8011AAB4 +/* B1924 8011AA44 46003286 */ mov.s $f10, $f6 +/* B1928 8011AA48 C6040000 */ lwc1 $f4, 0x0($s0) +/* B192C 8011AA4C 46062102 */ mul.s $f4, $f4, $f6 +/* B1930 8011AA50 00000000 */ nop +/* B1934 8011AA54 C60A0010 */ lwc1 $f10, 0x10($s0) +/* B1938 8011AA58 460E5282 */ mul.s $f10, $f10, $f14 +/* B193C 8011AA5C 00000000 */ nop +/* B1940 8011AA60 C6000020 */ lwc1 $f0, 0x20($s0) +/* B1944 8011AA64 460C0002 */ mul.s $f0, $f0, $f12 +/* B1948 8011AA68 00000000 */ nop +/* B194C 8011AA6C C6020008 */ lwc1 $f2, 0x8($s0) +/* B1950 8011AA70 46061082 */ mul.s $f2, $f2, $f6 +/* B1954 8011AA74 00000000 */ nop +/* B1958 8011AA78 C6080018 */ lwc1 $f8, 0x18($s0) +/* B195C 8011AA7C 460E4202 */ mul.s $f8, $f8, $f14 +/* B1960 8011AA80 00000000 */ nop +/* B1964 8011AA84 C6060028 */ lwc1 $f6, 0x28($s0) +/* B1968 8011AA88 460C3182 */ mul.s $f6, $f6, $f12 +/* B196C 8011AA8C 00000000 */ nop +/* B1970 8011AA90 460A2100 */ add.s $f4, $f4, $f10 +/* B1974 8011AA94 46081080 */ add.s $f2, $f2, $f8 +/* B1978 8011AA98 46002100 */ add.s $f4, $f4, $f0 +/* B197C 8011AA9C 46061080 */ add.s $f2, $f2, $f6 +/* B1980 8011AAA0 C6000030 */ lwc1 $f0, 0x30($s0) +/* B1984 8011AAA4 46002280 */ add.s $f10, $f4, $f0 +/* B1988 8011AAA8 C6000038 */ lwc1 $f0, 0x38($s0) +/* B198C 8011AAAC 08046AAE */ j .LIQUE_8011AAB8 +/* B1990 8011AAB0 46001180 */ add.s $f6, $f2, $f0 +.LIQUE_8011AAB4: +/* B1994 8011AAB4 46006186 */ mov.s $f6, $f12 +.LIQUE_8011AAB8: +/* B1998 8011AAB8 460AF002 */ mul.s $f0, $f30, $f10 +/* B199C 8011AABC 00000000 */ nop +/* B19A0 8011AAC0 460AC082 */ mul.s $f2, $f24, $f10 +/* B19A4 8011AAC4 00000000 */ nop +/* B19A8 8011AAC8 C7B60040 */ lwc1 $f22, 0x40($sp) +/* B19AC 8011AACC 4606B102 */ mul.s $f4, $f22, $f6 +/* B19B0 8011AAD0 00000000 */ nop +/* B19B4 8011AAD4 4606D182 */ mul.s $f6, $f26, $f6 +/* B19B8 8011AAD8 00000000 */ nop +/* B19BC 8011AADC 46040000 */ add.s $f0, $f0, $f4 +/* B19C0 8011AAE0 46061080 */ add.s $f2, $f2, $f6 +/* B19C4 8011AAE4 C7BC002C */ lwc1 $f28, 0x2C($sp) +/* B19C8 8011AAE8 461C0100 */ add.s $f4, $f0, $f28 +/* B19CC 8011AAEC 4612203C */ c.lt.s $f4, $f18 +/* B19D0 8011AAF0 00000000 */ nop +/* B19D4 8011AAF4 45000004 */ bc1f .LIQUE_8011AB08 +/* B19D8 8011AAF8 46141080 */ add.s $f2, $f2, $f20 +/* B19DC 8011AAFC 46002021 */ cvt.d.s $f0, $f4 +/* B19E0 8011AB00 08046AC8 */ j .LIQUE_8011AB20 +/* B19E4 8011AB04 46300001 */ sub.d $f0, $f0, $f16 +.LIQUE_8011AB08: +/* B19E8 8011AB08 4604903C */ c.lt.s $f18, $f4 +/* B19EC 8011AB0C 00000000 */ nop +/* B19F0 8011AB10 45000004 */ bc1f .LIQUE_8011AB24 +/* B19F4 8011AB14 00000000 */ nop +/* B19F8 8011AB18 46002021 */ cvt.d.s $f0, $f4 +/* B19FC 8011AB1C 46300000 */ add.d $f0, $f0, $f16 +.LIQUE_8011AB20: +/* B1A00 8011AB20 46200120 */ cvt.s.d $f4, $f0 +.LIQUE_8011AB24: +/* B1A04 8011AB24 4612103C */ c.lt.s $f2, $f18 +/* B1A08 8011AB28 00000000 */ nop +/* B1A0C 8011AB2C 45000004 */ bc1f .LIQUE_8011AB40 +/* B1A10 8011AB30 00000000 */ nop +/* B1A14 8011AB34 46001021 */ cvt.d.s $f0, $f2 +/* B1A18 8011AB38 08046AD6 */ j .LIQUE_8011AB58 +/* B1A1C 8011AB3C 46300001 */ sub.d $f0, $f0, $f16 +.LIQUE_8011AB40: +/* B1A20 8011AB40 4602903C */ c.lt.s $f18, $f2 +/* B1A24 8011AB44 00000000 */ nop +/* B1A28 8011AB48 45000004 */ bc1f .LIQUE_8011AB5C +/* B1A2C 8011AB4C 00000000 */ nop +/* B1A30 8011AB50 46001021 */ cvt.d.s $f0, $f2 +/* B1A34 8011AB54 46300000 */ add.d $f0, $f0, $f16 +.LIQUE_8011AB58: +/* B1A38 8011AB58 462000A0 */ cvt.s.d $f2, $f0 +.LIQUE_8011AB5C: +/* B1A3C 8011AB5C 8FA3001C */ lw $v1, 0x1C($sp) +/* B1A40 8011AB60 4600258D */ trunc.w.s $f22, $f4 +/* B1A44 8011AB64 4402B000 */ mfc1 $v0, $f22 +/* B1A48 8011AB68 00000000 */ nop +/* B1A4C 8011AB6C A4620008 */ sh $v0, 0x8($v1) +/* B1A50 8011AB70 A073000C */ sb $s3, 0xC($v1) +/* B1A54 8011AB74 8FA4001C */ lw $a0, 0x1C($sp) +/* B1A58 8011AB78 4600158D */ trunc.w.s $f22, $f2 +/* B1A5C 8011AB7C 4402B000 */ mfc1 $v0, $f22 +/* B1A60 8011AB80 00000000 */ nop +/* B1A64 8011AB84 A462000A */ sh $v0, 0xA($v1) +/* B1A68 8011AB88 A092000D */ sb $s2, 0xD($a0) +/* B1A6C 8011AB8C 8FA2001C */ lw $v0, 0x1C($sp) +/* B1A70 8011AB90 24A50001 */ addiu $a1, $a1, 0x1 +/* B1A74 8011AB94 A051000E */ sb $s1, 0xE($v0) +/* B1A78 8011AB98 8FA2001C */ lw $v0, 0x1C($sp) +/* B1A7C 8011AB9C 8FA30018 */ lw $v1, 0x18($sp) +/* B1A80 8011ABA0 24420010 */ addiu $v0, $v0, 0x10 +/* B1A84 8011ABA4 00A3182A */ slt $v1, $a1, $v1 +/* B1A88 8011ABA8 1460FF98 */ bnez $v1, .LIQUE_8011AA0C +/* B1A8C 8011ABAC AFA2001C */ sw $v0, 0x1C($sp) +.LIQUE_8011ABB0: +/* B1A90 8011ABB0 8FBF0060 */ lw $ra, 0x60($sp) +/* B1A94 8011ABB4 8FB5005C */ lw $s5, 0x5C($sp) +/* B1A98 8011ABB8 8FB40058 */ lw $s4, 0x58($sp) +/* B1A9C 8011ABBC 8FB30054 */ lw $s3, 0x54($sp) +/* B1AA0 8011ABC0 8FB20050 */ lw $s2, 0x50($sp) +/* B1AA4 8011ABC4 8FB1004C */ lw $s1, 0x4C($sp) +/* B1AA8 8011ABC8 8FB00048 */ lw $s0, 0x48($sp) +/* B1AAC 8011ABCC D7BE0090 */ ldc1 $f30, 0x90($sp) +/* B1AB0 8011ABD0 D7BC0088 */ ldc1 $f28, 0x88($sp) +/* B1AB4 8011ABD4 D7BA0080 */ ldc1 $f26, 0x80($sp) +/* B1AB8 8011ABD8 D7B80078 */ ldc1 $f24, 0x78($sp) +/* B1ABC 8011ABDC D7B60070 */ ldc1 $f22, 0x70($sp) +/* B1AC0 8011ABE0 D7B40068 */ ldc1 $f20, 0x68($sp) +/* B1AC4 8011ABE4 03E00008 */ jr $ra +/* B1AC8 8011ABE8 27BD0098 */ addiu $sp, $sp, 0x98 diff --git a/ver/cn/asm/nonmatchings/de740_len_23f0/appendGfx_shading_palette.s b/ver/cn/asm/nonmatchings/de740_len_23f0/appendGfx_shading_palette.s new file mode 100644 index 0000000000..d96a970e0f --- /dev/null +++ b/ver/cn/asm/nonmatchings/de740_len_23f0/appendGfx_shading_palette.s @@ -0,0 +1,547 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel appendGfx_shading_palette +/* DE028 80147148 27BDFF90 */ addiu $sp, $sp, -0x70 +/* DE02C 8014714C F7B60048 */ sdc1 $f22, 0x48($sp) +/* DE030 80147150 C7B60088 */ lwc1 $f22, 0x88($sp) +/* DE034 80147154 F7B80050 */ sdc1 $f24, 0x50($sp) +/* DE038 80147158 C7B8008C */ lwc1 $f24, 0x8C($sp) +/* DE03C 8014715C F7B40040 */ sdc1 $f20, 0x40($sp) +/* DE040 80147160 C7B40090 */ lwc1 $f20, 0x90($sp) +/* DE044 80147164 AFB30024 */ sw $s3, 0x24($sp) +/* DE048 80147168 8FB30094 */ lw $s3, 0x94($sp) +/* DE04C 8014716C AFB20020 */ sw $s2, 0x20($sp) +/* DE050 80147170 8FB20098 */ lw $s2, 0x98($sp) +/* DE054 80147174 AFB40028 */ sw $s4, 0x28($sp) +/* DE058 80147178 8FB4009C */ lw $s4, 0x9C($sp) +/* DE05C 8014717C AFB60030 */ sw $s6, 0x30($sp) +/* DE060 80147180 8FB600A0 */ lw $s6, 0xA0($sp) +/* DE064 80147184 AFB5002C */ sw $s5, 0x2C($sp) +/* DE068 80147188 8FB500A4 */ lw $s5, 0xA4($sp) +/* DE06C 8014718C AFB00018 */ sw $s0, 0x18($sp) +/* DE070 80147190 8FB000AC */ lw $s0, 0xAC($sp) +/* DE074 80147194 AFB1001C */ sw $s1, 0x1C($sp) +/* DE078 80147198 0080882D */ daddu $s1, $a0, $zero +/* DE07C 8014719C F7BC0060 */ sdc1 $f28, 0x60($sp) +/* DE080 801471A0 4480E000 */ mtc1 $zero, $f28 +/* DE084 801471A4 3C038007 */ lui $v1, %hi(gCurrentCameraID) +/* DE088 801471A8 8C636070 */ lw $v1, %lo(gCurrentCameraID)($v1) +/* DE08C 801471AC 3C04800B */ lui $a0, %hi(gCameras) +/* DE090 801471B0 248407D0 */ addiu $a0, $a0, %lo(gCameras) +/* DE094 801471B4 AFBF003C */ sw $ra, 0x3C($sp) +/* DE098 801471B8 4616B002 */ mul.s $f0, $f22, $f22 +/* DE09C 801471BC 00000000 */ nop +/* DE0A0 801471C0 AFBE0038 */ sw $fp, 0x38($sp) +/* DE0A4 801471C4 AFB70034 */ sw $s7, 0x34($sp) +/* DE0A8 801471C8 F7BE0068 */ sdc1 $f30, 0x68($sp) +/* DE0AC 801471CC F7BA0058 */ sdc1 $f26, 0x58($sp) +/* DE0B0 801471D0 4618C082 */ mul.s $f2, $f24, $f24 +/* DE0B4 801471D4 00000000 */ nop +/* DE0B8 801471D8 AFA50074 */ sw $a1, 0x74($sp) +/* DE0BC 801471DC AFA60078 */ sw $a2, 0x78($sp) +/* DE0C0 801471E0 AFA7007C */ sw $a3, 0x7C($sp) +/* DE0C4 801471E4 00031080 */ sll $v0, $v1, 2 +/* DE0C8 801471E8 4614A102 */ mul.s $f4, $f20, $f20 +/* DE0CC 801471EC 00000000 */ nop +/* DE0D0 801471F0 00431021 */ addu $v0, $v0, $v1 +/* DE0D4 801471F4 00021080 */ sll $v0, $v0, 2 +/* DE0D8 801471F8 00431023 */ subu $v0, $v0, $v1 +/* DE0DC 801471FC 000218C0 */ sll $v1, $v0, 3 +/* DE0E0 80147200 46020000 */ add.s $f0, $f0, $f2 +/* DE0E4 80147204 00431021 */ addu $v0, $v0, $v1 +/* DE0E8 80147208 000210C0 */ sll $v0, $v0, 3 +/* DE0EC 8014720C 46040300 */ add.s $f12, $f0, $f4 +/* DE0F0 80147210 3C013FF0 */ lui $at, (0x3FF00000 >> 16) +/* DE0F4 80147214 44811800 */ mtc1 $at, $f3 +/* DE0F8 80147218 44801000 */ mtc1 $zero, $f2 +/* DE0FC 8014721C 46006021 */ cvt.d.s $f0, $f12 +/* DE100 80147220 4622003C */ c.lt.d $f0, $f2 +/* DE104 80147224 00000000 */ nop +/* DE108 80147228 45000008 */ bc1f .LIQUE_8014724C +/* DE10C 8014722C 0044F021 */ addu $fp, $v0, $a0 +/* DE110 80147230 44900000 */ mtc1 $s0, $f0 +/* DE114 80147234 00000000 */ nop +/* DE118 80147238 46800020 */ cvt.s.w $f0, $f0 +/* DE11C 8014723C 460C0002 */ mul.s $f0, $f0, $f12 +/* DE120 80147240 00000000 */ nop +/* DE124 80147244 4600028D */ trunc.w.s $f10, $f0 +/* DE128 80147248 44105000 */ mfc1 $s0, $f10 +.LIQUE_8014724C: +/* DE12C 8014724C 461C6032 */ c.eq.s $f12, $f28 +/* DE130 80147250 00000000 */ nop +/* DE134 80147254 4501000D */ bc1t .LIQUE_8014728C +/* DE138 80147258 00000000 */ nop +/* DE13C 8014725C 46006084 */ sqrt.s $f2, $f12 +/* DE140 80147260 46021032 */ c.eq.s $f2, $f2 +/* DE144 80147264 00000000 */ nop +/* DE148 80147268 45010004 */ bc1t .LIQUE_8014727C +/* DE14C 8014726C 00000000 */ nop +/* DE150 80147270 0C0183A0 */ jal sqrtf +/* DE154 80147274 00000000 */ nop +/* DE158 80147278 46000086 */ mov.s $f2, $f0 +.LIQUE_8014727C: +/* DE15C 8014727C 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* DE160 80147280 44810000 */ mtc1 $at, $f0 +/* DE164 80147284 00000000 */ nop +/* DE168 80147288 46020303 */ div.s $f12, $f0, $f2 +.LIQUE_8014728C: +/* DE16C 8014728C 460CB582 */ mul.s $f22, $f22, $f12 +/* DE170 80147290 00000000 */ nop +/* DE174 80147294 460CC602 */ mul.s $f24, $f24, $f12 +/* DE178 80147298 00000000 */ nop +/* DE17C 8014729C 460CA502 */ mul.s $f20, $f20, $f12 +/* DE180 801472A0 00000000 */ nop +/* DE184 801472A4 C6260008 */ lwc1 $f6, 0x8($s1) +/* DE188 801472A8 C7C200DC */ lwc1 $f2, 0xDC($fp) +/* DE18C 801472AC 46003107 */ neg.s $f4, $f6 +/* DE190 801472B0 46022082 */ mul.s $f2, $f4, $f2 +/* DE194 801472B4 00000000 */ nop +/* DE198 801472B8 C6280028 */ lwc1 $f8, 0x28($s1) +/* DE19C 801472BC C7C000FC */ lwc1 $f0, 0xFC($fp) +/* DE1A0 801472C0 46004002 */ mul.s $f0, $f8, $f0 +/* DE1A4 801472C4 00000000 */ nop +/* DE1A8 801472C8 46001080 */ add.s $f2, $f2, $f0 +/* DE1AC 801472CC 44800000 */ mtc1 $zero, $f0 +/* DE1B0 801472D0 3C01BF80 */ lui $at, (0xBF800000 >> 16) +/* DE1B4 801472D4 4481F000 */ mtc1 $at, $f30 +/* DE1B8 801472D8 4600103C */ c.lt.s $f2, $f0 +/* DE1BC 801472DC 00000000 */ nop +/* DE1C0 801472E0 45000004 */ bc1f .LIQUE_801472F4 +/* DE1C4 801472E4 00000000 */ nop +/* DE1C8 801472E8 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* DE1CC 801472EC 4481F000 */ mtc1 $at, $f30 +/* DE1D0 801472F0 00000000 */ nop +.LIQUE_801472F4: +/* DE1D4 801472F4 4600F03C */ c.lt.s $f30, $f0 +/* DE1D8 801472F8 00000000 */ nop +/* DE1DC 801472FC 45000004 */ bc1f .LIQUE_80147310 +/* DE1E0 80147300 46003086 */ mov.s $f2, $f6 +/* DE1E4 80147304 C6200018 */ lwc1 $f0, 0x18($s1) +/* DE1E8 80147308 08051CC6 */ j .LIQUE_80147318 +/* DE1EC 8014730C 46004207 */ neg.s $f8, $f8 +.LIQUE_80147310: +/* DE1F0 80147310 46002086 */ mov.s $f2, $f4 +/* DE1F4 80147314 C6200018 */ lwc1 $f0, 0x18($s1) +.LIQUE_80147318: +/* DE1F8 80147318 46161102 */ mul.s $f4, $f2, $f22 +/* DE1FC 8014731C 00000000 */ nop +/* DE200 80147320 46180002 */ mul.s $f0, $f0, $f24 +/* DE204 80147324 00000000 */ nop +/* DE208 80147328 46144202 */ mul.s $f8, $f8, $f20 +/* DE20C 8014732C 00000000 */ nop +/* DE210 80147330 C7C200FC */ lwc1 $f2, 0xFC($fp) +/* DE214 80147334 46001087 */ neg.s $f2, $f2 +/* DE218 80147338 4602B082 */ mul.s $f2, $f22, $f2 +/* DE21C 8014733C 00000000 */ nop +/* DE220 80147340 C7C600DC */ lwc1 $f6, 0xDC($fp) +/* DE224 80147344 4606A182 */ mul.s $f6, $f20, $f6 +/* DE228 80147348 00000000 */ nop +/* DE22C 8014734C 46002100 */ add.s $f4, $f4, $f0 +/* DE230 80147350 46082100 */ add.s $f4, $f4, $f8 +/* DE234 80147354 44800000 */ mtc1 $zero, $f0 +/* DE238 80147358 00000000 */ nop +/* DE23C 8014735C 4604003C */ c.lt.s $f0, $f4 +/* DE240 80147360 00000000 */ nop +/* DE244 80147364 45000007 */ bc1f .LIQUE_80147384 +/* DE248 80147368 46061180 */ add.s $f6, $f2, $f6 +/* DE24C 8014736C 44900000 */ mtc1 $s0, $f0 +/* DE250 80147370 00000000 */ nop +/* DE254 80147374 46800020 */ cvt.s.w $f0, $f0 +/* DE258 80147378 46060682 */ mul.s $f26, $f0, $f6 +/* DE25C 8014737C 08051CE6 */ j .LIQUE_80147398 +/* DE260 80147380 00000000 */ nop +.LIQUE_80147384: +/* DE264 80147384 44901000 */ mtc1 $s0, $f2 +/* DE268 80147388 00000000 */ nop +/* DE26C 8014738C 468010A0 */ cvt.s.w $f2, $f2 +/* DE270 80147390 46061682 */ mul.s $f26, $f2, $f6 +/* DE274 80147394 00000000 */ nop +.LIQUE_80147398: +/* DE278 80147398 4616B002 */ mul.s $f0, $f22, $f22 +/* DE27C 8014739C 00000000 */ nop +/* DE280 801473A0 4614A082 */ mul.s $f2, $f20, $f20 +/* DE284 801473A4 00000000 */ nop +/* DE288 801473A8 46020500 */ add.s $f20, $f0, $f2 +/* DE28C 801473AC 44800000 */ mtc1 $zero, $f0 +/* DE290 801473B0 00000000 */ nop +/* DE294 801473B4 4600A032 */ c.eq.s $f20, $f0 +/* DE298 801473B8 00000000 */ nop +/* DE29C 801473BC 45010009 */ bc1t .LIQUE_801473E4 +/* DE2A0 801473C0 00000000 */ nop +/* DE2A4 801473C4 4600A004 */ sqrt.s $f0, $f20 +/* DE2A8 801473C8 46000032 */ c.eq.s $f0, $f0 +/* DE2AC 801473CC 00000000 */ nop +/* DE2B0 801473D0 45030004 */ bc1tl .LIQUE_801473E4 +/* DE2B4 801473D4 46000506 */ mov.s $f20, $f0 +/* DE2B8 801473D8 0C0183A0 */ jal sqrtf +/* DE2BC 801473DC 4600A306 */ mov.s $f12, $f20 +/* DE2C0 801473E0 46000506 */ mov.s $f20, $f0 +.LIQUE_801473E4: +/* DE2C4 801473E4 C6200004 */ lwc1 $f0, 0x4($s1) +/* DE2C8 801473E8 46000007 */ neg.s $f0, $f0 +/* DE2CC 801473EC 46000002 */ mul.s $f0, $f0, $f0 +/* DE2D0 801473F0 00000000 */ nop +/* DE2D4 801473F4 C6220024 */ lwc1 $f2, 0x24($s1) +/* DE2D8 801473F8 46021082 */ mul.s $f2, $f2, $f2 +/* DE2DC 801473FC 00000000 */ nop +/* DE2E0 80147400 46020300 */ add.s $f12, $f0, $f2 +/* DE2E4 80147404 44800000 */ mtc1 $zero, $f0 +/* DE2E8 80147408 C6360014 */ lwc1 $f22, 0x14($s1) +/* DE2EC 8014740C 46006032 */ c.eq.s $f12, $f0 +/* DE2F0 80147410 00000000 */ nop +/* DE2F4 80147414 45010009 */ bc1t .LIQUE_8014743C +/* DE2F8 80147418 00000000 */ nop +/* DE2FC 8014741C 46006004 */ sqrt.s $f0, $f12 +/* DE300 80147420 46000032 */ c.eq.s $f0, $f0 +/* DE304 80147424 00000000 */ nop +/* DE308 80147428 45030004 */ bc1tl .LIQUE_8014743C +/* DE30C 8014742C 46000306 */ mov.s $f12, $f0 +/* DE310 80147430 0C0183A0 */ jal sqrtf +/* DE314 80147434 00000000 */ nop +/* DE318 80147438 46000306 */ mov.s $f12, $f0 +.LIQUE_8014743C: +/* DE31C 8014743C 460CA002 */ mul.s $f0, $f20, $f12 +/* DE320 80147440 00000000 */ nop +/* DE324 80147444 4616C082 */ mul.s $f2, $f24, $f22 +/* DE328 80147448 00000000 */ nop +/* DE32C 8014744C 46020000 */ add.s $f0, $f0, $f2 +/* DE330 80147450 2A620100 */ slti $v0, $s3, 0x100 +/* DE334 80147454 44901000 */ mtc1 $s0, $f2 +/* DE338 80147458 00000000 */ nop +/* DE33C 8014745C 468010A0 */ cvt.s.w $f2, $f2 +/* DE340 80147460 46000007 */ neg.s $f0, $f0 +/* DE344 80147464 46020702 */ mul.s $f28, $f0, $f2 +/* DE348 80147468 00000000 */ nop +/* DE34C 8014746C 50400001 */ beql $v0, $zero, .LIQUE_80147474 +/* DE350 80147470 241300FF */ addiu $s3, $zero, 0xFF +.LIQUE_80147474: +/* DE354 80147474 2A420100 */ slti $v0, $s2, 0x100 +/* DE358 80147478 50400001 */ beql $v0, $zero, .LIQUE_80147480 +/* DE35C 8014747C 241200FF */ addiu $s2, $zero, 0xFF +.LIQUE_80147480: +/* DE360 80147480 2A820100 */ slti $v0, $s4, 0x100 +/* DE364 80147484 50400001 */ beql $v0, $zero, .LIQUE_8014748C +/* DE368 80147488 241400FF */ addiu $s4, $zero, 0xFF +.LIQUE_8014748C: +/* DE36C 8014748C 2AC20100 */ slti $v0, $s6, 0x100 +/* DE370 80147490 50400001 */ beql $v0, $zero, .LIQUE_80147498 +/* DE374 80147494 241600FF */ addiu $s6, $zero, 0xFF +.LIQUE_80147498: +/* DE378 80147498 2AA20100 */ slti $v0, $s5, 0x100 +/* DE37C 8014749C 50400001 */ beql $v0, $zero, .LIQUE_801474A4 +/* DE380 801474A0 241500FF */ addiu $s5, $zero, 0xFF +.LIQUE_801474A4: +/* DE384 801474A4 8FAF00A8 */ lw $t7, 0xA8($sp) +/* DE388 801474A8 29E20100 */ slti $v0, $t7, 0x100 +/* DE38C 801474AC 14400003 */ bnez $v0, .LIQUE_801474BC +/* DE390 801474B0 3C07FC21 */ lui $a3, (0xFC21FE07 >> 16) +/* DE394 801474B4 240F00FF */ addiu $t7, $zero, 0xFF +/* DE398 801474B8 AFAF00A8 */ sw $t7, 0xA8($sp) +.LIQUE_801474BC: +/* DE39C 801474BC 34E7FE07 */ ori $a3, $a3, (0xFC21FE07 & 0xFFFF) +/* DE3A0 801474C0 3C06F167 */ lui $a2, (0xF167F27F >> 16) +/* DE3A4 801474C4 34C6F27F */ ori $a2, $a2, (0xF167F27F & 0xFFFF) +/* DE3A8 801474C8 3C0DFF10 */ lui $t5, (0xFF10013F >> 16) +/* DE3AC 801474CC 35AD013F */ ori $t5, $t5, (0xFF10013F & 0xFFFF) +/* DE3B0 801474D0 3C080004 */ lui $t0, (0x40004 >> 16) +/* DE3B4 801474D4 35080004 */ ori $t0, $t0, (0x40004 & 0xFFFF) +/* DE3B8 801474D8 3C0FE300 */ lui $t7, (0xE3000A11 >> 16) +/* DE3BC 801474DC 35EF0A11 */ ori $t7, $t7, (0xE3000A11 & 0xFFFF) +/* DE3C0 801474E0 AFAF0010 */ sw $t7, 0x10($sp) +/* DE3C4 801474E4 3C0FE200 */ lui $t7, (0xE200001C >> 16) +/* DE3C8 801474E8 35EF001C */ ori $t7, $t7, (0xE200001C & 0xFFFF) +/* DE3CC 801474EC 3C090F0A */ lui $t1, (0xF0A4000 >> 16) +/* DE3D0 801474F0 35294000 */ ori $t1, $t1, (0xF0A4000 & 0xFFFF) +/* DE3D4 801474F4 3C0BFC34 */ lui $t3, (0xFC347E68 >> 16) +/* DE3D8 801474F8 356B7E68 */ ori $t3, $t3, (0xFC347E68 & 0xFFFF) +/* DE3DC 801474FC 3C0A55FE */ lui $t2, (0x55FEFD7E >> 16) +/* DE3E0 80147500 354AFD7E */ ori $t2, $t2, (0x55FEFD7E & 0xFFFF) +/* DE3E4 80147504 3C0CE404 */ lui $t4, (0xE4040004 >> 16) +/* DE3E8 80147508 358C0004 */ ori $t4, $t4, (0xE4040004 & 0xFFFF) +/* DE3EC 8014750C 3C0E1000 */ lui $t6, (0x10000400 >> 16) +/* DE3F0 80147510 3C17800A */ lui $s7, %hi(gMasterGfxPos) +/* DE3F4 80147514 26F79244 */ addiu $s7, $s7, %lo(gMasterGfxPos) +/* DE3F8 80147518 35CE0400 */ ori $t6, $t6, (0x10000400 & 0xFFFF) +/* DE3FC 8014751C 3C05FA00 */ lui $a1, (0xFA000000 >> 16) +/* DE400 80147520 00131E00 */ sll $v1, $s3, 24 +/* DE404 80147524 324200FF */ andi $v0, $s2, 0xFF +/* DE408 80147528 00021400 */ sll $v0, $v0, 16 +/* DE40C 8014752C 00621825 */ or $v1, $v1, $v0 +/* DE410 80147530 328200FF */ andi $v0, $s4, 0xFF +/* DE414 80147534 00021200 */ sll $v0, $v0, 8 +/* DE418 80147538 00621825 */ or $v1, $v1, $v0 +/* DE41C 8014753C 3C138016 */ lui $s3, %hi(D_80159880) +/* DE420 80147540 2673BC00 */ addiu $s3, $s3, %lo(D_80159880) +/* DE424 80147544 3C12ED00 */ lui $s2, (0xED000000 >> 16) +/* DE428 80147548 AFAF0014 */ sw $t7, 0x14($sp) +/* DE42C 8014754C 8EF00000 */ lw $s0, 0x0($s7) +/* DE430 80147550 3C14FB00 */ lui $s4, (0xFB000000 >> 16) +/* DE434 80147554 0200202D */ daddu $a0, $s0, $zero +/* DE438 80147558 26100008 */ addiu $s0, $s0, 0x8 +/* DE43C 8014755C AEF00000 */ sw $s0, 0x0($s7) +/* DE440 80147560 AC850000 */ sw $a1, 0x0($a0) +/* DE444 80147564 8FAF0084 */ lw $t7, 0x84($sp) +/* DE448 80147568 3C11E700 */ lui $s1, (0xE7000000 >> 16) +/* DE44C 8014756C 31E200FF */ andi $v0, $t7, 0xFF +/* DE450 80147570 00621825 */ or $v1, $v1, $v0 +/* DE454 80147574 26020008 */ addiu $v0, $s0, 0x8 +/* DE458 80147578 AC830004 */ sw $v1, 0x4($a0) +/* DE45C 8014757C AEE20000 */ sw $v0, 0x0($s7) +/* DE460 80147580 26020010 */ addiu $v0, $s0, 0x10 +/* DE464 80147584 AE070000 */ sw $a3, 0x0($s0) +/* DE468 80147588 AE060004 */ sw $a2, 0x4($s0) +/* DE46C 8014758C AEE20000 */ sw $v0, 0x0($s7) +/* DE470 80147590 26020018 */ addiu $v0, $s0, 0x18 +/* DE474 80147594 AE0D0008 */ sw $t5, 0x8($s0) +/* DE478 80147598 AE13000C */ sw $s3, 0xC($s0) +/* DE47C 8014759C AEE20000 */ sw $v0, 0x0($s7) +/* DE480 801475A0 26020020 */ addiu $v0, $s0, 0x20 +/* DE484 801475A4 AE120010 */ sw $s2, 0x10($s0) +/* DE488 801475A8 AE080014 */ sw $t0, 0x14($s0) +/* DE48C 801475AC AEE20000 */ sw $v0, 0x0($s7) +/* DE490 801475B0 8FAF0010 */ lw $t7, 0x10($sp) +/* DE494 801475B4 24020CF0 */ addiu $v0, $zero, 0xCF0 +/* DE498 801475B8 AE02001C */ sw $v0, 0x1C($s0) +/* DE49C 801475BC 26020028 */ addiu $v0, $s0, 0x28 +/* DE4A0 801475C0 AE0F0018 */ sw $t7, 0x18($s0) +/* DE4A4 801475C4 AEE20000 */ sw $v0, 0x0($s7) +/* DE4A8 801475C8 8FAF0014 */ lw $t7, 0x14($sp) +/* DE4AC 801475CC 26020030 */ addiu $v0, $s0, 0x30 +/* DE4B0 801475D0 AE090024 */ sw $t1, 0x24($s0) +/* DE4B4 801475D4 AE0F0020 */ sw $t7, 0x20($s0) +/* DE4B8 801475D8 AEE20000 */ sw $v0, 0x0($s7) +/* DE4BC 801475DC 26020038 */ addiu $v0, $s0, 0x38 +/* DE4C0 801475E0 AE03002C */ sw $v1, 0x2C($s0) +/* DE4C4 801475E4 00161E00 */ sll $v1, $s6, 24 +/* DE4C8 801475E8 AE050028 */ sw $a1, 0x28($s0) +/* DE4CC 801475EC AEE20000 */ sw $v0, 0x0($s7) +/* DE4D0 801475F0 32A200FF */ andi $v0, $s5, 0xFF +/* DE4D4 801475F4 00021400 */ sll $v0, $v0, 16 +/* DE4D8 801475F8 AE140030 */ sw $s4, 0x30($s0) +/* DE4DC 801475FC 8FAF00A8 */ lw $t7, 0xA8($sp) +/* DE4E0 80147600 00621825 */ or $v1, $v1, $v0 +/* DE4E4 80147604 31E200FF */ andi $v0, $t7, 0xFF +/* DE4E8 80147608 00021200 */ sll $v0, $v0, 8 +/* DE4EC 8014760C 00621825 */ or $v1, $v1, $v0 +/* DE4F0 80147610 26020040 */ addiu $v0, $s0, 0x40 +/* DE4F4 80147614 AE030034 */ sw $v1, 0x34($s0) +/* DE4F8 80147618 AEE20000 */ sw $v0, 0x0($s7) +/* DE4FC 8014761C 26020048 */ addiu $v0, $s0, 0x48 +/* DE500 80147620 AE0B0038 */ sw $t3, 0x38($s0) +/* DE504 80147624 AE0A003C */ sw $t2, 0x3C($s0) +/* DE508 80147628 AEE20000 */ sw $v0, 0x0($s7) +/* DE50C 8014762C 3C020200 */ lui $v0, (0x2000000 >> 16) +/* DE510 80147630 AE020044 */ sw $v0, 0x44($s0) +/* DE514 80147634 26020050 */ addiu $v0, $s0, 0x50 +/* DE518 80147638 AE0C0040 */ sw $t4, 0x40($s0) +/* DE51C 8014763C AEE20000 */ sw $v0, 0x0($s7) +/* DE520 80147640 3C02E100 */ lui $v0, (0xE1000000 >> 16) +/* DE524 80147644 AE020048 */ sw $v0, 0x48($s0) +/* DE528 80147648 26020058 */ addiu $v0, $s0, 0x58 +/* DE52C 8014764C AE00004C */ sw $zero, 0x4C($s0) +/* DE530 80147650 AEE20000 */ sw $v0, 0x0($s7) +/* DE534 80147654 3C02F100 */ lui $v0, (0xF1000000 >> 16) +/* DE538 80147658 AE020050 */ sw $v0, 0x50($s0) +/* DE53C 8014765C 26020060 */ addiu $v0, $s0, 0x60 +/* DE540 80147660 AE0E0054 */ sw $t6, 0x54($s0) +/* DE544 80147664 AEE20000 */ sw $v0, 0x0($s7) +/* DE548 80147668 3C04800A */ lui $a0, %hi(nuGfxCfb_ptr) +/* DE54C 8014766C 8C849224 */ lw $a0, %lo(nuGfxCfb_ptr)($a0) +/* DE550 80147670 26020068 */ addiu $v0, $s0, 0x68 +/* DE554 80147674 AE110058 */ sw $s1, 0x58($s0) +/* DE558 80147678 AE00005C */ sw $zero, 0x5C($s0) +/* DE55C 8014767C AEE20000 */ sw $v0, 0x0($s7) +/* DE560 80147680 0C01836C */ jal osVirtualToPhysical +/* DE564 80147684 AE0D0060 */ sw $t5, 0x60($s0) +/* DE568 80147688 3C06F500 */ lui $a2, (0xF5000110 >> 16) +/* DE56C 8014768C 34C60110 */ ori $a2, $a2, (0xF5000110 & 0xFFFF) +/* DE570 80147690 3C070703 */ lui $a3, (0x703C000 >> 16) +/* DE574 80147694 34E7C000 */ ori $a3, $a3, (0x703C000 & 0xFFFF) +/* DE578 80147698 3C080018 */ lui $t0, (0x18AC30 >> 16) +/* DE57C 8014769C 8EEA0000 */ lw $t2, 0x0($s7) +/* DE580 801476A0 3C014080 */ lui $at, (0x40800000 >> 16) +/* DE584 801476A4 44812000 */ mtc1 $at, $f4 +/* DE588 801476A8 3508AC30 */ ori $t0, $t0, (0x18AC30 & 0xFFFF) +/* DE58C 801476AC AE020064 */ sw $v0, 0x64($s0) +/* DE590 801476B0 0140282D */ daddu $a1, $t2, $zero +/* DE594 801476B4 254A0008 */ addiu $t2, $t2, 0x8 +/* DE598 801476B8 25420008 */ addiu $v0, $t2, 0x8 +/* DE59C 801476BC AEEA0000 */ sw $t2, 0x0($s7) +/* DE5A0 801476C0 AEE20000 */ sw $v0, 0x0($s7) +/* DE5A4 801476C4 25420010 */ addiu $v0, $t2, 0x10 +/* DE5A8 801476C8 AEE20000 */ sw $v0, 0x0($s7) +/* DE5AC 801476CC 25420018 */ addiu $v0, $t2, 0x18 +/* DE5B0 801476D0 AEE20000 */ sw $v0, 0x0($s7) +/* DE5B4 801476D4 87C2000E */ lh $v0, 0xE($fp) +/* DE5B8 801476D8 87C30010 */ lh $v1, 0x10($fp) +/* DE5BC 801476DC 44821000 */ mtc1 $v0, $f2 +/* DE5C0 801476E0 00000000 */ nop +/* DE5C4 801476E4 468010A0 */ cvt.s.w $f2, $f2 +/* DE5C8 801476E8 46041082 */ mul.s $f2, $f2, $f4 +/* DE5CC 801476EC 00000000 */ nop +/* DE5D0 801476F0 25420020 */ addiu $v0, $t2, 0x20 +/* DE5D4 801476F4 44830000 */ mtc1 $v1, $f0 +/* DE5D8 801476F8 00000000 */ nop +/* DE5DC 801476FC 46800020 */ cvt.s.w $f0, $f0 +/* DE5E0 80147700 AEE20000 */ sw $v0, 0x0($s7) +/* DE5E4 80147704 25420028 */ addiu $v0, $t2, 0x28 +/* DE5E8 80147708 46040002 */ mul.s $f0, $f0, $f4 +/* DE5EC 8014770C 00000000 */ nop +/* DE5F0 80147710 AEE20000 */ sw $v0, 0x0($s7) +/* DE5F4 80147714 4600128D */ trunc.w.s $f10, $f2 +/* DE5F8 80147718 44035000 */ mfc1 $v1, $f10 +/* DE5FC 8014771C 00000000 */ nop +/* DE600 80147720 30630FFF */ andi $v1, $v1, 0xFFF +/* DE604 80147724 00031B00 */ sll $v1, $v1, 12 +/* DE608 80147728 4600028D */ trunc.w.s $f10, $f0 +/* DE60C 8014772C 44025000 */ mfc1 $v0, $f10 +/* DE610 80147730 00000000 */ nop +/* DE614 80147734 30420FFF */ andi $v0, $v0, 0xFFF +/* DE618 80147738 00521025 */ or $v0, $v0, $s2 +/* DE61C 8014773C 00621825 */ or $v1, $v1, $v0 +/* DE620 80147740 ACA30000 */ sw $v1, 0x0($a1) +/* DE624 80147744 87C3000E */ lh $v1, 0xE($fp) +/* DE628 80147748 87C4000A */ lh $a0, 0xA($fp) +/* DE62C 8014774C 25420030 */ addiu $v0, $t2, 0x30 +/* DE630 80147750 AEE20000 */ sw $v0, 0x0($s7) +/* DE634 80147754 87C20010 */ lh $v0, 0x10($fp) +/* DE638 80147758 00641821 */ addu $v1, $v1, $a0 +/* DE63C 8014775C 44831000 */ mtc1 $v1, $f2 +/* DE640 80147760 00000000 */ nop +/* DE644 80147764 468010A0 */ cvt.s.w $f2, $f2 +/* DE648 80147768 25440038 */ addiu $a0, $t2, 0x38 +/* DE64C 8014776C 87C3000C */ lh $v1, 0xC($fp) +/* DE650 80147770 46041082 */ mul.s $f2, $f2, $f4 +/* DE654 80147774 00000000 */ nop +/* DE658 80147778 AEE40000 */ sw $a0, 0x0($s7) +/* DE65C 8014777C 00431021 */ addu $v0, $v0, $v1 +/* DE660 80147780 44820000 */ mtc1 $v0, $f0 +/* DE664 80147784 00000000 */ nop +/* DE668 80147788 46800020 */ cvt.s.w $f0, $f0 +/* DE66C 8014778C 25420040 */ addiu $v0, $t2, 0x40 +/* DE670 80147790 46040002 */ mul.s $f0, $f0, $f4 +/* DE674 80147794 00000000 */ nop +/* DE678 80147798 AEE20000 */ sw $v0, 0x0($s7) +/* DE67C 8014779C 4600128D */ trunc.w.s $f10, $f2 +/* DE680 801477A0 44025000 */ mfc1 $v0, $f10 +/* DE684 801477A4 00000000 */ nop +/* DE688 801477A8 30420FFF */ andi $v0, $v0, 0xFFF +/* DE68C 801477AC 00021300 */ sll $v0, $v0, 12 +/* DE690 801477B0 4600028D */ trunc.w.s $f10, $f0 +/* DE694 801477B4 44035000 */ mfc1 $v1, $f10 +/* DE698 801477B8 00000000 */ nop +/* DE69C 801477BC 30630FFF */ andi $v1, $v1, 0xFFF +/* DE6A0 801477C0 00431025 */ or $v0, $v0, $v1 +/* DE6A4 801477C4 ACA20004 */ sw $v0, 0x4($a1) +/* DE6A8 801477C8 3C02FD10 */ lui $v0, (0xFD100000 >> 16) +/* DE6AC 801477CC AD420000 */ sw $v0, 0x0($t2) +/* DE6B0 801477D0 3C02E800 */ lui $v0, (0xE8000000 >> 16) +/* DE6B4 801477D4 AD420008 */ sw $v0, 0x8($t2) +/* DE6B8 801477D8 3C020700 */ lui $v0, (0x7000000 >> 16) +/* DE6BC 801477DC AD420014 */ sw $v0, 0x14($t2) +/* DE6C0 801477E0 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* DE6C4 801477E4 AD420018 */ sw $v0, 0x18($t2) +/* DE6C8 801477E8 3C02F000 */ lui $v0, (0xF0000000 >> 16) +/* DE6CC 801477EC AD530004 */ sw $s3, 0x4($t2) +/* DE6D0 801477F0 AD40000C */ sw $zero, 0xC($t2) +/* DE6D4 801477F4 AD460010 */ sw $a2, 0x10($t2) +/* DE6D8 801477F8 AD40001C */ sw $zero, 0x1C($t2) +/* DE6DC 801477FC AD420020 */ sw $v0, 0x20($t2) +/* DE6E0 80147800 AD470024 */ sw $a3, 0x24($t2) +/* DE6E4 80147804 AD510028 */ sw $s1, 0x28($t2) +/* DE6E8 80147808 AD40002C */ sw $zero, 0x2C($t2) +/* DE6EC 8014780C 8FAF0010 */ lw $t7, 0x10($sp) +/* DE6F0 80147810 3C096464 */ lui $t1, (0x646464FF >> 16) +/* DE6F4 80147814 AD4F0030 */ sw $t7, 0x30($t2) +/* DE6F8 80147818 AD480034 */ sw $t0, 0x34($t2) +/* DE6FC 8014781C 8FAF0014 */ lw $t7, 0x14($sp) +/* DE700 80147820 352964FF */ ori $t1, $t1, (0x646464FF & 0xFFFF) +/* DE704 80147824 AD4F0038 */ sw $t7, 0x38($t2) +/* DE708 80147828 8FA200B0 */ lw $v0, 0xB0($sp) +/* DE70C 8014782C 3C030C08 */ lui $v1, (0xC080000 >> 16) +/* DE710 80147830 00431025 */ or $v0, $v0, $v1 +/* DE714 80147834 AD42003C */ sw $v0, 0x3C($t2) +/* DE718 80147838 25420048 */ addiu $v0, $t2, 0x48 +/* DE71C 8014783C AEE20000 */ sw $v0, 0x0($s7) +/* DE720 80147840 AD540040 */ sw $s4, 0x40($t2) +/* DE724 80147844 AD490044 */ sw $t1, 0x44($t2) +/* DE728 80147848 8FAF0084 */ lw $t7, 0x84($sp) +/* DE72C 8014784C 240200FF */ addiu $v0, $zero, 0xFF +/* DE730 80147850 15E20005 */ bne $t7, $v0, .LIQUE_80147868 +/* DE734 80147854 3C04FC11 */ lui $a0, (0xFC117E80 >> 16) +/* DE738 80147858 34847E80 */ ori $a0, $a0, (0xFC117E80 & 0xFFFF) +/* DE73C 8014785C 3C03F5FF */ lui $v1, (0xF5FFF438 >> 16) +/* DE740 80147860 08051E1D */ j .LIQUE_80147874 +/* DE744 80147864 3463F438 */ ori $v1, $v1, (0xF5FFF438 & 0xFFFF) +.LIQUE_80147868: +/* DE748 80147868 34843480 */ ori $a0, $a0, (0xFC113480 & 0xFFFF) +/* DE74C 8014786C 3C03F5FF */ lui $v1, (0xF5FFFE38 >> 16) +/* DE750 80147870 3463FE38 */ ori $v1, $v1, (0xF5FFFE38 & 0xFFFF) +.LIQUE_80147874: +/* DE754 80147874 25420050 */ addiu $v0, $t2, 0x50 +/* DE758 80147878 AEE20000 */ sw $v0, 0x0($s7) +/* DE75C 8014787C AD440048 */ sw $a0, 0x48($t2) +/* DE760 80147880 AD43004C */ sw $v1, 0x4C($t2) +/* DE764 80147884 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* DE768 80147888 24639244 */ addiu $v1, $v1, %lo(gMasterGfxPos) +/* DE76C 8014788C 8C620000 */ lw $v0, 0x0($v1) +/* DE770 80147890 461ED002 */ mul.s $f0, $f26, $f30 +/* DE774 80147894 00000000 */ nop +/* DE778 80147898 0040382D */ daddu $a3, $v0, $zero +/* DE77C 8014789C 24420008 */ addiu $v0, $v0, 0x8 +/* DE780 801478A0 AC620000 */ sw $v0, 0x0($v1) +/* DE784 801478A4 8FAF0074 */ lw $t7, 0x74($sp) +/* DE788 801478A8 3C04F200 */ lui $a0, (0xF2000000 >> 16) +/* DE78C 801478AC 25E30100 */ addiu $v1, $t7, 0x100 +/* DE790 801478B0 00031880 */ sll $v1, $v1, 2 +/* DE794 801478B4 4600028D */ trunc.w.s $f10, $f0 +/* DE798 801478B8 44055000 */ mfc1 $a1, $f10 +/* DE79C 801478BC 00000000 */ nop +/* DE7A0 801478C0 00651821 */ addu $v1, $v1, $a1 +/* DE7A4 801478C4 30630FFF */ andi $v1, $v1, 0xFFF +/* DE7A8 801478C8 8FAF0078 */ lw $t7, 0x78($sp) +/* DE7AC 801478CC 00031B00 */ sll $v1, $v1, 12 +/* DE7B0 801478D0 25E20100 */ addiu $v0, $t7, 0x100 +/* DE7B4 801478D4 00021080 */ sll $v0, $v0, 2 +/* DE7B8 801478D8 4600E28D */ trunc.w.s $f10, $f28 +/* DE7BC 801478DC 44065000 */ mfc1 $a2, $f10 +/* DE7C0 801478E0 00000000 */ nop +/* DE7C4 801478E4 00461021 */ addu $v0, $v0, $a2 +/* DE7C8 801478E8 30420FFF */ andi $v0, $v0, 0xFFF +/* DE7CC 801478EC 00441025 */ or $v0, $v0, $a0 +/* DE7D0 801478F0 00621825 */ or $v1, $v1, $v0 +/* DE7D4 801478F4 ACE30000 */ sw $v1, 0x0($a3) +/* DE7D8 801478F8 8FAF007C */ lw $t7, 0x7C($sp) +/* DE7DC 801478FC 8FA20080 */ lw $v0, 0x80($sp) +/* DE7E0 80147900 25E300FF */ addiu $v1, $t7, 0xFF +/* DE7E4 80147904 00031880 */ sll $v1, $v1, 2 +/* DE7E8 80147908 00651821 */ addu $v1, $v1, $a1 +/* DE7EC 8014790C 30630FFF */ andi $v1, $v1, 0xFFF +/* DE7F0 80147910 00031B00 */ sll $v1, $v1, 12 +/* DE7F4 80147914 244200FF */ addiu $v0, $v0, 0xFF +/* DE7F8 80147918 00021080 */ sll $v0, $v0, 2 +/* DE7FC 8014791C 00461021 */ addu $v0, $v0, $a2 +/* DE800 80147920 30420FFF */ andi $v0, $v0, 0xFFF +/* DE804 80147924 00621825 */ or $v1, $v1, $v0 +/* DE808 80147928 ACE30004 */ sw $v1, 0x4($a3) +/* DE80C 8014792C 8FBF003C */ lw $ra, 0x3C($sp) +/* DE810 80147930 8FBE0038 */ lw $fp, 0x38($sp) +/* DE814 80147934 8FB70034 */ lw $s7, 0x34($sp) +/* DE818 80147938 8FB60030 */ lw $s6, 0x30($sp) +/* DE81C 8014793C 8FB5002C */ lw $s5, 0x2C($sp) +/* DE820 80147940 8FB40028 */ lw $s4, 0x28($sp) +/* DE824 80147944 8FB30024 */ lw $s3, 0x24($sp) +/* DE828 80147948 8FB20020 */ lw $s2, 0x20($sp) +/* DE82C 8014794C 8FB1001C */ lw $s1, 0x1C($sp) +/* DE830 80147950 8FB00018 */ lw $s0, 0x18($sp) +/* DE834 80147954 D7BE0068 */ ldc1 $f30, 0x68($sp) +/* DE838 80147958 D7BC0060 */ ldc1 $f28, 0x60($sp) +/* DE83C 8014795C D7BA0058 */ ldc1 $f26, 0x58($sp) +/* DE840 80147960 D7B80050 */ ldc1 $f24, 0x50($sp) +/* DE844 80147964 D7B60048 */ ldc1 $f22, 0x48($sp) +/* DE848 80147968 D7B40040 */ ldc1 $f20, 0x40($sp) +/* DE84C 8014796C 03E00008 */ jr $ra +/* DE850 80147970 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/ver/cn/asm/nonmatchings/hud_element/render_hud_element.s b/ver/cn/asm/nonmatchings/hud_element/render_hud_element.s new file mode 100644 index 0000000000..286f27d13a --- /dev/null +++ b/ver/cn/asm/nonmatchings/hud_element/render_hud_element.s @@ -0,0 +1,725 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel render_hud_element +/* D826C 8014138C 27BDFCF8 */ addiu $sp, $sp, -0x308 +/* D8270 80141390 AFB702E4 */ sw $s7, 0x2E4($sp) +/* D8274 80141394 0080B82D */ daddu $s7, $a0, $zero +/* D8278 80141398 AFBF02EC */ sw $ra, 0x2EC($sp) +/* D827C 8014139C AFBE02E8 */ sw $fp, 0x2E8($sp) +/* D8280 801413A0 AFB602E0 */ sw $s6, 0x2E0($sp) +/* D8284 801413A4 AFB502DC */ sw $s5, 0x2DC($sp) +/* D8288 801413A8 AFB402D8 */ sw $s4, 0x2D8($sp) +/* D828C 801413AC AFB302D4 */ sw $s3, 0x2D4($sp) +/* D8290 801413B0 AFB202D0 */ sw $s2, 0x2D0($sp) +/* D8294 801413B4 AFB102CC */ sw $s1, 0x2CC($sp) +/* D8298 801413B8 AFB002C8 */ sw $s0, 0x2C8($sp) +/* D829C 801413BC F7B80300 */ sdc1 $f24, 0x300($sp) +/* D82A0 801413C0 F7B602F8 */ sdc1 $f22, 0x2F8($sp) +/* D82A4 801413C4 F7B402F0 */ sdc1 $f20, 0x2F0($sp) +/* D82A8 801413C8 8EE20000 */ lw $v0, 0x0($s7) +/* D82AC 801413CC 30428000 */ andi $v0, $v0, 0x8000 +/* D82B0 801413D0 1040000C */ beqz $v0, .LIQUE_80141404 +/* D82B4 801413D4 3C05E300 */ lui $a1, (0xE3001201 >> 16) +/* D82B8 801413D8 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* D82BC 801413DC 24639244 */ addiu $v1, $v1, %lo(gMasterGfxPos) +/* D82C0 801413E0 8C620000 */ lw $v0, 0x0($v1) +/* D82C4 801413E4 34A51201 */ ori $a1, $a1, (0xE3001201 & 0xFFFF) +/* D82C8 801413E8 0040202D */ daddu $a0, $v0, $zero +/* D82CC 801413EC 24420008 */ addiu $v0, $v0, 0x8 +/* D82D0 801413F0 AC620000 */ sw $v0, 0x0($v1) +/* D82D4 801413F4 24023000 */ addiu $v0, $zero, 0x3000 +/* D82D8 801413F8 AC850000 */ sw $a1, 0x0($a0) +/* D82DC 801413FC 0805050A */ j .LIQUE_80141428 +/* D82E0 80141400 AC820004 */ sw $v0, 0x4($a0) +.LIQUE_80141404: +/* D82E4 80141404 3C04800A */ lui $a0, %hi(gMasterGfxPos) +/* D82E8 80141408 24849244 */ addiu $a0, $a0, %lo(gMasterGfxPos) +/* D82EC 8014140C 8C820000 */ lw $v0, 0x0($a0) +/* D82F0 80141410 34A51201 */ ori $a1, $a1, (0xE3001201 & 0xFFFF) +/* D82F4 80141414 0040182D */ daddu $v1, $v0, $zero +/* D82F8 80141418 24420008 */ addiu $v0, $v0, 0x8 +/* D82FC 8014141C AC820000 */ sw $v0, 0x0($a0) +/* D8300 80141420 AC650000 */ sw $a1, 0x0($v1) +/* D8304 80141424 AC600004 */ sw $zero, 0x4($v1) +.LIQUE_80141428: +/* D8308 80141428 8EE30000 */ lw $v1, 0x0($s7) +/* D830C 8014142C 30620100 */ andi $v0, $v1, 0x100 +/* D8310 80141430 14400005 */ bnez $v0, .LIQUE_80141448 +/* D8314 80141434 3C020010 */ lui $v0, (0x100000 >> 16) +/* D8318 80141438 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* D831C 8014143C 4481A000 */ mtc1 $at, $f20 +/* D8320 80141440 08050535 */ j .LIQUE_801414D4 +/* D8324 80141444 4600A606 */ mov.s $f24, $f20 +.LIQUE_80141448: +/* D8328 80141448 00621024 */ and $v0, $v1, $v0 +/* D832C 8014144C 14400011 */ bnez $v0, .LIQUE_80141494 +/* D8330 80141450 00000000 */ nop +/* D8334 80141454 82E30046 */ lb $v1, 0x46($s7) +/* D8338 80141458 3C048015 */ lui $a0, %hi(gHudElementSizes) +/* D833C 8014145C 2484D75C */ addiu $a0, $a0, %lo(gHudElementSizes) +/* D8340 80141460 00031040 */ sll $v0, $v1, 1 +/* D8344 80141464 00431021 */ addu $v0, $v0, $v1 +/* D8348 80141468 00021040 */ sll $v0, $v0, 1 +/* D834C 8014146C 00441021 */ addu $v0, $v0, $a0 +/* D8350 80141470 84430000 */ lh $v1, 0x0($v0) +/* D8354 80141474 84420002 */ lh $v0, 0x2($v0) +/* D8358 80141478 4483C000 */ mtc1 $v1, $f24 +/* D835C 8014147C 00000000 */ nop +/* D8360 80141480 4680C620 */ cvt.s.w $f24, $f24 +/* D8364 80141484 4482A000 */ mtc1 $v0, $f20 +/* D8368 80141488 00000000 */ nop +/* D836C 8014148C 0805052D */ j .LIQUE_801414B4 +/* D8370 80141490 4680A520 */ cvt.s.w $f20, $f20 +.LIQUE_80141494: +/* D8374 80141494 92E2004E */ lbu $v0, 0x4E($s7) +/* D8378 80141498 92E3004F */ lbu $v1, 0x4F($s7) +/* D837C 8014149C 4482C000 */ mtc1 $v0, $f24 +/* D8380 801414A0 00000000 */ nop +/* D8384 801414A4 4680C620 */ cvt.s.w $f24, $f24 +/* D8388 801414A8 4483A000 */ mtc1 $v1, $f20 +/* D838C 801414AC 00000000 */ nop +/* D8390 801414B0 4680A520 */ cvt.s.w $f20, $f20 +.LIQUE_801414B4: +/* D8394 801414B4 C6E00028 */ lwc1 $f0, 0x28($s7) +/* D8398 801414B8 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* D839C 801414BC 44811000 */ mtc1 $at, $f2 +/* D83A0 801414C0 4600C603 */ div.s $f24, $f24, $f0 +/* D83A4 801414C4 C6E0002C */ lwc1 $f0, 0x2C($s7) +/* D83A8 801414C8 46181603 */ div.s $f24, $f2, $f24 +/* D83AC 801414CC 4600A503 */ div.s $f20, $f20, $f0 +/* D83B0 801414D0 46141503 */ div.s $f20, $f2, $f20 +.LIQUE_801414D4: +/* D83B4 801414D4 8EE20000 */ lw $v0, 0x0($s7) +/* D83B8 801414D8 3C030010 */ lui $v1, (0x100000 >> 16) +/* D83BC 801414DC 00431024 */ and $v0, $v0, $v1 +/* D83C0 801414E0 1440000C */ bnez $v0, .LIQUE_80141514 +/* D83C4 801414E4 00000000 */ nop +/* D83C8 801414E8 82E20046 */ lb $v0, 0x46($s7) +/* D83CC 801414EC 3C048015 */ lui $a0, %hi(gHudElementSizes) +/* D83D0 801414F0 2484D75C */ addiu $a0, $a0, %lo(gHudElementSizes) +/* D83D4 801414F4 00021840 */ sll $v1, $v0, 1 +/* D83D8 801414F8 00621821 */ addu $v1, $v1, $v0 +/* D83DC 801414FC 00031840 */ sll $v1, $v1, 1 +/* D83E0 80141500 00641821 */ addu $v1, $v1, $a0 +/* D83E4 80141504 84760000 */ lh $s6, 0x0($v1) +/* D83E8 80141508 84630002 */ lh $v1, 0x2($v1) +/* D83EC 8014150C 08050548 */ j .LIQUE_80141520 +/* D83F0 80141510 AFA302B8 */ sw $v1, 0x2B8($sp) +.LIQUE_80141514: +/* D83F4 80141514 92F6004E */ lbu $s6, 0x4E($s7) +/* D83F8 80141518 92ED004F */ lbu $t5, 0x4F($s7) +/* D83FC 8014151C AFAD02B8 */ sw $t5, 0x2B8($sp) +.LIQUE_80141520: +/* D8400 80141520 4480B000 */ mtc1 $zero, $f22 +/* D8404 80141524 27AE01E0 */ addiu $t6, $sp, 0x1E0 +/* D8408 80141528 AFAE02BC */ sw $t6, 0x2BC($sp) +/* D840C 8014152C 8EFE001C */ lw $fp, 0x1C($s7) +/* D8410 80141530 4407B000 */ mfc1 $a3, $f22 +/* D8414 80141534 87C30028 */ lh $v1, 0x28($fp) +/* D8418 80141538 87C2002A */ lh $v0, 0x2A($fp) +/* D841C 8014153C 44833000 */ mtc1 $v1, $f6 +/* D8420 80141540 00000000 */ nop +/* D8424 80141544 468031A0 */ cvt.s.w $f6, $f6 +/* D8428 80141548 00021023 */ negu $v0, $v0 +/* D842C 8014154C 44053000 */ mfc1 $a1, $f6 +/* D8430 80141550 44823000 */ mtc1 $v0, $f6 +/* D8434 80141554 00000000 */ nop +/* D8438 80141558 468031A0 */ cvt.s.w $f6, $f6 +/* D843C 8014155C 44063000 */ mfc1 $a2, $f6 +/* D8440 80141560 0C0197A8 */ jal guTranslateF +/* D8444 80141564 01C0202D */ daddu $a0, $t6, $zero +/* D8448 80141568 27AD0220 */ addiu $t5, $sp, 0x220 +/* D844C 8014156C AFAD02C0 */ sw $t5, 0x2C0($sp) +/* D8450 80141570 87C20028 */ lh $v0, 0x28($fp) +/* D8454 80141574 4407B000 */ mfc1 $a3, $f22 +/* D8458 80141578 87C3002A */ lh $v1, 0x2A($fp) +/* D845C 8014157C 00021023 */ negu $v0, $v0 +/* D8460 80141580 44823000 */ mtc1 $v0, $f6 +/* D8464 80141584 00000000 */ nop +/* D8468 80141588 468031A0 */ cvt.s.w $f6, $f6 +/* D846C 8014158C 44053000 */ mfc1 $a1, $f6 +/* D8470 80141590 44833000 */ mtc1 $v1, $f6 +/* D8474 80141594 00000000 */ nop +/* D8478 80141598 468031A0 */ cvt.s.w $f6, $f6 +/* D847C 8014159C 44063000 */ mfc1 $a2, $f6 +/* D8480 801415A0 0C0197A8 */ jal guTranslateF +/* D8484 801415A4 01A0202D */ daddu $a0, $t5, $zero +/* D8488 801415A8 86E2003C */ lh $v0, 0x3C($s7) +/* D848C 801415AC 82E30040 */ lb $v1, 0x40($s7) +/* D8490 801415B0 82E40042 */ lb $a0, 0x42($s7) +/* D8494 801415B4 C7C00004 */ lwc1 $f0, 0x4($fp) +/* D8498 801415B8 3C014024 */ lui $at, (0x40240000 >> 16) +/* D849C 801415BC 44812800 */ mtc1 $at, $f5 +/* D84A0 801415C0 44802000 */ mtc1 $zero, $f4 +/* D84A4 801415C4 00431021 */ addu $v0, $v0, $v1 +/* D84A8 801415C8 00441021 */ addu $v0, $v0, $a0 +/* D84AC 801415CC 44821000 */ mtc1 $v0, $f2 +/* D84B0 801415D0 00000000 */ nop +/* D84B4 801415D4 468010A0 */ cvt.s.w $f2, $f2 +/* D84B8 801415D8 46001080 */ add.s $f2, $f2, $f0 +/* D84BC 801415DC 86E2003E */ lh $v0, 0x3E($s7) +/* D84C0 801415E0 82E30041 */ lb $v1, 0x41($s7) +/* D84C4 801415E4 82E40043 */ lb $a0, 0x43($s7) +/* D84C8 801415E8 C7C00008 */ lwc1 $f0, 0x8($fp) +/* D84CC 801415EC 00021023 */ negu $v0, $v0 +/* D84D0 801415F0 00431023 */ subu $v0, $v0, $v1 +/* D84D4 801415F4 00441021 */ addu $v0, $v0, $a0 +/* D84D8 801415F8 44051000 */ mfc1 $a1, $f2 +/* D84DC 801415FC 44821000 */ mtc1 $v0, $f2 +/* D84E0 80141600 00000000 */ nop +/* D84E4 80141604 468010A0 */ cvt.s.w $f2, $f2 +/* D84E8 80141608 82E20044 */ lb $v0, 0x44($s7) +/* D84EC 8014160C 46001080 */ add.s $f2, $f2, $f0 +/* D84F0 80141610 44820000 */ mtc1 $v0, $f0 +/* D84F4 80141614 00000000 */ nop +/* D84F8 80141618 46800021 */ cvt.d.w $f0, $f0 +/* D84FC 8014161C 46240003 */ div.d $f0, $f0, $f4 +/* D8500 80141620 44061000 */ mfc1 $a2, $f2 +/* D8504 80141624 C7C2000C */ lwc1 $f2, 0xC($fp) +/* D8508 80141628 46200007 */ neg.d $f0, $f0 +/* D850C 8014162C 460010A1 */ cvt.d.s $f2, $f2 +/* D8510 80141630 46220000 */ add.d $f0, $f0, $f2 +/* D8514 80141634 27B401A0 */ addiu $s4, $sp, 0x1A0 +/* D8518 80141638 46200020 */ cvt.s.d $f0, $f0 +/* D851C 8014163C 44070000 */ mfc1 $a3, $f0 +/* D8520 80141640 0C0197A8 */ jal guTranslateF +/* D8524 80141644 0280202D */ daddu $a0, $s4, $zero +/* D8528 80141648 C6E20030 */ lwc1 $f2, 0x30($s7) +/* D852C 8014164C 46181102 */ mul.s $f4, $f2, $f24 +/* D8530 80141650 00000000 */ nop +/* D8534 80141654 46141082 */ mul.s $f2, $f2, $f20 +/* D8538 80141658 00000000 */ nop +/* D853C 8014165C C7C0001C */ lwc1 $f0, 0x1C($fp) +/* D8540 80141660 46002102 */ mul.s $f4, $f4, $f0 +/* D8544 80141664 00000000 */ nop +/* D8548 80141668 C7C00020 */ lwc1 $f0, 0x20($fp) +/* D854C 8014166C 3C150001 */ lui $s5, (0x12230 >> 16) +/* D8550 80141670 46001082 */ mul.s $f2, $f2, $f0 +/* D8554 80141674 00000000 */ nop +/* D8558 80141678 36B52230 */ ori $s5, $s5, (0x12230 & 0xFFFF) +/* D855C 8014167C 27B30260 */ addiu $s3, $sp, 0x260 +/* D8560 80141680 8FC70024 */ lw $a3, 0x24($fp) +/* D8564 80141684 44052000 */ mfc1 $a1, $f4 +/* D8568 80141688 44061000 */ mfc1 $a2, $f2 +/* D856C 8014168C 0C019758 */ jal guScaleF +/* D8570 80141690 0260202D */ daddu $a0, $s3, $zero +/* D8574 80141694 27B20120 */ addiu $s2, $sp, 0x120 +/* D8578 80141698 E7B60010 */ swc1 $f22, 0x10($sp) +/* D857C 8014169C 8FC50014 */ lw $a1, 0x14($fp) +/* D8580 801416A0 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* D8584 801416A4 4481A000 */ mtc1 $at, $f20 +/* D8588 801416A8 4406B000 */ mfc1 $a2, $f22 +/* D858C 801416AC 4407A000 */ mfc1 $a3, $f20 +/* D8590 801416B0 0C019828 */ jal guRotateF +/* D8594 801416B4 0240202D */ daddu $a0, $s2, $zero +/* D8598 801416B8 27B10160 */ addiu $s1, $sp, 0x160 +/* D859C 801416BC E7B40010 */ swc1 $f20, 0x10($sp) +/* D85A0 801416C0 8FC50018 */ lw $a1, 0x18($fp) +/* D85A4 801416C4 4406B000 */ mfc1 $a2, $f22 +/* D85A8 801416C8 4407B000 */ mfc1 $a3, $f22 +/* D85AC 801416CC 0C019828 */ jal guRotateF +/* D85B0 801416D0 0220202D */ daddu $a0, $s1, $zero +/* D85B4 801416D4 27B000E0 */ addiu $s0, $sp, 0xE0 +/* D85B8 801416D8 E7B60010 */ swc1 $f22, 0x10($sp) +/* D85BC 801416DC 8FC50010 */ lw $a1, 0x10($fp) +/* D85C0 801416E0 4406A000 */ mfc1 $a2, $f20 +/* D85C4 801416E4 4407B000 */ mfc1 $a3, $f22 +/* D85C8 801416E8 0C019828 */ jal guRotateF +/* D85CC 801416EC 0200202D */ daddu $a0, $s0, $zero +/* D85D0 801416F0 0220202D */ daddu $a0, $s1, $zero +/* D85D4 801416F4 0200282D */ daddu $a1, $s0, $zero +/* D85D8 801416F8 0C0196F0 */ jal guMtxCatF +/* D85DC 801416FC 27A60020 */ addiu $a2, $sp, 0x20 +/* D85E0 80141700 27A40020 */ addiu $a0, $sp, 0x20 +/* D85E4 80141704 0240282D */ daddu $a1, $s2, $zero +/* D85E8 80141708 27B000A0 */ addiu $s0, $sp, 0xA0 +/* D85EC 8014170C 0C0196F0 */ jal guMtxCatF +/* D85F0 80141710 0200302D */ daddu $a2, $s0, $zero +/* D85F4 80141714 0260202D */ daddu $a0, $s3, $zero +/* D85F8 80141718 8FA502BC */ lw $a1, 0x2BC($sp) +/* D85FC 8014171C 0C0196F0 */ jal guMtxCatF +/* D8600 80141720 27A60020 */ addiu $a2, $sp, 0x20 +/* D8604 80141724 27A40020 */ addiu $a0, $sp, 0x20 +/* D8608 80141728 0200282D */ daddu $a1, $s0, $zero +/* D860C 8014172C 27B00060 */ addiu $s0, $sp, 0x60 +/* D8610 80141730 0C0196F0 */ jal guMtxCatF +/* D8614 80141734 0200302D */ daddu $a2, $s0, $zero +/* D8618 80141738 0200202D */ daddu $a0, $s0, $zero +/* D861C 8014173C 8FA502C0 */ lw $a1, 0x2C0($sp) +/* D8620 80141740 0C0196F0 */ jal guMtxCatF +/* D8624 80141744 27A60020 */ addiu $a2, $sp, 0x20 +/* D8628 80141748 27A40020 */ addiu $a0, $sp, 0x20 +/* D862C 8014174C 0280282D */ daddu $a1, $s4, $zero +/* D8630 80141750 0C0196F0 */ jal guMtxCatF +/* D8634 80141754 0200302D */ daddu $a2, $s0, $zero +/* D8638 80141758 0200202D */ daddu $a0, $s0, $zero +/* D863C 8014175C 3C108007 */ lui $s0, %hi(gMatrixListPos) +/* D8640 80141760 26102E60 */ addiu $s0, $s0, %lo(gMatrixListPos) +/* D8644 80141764 3C11800A */ lui $s1, %hi(gDisplayContext) +/* D8648 80141768 2631924C */ addiu $s1, $s1, %lo(gDisplayContext) +/* D864C 8014176C 96050000 */ lhu $a1, 0x0($s0) +/* D8650 80141770 8E220000 */ lw $v0, 0x0($s1) +/* D8654 80141774 00052980 */ sll $a1, $a1, 6 +/* D8658 80141778 00B52821 */ addu $a1, $a1, $s5 +/* D865C 8014177C 0C0196B0 */ jal guMtxF2L +/* D8660 80141780 00452821 */ addu $a1, $v0, $a1 +/* D8664 80141784 3C06DA38 */ lui $a2, (0xDA380002 >> 16) +/* D8668 80141788 34C60002 */ ori $a2, $a2, (0xDA380002 & 0xFFFF) +/* D866C 8014178C 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* D8670 80141790 24639244 */ addiu $v1, $v1, %lo(gMasterGfxPos) +/* D8674 80141794 0000382D */ daddu $a3, $zero, $zero +/* D8678 80141798 8C620000 */ lw $v0, 0x0($v1) +/* D867C 8014179C 96040000 */ lhu $a0, 0x0($s0) +/* D8680 801417A0 0040282D */ daddu $a1, $v0, $zero +/* D8684 801417A4 24420008 */ addiu $v0, $v0, 0x8 +/* D8688 801417A8 AC620000 */ sw $v0, 0x0($v1) +/* D868C 801417AC 3082FFFF */ andi $v0, $a0, 0xFFFF +/* D8690 801417B0 00021180 */ sll $v0, $v0, 6 +/* D8694 801417B4 ACA60000 */ sw $a2, 0x0($a1) +/* D8698 801417B8 8E230000 */ lw $v1, 0x0($s1) +/* D869C 801417BC 00551021 */ addu $v0, $v0, $s5 +/* D86A0 801417C0 00621821 */ addu $v1, $v1, $v0 +/* D86A4 801417C4 3C028000 */ lui $v0, (0x80000000 >> 16) +/* D86A8 801417C8 00621821 */ addu $v1, $v1, $v0 +/* D86AC 801417CC ACA30004 */ sw $v1, 0x4($a1) +/* D86B0 801417D0 8EE30000 */ lw $v1, 0x0($s7) +/* D86B4 801417D4 24840001 */ addiu $a0, $a0, 0x1 +/* D86B8 801417D8 A6040000 */ sh $a0, 0x0($s0) +/* D86BC 801417DC 30624000 */ andi $v0, $v1, 0x4000 +/* D86C0 801417E0 00E2202B */ sltu $a0, $a3, $v0 +/* D86C4 801417E4 3C020008 */ lui $v0, (0x80000 >> 16) +/* D86C8 801417E8 00621824 */ and $v1, $v1, $v0 +/* D86CC 801417EC 24020001 */ addiu $v0, $zero, 0x1 +/* D86D0 801417F0 14820002 */ bne $a0, $v0, .LIQUE_801417FC +/* D86D4 801417F4 00E3182B */ sltu $v1, $a3, $v1 +/* D86D8 801417F8 0062382B */ sltu $a3, $v1, $v0 +.LIQUE_801417FC: +/* D86DC 801417FC 54800004 */ bnel $a0, $zero, .LIQUE_80141810 +/* D86E0 80141800 24020001 */ addiu $v0, $zero, 0x1 +/* D86E4 80141804 50620001 */ beql $v1, $v0, .LIQUE_8014180C +/* D86E8 80141808 24070002 */ addiu $a3, $zero, 0x2 +.LIQUE_8014180C: +/* D86EC 8014180C 24020001 */ addiu $v0, $zero, 0x1 +.LIQUE_80141810: +/* D86F0 80141810 14820004 */ bne $a0, $v0, .LIQUE_80141824 +/* D86F4 80141814 24020001 */ addiu $v0, $zero, 0x1 +/* D86F8 80141818 50640002 */ beql $v1, $a0, .LIQUE_80141824 +/* D86FC 8014181C 24070002 */ addiu $a3, $zero, 0x2 +/* D8700 80141820 24020001 */ addiu $v0, $zero, 0x1 +.LIQUE_80141824: +/* D8704 80141824 10E20005 */ beq $a3, $v0, .LIQUE_8014183C +/* D8708 80141828 24020002 */ addiu $v0, $zero, 0x2 +/* D870C 8014182C 10E20052 */ beq $a3, $v0, .LIQUE_80141978 +/* D8710 80141830 3C03D838 */ lui $v1, (0xD8380002 >> 16) +/* D8714 80141834 08050773 */ j .LIQUE_80141DCC +/* D8718 80141838 00000000 */ nop +.LIQUE_8014183C: +/* D871C 8014183C 8EE30000 */ lw $v1, 0x0($s7) +/* D8720 80141840 3C020002 */ lui $v0, (0x20000 >> 16) +/* D8724 80141844 00621024 */ and $v0, $v1, $v0 +/* D8728 80141848 10400013 */ beqz $v0, .LIQUE_80141898 +/* D872C 8014184C 30620020 */ andi $v0, $v1, 0x20 +/* D8730 80141850 1040000A */ beqz $v0, .LIQUE_8014187C +/* D8734 80141854 0000202D */ daddu $a0, $zero, $zero +/* D8738 80141858 24050007 */ addiu $a1, $zero, 0x7 +/* D873C 8014185C 240600FF */ addiu $a2, $zero, 0xFF +/* D8740 80141860 00C0102D */ daddu $v0, $a2, $zero +/* D8744 80141864 AFA20010 */ sw $v0, 0x10($sp) +/* D8748 80141868 92E2004A */ lbu $v0, 0x4A($s7) +/* D874C 8014186C 00C0382D */ daddu $a3, $a2, $zero +/* D8750 80141870 AFA00018 */ sw $zero, 0x18($sp) +/* D8754 80141874 08050638 */ j .LIQUE_801418E0 +/* D8758 80141878 AFA20014 */ sw $v0, 0x14($sp) +.LIQUE_8014187C: +/* D875C 8014187C 0080282D */ daddu $a1, $a0, $zero +/* D8760 80141880 0080302D */ daddu $a2, $a0, $zero +/* D8764 80141884 0080382D */ daddu $a3, $a0, $zero +/* D8768 80141888 AFA00010 */ sw $zero, 0x10($sp) +/* D876C 8014188C AFA00014 */ sw $zero, 0x14($sp) +/* D8770 80141890 08050638 */ j .LIQUE_801418E0 +/* D8774 80141894 AFA00018 */ sw $zero, 0x18($sp) +.LIQUE_80141898: +/* D8778 80141898 1040000A */ beqz $v0, .LIQUE_801418C4 +/* D877C 8014189C 24050007 */ addiu $a1, $zero, 0x7 +/* D8780 801418A0 240200FF */ addiu $v0, $zero, 0xFF +/* D8784 801418A4 AFA20010 */ sw $v0, 0x10($sp) +/* D8788 801418A8 92E2004A */ lbu $v0, 0x4A($s7) +/* D878C 801418AC 240600FF */ addiu $a2, $zero, 0xFF +/* D8790 801418B0 AFA00018 */ sw $zero, 0x18($sp) +/* D8794 801418B4 AFA20014 */ sw $v0, 0x14($sp) +/* D8798 801418B8 8FC40000 */ lw $a0, 0x0($fp) +/* D879C 801418BC 08050638 */ j .LIQUE_801418E0 +/* D87A0 801418C0 00C0382D */ daddu $a3, $a2, $zero +.LIQUE_801418C4: +/* D87A4 801418C4 0000282D */ daddu $a1, $zero, $zero +/* D87A8 801418C8 00A0302D */ daddu $a2, $a1, $zero +/* D87AC 801418CC AFA00010 */ sw $zero, 0x10($sp) +/* D87B0 801418D0 AFA00014 */ sw $zero, 0x14($sp) +/* D87B4 801418D4 AFA00018 */ sw $zero, 0x18($sp) +/* D87B8 801418D8 8FC40000 */ lw $a0, 0x0($fp) +/* D87BC 801418DC 00A0382D */ daddu $a3, $a1, $zero +.LIQUE_801418E0: +/* D87C0 801418E0 0C04E48B */ jal fold_update +/* D87C4 801418E4 00000000 */ nop +/* D87C8 801418E8 8EE20010 */ lw $v0, 0x10($s7) +/* D87CC 801418EC 8FAE02B8 */ lw $t6, 0x2B8($sp) +/* D87D0 801418F0 AFA202A0 */ sw $v0, 0x2A0($sp) +/* D87D4 801418F4 00161023 */ negu $v0, $s6 +/* D87D8 801418F8 00021FC2 */ srl $v1, $v0, 31 +/* D87DC 801418FC 00431021 */ addu $v0, $v0, $v1 +/* D87E0 80141900 8EE40014 */ lw $a0, 0x14($s7) +/* D87E4 80141904 00021043 */ sra $v0, $v0, 1 +/* D87E8 80141908 A7A202AC */ sh $v0, 0x2AC($sp) +/* D87EC 8014190C 000E17C2 */ srl $v0, $t6, 31 +/* D87F0 80141910 01C21021 */ addu $v0, $t6, $v0 +/* D87F4 80141914 97AD02BA */ lhu $t5, 0x2BA($sp) +/* D87F8 80141918 00021043 */ sra $v0, $v0, 1 +/* D87FC 8014191C A7A202AE */ sh $v0, 0x2AE($sp) +/* D8800 80141920 240200FF */ addiu $v0, $zero, 0xFF +/* D8804 80141924 A7B602A8 */ sh $s6, 0x2A8($sp) +/* D8808 80141928 A3A202B0 */ sb $v0, 0x2B0($sp) +/* D880C 8014192C A7AD02AA */ sh $t5, 0x2AA($sp) +/* D8810 80141930 AFA402A4 */ sw $a0, 0x2A4($sp) +/* D8814 80141934 8EE30000 */ lw $v1, 0x0($s7) +/* D8818 80141938 3C020002 */ lui $v0, (0x20000 >> 16) +/* D881C 8014193C 00621024 */ and $v0, $v1, $v0 +/* D8820 80141940 10400006 */ beqz $v0, .LIQUE_8014195C +/* D8824 80141944 3C020080 */ lui $v0, (0x800000 >> 16) +/* D8828 80141948 00621024 */ and $v0, $v1, $v0 +/* D882C 8014194C 14400004 */ bnez $v0, .LIQUE_80141960 +/* D8830 80141950 0000202D */ daddu $a0, $zero, $zero +/* D8834 80141954 08050659 */ j .LIQUE_80141964 +/* D8838 80141958 27A502A0 */ addiu $a1, $sp, 0x2A0 +.LIQUE_8014195C: +/* D883C 8014195C 8FC40000 */ lw $a0, 0x0($fp) +.LIQUE_80141960: +/* D8840 80141960 27A502A0 */ addiu $a1, $sp, 0x2A0 +.LIQUE_80141964: +/* D8844 80141964 24060040 */ addiu $a2, $zero, 0x40 +/* D8848 80141968 0C04E5C0 */ jal fold_appendGfx_component +/* D884C 8014196C 27A70060 */ addiu $a3, $sp, 0x60 +/* D8850 80141970 08050773 */ j .LIQUE_80141DCC +/* D8854 80141974 3C03D838 */ lui $v1, (0xD8380002 >> 16) +.LIQUE_80141978: +/* D8858 80141978 3C0AFC11 */ lui $t2, (0xFC11B223 >> 16) +/* D885C 8014197C 354AB223 */ ori $t2, $t2, (0xFC11B223 & 0xFFFF) +/* D8860 80141980 3C09FF67 */ lui $t1, (0xFF67FFFF >> 16) +/* D8864 80141984 3529FFFF */ ori $t1, $t1, (0xFF67FFFF & 0xFFFF) +/* D8868 80141988 3C078016 */ lui $a3, %hi(D_80159180) +/* D886C 8014198C 24E7B500 */ addiu $a3, $a3, %lo(D_80159180) +/* D8870 80141990 3C0C800A */ lui $t4, %hi(gMasterGfxPos) +/* D8874 80141994 258C9244 */ addiu $t4, $t4, %lo(gMasterGfxPos) +/* D8878 80141998 3C068015 */ lui $a2, %hi(D_8014F0C8) +/* D887C 8014199C 24C6D858 */ addiu $a2, $a2, %lo(D_8014F0C8) +/* D8880 801419A0 8CE50000 */ lw $a1, 0x0($a3) +/* D8884 801419A4 8D8B0000 */ lw $t3, 0x0($t4) +/* D8888 801419A8 8CE20000 */ lw $v0, 0x0($a3) +/* D888C 801419AC 8CE30000 */ lw $v1, 0x0($a3) +/* D8890 801419B0 00052980 */ sll $a1, $a1, 6 +/* D8894 801419B4 24A50030 */ addiu $a1, $a1, 0x30 +/* D8898 801419B8 03C52821 */ addu $a1, $fp, $a1 +/* D889C 801419BC 00021180 */ sll $v0, $v0, 6 +/* D88A0 801419C0 03C21021 */ addu $v0, $fp, $v0 +/* D88A4 801419C4 00031980 */ sll $v1, $v1, 6 +/* D88A8 801419C8 03C31821 */ addu $v1, $fp, $v1 +/* D88AC 801419CC 0160402D */ daddu $t0, $t3, $zero +/* D88B0 801419D0 8CCF0000 */ lw $t7, 0x0($a2) +/* D88B4 801419D4 8CD80004 */ lw $t8, 0x4($a2) +/* D88B8 801419D8 8CCD0008 */ lw $t5, 0x8($a2) +/* D88BC 801419DC 8CCE000C */ lw $t6, 0xC($a2) +/* D88C0 801419E0 AC4F0030 */ sw $t7, 0x30($v0) +/* D88C4 801419E4 AC580034 */ sw $t8, 0x34($v0) +/* D88C8 801419E8 AC4D0038 */ sw $t5, 0x38($v0) +/* D88CC 801419EC AC4E003C */ sw $t6, 0x3C($v0) +/* D88D0 801419F0 8CE40000 */ lw $a0, 0x0($a3) +/* D88D4 801419F4 256B0008 */ addiu $t3, $t3, 0x8 +/* D88D8 801419F8 8CCF0010 */ lw $t7, 0x10($a2) +/* D88DC 801419FC 8CD80014 */ lw $t8, 0x14($a2) +/* D88E0 80141A00 8CCD0018 */ lw $t5, 0x18($a2) +/* D88E4 80141A04 8CCE001C */ lw $t6, 0x1C($a2) +/* D88E8 80141A08 AC6F0040 */ sw $t7, 0x40($v1) +/* D88EC 80141A0C AC780044 */ sw $t8, 0x44($v1) +/* D88F0 80141A10 AC6D0048 */ sw $t5, 0x48($v1) +/* D88F4 80141A14 AC6E004C */ sw $t6, 0x4C($v1) +/* D88F8 80141A18 8CE20000 */ lw $v0, 0x0($a3) +/* D88FC 80141A1C 00042180 */ sll $a0, $a0, 6 +/* D8900 80141A20 03C42021 */ addu $a0, $fp, $a0 +/* D8904 80141A24 00021180 */ sll $v0, $v0, 6 +/* D8908 80141A28 03C21021 */ addu $v0, $fp, $v0 +/* D890C 80141A2C 8CCF0020 */ lw $t7, 0x20($a2) +/* D8910 80141A30 8CD80024 */ lw $t8, 0x24($a2) +/* D8914 80141A34 8CCD0028 */ lw $t5, 0x28($a2) +/* D8918 80141A38 8CCE002C */ lw $t6, 0x2C($a2) +/* D891C 80141A3C AC8F0050 */ sw $t7, 0x50($a0) +/* D8920 80141A40 AC980054 */ sw $t8, 0x54($a0) +/* D8924 80141A44 AC8D0058 */ sw $t5, 0x58($a0) +/* D8928 80141A48 AC8E005C */ sw $t6, 0x5C($a0) +/* D892C 80141A4C 8CCF0030 */ lw $t7, 0x30($a2) +/* D8930 80141A50 8CD80034 */ lw $t8, 0x34($a2) +/* D8934 80141A54 8CCD0038 */ lw $t5, 0x38($a2) +/* D8938 80141A58 8CCE003C */ lw $t6, 0x3C($a2) +/* D893C 80141A5C AC4F0060 */ sw $t7, 0x60($v0) +/* D8940 80141A60 AC580064 */ sw $t8, 0x64($v0) +/* D8944 80141A64 AC4D0068 */ sw $t5, 0x68($v0) +/* D8948 80141A68 AC4E006C */ sw $t6, 0x6C($v0) +/* D894C 80141A6C 00163023 */ negu $a2, $s6 +/* D8950 80141A70 000617C2 */ srl $v0, $a2, 31 +/* D8954 80141A74 00C23021 */ addu $a2, $a2, $v0 +/* D8958 80141A78 00063043 */ sra $a2, $a2, 1 +/* D895C 80141A7C A4A60000 */ sh $a2, 0x0($a1) +/* D8960 80141A80 8FAF02B8 */ lw $t7, 0x2B8($sp) +/* D8964 80141A84 00A0202D */ daddu $a0, $a1, $zero +/* D8968 80141A88 A4A00004 */ sh $zero, 0x4($a1) +/* D896C 80141A8C A4A00008 */ sh $zero, 0x8($a1) +/* D8970 80141A90 000F1823 */ negu $v1, $t7 +/* D8974 80141A94 000317C2 */ srl $v0, $v1, 31 +/* D8978 80141A98 00621821 */ addu $v1, $v1, $v0 +/* D897C 80141A9C 00031843 */ sra $v1, $v1, 1 +/* D8980 80141AA0 000F3940 */ sll $a3, $t7, 5 +/* D8984 80141AA4 A4A30002 */ sh $v1, 0x2($a1) +/* D8988 80141AA8 A4A7000A */ sh $a3, 0xA($a1) +/* D898C 80141AAC 24A50010 */ addiu $a1, $a1, 0x10 +/* D8990 80141AB0 001617C2 */ srl $v0, $s6, 31 +/* D8994 80141AB4 02C21021 */ addu $v0, $s6, $v0 +/* D8998 80141AB8 00021043 */ sra $v0, $v0, 1 +/* D899C 80141ABC 2442FFFF */ addiu $v0, $v0, -0x1 +/* D89A0 80141AC0 A4A30002 */ sh $v1, 0x2($a1) +/* D89A4 80141AC4 00161940 */ sll $v1, $s6, 5 +/* D89A8 80141AC8 A4A20000 */ sh $v0, 0x0($a1) +/* D89AC 80141ACC A4A00004 */ sh $zero, 0x4($a1) +/* D89B0 80141AD0 A4A30008 */ sh $v1, 0x8($a1) +/* D89B4 80141AD4 A4A7000A */ sh $a3, 0xA($a1) +/* D89B8 80141AD8 A4820020 */ sh $v0, 0x20($a0) +/* D89BC 80141ADC 000F17C2 */ srl $v0, $t7, 31 +/* D89C0 80141AE0 01E21021 */ addu $v0, $t7, $v0 +/* D89C4 80141AE4 00021043 */ sra $v0, $v0, 1 +/* D89C8 80141AE8 2442FFFF */ addiu $v0, $v0, -0x1 +/* D89CC 80141AEC A4820022 */ sh $v0, 0x22($a0) +/* D89D0 80141AF0 A4820032 */ sh $v0, 0x32($a0) +/* D89D4 80141AF4 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* D89D8 80141AF8 A4800024 */ sh $zero, 0x24($a0) +/* D89DC 80141AFC A4830028 */ sh $v1, 0x28($a0) +/* D89E0 80141B00 A480002A */ sh $zero, 0x2A($a0) +/* D89E4 80141B04 A4860030 */ sh $a2, 0x30($a0) +/* D89E8 80141B08 A4800034 */ sh $zero, 0x34($a0) +/* D89EC 80141B0C A4800038 */ sh $zero, 0x38($a0) +/* D89F0 80141B10 A480003A */ sh $zero, 0x3A($a0) +/* D89F4 80141B14 AD8B0000 */ sw $t3, 0x0($t4) +/* D89F8 80141B18 AD020000 */ sw $v0, 0x0($t0) +/* D89FC 80141B1C 25620008 */ addiu $v0, $t3, 0x8 +/* D8A00 80141B20 AD000004 */ sw $zero, 0x4($t0) +/* D8A04 80141B24 AD820000 */ sw $v0, 0x0($t4) +/* D8A08 80141B28 25620010 */ addiu $v0, $t3, 0x10 +/* D8A0C 80141B2C AD6A0000 */ sw $t2, 0x0($t3) +/* D8A10 80141B30 AD690004 */ sw $t1, 0x4($t3) +/* D8A14 80141B34 AD820000 */ sw $v0, 0x0($t4) +/* D8A18 80141B38 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* D8A1C 80141B3C AD620008 */ sw $v0, 0x8($t3) +/* D8A20 80141B40 92E2004B */ lbu $v0, 0x4B($s7) +/* D8A24 80141B44 92E3004C */ lbu $v1, 0x4C($s7) +/* D8A28 80141B48 92E4004D */ lbu $a0, 0x4D($s7) +/* D8A2C 80141B4C 00021600 */ sll $v0, $v0, 24 +/* D8A30 80141B50 00031C00 */ sll $v1, $v1, 16 +/* D8A34 80141B54 00431025 */ or $v0, $v0, $v1 +/* D8A38 80141B58 00042200 */ sll $a0, $a0, 8 +/* D8A3C 80141B5C 92E3004A */ lbu $v1, 0x4A($s7) +/* D8A40 80141B60 00441025 */ or $v0, $v0, $a0 +/* D8A44 80141B64 00431025 */ or $v0, $v0, $v1 +/* D8A48 80141B68 AD62000C */ sw $v0, 0xC($t3) +/* D8A4C 80141B6C 8EE30000 */ lw $v1, 0x0($s7) +/* D8A50 80141B70 30620020 */ andi $v0, $v1, 0x20 +/* D8A54 80141B74 1440000C */ bnez $v0, .LIQUE_80141BA8 +/* D8A58 80141B78 3C020080 */ lui $v0, (0x800000 >> 16) +/* D8A5C 80141B7C 00621024 */ and $v0, $v1, $v0 +/* D8A60 80141B80 14400005 */ bnez $v0, .LIQUE_80141B98 +/* D8A64 80141B84 3C04E200 */ lui $a0, (0xE200001C >> 16) +/* D8A68 80141B88 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* D8A6C 80141B8C 3C030F0A */ lui $v1, (0xF0A7008 >> 16) +/* D8A70 80141B90 080506F4 */ j .LIQUE_80141BD0 +/* D8A74 80141B94 34637008 */ ori $v1, $v1, (0xF0A7008 & 0xFFFF) +.LIQUE_80141B98: +/* D8A78 80141B98 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* D8A7C 80141B9C 3C030055 */ lui $v1, (0x553048 >> 16) +/* D8A80 80141BA0 080506F4 */ j .LIQUE_80141BD0 +/* D8A84 80141BA4 34633048 */ ori $v1, $v1, (0x553048 & 0xFFFF) +.LIQUE_80141BA8: +/* D8A88 80141BA8 00621024 */ and $v0, $v1, $v0 +/* D8A8C 80141BAC 14400005 */ bnez $v0, .LIQUE_80141BC4 +/* D8A90 80141BB0 3C04E200 */ lui $a0, (0xE200001C >> 16) +/* D8A94 80141BB4 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* D8A98 80141BB8 3C030050 */ lui $v1, (0x504340 >> 16) +/* D8A9C 80141BBC 080506F4 */ j .LIQUE_80141BD0 +/* D8AA0 80141BC0 34634340 */ ori $v1, $v1, (0x504340 & 0xFFFF) +.LIQUE_80141BC4: +/* D8AA4 80141BC4 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* D8AA8 80141BC8 3C030050 */ lui $v1, (0x504348 >> 16) +/* D8AAC 80141BCC 34634348 */ ori $v1, $v1, (0x504348 & 0xFFFF) +.LIQUE_80141BD0: +/* D8AB0 80141BD0 25620018 */ addiu $v0, $t3, 0x18 +/* D8AB4 80141BD4 AD820000 */ sw $v0, 0x0($t4) +/* D8AB8 80141BD8 AD640010 */ sw $a0, 0x10($t3) +/* D8ABC 80141BDC AD630014 */ sw $v1, 0x14($t3) +/* D8AC0 80141BE0 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* D8AC4 80141BE4 24639244 */ addiu $v1, $v1, %lo(gMasterGfxPos) +/* D8AC8 80141BE8 02C0382D */ daddu $a3, $s6, $zero +/* D8ACC 80141BEC 3C02FD70 */ lui $v0, (0xFD700000 >> 16) +/* D8AD0 80141BF0 8C660000 */ lw $a2, 0x0($v1) +/* D8AD4 80141BF4 3C080700 */ lui $t0, (0x7000000 >> 16) +/* D8AD8 80141BF8 00C0282D */ daddu $a1, $a2, $zero +/* D8ADC 80141BFC 24C60008 */ addiu $a2, $a2, 0x8 +/* D8AE0 80141C00 AC660000 */ sw $a2, 0x0($v1) +/* D8AE4 80141C04 ACA20000 */ sw $v0, 0x0($a1) +/* D8AE8 80141C08 24C20008 */ addiu $v0, $a2, 0x8 +/* D8AEC 80141C0C AC620000 */ sw $v0, 0x0($v1) +/* D8AF0 80141C10 24C20010 */ addiu $v0, $a2, 0x10 +/* D8AF4 80141C14 AC620000 */ sw $v0, 0x0($v1) +/* D8AF8 80141C18 8EE40010 */ lw $a0, 0x10($s7) +/* D8AFC 80141C1C 24C20018 */ addiu $v0, $a2, 0x18 +/* D8B00 80141C20 AC620000 */ sw $v0, 0x0($v1) +/* D8B04 80141C24 3C02F570 */ lui $v0, (0xF5700000 >> 16) +/* D8B08 80141C28 ACA40004 */ sw $a0, 0x4($a1) +/* D8B0C 80141C2C ACC20000 */ sw $v0, 0x0($a2) +/* D8B10 80141C30 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* D8B14 80141C34 ACC20008 */ sw $v0, 0x8($a2) +/* D8B18 80141C38 3C02F300 */ lui $v0, (0xF3000000 >> 16) +/* D8B1C 80141C3C ACC80004 */ sw $t0, 0x4($a2) +/* D8B20 80141C40 ACC0000C */ sw $zero, 0xC($a2) +/* D8B24 80141C44 06C10002 */ bgez $s6, .LIQUE_80141C50 +/* D8B28 80141C48 ACC20010 */ sw $v0, 0x10($a2) +/* D8B2C 80141C4C 26C70007 */ addiu $a3, $s6, 0x7 +.LIQUE_80141C50: +/* D8B30 80141C50 000728C3 */ sra $a1, $a3, 3 +/* D8B34 80141C54 18A00002 */ blez $a1, .LIQUE_80141C60 +/* D8B38 80141C58 24030800 */ addiu $v1, $zero, 0x800 +/* D8B3C 80141C5C 24A307FF */ addiu $v1, $a1, 0x7FF +.LIQUE_80141C60: +/* D8B40 80141C60 8FAD02B8 */ lw $t5, 0x2B8($sp) +/* D8B44 80141C64 02CD0018 */ mult $s6, $t5 +/* D8B48 80141C68 00007012 */ mflo $t6 +/* D8B4C 80141C6C 25C20001 */ addiu $v0, $t6, 0x1 +/* D8B50 80141C70 00021043 */ sra $v0, $v0, 1 +/* D8B54 80141C74 2444FFFF */ addiu $a0, $v0, -0x1 +/* D8B58 80141C78 28820800 */ slti $v0, $a0, 0x800 +/* D8B5C 80141C7C 50400001 */ beql $v0, $zero, .LIQUE_80141C84 +/* D8B60 80141C80 240407FF */ addiu $a0, $zero, 0x7FF +.LIQUE_80141C84: +/* D8B64 80141C84 30820FFF */ andi $v0, $a0, 0xFFF +/* D8B68 80141C88 00021300 */ sll $v0, $v0, 12 +/* D8B6C 80141C8C 18A0000D */ blez $a1, .LIQUE_80141CC4 +/* D8B70 80141C90 00482025 */ or $a0, $v0, $t0 +/* D8B74 80141C94 14A00002 */ bnez $a1, .LIQUE_80141CA0 +/* D8B78 80141C98 0065001A */ div $zero, $v1, $a1 +/* D8B7C 80141C9C 0007000D */ break 7 +.LIQUE_80141CA0: +/* D8B80 80141CA0 2401FFFF */ addiu $at, $zero, -0x1 +/* D8B84 80141CA4 14A10004 */ bne $a1, $at, .LIQUE_80141CB8 +/* D8B88 80141CA8 3C018000 */ lui $at, (0x80000000 >> 16) +/* D8B8C 80141CAC 14610002 */ bne $v1, $at, .LIQUE_80141CB8 +/* D8B90 80141CB0 00000000 */ nop +/* D8B94 80141CB4 0006000D */ break 6 +.LIQUE_80141CB8: +/* D8B98 80141CB8 00001012 */ mflo $v0 +/* D8B9C 80141CBC 08050732 */ j .LIQUE_80141CC8 +/* D8BA0 80141CC0 30420FFF */ andi $v0, $v0, 0xFFF +.LIQUE_80141CC4: +/* D8BA4 80141CC4 30620FFF */ andi $v0, $v1, 0xFFF +.LIQUE_80141CC8: +/* D8BA8 80141CC8 00821025 */ or $v0, $a0, $v0 +/* D8BAC 80141CCC ACC20014 */ sw $v0, 0x14($a2) +/* D8BB0 80141CD0 3C06E300 */ lui $a2, (0xE3001001 >> 16) +/* D8BB4 80141CD4 34C61001 */ ori $a2, $a2, (0xE3001001 & 0xFFFF) +/* D8BB8 80141CD8 3C070100 */ lui $a3, (0x1004008 >> 16) +/* D8BBC 80141CDC 34E74008 */ ori $a3, $a3, (0x1004008 & 0xFFFF) +/* D8BC0 80141CE0 3C080500 */ lui $t0, (0x5000204 >> 16) +/* D8BC4 80141CE4 35080204 */ ori $t0, $t0, (0x5000204 & 0xFFFF) +/* D8BC8 80141CE8 3C090500 */ lui $t1, (0x5000406 >> 16) +/* D8BCC 80141CEC 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* D8BD0 80141CF0 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* D8BD4 80141CF4 35290406 */ ori $t1, $t1, (0x5000406 & 0xFFFF) +/* D8BD8 80141CF8 8CA40000 */ lw $a0, 0x0($a1) +/* D8BDC 80141CFC 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* D8BE0 80141D00 0080182D */ daddu $v1, $a0, $zero +/* D8BE4 80141D04 24840008 */ addiu $a0, $a0, 0x8 +/* D8BE8 80141D08 ACA40000 */ sw $a0, 0x0($a1) +/* D8BEC 80141D0C AC620000 */ sw $v0, 0x0($v1) +/* D8BF0 80141D10 24820008 */ addiu $v0, $a0, 0x8 +/* D8BF4 80141D14 AC600004 */ sw $zero, 0x4($v1) +/* D8BF8 80141D18 ACA20000 */ sw $v0, 0x0($a1) +/* D8BFC 80141D1C 26C20007 */ addiu $v0, $s6, 0x7 +/* D8C00 80141D20 000210C3 */ sra $v0, $v0, 3 +/* D8C04 80141D24 304201FF */ andi $v0, $v0, 0x1FF +/* D8C08 80141D28 00021240 */ sll $v0, $v0, 9 +/* D8C0C 80141D2C 3C03F568 */ lui $v1, (0xF5680000 >> 16) +/* D8C10 80141D30 00431025 */ or $v0, $v0, $v1 +/* D8C14 80141D34 AC820000 */ sw $v0, 0x0($a0) +/* D8C18 80141D38 24820010 */ addiu $v0, $a0, 0x10 +/* D8C1C 80141D3C AC800004 */ sw $zero, 0x4($a0) +/* D8C20 80141D40 ACA20000 */ sw $v0, 0x0($a1) +/* D8C24 80141D44 3C02F200 */ lui $v0, (0xF2000000 >> 16) +/* D8C28 80141D48 26C3FFFF */ addiu $v1, $s6, -0x1 +/* D8C2C 80141D4C 00031880 */ sll $v1, $v1, 2 +/* D8C30 80141D50 30630FFF */ andi $v1, $v1, 0xFFF +/* D8C34 80141D54 AC820008 */ sw $v0, 0x8($a0) +/* D8C38 80141D58 8FAD02B8 */ lw $t5, 0x2B8($sp) +/* D8C3C 80141D5C 00031B00 */ sll $v1, $v1, 12 +/* D8C40 80141D60 25A2FFFF */ addiu $v0, $t5, -0x1 +/* D8C44 80141D64 00021080 */ sll $v0, $v0, 2 +/* D8C48 80141D68 30420FFF */ andi $v0, $v0, 0xFFF +/* D8C4C 80141D6C 00621825 */ or $v1, $v1, $v0 +/* D8C50 80141D70 24820018 */ addiu $v0, $a0, 0x18 +/* D8C54 80141D74 AC83000C */ sw $v1, 0xC($a0) +/* D8C58 80141D78 ACA20000 */ sw $v0, 0x0($a1) +/* D8C5C 80141D7C 3C028016 */ lui $v0, %hi(D_80159180) +/* D8C60 80141D80 8C42B500 */ lw $v0, %lo(D_80159180)($v0) +/* D8C64 80141D84 24830020 */ addiu $v1, $a0, 0x20 +/* D8C68 80141D88 AC860010 */ sw $a2, 0x10($a0) +/* D8C6C 80141D8C AC800014 */ sw $zero, 0x14($a0) +/* D8C70 80141D90 ACA30000 */ sw $v1, 0x0($a1) +/* D8C74 80141D94 AC870018 */ sw $a3, 0x18($a0) +/* D8C78 80141D98 00021180 */ sll $v0, $v0, 6 +/* D8C7C 80141D9C 24420030 */ addiu $v0, $v0, 0x30 +/* D8C80 80141DA0 03C21021 */ addu $v0, $fp, $v0 +/* D8C84 80141DA4 AC82001C */ sw $v0, 0x1C($a0) +/* D8C88 80141DA8 24820028 */ addiu $v0, $a0, 0x28 +/* D8C8C 80141DAC ACA20000 */ sw $v0, 0x0($a1) +/* D8C90 80141DB0 24820030 */ addiu $v0, $a0, 0x30 +/* D8C94 80141DB4 AC880020 */ sw $t0, 0x20($a0) +/* D8C98 80141DB8 AC800024 */ sw $zero, 0x24($a0) +/* D8C9C 80141DBC ACA20000 */ sw $v0, 0x0($a1) +/* D8CA0 80141DC0 AC890028 */ sw $t1, 0x28($a0) +/* D8CA4 80141DC4 AC80002C */ sw $zero, 0x2C($a0) +/* D8CA8 80141DC8 3C03D838 */ lui $v1, (0xD8380002 >> 16) +.LIQUE_80141DCC: +/* D8CAC 80141DCC 3C04800A */ lui $a0, %hi(gMasterGfxPos) +/* D8CB0 80141DD0 24849244 */ addiu $a0, $a0, %lo(gMasterGfxPos) +/* D8CB4 80141DD4 8C820000 */ lw $v0, 0x0($a0) +/* D8CB8 80141DD8 34630002 */ ori $v1, $v1, (0xD8380002 & 0xFFFF) +/* D8CBC 80141DDC 0040282D */ daddu $a1, $v0, $zero +/* D8CC0 80141DE0 24420008 */ addiu $v0, $v0, 0x8 +/* D8CC4 80141DE4 AC820000 */ sw $v0, 0x0($a0) +/* D8CC8 80141DE8 ACA30000 */ sw $v1, 0x0($a1) +/* D8CCC 80141DEC 24030040 */ addiu $v1, $zero, 0x40 +/* D8CD0 80141DF0 ACA30004 */ sw $v1, 0x4($a1) +/* D8CD4 80141DF4 24430008 */ addiu $v1, $v0, 0x8 +/* D8CD8 80141DF8 AC830000 */ sw $v1, 0x0($a0) +/* D8CDC 80141DFC 3C03E700 */ lui $v1, (0xE7000000 >> 16) +/* D8CE0 80141E00 AC430000 */ sw $v1, 0x0($v0) +/* D8CE4 80141E04 AC400004 */ sw $zero, 0x4($v0) +/* D8CE8 80141E08 8FBF02EC */ lw $ra, 0x2EC($sp) +/* D8CEC 80141E0C 8FBE02E8 */ lw $fp, 0x2E8($sp) +/* D8CF0 80141E10 8FB702E4 */ lw $s7, 0x2E4($sp) +/* D8CF4 80141E14 8FB602E0 */ lw $s6, 0x2E0($sp) +/* D8CF8 80141E18 8FB502DC */ lw $s5, 0x2DC($sp) +/* D8CFC 80141E1C 8FB402D8 */ lw $s4, 0x2D8($sp) +/* D8D00 80141E20 8FB302D4 */ lw $s3, 0x2D4($sp) +/* D8D04 80141E24 8FB202D0 */ lw $s2, 0x2D0($sp) +/* D8D08 80141E28 8FB102CC */ lw $s1, 0x2CC($sp) +/* D8D0C 80141E2C 8FB002C8 */ lw $s0, 0x2C8($sp) +/* D8D10 80141E30 D7B80300 */ ldc1 $f24, 0x300($sp) +/* D8D14 80141E34 D7B602F8 */ ldc1 $f22, 0x2F8($sp) +/* D8D18 80141E38 D7B402F0 */ ldc1 $f20, 0x2F0($sp) +/* D8D1C 80141E3C 03E00008 */ jr $ra +/* D8D20 80141E40 27BD0308 */ addiu $sp, $sp, 0x308 diff --git a/ver/cn/asm/nonmatchings/msg/appendGfx_message.s b/ver/cn/asm/nonmatchings/msg/appendGfx_message.s new file mode 100644 index 0000000000..ae70c727d8 --- /dev/null +++ b/ver/cn/asm/nonmatchings/msg/appendGfx_message.s @@ -0,0 +1,4934 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +.section .rodata +.align 3 +glabel jtbl_IQUE_8014EEC0 +/* E5DA0 8014EEC0 80126368 */ .word .LIQUE_80126368 +/* E5DA4 8014EEC4 801263F8 */ .word .LIQUE_801263F8 +/* E5DA8 8014EEC8 801263F8 */ .word .LIQUE_801263F8 +/* E5DAC 8014EECC 801263F8 */ .word .LIQUE_801263F8 +/* E5DB0 8014EED0 801263F8 */ .word .LIQUE_801263F8 +/* E5DB4 8014EED4 80126424 */ .word .LIQUE_80126424 +/* E5DB8 8014EED8 80126424 */ .word .LIQUE_80126424 +/* E5DBC 8014EEDC 80126424 */ .word .LIQUE_80126424 +/* E5DC0 8014EEE0 80126480 */ .word .LIQUE_80126480 +/* E5DC4 8014EEE4 80128EA8 */ .word .LIQUE_80128EA8 +/* E5DC8 8014EEE8 80127F90 */ .word .LIQUE_80127F90 +/* E5DCC 8014EEEC 801280AC */ .word .LIQUE_801280AC +/* E5DD0 8014EEF0 80128E94 */ .word .LIQUE_80128E94 +/* E5DD4 8014EEF4 80128E94 */ .word .LIQUE_80128E94 +/* E5DD8 8014EEF8 80128E94 */ .word .LIQUE_80128E94 +/* E5DDC 8014EEFC 801280B8 */ .word .LIQUE_801280B8 + +.align 3 +glabel jtbl_IQUE_8014EF00 +/* E5DE0 8014EF00 801264BC */ .word .LIQUE_801264BC +/* E5DE4 8014EF04 801264D0 */ .word .LIQUE_801264D0 +/* E5DE8 8014EF08 801264D0 */ .word .LIQUE_801264D0 +/* E5DEC 8014EF0C 801264D0 */ .word .LIQUE_801264D0 +/* E5DF0 8014EF10 80126D70 */ .word .LIQUE_80126D70 +/* E5DF4 8014EF14 8012711C */ .word .LIQUE_8012711C +/* E5DF8 8014EF18 80127328 */ .word .LIQUE_80127328 +/* E5DFC 8014EF1C 80127328 */ .word .LIQUE_80127328 +/* E5E00 8014EF20 80127BA0 */ .word .LIQUE_80127BA0 +/* E5E04 8014EF24 80127E0C */ .word .LIQUE_80127E0C +/* E5E08 8014EF28 80127E0C */ .word .LIQUE_80127E0C +/* E5E0C 8014EF2C 8012711C */ .word .LIQUE_8012711C +/* E5E10 8014EF30 8012711C */ .word .LIQUE_8012711C +/* E5E14 8014EF34 80127EF4 */ .word .LIQUE_80127EF4 +/* E5E18 8014EF38 8012711C */ .word .LIQUE_8012711C +/* E5E1C 8014EF3C 00000000 */ .word 0x00000000 + +glabel D_IQUE_8014EF40 +/* E5E20 8014EF40 3FD6666666666666 */ .double 0.349999999999999978 + +glabel D_IQUE_8014EF48 +/* E5E28 8014EF48 3FC1111111111111 */ .double 0.133333333333333331 + +glabel D_IQUE_8014EF50 +/* E5E30 8014EF50 3FC999999999999A */ .double 0.200000000000000011 + +glabel D_IQUE_8014EF58 +/* E5E38 8014EF58 406FE00000000000 */ .double 255 + +glabel D_IQUE_8014EF60 +/* E5E40 8014EF60 3FE3333333333333 */ .double 0.599999999999999978 + +glabel D_IQUE_8014EF68 +/* E5E48 8014EF68 3FE3333333333333 */ .double 0.599999999999999978 + +.align 3 +glabel jtbl_IQUE_8014EF70 +/* E5E50 8014EF70 801280F8 */ .word .LIQUE_801280F8 +/* E5E54 8014EF74 80128130 */ .word .LIQUE_80128130 +/* E5E58 8014EF78 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5E5C 8014EF7C 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5E60 8014EF80 8012815C */ .word .LIQUE_8012815C +/* E5E64 8014EF84 80128194 */ .word .LIQUE_80128194 +/* E5E68 8014EF88 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5E6C 8014EF8C 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5E70 8014EF90 801281B4 */ .word .LIQUE_801281B4 +/* E5E74 8014EF94 801281EC */ .word .LIQUE_801281EC +/* E5E78 8014EF98 80128210 */ .word .LIQUE_80128210 +/* E5E7C 8014EF9C 80128244 */ .word .LIQUE_80128244 +/* E5E80 8014EFA0 80128270 */ .word .LIQUE_80128270 +/* E5E84 8014EFA4 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5E88 8014EFA8 801282A4 */ .word .LIQUE_801282A4 +/* E5E8C 8014EFAC 801283F8 */ .word .LIQUE_801283F8 +/* E5E90 8014EFB0 8012854C */ .word .LIQUE_8012854C +/* E5E94 8014EFB4 80128680 */ .word .LIQUE_80128680 +/* E5E98 8014EFB8 8012887C */ .word .LIQUE_8012887C +/* E5E9C 8014EFBC 80128E7C */ .word .LIQUE_80128E7C +/* E5EA0 8014EFC0 80128894 */ .word .LIQUE_80128894 +/* E5EA4 8014EFC4 80128910 */ .word .LIQUE_80128910 +/* E5EA8 8014EFC8 80128964 */ .word .LIQUE_80128964 +/* E5EAC 8014EFCC 80128984 */ .word .LIQUE_80128984 +/* E5EB0 8014EFD0 80128994 */ .word .LIQUE_80128994 +/* E5EB4 8014EFD4 801289BC */ .word .LIQUE_801289BC +/* E5EB8 8014EFD8 801289E4 */ .word .LIQUE_801289E4 +/* E5EBC 8014EFDC 801289F8 */ .word .LIQUE_801289F8 +/* E5EC0 8014EFE0 80128A18 */ .word .LIQUE_80128A18 +/* E5EC4 8014EFE4 80128C98 */ .word .LIQUE_80128C98 +/* E5EC8 8014EFE8 80128E10 */ .word .LIQUE_80128E10 +/* E5ECC 8014EFEC 00000000 */ .word 0x00000000 + +glabel D_IQUE_8014EFF0 +/* E5ED0 8014EFF0 3FE6666666666666 */ .double 0.699999999999999956 + +glabel D_IQUE_8014EFF8 +/* E5ED8 8014EFF8 3FE6666666666666 */ .double 0.699999999999999956 + +glabel D_IQUE_8014F000 +/* E5EE0 8014F000 3FE6666666666666 */ .double 0.699999999999999956 + +.align 3 +glabel jtbl_IQUE_8014F008 +/* E5EE8 8014F008 80128A50 */ .word .LIQUE_80128A50 +/* E5EEC 8014F00C 80128A68 */ .word .LIQUE_80128A68 +/* E5EF0 8014F010 80128A80 */ .word .LIQUE_80128A80 +/* E5EF4 8014F014 80128AD0 */ .word .LIQUE_80128AD0 +/* E5EF8 8014F018 8012A3A8 */ .word .LIQUE_8012A3A8 +/* E5EFC 8014F01C 80128B64 */ .word .LIQUE_80128B64 +/* E5F00 8014F020 80128B98 */ .word .LIQUE_80128B98 +/* E5F04 8014F024 80128BB0 */ .word .LIQUE_80128BB0 +/* E5F08 8014F028 80128BE4 */ .word .LIQUE_80128BE4 +/* E5F0C 8014F02C 80128BFC */ .word .LIQUE_80128BFC +/* E5F10 8014F030 80128C14 */ .word .LIQUE_80128C14 +/* E5F14 8014F034 80128C2C */ .word .LIQUE_80128C2C +/* E5F18 8014F038 80128C44 */ .word .LIQUE_80128C44 +/* E5F1C 8014F03C 80128C5C */ .word .LIQUE_80128C5C +/* E5F20 8014F040 80128C74 */ .word .LIQUE_80128C74 +/* E5F24 8014F044 00000000 */ .word 0x00000000 + +.align 3 +glabel jtbl_IQUE_8014F048 +/* E5F28 8014F048 80128CD0 */ .word .LIQUE_80128CD0 +/* E5F2C 8014F04C 80128CE4 */ .word .LIQUE_80128CE4 +/* E5F30 8014F050 80128CF8 */ .word .LIQUE_80128CF8 +/* E5F34 8014F054 80128D0C */ .word .LIQUE_80128D0C +/* E5F38 8014F058 80128E7C */ .word .LIQUE_80128E7C +/* E5F3C 8014F05C 80128D24 */ .word .LIQUE_80128D24 +/* E5F40 8014F060 80128D38 */ .word .LIQUE_80128D38 +/* E5F44 8014F064 80128D48 */ .word .LIQUE_80128D48 +/* E5F48 8014F068 80128D5C */ .word .LIQUE_80128D5C +/* E5F4C 8014F06C 80128D70 */ .word .LIQUE_80128D70 +/* E5F50 8014F070 80128D98 */ .word .LIQUE_80128D98 +/* E5F54 8014F074 80128DAC */ .word .LIQUE_80128DAC +/* E5F58 8014F078 80128DC0 */ .word .LIQUE_80128DC0 +/* E5F5C 8014F07C 80128DD4 */ .word .LIQUE_80128DD4 +/* E5F60 8014F080 80128DF0 */ .word .LIQUE_80128DF0 +/* E5F64 8014F084 00000000 */ .word 0x00000000 + +glabel D_IQUE_8014F088 +/* E5F68 8014F088 3FD6666666666666 */ .double 0.349999999999999978 + +glabel D_IQUE_8014F090 +/* E5F70 8014F090 4046800000000000 */ .double 45 + +glabel D_IQUE_8014F098 +/* E5F78 8014F098 3FF999999999999A */ .double 1.60000000000000009 + +glabel D_IQUE_8014F0A0 +/* E5F80 8014F0A0 4066800000000000 */ .double 180 + +glabel D_IQUE_8014F0A8 +/* E5F88 8014F0A8 4056800000000000 */ .double 90 + +glabel D_IQUE_8014F0B0 +/* E5F90 8014F0B0 3FF999999999999A */ .double 1.60000000000000009 + +glabel D_IQUE_8014F0B8 +/* E5F98 8014F0B8 4066800000000000 */ .double 180 + +glabel D_IQUE_8014F0C0 +/* E5FA0 8014F0C0 4056800000000000 */ .double 90 + +glabel D_IQUE_8014F0C8 +/* E5FA8 8014F0C8 406FE00000000000 */ .double 255 + +glabel D_IQUE_8014F0D0 +/* E5FB0 8014F0D0 3FFB333333333333 */ .double 1.69999999999999996 + +glabel D_IQUE_8014F0D8 +/* E5FB8 8014F0D8 3FF6666666666666 */ .double 1.39999999999999991 + +glabel D_IQUE_8014F0E0 +/* E5FC0 8014F0E0 3FF3333333333333 */ .double 1.19999999999999996 + +glabel D_IQUE_8014F0E8 +/* E5FC8 8014F0E8 3FD3333333333333 */ .double 0.299999999999999989 + +.align 3 +glabel jtbl_IQUE_8014F0F0 +/* E5FD0 8014F0F0 80129FB4 */ .word .LIQUE_80129FB4 +/* E5FD4 8014F0F4 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FD8 8014F0F8 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FDC 8014F0FC 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FE0 8014F100 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FE4 8014F104 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FE8 8014F108 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FEC 8014F10C 80129FB4 */ .word .LIQUE_80129FB4 +/* E5FF0 8014F110 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FF4 8014F114 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FF8 8014F118 80129FB0 */ .word .LIQUE_80129FB0 +/* E5FFC 8014F11C 80129FB0 */ .word .LIQUE_80129FB0 +/* E6000 8014F120 80129FB0 */ .word .LIQUE_80129FB0 +/* E6004 8014F124 80129FB0 */ .word .LIQUE_80129FB0 +/* E6008 8014F128 80129FB0 */ .word .LIQUE_80129FB0 +/* E600C 8014F12C 80129FB0 */ .word .LIQUE_80129FB0 +/* E6010 8014F130 80129FB4 */ .word .LIQUE_80129FB4 +/* E6014 8014F134 80129FB4 */ .word .LIQUE_80129FB4 +/* E6018 8014F138 80129FB4 */ .word .LIQUE_80129FB4 +/* E601C 8014F13C 80129FB4 */ .word .LIQUE_80129FB4 +/* E6020 8014F140 80129FB4 */ .word .LIQUE_80129FB4 +/* E6024 8014F144 80129FB0 */ .word .LIQUE_80129FB0 +/* E6028 8014F148 80129FB0 */ .word .LIQUE_80129FB0 +/* E602C 8014F14C 80129FB0 */ .word .LIQUE_80129FB0 +/* E6030 8014F150 80129FB0 */ .word .LIQUE_80129FB0 +/* E6034 8014F154 80129FB0 */ .word .LIQUE_80129FB0 +/* E6038 8014F158 80129FB0 */ .word .LIQUE_80129FB0 +/* E603C 8014F15C 80129FB0 */ .word .LIQUE_80129FB0 +/* E6040 8014F160 80129FB0 */ .word .LIQUE_80129FB0 +/* E6044 8014F164 80129FB0 */ .word .LIQUE_80129FB0 +/* E6048 8014F168 80129FB0 */ .word .LIQUE_80129FB0 +/* E604C 8014F16C 80129FB0 */ .word .LIQUE_80129FB0 +/* E6050 8014F170 80129F90 */ .word .LIQUE_80129F90 +/* E6054 8014F174 80129FB0 */ .word .LIQUE_80129FB0 +/* E6058 8014F178 80129F98 */ .word .LIQUE_80129F98 +/* E605C 8014F17C 80129FA0 */ .word .LIQUE_80129FA0 +/* E6060 8014F180 80129FB0 */ .word .LIQUE_80129FB0 +/* E6064 8014F184 80129FA8 */ .word .LIQUE_80129FA8 + +glabel D_IQUE_8014F188 +/* E6068 8014F188 406FE00000000000 */ .double 255 + +glabel D_IQUE_8014F190 +/* E6070 8014F190 406FE00000000000 */ .double 255 + + +.section .text +/* Generated by spimdisasm 1.11.1 */ + +glabel appendGfx_message +/* BD020 80126140 27BDFEC8 */ addiu $sp, $sp, -0x138 +/* BD024 80126144 AFBE0100 */ sw $fp, 0x100($sp) +/* BD028 80126148 0080F02D */ daddu $fp, $a0, $zero +/* BD02C 8012614C AFB000E0 */ sw $s0, 0xE0($sp) +/* BD030 80126150 3C108016 */ lui $s0, %hi(msg_drawState) +/* BD034 80126154 261080F4 */ addiu $s0, $s0, %lo(msg_drawState) +/* BD038 80126158 AFB100E4 */ sw $s1, 0xE4($sp) +/* BD03C 8012615C 8FB1014C */ lw $s1, 0x14C($sp) +/* BD040 80126160 97B8014A */ lhu $t8, 0x14A($sp) +/* BD044 80126164 3C028016 */ lui $v0, %hi(D_80155D20) +/* BD048 80126168 244280A0 */ addiu $v0, $v0, %lo(D_80155D20) +/* BD04C 8012616C AFB200E8 */ sw $s2, 0xE8($sp) +/* BD050 80126170 93B20153 */ lbu $s2, 0x153($sp) +/* BD054 80126174 27C30010 */ addiu $v1, $fp, 0x10 +/* BD058 80126178 AFB300EC */ sw $s3, 0xEC($sp) +/* BD05C 8012617C 3C13800A */ lui $s3, %hi(gMasterGfxPos) +/* BD060 80126180 26739244 */ addiu $s3, $s3, %lo(gMasterGfxPos) +/* BD064 80126184 AFBF0104 */ sw $ra, 0x104($sp) +/* BD068 80126188 AFB700FC */ sw $s7, 0xFC($sp) +/* BD06C 8012618C AFB600F8 */ sw $s6, 0xF8($sp) +/* BD070 80126190 AFB500F4 */ sw $s5, 0xF4($sp) +/* BD074 80126194 AFB400F0 */ sw $s4, 0xF0($sp) +/* BD078 80126198 F7BE0130 */ sdc1 $f30, 0x130($sp) +/* BD07C 8012619C F7BC0128 */ sdc1 $f28, 0x128($sp) +/* BD080 801261A0 F7BA0120 */ sdc1 $f26, 0x120($sp) +/* BD084 801261A4 F7B80118 */ sdc1 $f24, 0x118($sp) +/* BD088 801261A8 F7B60110 */ sdc1 $f22, 0x110($sp) +/* BD08C 801261AC F7B40108 */ sdc1 $f20, 0x108($sp) +/* BD090 801261B0 A7A000BE */ sh $zero, 0xBE($sp) +/* BD094 801261B4 A7B8007E */ sh $t8, 0x7E($sp) +/* BD098 801261B8 AE020000 */ sw $v0, 0x0($s0) +/* BD09C 801261BC AC43004C */ sw $v1, 0x4C($v0) +/* BD0A0 801261C0 A4400034 */ sh $zero, 0x34($v0) +/* BD0A4 801261C4 A7A50066 */ sh $a1, 0x66($sp) +/* BD0A8 801261C8 A7A6006E */ sh $a2, 0x6E($sp) +/* BD0AC 801261CC 8E630000 */ lw $v1, 0x0($s3) +/* BD0B0 801261D0 3C028015 */ lui $v0, %hi(D_80151338) +/* BD0B4 801261D4 8C42FAC8 */ lw $v0, %lo(D_80151338)($v0) +/* BD0B8 801261D8 10620003 */ beq $v1, $v0, .LIQUE_801261E8 +/* BD0BC 801261DC A7A70076 */ sh $a3, 0x76($sp) +/* BD0C0 801261E0 0C04A9C6 */ jal msg_reset_gfx_state +/* BD0C4 801261E4 00000000 */ nop +.LIQUE_801261E8: +/* BD0C8 801261E8 8E040000 */ lw $a0, 0x0($s0) +/* BD0CC 801261EC 94820034 */ lhu $v0, 0x34($a0) +/* BD0D0 801261F0 241900FF */ addiu $t9, $zero, 0xFF +/* BD0D4 801261F4 A7B9008E */ sh $t9, 0x8E($sp) +/* BD0D8 801261F8 34420101 */ ori $v0, $v0, 0x101 +/* BD0DC 801261FC A4820034 */ sh $v0, 0x34($a0) +/* BD0E0 80126200 32220001 */ andi $v0, $s1, 0x1 +/* BD0E4 80126204 10400003 */ beqz $v0, .LIQUE_80126214 +/* BD0E8 80126208 00000000 */ nop +/* BD0EC 8012620C 325200FF */ andi $s2, $s2, 0xFF +/* BD0F0 80126210 A7B2008E */ sh $s2, 0x8E($sp) +.LIQUE_80126214: +/* BD0F4 80126214 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* BD0F8 80126218 44810000 */ mtc1 $at, $f0 +/* BD0FC 8012621C 2402013F */ addiu $v0, $zero, 0x13F +/* BD100 80126220 A4800046 */ sh $zero, 0x46($a0) +/* BD104 80126224 A4800048 */ sh $zero, 0x48($a0) +/* BD108 80126228 AC800000 */ sw $zero, 0x0($a0) +/* BD10C 8012622C AC800008 */ sw $zero, 0x8($a0) +/* BD110 80126230 AC820004 */ sw $v0, 0x4($a0) +/* BD114 80126234 A0800029 */ sb $zero, 0x29($a0) +/* BD118 80126238 8E030000 */ lw $v1, 0x0($s0) +/* BD11C 8012623C 240200EF */ addiu $v0, $zero, 0xEF +/* BD120 80126240 AC82000C */ sw $v0, 0xC($a0) +/* BD124 80126244 E4800010 */ swc1 $f0, 0x10($a0) +/* BD128 80126248 E4800014 */ swc1 $f0, 0x14($a0) +/* BD12C 8012624C A060002B */ sb $zero, 0x2B($v1) +/* BD130 80126250 8E020000 */ lw $v0, 0x0($s0) +/* BD134 80126254 241800FF */ addiu $t8, $zero, 0xFF +/* BD138 80126258 A7B80096 */ sh $t8, 0x96($sp) +/* BD13C 8012625C A040002C */ sb $zero, 0x2C($v0) +/* BD140 80126260 8E020000 */ lw $v0, 0x0($s0) +/* BD144 80126264 0300C82D */ daddu $t9, $t8, $zero +/* BD148 80126268 A7B900A6 */ sh $t9, 0xA6($sp) +/* BD14C 8012626C A040002E */ sb $zero, 0x2E($v0) +/* BD150 80126270 8E030000 */ lw $v1, 0x0($s0) +/* BD154 80126274 A7A000AE */ sh $zero, 0xAE($sp) +/* BD158 80126278 AC400030 */ sw $zero, 0x30($v0) +/* BD15C 8012627C A0600040 */ sb $zero, 0x40($v1) +/* BD160 80126280 8E020000 */ lw $v0, 0x0($s0) +/* BD164 80126284 A3A000B0 */ sb $zero, 0xB0($sp) +/* BD168 80126288 A460003E */ sh $zero, 0x3E($v1) +/* BD16C 8012628C A0400050 */ sb $zero, 0x50($v0) +/* BD170 80126290 8E030000 */ lw $v1, 0x0($s0) +/* BD174 80126294 2418FFFF */ addiu $t8, $zero, -0x1 +/* BD178 80126298 A7B8009E */ sh $t8, 0x9E($sp) +/* BD17C 8012629C A4400042 */ sh $zero, 0x42($v0) +/* BD180 801262A0 A4400044 */ sh $zero, 0x44($v0) +/* BD184 801262A4 A440003C */ sh $zero, 0x3C($v0) +/* BD188 801262A8 AC400038 */ sw $zero, 0x38($v0) +/* BD18C 801262AC 32220002 */ andi $v0, $s1, 0x2 +/* BD190 801262B0 10400003 */ beqz $v0, .LIQUE_801262C0 +/* BD194 801262B4 A460004A */ sh $zero, 0x4A($v1) +/* BD198 801262B8 24020001 */ addiu $v0, $zero, 0x1 +/* BD19C 801262BC A462003C */ sh $v0, 0x3C($v1) +.LIQUE_801262C0: +/* BD1A0 801262C0 32220004 */ andi $v0, $s1, 0x4 +/* BD1A4 801262C4 10400009 */ beqz $v0, .LIQUE_801262EC +/* BD1A8 801262C8 3C04004F */ lui $a0, (0x4FC3BC >> 16) +/* BD1AC 801262CC 8E620000 */ lw $v0, 0x0($s3) +/* BD1B0 801262D0 3484C3BC */ ori $a0, $a0, (0x4FC3BC & 0xFFFF) +/* BD1B4 801262D4 0040182D */ daddu $v1, $v0, $zero +/* BD1B8 801262D8 24420008 */ addiu $v0, $v0, 0x8 +/* BD1BC 801262DC AE620000 */ sw $v0, 0x0($s3) +/* BD1C0 801262E0 3C02ED00 */ lui $v0, (0xED000000 >> 16) +/* BD1C4 801262E4 AC620000 */ sw $v0, 0x0($v1) +/* BD1C8 801262E8 AC640004 */ sw $a0, 0x4($v1) +.LIQUE_801262EC: +/* BD1CC 801262EC 3C19FD48 */ lui $t9, (0xFD48000F >> 16) +/* BD1D0 801262F0 3739000F */ ori $t9, $t9, (0xFD48000F & 0xFFFF) +/* BD1D4 801262F4 3C18F548 */ lui $t8, (0xF5480400 >> 16) +/* BD1D8 801262F8 37180400 */ ori $t8, $t8, (0xF5480400 & 0xFFFF) +/* BD1DC 801262FC AFB900C4 */ sw $t9, 0xC4($sp) +/* BD1E0 80126300 3C190701 */ lui $t9, (0x7010050 >> 16) +/* BD1E4 80126304 3C028016 */ lui $v0, %hi(msg_drawState) +/* BD1E8 80126308 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BD1EC 8012630C 37390050 */ ori $t9, $t9, (0x7010050 & 0xFFFF) +/* BD1F0 80126310 A7A00080 */ sh $zero, 0x80($sp) +/* BD1F4 80126314 AFB800C8 */ sw $t8, 0xC8($sp) +/* BD1F8 80126318 AFB900CC */ sw $t9, 0xCC($sp) +/* BD1FC 8012631C AC400020 */ sw $zero, 0x20($v0) +.LIQUE_80126320: +/* BD200 80126320 3C028016 */ lui $v0, %hi(msg_drawState) +/* BD204 80126324 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BD208 80126328 8C43004C */ lw $v1, 0x4C($v0) +/* BD20C 8012632C 8C420020 */ lw $v0, 0x20($v0) +/* BD210 80126330 97A500BE */ lhu $a1, 0xBE($sp) +/* BD214 80126334 00621821 */ addu $v1, $v1, $v0 +/* BD218 80126338 90780000 */ lbu $t8, 0x0($v1) +/* BD21C 8012633C 2704FF10 */ addiu $a0, $t8, -0xF0 +/* BD220 80126340 2C820010 */ sltiu $v0, $a0, 0x10 +/* BD224 80126344 A7B800BE */ sh $t8, 0xBE($sp) +/* BD228 80126348 90750001 */ lbu $s5, 0x1($v1) +/* BD22C 8012634C 10400AD1 */ beqz $v0, .LIQUE_80128E94 +/* BD230 80126350 00041080 */ sll $v0, $a0, 2 +/* BD234 80126354 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EEC0) +/* BD238 80126358 00220821 */ addu $at, $at, $v0 +/* BD23C 8012635C 8C22EEC0 */ lw $v0, %lo(jtbl_IQUE_8014EEC0)($at) +/* BD240 80126360 00400008 */ jr $v0 +/* BD244 80126364 00000000 */ nop +.LIQUE_80126368: +/* BD248 80126368 3C048016 */ lui $a0, %hi(msg_drawState) +/* BD24C 8012636C 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BD250 80126370 9482003C */ lhu $v0, 0x3C($a0) +/* BD254 80126374 A4800042 */ sh $zero, 0x42($a0) +/* BD258 80126378 00021080 */ sll $v0, $v0, 2 +/* BD25C 8012637C 3C01802F */ lui $at, %hi(gMsgCharsets) +/* BD260 80126380 00220821 */ addu $at, $at, $v0 +/* BD264 80126384 8C22B5A8 */ lw $v0, %lo(gMsgCharsets)($at) +/* BD268 80126388 90420003 */ lbu $v0, 0x3($v0) +/* BD26C 8012638C C4820014 */ lwc1 $f2, 0x14($a0) +/* BD270 80126390 44820000 */ mtc1 $v0, $f0 +/* BD274 80126394 00000000 */ nop +/* BD278 80126398 46800020 */ cvt.s.w $f0, $f0 +/* BD27C 8012639C 93C20508 */ lbu $v0, 0x508($fp) +/* BD280 801263A0 46001082 */ mul.s $f2, $f2, $f0 +/* BD284 801263A4 00000000 */ nop +/* BD288 801263A8 00021040 */ sll $v0, $v0, 1 +/* BD28C 801263AC 3C01802F */ lui $at, %hi(D_802EB644) +/* BD290 801263B0 00220821 */ addu $at, $at, $v0 +/* BD294 801263B4 8422B644 */ lh $v0, %lo(D_802EB644)($at) +/* BD298 801263B8 44820000 */ mtc1 $v0, $f0 +/* BD29C 801263BC 00000000 */ nop +/* BD2A0 801263C0 46800020 */ cvt.s.w $f0, $f0 +/* BD2A4 801263C4 46001080 */ add.s $f2, $f2, $f0 +/* BD2A8 801263C8 94850034 */ lhu $a1, 0x34($a0) +/* BD2AC 801263CC 94820044 */ lhu $v0, 0x44($a0) +/* BD2B0 801263D0 4600130D */ trunc.w.s $f12, $f2 +/* BD2B4 801263D4 44036000 */ mfc1 $v1, $f12 +/* BD2B8 801263D8 00000000 */ nop +/* BD2BC 801263DC 00431021 */ addu $v0, $v0, $v1 +/* BD2C0 801263E0 A4820044 */ sh $v0, 0x44($a0) +/* BD2C4 801263E4 30A20040 */ andi $v0, $a1, 0x40 +/* BD2C8 801263E8 10400AAF */ beqz $v0, .LIQUE_80128EA8 +/* BD2CC 801263EC 34A20080 */ ori $v0, $a1, 0x80 +/* BD2D0 801263F0 0804A3AA */ j .LIQUE_80128EA8 +/* BD2D4 801263F4 A4820034 */ sh $v0, 0x34($a0) +.LIQUE_801263F8: +/* BD2D8 801263F8 3C048016 */ lui $a0, %hi(msg_drawState) +/* BD2DC 801263FC 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BD2E0 80126400 8C83004C */ lw $v1, 0x4C($a0) +/* BD2E4 80126404 8C820020 */ lw $v0, 0x20($a0) +/* BD2E8 80126408 00621821 */ addu $v1, $v1, $v0 +/* BD2EC 8012640C 90630000 */ lbu $v1, 0x0($v1) +/* BD2F0 80126410 24420001 */ addiu $v0, $v0, 0x1 +/* BD2F4 80126414 AC820020 */ sw $v0, 0x20($a0) +/* BD2F8 80126418 2463FF0F */ addiu $v1, $v1, -0xF1 +/* BD2FC 8012641C 0804A8EA */ j .LIQUE_8012A3A8 +/* BD300 80126420 A483003E */ sh $v1, 0x3E($a0) +.LIQUE_80126424: +/* BD304 80126424 3C078016 */ lui $a3, %hi(msg_drawState) +/* BD308 80126428 8CE780F4 */ lw $a3, %lo(msg_drawState)($a3) +/* BD30C 8012642C 8CE2004C */ lw $v0, 0x4C($a3) +/* BD310 80126430 8CE30020 */ lw $v1, 0x20($a3) +/* BD314 80126434 94E5003C */ lhu $a1, 0x3C($a3) +/* BD318 80126438 94E6003E */ lhu $a2, 0x3E($a3) +/* BD31C 8012643C 00431021 */ addu $v0, $v0, $v1 +/* BD320 80126440 90440000 */ lbu $a0, 0x0($v0) +/* BD324 80126444 90E20040 */ lbu $v0, 0x40($a3) +/* BD328 80126448 AFA20010 */ sw $v0, 0x10($sp) +/* BD32C 8012644C 94E20034 */ lhu $v0, 0x34($a3) +/* BD330 80126450 AFA20014 */ sw $v0, 0x14($sp) +/* BD334 80126454 0C049061 */ jal msg_get_draw_char_width +/* BD338 80126458 8CE70010 */ lw $a3, 0x10($a3) +/* BD33C 8012645C 3C058016 */ lui $a1, %hi(msg_drawState) +/* BD340 80126460 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BD344 80126464 94A30042 */ lhu $v1, 0x42($a1) +/* BD348 80126468 8CA40020 */ lw $a0, 0x20($a1) +/* BD34C 8012646C 00621821 */ addu $v1, $v1, $v0 +/* BD350 80126470 24840001 */ addiu $a0, $a0, 0x1 +/* BD354 80126474 A4A30042 */ sh $v1, 0x42($a1) +/* BD358 80126478 0804A8EA */ j .LIQUE_8012A3A8 +/* BD35C 8012647C ACA40020 */ sw $a0, 0x20($a1) +.LIQUE_80126480: +/* BD360 80126480 3C038016 */ lui $v1, %hi(msg_drawState) +/* BD364 80126484 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BD368 80126488 8C620020 */ lw $v0, 0x20($v1) +/* BD36C 8012648C 8C63004C */ lw $v1, 0x4C($v1) +/* BD370 80126490 00431021 */ addu $v0, $v0, $v1 +/* BD374 80126494 90420001 */ lbu $v0, 0x1($v0) +/* BD378 80126498 2443FFFF */ addiu $v1, $v0, -0x1 +/* BD37C 8012649C 2C62000F */ sltiu $v0, $v1, 0xF +/* BD380 801264A0 10400FC1 */ beqz $v0, .LIQUE_8012A3A8 +/* BD384 801264A4 00031080 */ sll $v0, $v1, 2 +/* BD388 801264A8 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EF00) +/* BD38C 801264AC 00220821 */ addu $at, $at, $v0 +/* BD390 801264B0 8C22EF00 */ lw $v0, %lo(jtbl_IQUE_8014EF00)($at) +/* BD394 801264B4 00400008 */ jr $v0 +/* BD398 801264B8 00000000 */ nop +.LIQUE_801264BC: +/* BD39C 801264BC 3C038016 */ lui $v1, %hi(msg_drawState) +/* BD3A0 801264C0 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BD3A4 801264C4 94620044 */ lhu $v0, 0x44($v1) +/* BD3A8 801264C8 24420005 */ addiu $v0, $v0, 0x5 +/* BD3AC 801264CC A4620044 */ sh $v0, 0x44($v1) +.LIQUE_801264D0: +/* BD3B0 801264D0 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BD3B4 801264D4 24190002 */ addiu $t9, $zero, 0x2 +/* BD3B8 801264D8 14590008 */ bne $v0, $t9, .LIQUE_801264FC +/* BD3BC 801264DC 00000000 */ nop +/* BD3C0 801264E0 93C20509 */ lbu $v0, 0x509($fp) +/* BD3C4 801264E4 14400005 */ bnez $v0, .LIQUE_801264FC +/* BD3C8 801264E8 00000000 */ nop +/* BD3CC 801264EC 97C2050A */ lhu $v0, 0x50A($fp) +/* BD3D0 801264F0 97C3050C */ lhu $v1, 0x50C($fp) +/* BD3D4 801264F4 A7C2050E */ sh $v0, 0x50E($fp) +/* BD3D8 801264F8 A7C30510 */ sh $v1, 0x510($fp) +.LIQUE_801264FC: +/* BD3DC 801264FC 97C20514 */ lhu $v0, 0x514($fp) +/* BD3E0 80126500 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* BD3E4 80126504 44816800 */ mtc1 $at, $f13 +/* BD3E8 80126508 44806000 */ mtc1 $zero, $f12 +/* BD3EC 8012650C 97D6050E */ lhu $s6, 0x50E($fp) +/* BD3F0 80126510 44820000 */ mtc1 $v0, $f0 +/* BD3F4 80126514 00000000 */ nop +/* BD3F8 80126518 46800020 */ cvt.s.w $f0, $f0 +/* BD3FC 8012651C 46000021 */ cvt.d.s $f0, $f0 +/* BD400 80126520 462C0002 */ mul.d $f0, $f0, $f12 +/* BD404 80126524 00000000 */ nop +/* BD408 80126528 97D50510 */ lhu $s5, 0x510($fp) +/* BD40C 8012652C 3C058016 */ lui $a1, %hi(msg_drawState) +/* BD410 80126530 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BD414 80126534 87C3045A */ lh $v1, 0x45A($fp) +/* BD418 80126538 97C20516 */ lhu $v0, 0x516($fp) +/* BD41C 8012653C 87C4045C */ lh $a0, 0x45C($fp) +/* BD420 80126540 44822000 */ mtc1 $v0, $f4 +/* BD424 80126544 00000000 */ nop +/* BD428 80126548 46802120 */ cvt.s.w $f4, $f4 +/* BD42C 8012654C 46002121 */ cvt.d.s $f4, $f4 +/* BD430 80126550 462C2102 */ mul.d $f4, $f4, $f12 +/* BD434 80126554 00000000 */ nop +/* BD438 80126558 2418000A */ addiu $t8, $zero, 0xA +/* BD43C 8012655C 94A20034 */ lhu $v0, 0x34($a1) +/* BD440 80126560 44831000 */ mtc1 $v1, $f2 +/* BD444 80126564 00000000 */ nop +/* BD448 80126568 468010A1 */ cvt.d.w $f2, $f2 +/* BD44C 8012656C A4B8004A */ sh $t8, 0x4A($a1) +/* BD450 80126570 34420010 */ ori $v0, $v0, 0x10 +/* BD454 80126574 A4A20034 */ sh $v0, 0x34($a1) +/* BD458 80126578 93C20508 */ lbu $v0, 0x508($fp) +/* BD45C 8012657C 46201080 */ add.d $f2, $f2, $f0 +/* BD460 80126580 2442FFFF */ addiu $v0, $v0, -0x1 +/* BD464 80126584 44840000 */ mtc1 $a0, $f0 +/* BD468 80126588 00000000 */ nop +/* BD46C 8012658C 46800021 */ cvt.d.w $f0, $f0 +/* BD470 80126590 46240000 */ add.d $f0, $f0, $f4 +/* BD474 80126594 2C420003 */ sltiu $v0, $v0, 0x3 +/* BD478 80126598 4620130D */ trunc.w.d $f12, $f2 +/* BD47C 8012659C 44146000 */ mfc1 $s4, $f12 +/* BD480 801265A0 4620030D */ trunc.w.d $f12, $f0 +/* BD484 801265A4 44136000 */ mfc1 $s3, $f12 +/* BD488 801265A8 10400013 */ beqz $v0, .LIQUE_801265F8 +/* BD48C 801265AC 241000DA */ addiu $s0, $zero, 0xDA +/* BD490 801265B0 24120020 */ addiu $s2, $zero, 0x20 +/* BD494 801265B4 24110044 */ addiu $s1, $zero, 0x44 +/* BD498 801265B8 24020016 */ addiu $v0, $zero, 0x16 +/* BD49C 801265BC A7C2045A */ sh $v0, 0x45A($fp) +/* BD4A0 801265C0 2402000D */ addiu $v0, $zero, 0xD +/* BD4A4 801265C4 A7C2045C */ sh $v0, 0x45C($fp) +/* BD4A8 801265C8 24020128 */ addiu $v0, $zero, 0x128 +/* BD4AC 801265CC A7C20514 */ sh $v0, 0x514($fp) +/* BD4B0 801265D0 0220102D */ daddu $v0, $s1, $zero +/* BD4B4 801265D4 A7C20516 */ sh $v0, 0x516($fp) +/* BD4B8 801265D8 2402001A */ addiu $v0, $zero, 0x1A +/* BD4BC 801265DC A4A20046 */ sh $v0, 0x46($a1) +/* BD4C0 801265E0 24020006 */ addiu $v0, $zero, 0x6 +/* BD4C4 801265E4 A4A20048 */ sh $v0, 0x48($a1) +/* BD4C8 801265E8 24020114 */ addiu $v0, $zero, 0x114 +/* BD4CC 801265EC A7C20482 */ sh $v0, 0x482($fp) +/* BD4D0 801265F0 080499DC */ j .LIQUE_80126770 +/* BD4D4 801265F4 24020039 */ addiu $v0, $zero, 0x39 +.LIQUE_801265F8: +/* BD4D8 801265F8 93C3053C */ lbu $v1, 0x53C($fp) +/* BD4DC 801265FC 24190002 */ addiu $t9, $zero, 0x2 +/* BD4E0 80126600 10790012 */ beq $v1, $t9, .LIQUE_8012664C +/* BD4E4 80126604 28620003 */ slti $v0, $v1, 0x3 +/* BD4E8 80126608 10400005 */ beqz $v0, .LIQUE_80126620 +/* BD4EC 8012660C 24180001 */ addiu $t8, $zero, 0x1 +/* BD4F0 80126610 10780008 */ beq $v1, $t8, .LIQUE_80126634 +/* BD4F4 80126614 24120020 */ addiu $s2, $zero, 0x20 +/* BD4F8 80126618 0804999E */ j .LIQUE_80126678 +/* BD4FC 8012661C 00000000 */ nop +.LIQUE_80126620: +/* BD500 80126620 24190003 */ addiu $t9, $zero, 0x3 +/* BD504 80126624 1079000F */ beq $v1, $t9, .LIQUE_80126664 +/* BD508 80126628 24120020 */ addiu $s2, $zero, 0x20 +/* BD50C 8012662C 0804999E */ j .LIQUE_80126678 +/* BD510 80126630 00000000 */ nop +.LIQUE_80126634: +/* BD514 80126634 24120018 */ addiu $s2, $zero, 0x18 +/* BD518 80126638 24020012 */ addiu $v0, $zero, 0x12 +/* BD51C 8012663C 2418000A */ addiu $t8, $zero, 0xA +/* BD520 80126640 A4A20046 */ sh $v0, 0x46($a1) +/* BD524 80126644 080499A4 */ j .LIQUE_80126690 +/* BD528 80126648 A4B80048 */ sh $t8, 0x48($a1) +.LIQUE_8012664C: +/* BD52C 8012664C 2412001C */ addiu $s2, $zero, 0x1C +/* BD530 80126650 24020016 */ addiu $v0, $zero, 0x16 +/* BD534 80126654 A4A20046 */ sh $v0, 0x46($a1) +/* BD538 80126658 24020006 */ addiu $v0, $zero, 0x6 +/* BD53C 8012665C 080499A4 */ j .LIQUE_80126690 +/* BD540 80126660 A4A20048 */ sh $v0, 0x48($a1) +.LIQUE_80126664: +/* BD544 80126664 2402001A */ addiu $v0, $zero, 0x1A +/* BD548 80126668 A4A20046 */ sh $v0, 0x46($a1) +/* BD54C 8012666C 24020008 */ addiu $v0, $zero, 0x8 +/* BD550 80126670 080499A4 */ j .LIQUE_80126690 +/* BD554 80126674 A4A20048 */ sh $v0, 0x48($a1) +.LIQUE_80126678: +/* BD558 80126678 3C028016 */ lui $v0, %hi(msg_drawState) +/* BD55C 8012667C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BD560 80126680 2403001A */ addiu $v1, $zero, 0x1A +/* BD564 80126684 A4430046 */ sh $v1, 0x46($v0) +/* BD568 80126688 24030006 */ addiu $v1, $zero, 0x6 +/* BD56C 8012668C A4430048 */ sh $v1, 0x48($v0) +.LIQUE_80126690: +/* BD570 80126690 97D00538 */ lhu $s0, 0x538($fp) +/* BD574 80126694 2A020101 */ slti $v0, $s0, 0x101 +/* BD578 80126698 50400001 */ beql $v0, $zero, .LIQUE_801266A0 +/* BD57C 8012669C 24100100 */ addiu $s0, $zero, 0x100 +.LIQUE_801266A0: +/* BD580 801266A0 2A020046 */ slti $v0, $s0, 0x46 +/* BD584 801266A4 54400001 */ bnel $v0, $zero, .LIQUE_801266AC +/* BD588 801266A8 24100046 */ addiu $s0, $zero, 0x46 +.LIQUE_801266AC: +/* BD58C 801266AC 2610FFF4 */ addiu $s0, $s0, -0xC +/* BD590 801266B0 00121040 */ sll $v0, $s2, 1 +/* BD594 801266B4 93C3053C */ lbu $v1, 0x53C($fp) +/* BD598 801266B8 02021021 */ addu $v0, $s0, $v0 +/* BD59C 801266BC A7C20514 */ sh $v0, 0x514($fp) +/* BD5A0 801266C0 000310C0 */ sll $v0, $v1, 3 +/* BD5A4 801266C4 00431023 */ subu $v0, $v0, $v1 +/* BD5A8 801266C8 00021040 */ sll $v0, $v0, 1 +/* BD5AC 801266CC 24510010 */ addiu $s1, $v0, 0x10 +/* BD5B0 801266D0 2A220045 */ slti $v0, $s1, 0x45 +/* BD5B4 801266D4 50400001 */ beql $v0, $zero, .LIQUE_801266DC +/* BD5B8 801266D8 24110044 */ addiu $s1, $zero, 0x44 +.LIQUE_801266DC: +/* BD5BC 801266DC 2A220024 */ slti $v0, $s1, 0x24 +/* BD5C0 801266E0 54400001 */ bnel $v0, $zero, .LIQUE_801266E8 +/* BD5C4 801266E4 24110024 */ addiu $s1, $zero, 0x24 +.LIQUE_801266E8: +/* BD5C8 801266E8 97C40514 */ lhu $a0, 0x514($fp) +/* BD5CC 801266EC 97C2050E */ lhu $v0, 0x50E($fp) +/* BD5D0 801266F0 00041842 */ srl $v1, $a0, 1 +/* BD5D4 801266F4 00433023 */ subu $a2, $v0, $v1 +/* BD5D8 801266F8 28C20012 */ slti $v0, $a2, 0x12 +/* BD5DC 801266FC 10400002 */ beqz $v0, .LIQUE_80126708 +/* BD5E0 80126700 A7D10516 */ sh $s1, 0x516($fp) +/* BD5E4 80126704 24060012 */ addiu $a2, $zero, 0x12 +.LIQUE_80126708: +/* BD5E8 80126708 00C41021 */ addu $v0, $a2, $a0 +/* BD5EC 8012670C 2842012F */ slti $v0, $v0, 0x12F +/* BD5F0 80126710 14400002 */ bnez $v0, .LIQUE_8012671C +/* BD5F4 80126714 2402012E */ addiu $v0, $zero, 0x12E +/* BD5F8 80126718 00443023 */ subu $a2, $v0, $a0 +.LIQUE_8012671C: +/* BD5FC 8012671C 97C50516 */ lhu $a1, 0x516($fp) +/* BD600 80126720 97C20510 */ lhu $v0, 0x510($fp) +/* BD604 80126724 24A30026 */ addiu $v1, $a1, 0x26 +/* BD608 80126728 00432023 */ subu $a0, $v0, $v1 +/* BD60C 8012672C 28820014 */ slti $v0, $a0, 0x14 +/* BD610 80126730 54400001 */ bnel $v0, $zero, .LIQUE_80126738 +/* BD614 80126734 24040014 */ addiu $a0, $zero, 0x14 +.LIQUE_80126738: +/* BD618 80126738 00851021 */ addu $v0, $a0, $a1 +/* BD61C 8012673C 284200AB */ slti $v0, $v0, 0xAB +/* BD620 80126740 14400002 */ bnez $v0, .LIQUE_8012674C +/* BD624 80126744 240200AA */ addiu $v0, $zero, 0xAA +/* BD628 80126748 00452023 */ subu $a0, $v0, $a1 +.LIQUE_8012674C: +/* BD62C 8012674C 97C30514 */ lhu $v1, 0x514($fp) +/* BD630 80126750 97C20516 */ lhu $v0, 0x516($fp) +/* BD634 80126754 A7C6045A */ sh $a2, 0x45A($fp) +/* BD638 80126758 A7C4045C */ sh $a0, 0x45C($fp) +/* BD63C 8012675C 00661821 */ addu $v1, $v1, $a2 +/* BD640 80126760 2463FFE2 */ addiu $v1, $v1, -0x1E +/* BD644 80126764 00441021 */ addu $v0, $v0, $a0 +/* BD648 80126768 2442FFEE */ addiu $v0, $v0, -0x12 +/* BD64C 8012676C A7C30482 */ sh $v1, 0x482($fp) +.LIQUE_80126770: +/* BD650 80126770 A7C20484 */ sh $v0, 0x484($fp) +/* BD654 80126774 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BD658 80126778 2442FFF5 */ addiu $v0, $v0, -0xB +/* BD65C 8012677C 2C420002 */ sltiu $v0, $v0, 0x2 +/* BD660 80126780 10400004 */ beqz $v0, .LIQUE_80126794 +/* BD664 80126784 24190001 */ addiu $t9, $zero, 0x1 +/* BD668 80126788 3C028016 */ lui $v0, %hi(msg_drawState) +/* BD66C 8012678C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BD670 80126790 A059002B */ sb $t9, 0x2B($v0) +.LIQUE_80126794: +/* BD674 80126794 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BD678 80126798 24180002 */ addiu $t8, $zero, 0x2 +/* BD67C 8012679C 1458008A */ bne $v0, $t8, .LIQUE_801269C8 +/* BD680 801267A0 24190003 */ addiu $t9, $zero, 0x3 +/* BD684 801267A4 0000202D */ daddu $a0, $zero, $zero +/* BD688 801267A8 3C053D8F */ lui $a1, (0x3D8F5C29 >> 16) +/* BD68C 801267AC 34A55C29 */ ori $a1, $a1, (0x3D8F5C29 & 0xFFFF) +/* BD690 801267B0 3C063F80 */ lui $a2, (0x3F800000 >> 16) +/* BD694 801267B4 93C70509 */ lbu $a3, 0x509($fp) +/* BD698 801267B8 24190007 */ addiu $t9, $zero, 0x7 +/* BD69C 801267BC 0C00A821 */ jal update_lerp +/* BD6A0 801267C0 AFB90010 */ sw $t9, 0x10($sp) +/* BD6A4 801267C4 3C053E99 */ lui $a1, (0x3E99999A >> 16) +/* BD6A8 801267C8 34A5999A */ ori $a1, $a1, (0x3E99999A & 0xFFFF) +/* BD6AC 801267CC 3C063F80 */ lui $a2, (0x3F800000 >> 16) +/* BD6B0 801267D0 0000202D */ daddu $a0, $zero, $zero +/* BD6B4 801267D4 E7A000C0 */ swc1 $f0, 0xC0($sp) +/* BD6B8 801267D8 93C70509 */ lbu $a3, 0x509($fp) +/* BD6BC 801267DC 24180007 */ addiu $t8, $zero, 0x7 +/* BD6C0 801267E0 0C00A821 */ jal update_lerp +/* BD6C4 801267E4 AFB80010 */ sw $t8, 0x10($sp) +/* BD6C8 801267E8 46000786 */ mov.s $f30, $f0 +/* BD6CC 801267EC 0000202D */ daddu $a0, $zero, $zero +/* BD6D0 801267F0 3C0542C0 */ lui $a1, (0x42C00000 >> 16) +/* BD6D4 801267F4 3C064348 */ lui $a2, (0x43480000 >> 16) +/* BD6D8 801267F8 93C70509 */ lbu $a3, 0x509($fp) +/* BD6DC 801267FC 24190007 */ addiu $t9, $zero, 0x7 +/* BD6E0 80126800 0C00A821 */ jal update_lerp +/* BD6E4 80126804 AFB90010 */ sw $t9, 0x10($sp) +/* BD6E8 80126808 46000706 */ mov.s $f28, $f0 +/* BD6EC 8012680C 2404000B */ addiu $a0, $zero, 0xB +/* BD6F0 80126810 00151400 */ sll $v0, $s5, 16 +/* BD6F4 80126814 00021403 */ sra $v0, $v0, 16 +/* BD6F8 80126818 44826000 */ mtc1 $v0, $f12 +/* BD6FC 8012681C 00000000 */ nop +/* BD700 80126820 46806320 */ cvt.s.w $f12, $f12 +/* BD704 80126824 00131400 */ sll $v0, $s3, 16 +/* BD708 80126828 00021403 */ sra $v0, $v0, 16 +/* BD70C 8012682C 44056000 */ mfc1 $a1, $f12 +/* BD710 80126830 44826000 */ mtc1 $v0, $f12 +/* BD714 80126834 00000000 */ nop +/* BD718 80126838 46806320 */ cvt.s.w $f12, $f12 +/* BD71C 8012683C 93C70509 */ lbu $a3, 0x509($fp) +/* BD720 80126840 44066000 */ mfc1 $a2, $f12 +/* BD724 80126844 24180007 */ addiu $t8, $zero, 0x7 +/* BD728 80126848 0C00A821 */ jal update_lerp +/* BD72C 8012684C AFB80010 */ sw $t8, 0x10($sp) +/* BD730 80126850 46000506 */ mov.s $f20, $f0 +/* BD734 80126854 2404000B */ addiu $a0, $zero, 0xB +/* BD738 80126858 00161400 */ sll $v0, $s6, 16 +/* BD73C 8012685C 00021403 */ sra $v0, $v0, 16 +/* BD740 80126860 44826000 */ mtc1 $v0, $f12 +/* BD744 80126864 00000000 */ nop +/* BD748 80126868 46806320 */ cvt.s.w $f12, $f12 +/* BD74C 8012686C 00141400 */ sll $v0, $s4, 16 +/* BD750 80126870 00021403 */ sra $v0, $v0, 16 +/* BD754 80126874 44056000 */ mfc1 $a1, $f12 +/* BD758 80126878 44826000 */ mtc1 $v0, $f12 +/* BD75C 8012687C 00000000 */ nop +/* BD760 80126880 46806320 */ cvt.s.w $f12, $f12 +/* BD764 80126884 93C70509 */ lbu $a3, 0x509($fp) +/* BD768 80126888 44066000 */ mfc1 $a2, $f12 +/* BD76C 8012688C 24180007 */ addiu $t8, $zero, 0x7 +/* BD770 80126890 0C00A821 */ jal update_lerp +/* BD774 80126894 AFB80010 */ sw $t8, 0x10($sp) +/* BD778 80126898 97C20514 */ lhu $v0, 0x514($fp) +/* BD77C 8012689C C7AC00C0 */ lwc1 $f12, 0xC0($sp) +/* BD780 801268A0 44822000 */ mtc1 $v0, $f4 +/* BD784 801268A4 00000000 */ nop +/* BD788 801268A8 46802120 */ cvt.s.w $f4, $f4 +/* BD78C 801268AC 460C2102 */ mul.s $f4, $f4, $f12 +/* BD790 801268B0 00000000 */ nop +/* BD794 801268B4 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* BD798 801268B8 44816800 */ mtc1 $at, $f13 +/* BD79C 801268BC 44806000 */ mtc1 $zero, $f12 +/* BD7A0 801268C0 46002121 */ cvt.d.s $f4, $f4 +/* BD7A4 801268C4 462C2102 */ mul.d $f4, $f4, $f12 +/* BD7A8 801268C8 00000000 */ nop +/* BD7AC 801268CC 97C20516 */ lhu $v0, 0x516($fp) +/* BD7B0 801268D0 44821000 */ mtc1 $v0, $f2 +/* BD7B4 801268D4 00000000 */ nop +/* BD7B8 801268D8 468010A0 */ cvt.s.w $f2, $f2 +/* BD7BC 801268DC 461E1082 */ mul.s $f2, $f2, $f30 +/* BD7C0 801268E0 00000000 */ nop +/* BD7C4 801268E4 460010A1 */ cvt.d.s $f2, $f2 +/* BD7C8 801268E8 462C1082 */ mul.d $f2, $f2, $f12 +/* BD7CC 801268EC 00000000 */ nop +/* BD7D0 801268F0 46000021 */ cvt.d.s $f0, $f0 +/* BD7D4 801268F4 46240001 */ sub.d $f0, $f0, $f4 +/* BD7D8 801268F8 4600A121 */ cvt.d.s $f4, $f20 +/* BD7DC 801268FC 46222101 */ sub.d $f4, $f4, $f2 +/* BD7E0 80126900 AFB20010 */ sw $s2, 0x10($sp) +/* BD7E4 80126904 3C014F00 */ lui $at, (0x4F000000 >> 16) +/* BD7E8 80126908 44811000 */ mtc1 $at, $f2 +/* BD7EC 8012690C 462C0000 */ add.d $f0, $f0, $f12 +/* BD7F0 80126910 AFB10014 */ sw $s1, 0x14($sp) +/* BD7F4 80126914 E7BE001C */ swc1 $f30, 0x1C($sp) +/* BD7F8 80126918 461C103E */ c.le.s $f2, $f28 +/* BD7FC 8012691C 462C2100 */ add.d $f4, $f4, $f12 +/* BD800 80126920 C7AC00C0 */ lwc1 $f12, 0xC0($sp) +/* BD804 80126924 46200620 */ cvt.s.d $f24, $f0 +/* BD808 80126928 E7AC0018 */ swc1 $f12, 0x18($sp) +/* BD80C 8012692C 4600C30D */ trunc.w.s $f12, $f24 +/* BD810 80126930 44026000 */ mfc1 $v0, $f12 +/* BD814 80126934 00000000 */ nop +/* BD818 80126938 00021400 */ sll $v0, $v0, 16 +/* BD81C 8012693C 00022C03 */ sra $a1, $v0, 16 +/* BD820 80126940 462026A0 */ cvt.s.d $f26, $f4 +/* BD824 80126944 4600D30D */ trunc.w.s $f12, $f26 +/* BD828 80126948 44026000 */ mfc1 $v0, $f12 +/* BD82C 8012694C 00000000 */ nop +/* BD830 80126950 00021400 */ sll $v0, $v0, 16 +/* BD834 80126954 00023403 */ sra $a2, $v0, 16 +/* BD838 80126958 00101400 */ sll $v0, $s0, 16 +/* BD83C 8012695C 45010005 */ bc1t .LIQUE_80126974 +/* BD840 80126960 00023C03 */ sra $a3, $v0, 16 +/* BD844 80126964 4600E30D */ trunc.w.s $f12, $f28 +/* BD848 80126968 44036000 */ mfc1 $v1, $f12 +/* BD84C 8012696C 08049A64 */ j .LIQUE_80126990 +/* BD850 80126970 03C0202D */ daddu $a0, $fp, $zero +.LIQUE_80126974: +/* BD854 80126974 4602E001 */ sub.s $f0, $f28, $f2 +/* BD858 80126978 3C028000 */ lui $v0, (0x80000000 >> 16) +/* BD85C 8012697C 4600030D */ trunc.w.s $f12, $f0 +/* BD860 80126980 44036000 */ mfc1 $v1, $f12 +/* BD864 80126984 00000000 */ nop +/* BD868 80126988 00621825 */ or $v1, $v1, $v0 +/* BD86C 8012698C 03C0202D */ daddu $a0, $fp, $zero +.LIQUE_80126990: +/* BD870 80126990 306200FF */ andi $v0, $v1, 0xFF +/* BD874 80126994 24190001 */ addiu $t9, $zero, 0x1 +/* BD878 80126998 AFA20020 */ sw $v0, 0x20($sp) +/* BD87C 8012699C 0C04ACE4 */ jal msg_draw_speech_bubble +/* BD880 801269A0 AFB90024 */ sw $t9, 0x24($sp) +/* BD884 801269A4 93C20509 */ lbu $v0, 0x509($fp) +/* BD888 801269A8 24180007 */ addiu $t8, $zero, 0x7 +/* BD88C 801269AC 24420001 */ addiu $v0, $v0, 0x1 +/* BD890 801269B0 A3C20509 */ sb $v0, 0x509($fp) +/* BD894 801269B4 304200FF */ andi $v0, $v0, 0xFF +/* BD898 801269B8 145800D8 */ bne $v0, $t8, .LIQUE_80126D1C +/* BD89C 801269BC 24020004 */ addiu $v0, $zero, 0x4 +/* BD8A0 801269C0 08049B47 */ j .LIQUE_80126D1C +/* BD8A4 801269C4 A3C204F8 */ sb $v0, 0x4F8($fp) +.LIQUE_801269C8: +/* BD8A8 801269C8 145900A2 */ bne $v0, $t9, .LIQUE_80126C54 +/* BD8AC 801269CC 03C0202D */ daddu $a0, $fp, $zero +/* BD8B0 801269D0 0000202D */ daddu $a0, $zero, $zero +/* BD8B4 801269D4 3C053F80 */ lui $a1, (0x3F800000 >> 16) +/* BD8B8 801269D8 93C20512 */ lbu $v0, 0x512($fp) +/* BD8BC 801269DC 3C063F19 */ lui $a2, (0x3F19999A >> 16) +/* BD8C0 801269E0 34C6999A */ ori $a2, $a2, (0x3F19999A & 0xFFFF) +/* BD8C4 801269E4 24420001 */ addiu $v0, $v0, 0x1 +/* BD8C8 801269E8 A3C20512 */ sb $v0, 0x512($fp) +/* BD8CC 801269EC 304700FF */ andi $a3, $v0, 0xFF +/* BD8D0 801269F0 24180005 */ addiu $t8, $zero, 0x5 +/* BD8D4 801269F4 0C00A821 */ jal update_lerp +/* BD8D8 801269F8 AFB80010 */ sw $t8, 0x10($sp) +/* BD8DC 801269FC 3C053F80 */ lui $a1, (0x3F800000 >> 16) +/* BD8E0 80126A00 3C063F4C */ lui $a2, (0x3F4CCCCD >> 16) +/* BD8E4 80126A04 34C6CCCD */ ori $a2, $a2, (0x3F4CCCCD & 0xFFFF) +/* BD8E8 80126A08 0000202D */ daddu $a0, $zero, $zero +/* BD8EC 80126A0C E7A000C0 */ swc1 $f0, 0xC0($sp) +/* BD8F0 80126A10 93C70512 */ lbu $a3, 0x512($fp) +/* BD8F4 80126A14 24190005 */ addiu $t9, $zero, 0x5 +/* BD8F8 80126A18 0C00A821 */ jal update_lerp +/* BD8FC 80126A1C AFB90010 */ sw $t9, 0x10($sp) +/* BD900 80126A20 97C20514 */ lhu $v0, 0x514($fp) +/* BD904 80126A24 C7AC00C0 */ lwc1 $f12, 0xC0($sp) +/* BD908 80126A28 44821000 */ mtc1 $v0, $f2 +/* BD90C 80126A2C 00000000 */ nop +/* BD910 80126A30 468010A0 */ cvt.s.w $f2, $f2 +/* BD914 80126A34 460C1082 */ mul.s $f2, $f2, $f12 +/* BD918 80126A38 00000000 */ nop +/* BD91C 80126A3C 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* BD920 80126A40 44816800 */ mtc1 $at, $f13 +/* BD924 80126A44 44806000 */ mtc1 $zero, $f12 +/* BD928 80126A48 460010A1 */ cvt.d.s $f2, $f2 +/* BD92C 80126A4C 462C1082 */ mul.d $f2, $f2, $f12 +/* BD930 80126A50 00000000 */ nop +/* BD934 80126A54 97C20516 */ lhu $v0, 0x516($fp) +/* BD938 80126A58 46000786 */ mov.s $f30, $f0 +/* BD93C 80126A5C 44820000 */ mtc1 $v0, $f0 +/* BD940 80126A60 00000000 */ nop +/* BD944 80126A64 46800020 */ cvt.s.w $f0, $f0 +/* BD948 80126A68 461E0002 */ mul.s $f0, $f0, $f30 +/* BD94C 80126A6C 00000000 */ nop +/* BD950 80126A70 46000021 */ cvt.d.s $f0, $f0 +/* BD954 80126A74 462C0002 */ mul.d $f0, $f0, $f12 +/* BD958 80126A78 00000000 */ nop +/* BD95C 80126A7C 00141400 */ sll $v0, $s4, 16 +/* BD960 80126A80 00021403 */ sra $v0, $v0, 16 +/* BD964 80126A84 4482B000 */ mtc1 $v0, $f22 +/* BD968 80126A88 00000000 */ nop +/* BD96C 80126A8C 4680B5A0 */ cvt.s.w $f22, $f22 +/* BD970 80126A90 4600B5A1 */ cvt.d.s $f22, $f22 +/* BD974 80126A94 4622B181 */ sub.d $f6, $f22, $f2 +/* BD978 80126A98 00131400 */ sll $v0, $s3, 16 +/* BD97C 80126A9C 00021403 */ sra $v0, $v0, 16 +/* BD980 80126AA0 4622B580 */ add.d $f22, $f22, $f2 +/* BD984 80126AA4 4482A000 */ mtc1 $v0, $f20 +/* BD988 80126AA8 00000000 */ nop +/* BD98C 80126AAC 4680A520 */ cvt.s.w $f20, $f20 +/* BD990 80126AB0 4600A521 */ cvt.d.s $f20, $f20 +/* BD994 80126AB4 4620A101 */ sub.d $f4, $f20, $f0 +/* BD998 80126AB8 4620A500 */ add.d $f20, $f20, $f0 +/* BD99C 80126ABC 462C3180 */ add.d $f6, $f6, $f12 +/* BD9A0 80126AC0 0000202D */ daddu $a0, $zero, $zero +/* BD9A4 80126AC4 3C05437F */ lui $a1, (0x437F0000 >> 16) +/* BD9A8 80126AC8 462CB581 */ sub.d $f22, $f22, $f12 +/* BD9AC 80126ACC 3C064280 */ lui $a2, (0x42800000 >> 16) +/* BD9B0 80126AD0 93C70512 */ lbu $a3, 0x512($fp) +/* BD9B4 80126AD4 462C2100 */ add.d $f4, $f4, $f12 +/* BD9B8 80126AD8 24180005 */ addiu $t8, $zero, 0x5 +/* BD9BC 80126ADC AFB80010 */ sw $t8, 0x10($sp) +/* BD9C0 80126AE0 462CA501 */ sub.d $f20, $f20, $f12 +/* BD9C4 80126AE4 46203620 */ cvt.s.d $f24, $f6 +/* BD9C8 80126AE8 4620B5A0 */ cvt.s.d $f22, $f22 +/* BD9CC 80126AEC 462026A0 */ cvt.s.d $f26, $f4 +/* BD9D0 80126AF0 0C00A821 */ jal update_lerp +/* BD9D4 80126AF4 4620A520 */ cvt.s.d $f20, $f20 +/* BD9D8 80126AF8 46000706 */ mov.s $f28, $f0 +/* BD9DC 80126AFC 3C018015 */ lui $at, %hi(D_IQUE_8014EF40) +/* BD9E0 80126B00 D420EF40 */ ldc1 $f0, %lo(D_IQUE_8014EF40)($at) +/* BD9E4 80126B04 4600E1A1 */ cvt.d.s $f6, $f28 +/* BD9E8 80126B08 46203182 */ mul.d $f6, $f6, $f0 +/* BD9EC 80126B0C 00000000 */ nop +/* BD9F0 80126B10 3C028016 */ lui $v0, %hi(msg_drawState) +/* BD9F4 80126B14 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BD9F8 80126B18 4600E30D */ trunc.w.s $f12, $f28 +/* BD9FC 80126B1C 44046000 */ mfc1 $a0, $f12 +/* BDA00 80126B20 00000000 */ nop +/* BDA04 80126B24 A7A400A6 */ sh $a0, 0xA6($sp) +/* BDA08 80126B28 84430046 */ lh $v1, 0x46($v0) +/* BDA0C 80126B2C 3C014F00 */ lui $at, (0x4F000000 >> 16) +/* BDA10 80126B30 44814000 */ mtc1 $at, $f8 +/* BDA14 80126B34 44831000 */ mtc1 $v1, $f2 +/* BDA18 80126B38 00000000 */ nop +/* BDA1C 80126B3C 468010A0 */ cvt.s.w $f2, $f2 +/* BDA20 80126B40 84430048 */ lh $v1, 0x48($v0) +/* BDA24 80126B44 4602C080 */ add.s $f2, $f24, $f2 +/* BDA28 80126B48 44832000 */ mtc1 $v1, $f4 +/* BDA2C 80126B4C 00000000 */ nop +/* BDA30 80126B50 46802120 */ cvt.s.w $f4, $f4 +/* BDA34 80126B54 84430046 */ lh $v1, 0x46($v0) +/* BDA38 80126B58 4604D100 */ add.s $f4, $f26, $f4 +/* BDA3C 80126B5C 44830000 */ mtc1 $v1, $f0 +/* BDA40 80126B60 00000000 */ nop +/* BDA44 80126B64 46800020 */ cvt.s.w $f0, $f0 +/* BDA48 80126B68 84430048 */ lh $v1, 0x48($v0) +/* BDA4C 80126B6C 4600B581 */ sub.s $f22, $f22, $f0 +/* BDA50 80126B70 4600130D */ trunc.w.s $f12, $f2 +/* BDA54 80126B74 E44C0000 */ swc1 $f12, 0x0($v0) +/* BDA58 80126B78 44830000 */ mtc1 $v1, $f0 +/* BDA5C 80126B7C 00000000 */ nop +/* BDA60 80126B80 46800020 */ cvt.s.w $f0, $f0 +/* BDA64 80126B84 4600A501 */ sub.s $f20, $f20, $f0 +/* BDA68 80126B88 4600230D */ trunc.w.s $f12, $f4 +/* BDA6C 80126B8C E44C0008 */ swc1 $f12, 0x8($v0) +/* BDA70 80126B90 4600B30D */ trunc.w.s $f12, $f22 +/* BDA74 80126B94 E44C0004 */ swc1 $f12, 0x4($v0) +/* BDA78 80126B98 4600A30D */ trunc.w.s $f12, $f20 +/* BDA7C 80126B9C E44C000C */ swc1 $f12, 0xC($v0) +/* BDA80 80126BA0 C7AC00C0 */ lwc1 $f12, 0xC0($sp) +/* BDA84 80126BA4 461C403E */ c.le.s $f8, $f28 +/* BDA88 80126BA8 AFB20010 */ sw $s2, 0x10($sp) +/* BDA8C 80126BAC AFB10014 */ sw $s1, 0x14($sp) +/* BDA90 80126BB0 E7BE001C */ swc1 $f30, 0x1C($sp) +/* BDA94 80126BB4 E7AC0018 */ swc1 $f12, 0x18($sp) +/* BDA98 80126BB8 4620330D */ trunc.w.d $f12, $f6 +/* BDA9C 80126BBC 44186000 */ mfc1 $t8, $f12 +/* BDAA0 80126BC0 00000000 */ nop +/* BDAA4 80126BC4 A7B8008E */ sh $t8, 0x8E($sp) +/* BDAA8 80126BC8 4600C30D */ trunc.w.s $f12, $f24 +/* BDAAC 80126BCC 44026000 */ mfc1 $v0, $f12 +/* BDAB0 80126BD0 00000000 */ nop +/* BDAB4 80126BD4 00021400 */ sll $v0, $v0, 16 +/* BDAB8 80126BD8 00022C03 */ sra $a1, $v0, 16 +/* BDABC 80126BDC 4600D30D */ trunc.w.s $f12, $f26 +/* BDAC0 80126BE0 44026000 */ mfc1 $v0, $f12 +/* BDAC4 80126BE4 00000000 */ nop +/* BDAC8 80126BE8 00021400 */ sll $v0, $v0, 16 +/* BDACC 80126BEC 00023403 */ sra $a2, $v0, 16 +/* BDAD0 80126BF0 00101400 */ sll $v0, $s0, 16 +/* BDAD4 80126BF4 45010003 */ bc1t .LIQUE_80126C04 +/* BDAD8 80126BF8 00023C03 */ sra $a3, $v0, 16 +/* BDADC 80126BFC 08049B07 */ j .LIQUE_80126C1C +/* BDAE0 80126C00 0080182D */ daddu $v1, $a0, $zero +.LIQUE_80126C04: +/* BDAE4 80126C04 4608E001 */ sub.s $f0, $f28, $f8 +/* BDAE8 80126C08 3C028000 */ lui $v0, (0x80000000 >> 16) +/* BDAEC 80126C0C 4600030D */ trunc.w.s $f12, $f0 +/* BDAF0 80126C10 44036000 */ mfc1 $v1, $f12 +/* BDAF4 80126C14 00000000 */ nop +/* BDAF8 80126C18 00621825 */ or $v1, $v1, $v0 +.LIQUE_80126C1C: +/* BDAFC 80126C1C 03C0202D */ daddu $a0, $fp, $zero +/* BDB00 80126C20 306200FF */ andi $v0, $v1, 0xFF +/* BDB04 80126C24 24190001 */ addiu $t9, $zero, 0x1 +/* BDB08 80126C28 AFA20020 */ sw $v0, 0x20($sp) +/* BDB0C 80126C2C 0C04ACE4 */ jal msg_draw_speech_bubble +/* BDB10 80126C30 AFB90024 */ sw $t9, 0x24($sp) +/* BDB14 80126C34 93C20512 */ lbu $v0, 0x512($fp) +/* BDB18 80126C38 2C420005 */ sltiu $v0, $v0, 0x5 +/* BDB1C 80126C3C 14400037 */ bnez $v0, .LIQUE_80126D1C +/* BDB20 80126C40 00000000 */ nop +/* BDB24 80126C44 8FC204FC */ lw $v0, 0x4FC($fp) +/* BDB28 80126C48 34420001 */ ori $v0, $v0, 0x1 +/* BDB2C 80126C4C 08049B47 */ j .LIQUE_80126D1C +/* BDB30 80126C50 AFC204FC */ sw $v0, 0x4FC($fp) +.LIQUE_80126C54: +/* BDB34 80126C54 00103C00 */ sll $a3, $s0, 16 +/* BDB38 80126C58 87C3045A */ lh $v1, 0x45A($fp) +/* BDB3C 80126C5C 87C5045C */ lh $a1, 0x45C($fp) +/* BDB40 80126C60 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* BDB44 80126C64 44816000 */ mtc1 $at, $f12 +/* BDB48 80126C68 241800FF */ addiu $t8, $zero, 0xFF +/* BDB4C 80126C6C AFB80020 */ sw $t8, 0x20($sp) +/* BDB50 80126C70 97B80066 */ lhu $t8, 0x66($sp) +/* BDB54 80126C74 24190001 */ addiu $t9, $zero, 0x1 +/* BDB58 80126C78 AFB90024 */ sw $t9, 0x24($sp) +/* BDB5C 80126C7C 97B9006E */ lhu $t9, 0x6E($sp) +/* BDB60 80126C80 00073C03 */ sra $a3, $a3, 16 +/* BDB64 80126C84 AFB20010 */ sw $s2, 0x10($sp) +/* BDB68 80126C88 AFB10014 */ sw $s1, 0x14($sp) +/* BDB6C 80126C8C 00181400 */ sll $v0, $t8, 16 +/* BDB70 80126C90 00021403 */ sra $v0, $v0, 16 +/* BDB74 80126C94 00431021 */ addu $v0, $v0, $v1 +/* BDB78 80126C98 4482C000 */ mtc1 $v0, $f24 +/* BDB7C 80126C9C 00000000 */ nop +/* BDB80 80126CA0 4680C620 */ cvt.s.w $f24, $f24 +/* BDB84 80126CA4 00191400 */ sll $v0, $t9, 16 +/* BDB88 80126CA8 00021403 */ sra $v0, $v0, 16 +/* BDB8C 80126CAC 00451021 */ addu $v0, $v0, $a1 +/* BDB90 80126CB0 4482D000 */ mtc1 $v0, $f26 +/* BDB94 80126CB4 00000000 */ nop +/* BDB98 80126CB8 4680D6A0 */ cvt.s.w $f26, $f26 +/* BDB9C 80126CBC E7AC0018 */ swc1 $f12, 0x18($sp) +/* BDBA0 80126CC0 E7AC001C */ swc1 $f12, 0x1C($sp) +/* BDBA4 80126CC4 4600C30D */ trunc.w.s $f12, $f24 +/* BDBA8 80126CC8 44056000 */ mfc1 $a1, $f12 +/* BDBAC 80126CCC 00000000 */ nop +/* BDBB0 80126CD0 00052C00 */ sll $a1, $a1, 16 +/* BDBB4 80126CD4 00052C03 */ sra $a1, $a1, 16 +/* BDBB8 80126CD8 4600D30D */ trunc.w.s $f12, $f26 +/* BDBBC 80126CDC 44066000 */ mfc1 $a2, $f12 +/* BDBC0 80126CE0 00000000 */ nop +/* BDBC4 80126CE4 00063400 */ sll $a2, $a2, 16 +/* BDBC8 80126CE8 0C04ACE4 */ jal msg_draw_speech_bubble +/* BDBCC 80126CEC 00063403 */ sra $a2, $a2, 16 +/* BDBD0 80126CF0 97C2050E */ lhu $v0, 0x50E($fp) +/* BDBD4 80126CF4 2442FFEC */ addiu $v0, $v0, -0x14 +/* BDBD8 80126CF8 2C420119 */ sltiu $v0, $v0, 0x119 +/* BDBDC 80126CFC 10400007 */ beqz $v0, .LIQUE_80126D1C +/* BDBE0 80126D00 00000000 */ nop +/* BDBE4 80126D04 97C20510 */ lhu $v0, 0x510($fp) +/* BDBE8 80126D08 2C4200DD */ sltiu $v0, $v0, 0xDD +/* BDBEC 80126D0C 10400003 */ beqz $v0, .LIQUE_80126D1C +/* BDBF0 80126D10 00000000 */ nop +/* BDBF4 80126D14 0C04AED9 */ jal msg_draw_speech_arrow +/* BDBF8 80126D18 03C0202D */ daddu $a0, $fp, $zero +.LIQUE_80126D1C: +/* BDBFC 80126D1C 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BDC00 80126D20 24190003 */ addiu $t9, $zero, 0x3 +/* BDC04 80126D24 10590496 */ beq $v0, $t9, .LIQUE_80127F80 +/* BDC08 80126D28 24020014 */ addiu $v0, $zero, 0x14 +/* BDC0C 80126D2C 3C048016 */ lui $a0, %hi(msg_drawState) +/* BDC10 80126D30 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BDC14 80126D34 AC820000 */ sw $v0, 0x0($a0) +/* BDC18 80126D38 87C30458 */ lh $v1, 0x458($fp) +/* BDC1C 80126D3C 87C5045C */ lh $a1, 0x45C($fp) +/* BDC20 80126D40 2402012C */ addiu $v0, $zero, 0x12C +/* BDC24 80126D44 AC820004 */ sw $v0, 0x4($a0) +/* BDC28 80126D48 84820048 */ lh $v0, 0x48($a0) +/* BDC2C 80126D4C 00651821 */ addu $v1, $v1, $a1 +/* BDC30 80126D50 00621821 */ addu $v1, $v1, $v0 +/* BDC34 80126D54 AC830008 */ sw $v1, 0x8($a0) +/* BDC38 80126D58 97C30516 */ lhu $v1, 0x516($fp) +/* BDC3C 80126D5C 8C820008 */ lw $v0, 0x8($a0) +/* BDC40 80126D60 00431021 */ addu $v0, $v0, $v1 +/* BDC44 80126D64 2442FFF0 */ addiu $v0, $v0, -0x10 +/* BDC48 80126D68 08049FE0 */ j .LIQUE_80127F80 +/* BDC4C 80126D6C AC82000C */ sw $v0, 0xC($a0) +.LIQUE_80126D70: +/* BDC50 80126D70 0000A82D */ daddu $s5, $zero, $zero +/* BDC54 80126D74 97D20514 */ lhu $s2, 0x514($fp) +/* BDC58 80126D78 97D30516 */ lhu $s3, 0x516($fp) +/* BDC5C 80126D7C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BDC60 80126D80 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BDC64 80126D84 A040002B */ sb $zero, 0x2B($v0) +/* BDC68 80126D88 3C038016 */ lui $v1, %hi(msg_drawState) +/* BDC6C 80126D8C 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BDC70 80126D90 2402000C */ addiu $v0, $zero, 0xC +/* BDC74 80126D94 A4620046 */ sh $v0, 0x46($v1) +/* BDC78 80126D98 24020006 */ addiu $v0, $zero, 0x6 +/* BDC7C 80126D9C A4620048 */ sh $v0, 0x48($v1) +/* BDC80 80126DA0 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BDC84 80126DA4 24180002 */ addiu $t8, $zero, 0x2 +/* BDC88 80126DA8 14580078 */ bne $v0, $t8, .LIQUE_80126F8C +/* BDC8C 80126DAC 241400FF */ addiu $s4, $zero, 0xFF +/* BDC90 80126DB0 93C20509 */ lbu $v0, 0x509($fp) +/* BDC94 80126DB4 24030006 */ addiu $v1, $zero, 0x6 +/* BDC98 80126DB8 24420001 */ addiu $v0, $v0, 0x1 +/* BDC9C 80126DBC A3C20509 */ sb $v0, 0x509($fp) +/* BDCA0 80126DC0 304200FF */ andi $v0, $v0, 0xFF +/* BDCA4 80126DC4 14430002 */ bne $v0, $v1, .LIQUE_80126DD0 +/* BDCA8 80126DC8 24020004 */ addiu $v0, $zero, 0x4 +/* BDCAC 80126DCC A3C204F8 */ sb $v0, 0x4F8($fp) +.LIQUE_80126DD0: +/* BDCB0 80126DD0 93C20509 */ lbu $v0, 0x509($fp) +/* BDCB4 80126DD4 3C018015 */ lui $at, %hi(D_IQUE_8014EF48) +/* BDCB8 80126DD8 D422EF48 */ ldc1 $f2, %lo(D_IQUE_8014EF48)($at) +/* BDCBC 80126DDC 44820000 */ mtc1 $v0, $f0 +/* BDCC0 80126DE0 00000000 */ nop +/* BDCC4 80126DE4 46800020 */ cvt.s.w $f0, $f0 +/* BDCC8 80126DE8 46000021 */ cvt.d.s $f0, $f0 +/* BDCCC 80126DEC 46220002 */ mul.d $f0, $f0, $f2 +/* BDCD0 80126DF0 00000000 */ nop +/* BDCD4 80126DF4 3C018015 */ lui $at, %hi(D_IQUE_8014EF50) +/* BDCD8 80126DF8 D422EF50 */ ldc1 $f2, %lo(D_IQUE_8014EF50)($at) +/* BDCDC 80126DFC 46220000 */ add.d $f0, $f0, $f2 +/* BDCE0 80126E00 44922000 */ mtc1 $s2, $f4 +/* BDCE4 80126E04 00000000 */ nop +/* BDCE8 80126E08 46802120 */ cvt.s.w $f4, $f4 +/* BDCEC 80126E0C 462002A0 */ cvt.s.d $f10, $f0 +/* BDCF0 80126E10 460A2102 */ mul.s $f4, $f4, $f10 +/* BDCF4 80126E14 00000000 */ nop +/* BDCF8 80126E18 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* BDCFC 80126E1C 44816800 */ mtc1 $at, $f13 +/* BDD00 80126E20 44806000 */ mtc1 $zero, $f12 +/* BDD04 80126E24 46002121 */ cvt.d.s $f4, $f4 +/* BDD08 80126E28 462C2002 */ mul.d $f0, $f4, $f12 +/* BDD0C 80126E2C 00000000 */ nop +/* BDD10 80126E30 44933000 */ mtc1 $s3, $f6 +/* BDD14 80126E34 00000000 */ nop +/* BDD18 80126E38 468031A0 */ cvt.s.w $f6, $f6 +/* BDD1C 80126E3C 460A3182 */ mul.s $f6, $f6, $f10 +/* BDD20 80126E40 00000000 */ nop +/* BDD24 80126E44 87C3045A */ lh $v1, 0x45A($fp) +/* BDD28 80126E48 001217C2 */ srl $v0, $s2, 31 +/* BDD2C 80126E4C 02421021 */ addu $v0, $s2, $v0 +/* BDD30 80126E50 460031A1 */ cvt.d.s $f6, $f6 +/* BDD34 80126E54 462C3202 */ mul.d $f8, $f6, $f12 +/* BDD38 80126E58 00000000 */ nop +/* BDD3C 80126E5C 00021043 */ sra $v0, $v0, 1 +/* BDD40 80126E60 00621821 */ addu $v1, $v1, $v0 +/* BDD44 80126E64 001317C2 */ srl $v0, $s3, 31 +/* BDD48 80126E68 02621021 */ addu $v0, $s3, $v0 +/* BDD4C 80126E6C 00021043 */ sra $v0, $v0, 1 +/* BDD50 80126E70 44831000 */ mtc1 $v1, $f2 +/* BDD54 80126E74 00000000 */ nop +/* BDD58 80126E78 468010A0 */ cvt.s.w $f2, $f2 +/* BDD5C 80126E7C 87C3045C */ lh $v1, 0x45C($fp) +/* BDD60 80126E80 462C2100 */ add.d $f4, $f4, $f12 +/* BDD64 80126E84 460010A1 */ cvt.d.s $f2, $f2 +/* BDD68 80126E88 00621821 */ addu $v1, $v1, $v0 +/* BDD6C 80126E8C 46201081 */ sub.d $f2, $f2, $f0 +/* BDD70 80126E90 44830000 */ mtc1 $v1, $f0 +/* BDD74 80126E94 00000000 */ nop +/* BDD78 80126E98 46800020 */ cvt.s.w $f0, $f0 +/* BDD7C 80126E9C 46000021 */ cvt.d.s $f0, $f0 +/* BDD80 80126EA0 46280001 */ sub.d $f0, $f0, $f8 +/* BDD84 80126EA4 462010A0 */ cvt.s.d $f2, $f2 +/* BDD88 80126EA8 460010A1 */ cvt.d.s $f2, $f2 +/* BDD8C 80126EAC 462C1080 */ add.d $f2, $f2, $f12 +/* BDD90 80126EB0 4620230D */ trunc.w.d $f12, $f4 +/* BDD94 80126EB4 44126000 */ mfc1 $s2, $f12 +/* BDD98 80126EB8 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* BDD9C 80126EBC 44816800 */ mtc1 $at, $f13 +/* BDDA0 80126EC0 44806000 */ mtc1 $zero, $f12 +/* BDDA4 80126EC4 46200020 */ cvt.s.d $f0, $f0 +/* BDDA8 80126EC8 462C3180 */ add.d $f6, $f6, $f12 +/* BDDAC 80126ECC 46000021 */ cvt.d.s $f0, $f0 +/* BDDB0 80126ED0 2A420018 */ slti $v0, $s2, 0x18 +/* BDDB4 80126ED4 462C0000 */ add.d $f0, $f0, $f12 +/* BDDB8 80126ED8 4620330D */ trunc.w.d $f12, $f6 +/* BDDBC 80126EDC 44136000 */ mfc1 $s3, $f12 +/* BDDC0 80126EE0 4620130D */ trunc.w.d $f12, $f2 +/* BDDC4 80126EE4 44116000 */ mfc1 $s1, $f12 +/* BDDC8 80126EE8 4620030D */ trunc.w.d $f12, $f0 +/* BDDCC 80126EEC 44106000 */ mfc1 $s0, $f12 +/* BDDD0 80126EF0 54400001 */ bnel $v0, $zero, .LIQUE_80126EF8 +/* BDDD4 80126EF4 24120018 */ addiu $s2, $zero, 0x18 +.LIQUE_80126EF8: +/* BDDD8 80126EF8 2A620018 */ slti $v0, $s3, 0x18 +/* BDDDC 80126EFC 54400001 */ bnel $v0, $zero, .LIQUE_80126F04 +/* BDDE0 80126F00 24130018 */ addiu $s3, $zero, 0x18 +.LIQUE_80126F04: +/* BDDE4 80126F04 3C018015 */ lui $at, %hi(D_IQUE_8014EF58) +/* BDDE8 80126F08 D422EF58 */ ldc1 $f2, %lo(D_IQUE_8014EF58)($at) +/* BDDEC 80126F0C 46005021 */ cvt.d.s $f0, $f10 +/* BDDF0 80126F10 46220002 */ mul.d $f0, $f0, $f2 +/* BDDF4 80126F14 00000000 */ nop +/* BDDF8 80126F18 3C0141E0 */ lui $at, (0x41E00000 >> 16) +/* BDDFC 80126F1C 44811800 */ mtc1 $at, $f3 +/* BDE00 80126F20 44801000 */ mtc1 $zero, $f2 +/* BDE04 80126F24 00000000 */ nop +/* BDE08 80126F28 4620103E */ c.le.d $f2, $f0 +/* BDE0C 80126F2C 00000000 */ nop +/* BDE10 80126F30 45030005 */ bc1tl .LIQUE_80126F48 +/* BDE14 80126F34 46220001 */ sub.d $f0, $f0, $f2 +/* BDE18 80126F38 4620030D */ trunc.w.d $f12, $f0 +/* BDE1C 80126F3C 44036000 */ mfc1 $v1, $f12 +/* BDE20 80126F40 08049BD8 */ j .LIQUE_80126F60 +/* BDE24 80126F44 306200FF */ andi $v0, $v1, 0xFF +.LIQUE_80126F48: +/* BDE28 80126F48 3C028000 */ lui $v0, (0x80000000 >> 16) +/* BDE2C 80126F4C 4620030D */ trunc.w.d $f12, $f0 +/* BDE30 80126F50 44036000 */ mfc1 $v1, $f12 +/* BDE34 80126F54 00000000 */ nop +/* BDE38 80126F58 00621825 */ or $v1, $v1, $v0 +/* BDE3C 80126F5C 306200FF */ andi $v0, $v1, 0xFF +.LIQUE_80126F60: +/* BDE40 80126F60 3C018015 */ lui $at, %hi(D_IQUE_8014EF60) +/* BDE44 80126F64 D422EF60 */ ldc1 $f2, %lo(D_IQUE_8014EF60)($at) +/* BDE48 80126F68 44820000 */ mtc1 $v0, $f0 +/* BDE4C 80126F6C 00000000 */ nop +/* BDE50 80126F70 46800021 */ cvt.d.w $f0, $f0 +/* BDE54 80126F74 46220002 */ mul.d $f0, $f0, $f2 +/* BDE58 80126F78 00000000 */ nop +/* BDE5C 80126F7C 4620030D */ trunc.w.d $f12, $f0 +/* BDE60 80126F80 44186000 */ mfc1 $t8, $f12 +/* BDE64 80126F84 08049C20 */ j .LIQUE_80127080 +/* BDE68 80126F88 A7B8008E */ sh $t8, 0x8E($sp) +.LIQUE_80126F8C: +/* BDE6C 80126F8C 24180003 */ addiu $t8, $zero, 0x3 +/* BDE70 80126F90 14580029 */ bne $v0, $t8, .LIQUE_80127038 +/* BDE74 80126F94 240400FF */ addiu $a0, $zero, 0xFF +/* BDE78 80126F98 93C20512 */ lbu $v0, 0x512($fp) +/* BDE7C 80126F9C 24420001 */ addiu $v0, $v0, 0x1 +/* BDE80 80126FA0 A3C20512 */ sb $v0, 0x512($fp) +/* BDE84 80126FA4 304200FF */ andi $v0, $v0, 0xFF +/* BDE88 80126FA8 2C420005 */ sltiu $v0, $v0, 0x5 +/* BDE8C 80126FAC 14400004 */ bnez $v0, .LIQUE_80126FC0 +/* BDE90 80126FB0 00000000 */ nop +/* BDE94 80126FB4 8FC204FC */ lw $v0, 0x4FC($fp) +/* BDE98 80126FB8 34420001 */ ori $v0, $v0, 0x1 +/* BDE9C 80126FBC AFC204FC */ sw $v0, 0x4FC($fp) +.LIQUE_80126FC0: +/* BDEA0 80126FC0 93C30512 */ lbu $v1, 0x512($fp) +/* BDEA4 80126FC4 3C018015 */ lui $at, %hi(D_IQUE_8014EF68) +/* BDEA8 80126FC8 D422EF68 */ ldc1 $f2, %lo(D_IQUE_8014EF68)($at) +/* BDEAC 80126FCC 00031040 */ sll $v0, $v1, 1 +/* BDEB0 80126FD0 00431021 */ addu $v0, $v0, $v1 +/* BDEB4 80126FD4 000210C0 */ sll $v0, $v0, 3 +/* BDEB8 80126FD8 00431023 */ subu $v0, $v0, $v1 +/* BDEBC 80126FDC 00021040 */ sll $v0, $v0, 1 +/* BDEC0 80126FE0 0002A027 */ nor $s4, $zero, $v0 +/* BDEC4 80126FE4 328200FF */ andi $v0, $s4, 0xFF +/* BDEC8 80126FE8 44820000 */ mtc1 $v0, $f0 +/* BDECC 80126FEC 00000000 */ nop +/* BDED0 80126FF0 46800021 */ cvt.d.w $f0, $f0 +/* BDED4 80126FF4 46220002 */ mul.d $f0, $f0, $f2 +/* BDED8 80126FF8 00000000 */ nop +/* BDEDC 80126FFC 24150001 */ addiu $s5, $zero, 0x1 +/* BDEE0 80127000 4620030D */ trunc.w.d $f12, $f0 +/* BDEE4 80127004 44036000 */ mfc1 $v1, $f12 +/* BDEE8 80127008 00000000 */ nop +/* BDEEC 8012700C 00031400 */ sll $v0, $v1, 16 +/* BDEF0 80127010 00021403 */ sra $v0, $v0, 16 +/* BDEF4 80127014 28420020 */ slti $v0, $v0, 0x20 +/* BDEF8 80127018 14400003 */ bnez $v0, .LIQUE_80127028 +/* BDEFC 8012701C A7A3008E */ sh $v1, 0x8E($sp) +/* BDF00 80127020 2463FFE0 */ addiu $v1, $v1, -0x20 +/* BDF04 80127024 A7A3008E */ sh $v1, 0x8E($sp) +.LIQUE_80127028: +/* BDF08 80127028 87D1045A */ lh $s1, 0x45A($fp) +/* BDF0C 8012702C 87D0045C */ lh $s0, 0x45C($fp) +/* BDF10 80127030 08049C21 */ j .LIQUE_80127084 +/* BDF14 80127034 0220202D */ daddu $a0, $s1, $zero +.LIQUE_80127038: +/* BDF18 80127038 24050020 */ addiu $a1, $zero, 0x20 +/* BDF1C 8012703C 00A0302D */ daddu $a2, $a1, $zero +/* BDF20 80127040 0000382D */ daddu $a3, $zero, $zero +/* BDF24 80127044 26420002 */ addiu $v0, $s2, 0x2 +/* BDF28 80127048 87D1045A */ lh $s1, 0x45A($fp) +/* BDF2C 8012704C 87D0045C */ lh $s0, 0x45C($fp) +/* BDF30 80127050 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BDF34 80127054 AFA20018 */ sw $v0, 0x18($sp) +/* BDF38 80127058 26620002 */ addiu $v0, $s3, 0x2 +/* BDF3C 8012705C 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BDF40 80127060 AFA2001C */ sw $v0, 0x1C($sp) +/* BDF44 80127064 2622FFFF */ addiu $v0, $s1, -0x1 +/* BDF48 80127068 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BDF4C 8012706C AFA20010 */ sw $v0, 0x10($sp) +/* BDF50 80127070 2602FFFF */ addiu $v0, $s0, -0x1 +/* BDF54 80127074 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BDF58 80127078 0C04AC4C */ jal msg_draw_prim_rect +/* BDF5C 8012707C AFA20014 */ sw $v0, 0x14($sp) +.LIQUE_80127080: +/* BDF60 80127080 0220202D */ daddu $a0, $s1, $zero +.LIQUE_80127084: +/* BDF64 80127084 0200282D */ daddu $a1, $s0, $zero +/* BDF68 80127088 0240302D */ daddu $a2, $s2, $zero +/* BDF6C 8012708C 24820002 */ addiu $v0, $a0, 0x2 +/* BDF70 80127090 3C038016 */ lui $v1, %hi(msg_drawState) +/* BDF74 80127094 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BDF78 80127098 0260382D */ daddu $a3, $s3, $zero +/* BDF7C 8012709C AC620000 */ sw $v0, 0x0($v1) +/* BDF80 801270A0 24A20002 */ addiu $v0, $a1, 0x2 +/* BDF84 801270A4 AC620008 */ sw $v0, 0x8($v1) +/* BDF88 801270A8 00861021 */ addu $v0, $a0, $a2 +/* BDF8C 801270AC 2442FFFE */ addiu $v0, $v0, -0x2 +/* BDF90 801270B0 AC620004 */ sw $v0, 0x4($v1) +/* BDF94 801270B4 00B31021 */ addu $v0, $a1, $s3 +/* BDF98 801270B8 2442FFFE */ addiu $v0, $v0, -0x2 +/* BDF9C 801270BC AC62000C */ sw $v0, 0xC($v1) +/* BDFA0 801270C0 24190005 */ addiu $t9, $zero, 0x5 +/* BDFA4 801270C4 AFB90010 */ sw $t9, 0x10($sp) +/* BDFA8 801270C8 9063002B */ lbu $v1, 0x2B($v1) +/* BDFAC 801270CC 328200FF */ andi $v0, $s4, 0xFF +/* BDFB0 801270D0 AFB50018 */ sw $s5, 0x18($sp) +/* BDFB4 801270D4 AFA2001C */ sw $v0, 0x1C($sp) +/* BDFB8 801270D8 AFA20020 */ sw $v0, 0x20($sp) +/* BDFBC 801270DC 0C04B0B8 */ jal msg_draw_frame +/* BDFC0 801270E0 AFA30014 */ sw $v1, 0x14($sp) +/* BDFC4 801270E4 0C04A9C6 */ jal msg_reset_gfx_state +/* BDFC8 801270E8 329400FF */ andi $s4, $s4, 0xFF +/* BDFCC 801270EC 3C048016 */ lui $a0, %hi(msg_drawState) +/* BDFD0 801270F0 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BDFD4 801270F4 A7B400A6 */ sh $s4, 0xA6($sp) +/* BDFD8 801270F8 8C820020 */ lw $v0, 0x20($a0) +/* BDFDC 801270FC 94830034 */ lhu $v1, 0x34($a0) +/* BDFE0 80127100 2418000A */ addiu $t8, $zero, 0xA +/* BDFE4 80127104 A498004A */ sh $t8, 0x4A($a0) +/* BDFE8 80127108 24420002 */ addiu $v0, $v0, 0x2 +/* BDFEC 8012710C 34630010 */ ori $v1, $v1, 0x10 +/* BDFF0 80127110 AC820020 */ sw $v0, 0x20($a0) +/* BDFF4 80127114 0804A8EA */ j .LIQUE_8012A3A8 +/* BDFF8 80127118 A4830034 */ sh $v1, 0x34($a0) +.LIQUE_8012711C: +/* BDFFC 8012711C 3C058016 */ lui $a1, %hi(msg_drawState) +/* BE000 80127120 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BE004 80127124 24020010 */ addiu $v0, $zero, 0x10 +/* BE008 80127128 24190003 */ addiu $t9, $zero, 0x3 +/* BE00C 8012712C A4A20046 */ sh $v0, 0x46($a1) +/* BE010 80127130 A4B90048 */ sh $t9, 0x48($a1) +/* BE014 80127134 87C2045A */ lh $v0, 0x45A($fp) +/* BE018 80127138 24420005 */ addiu $v0, $v0, 0x5 +/* BE01C 8012713C ACA20000 */ sw $v0, 0x0($a1) +/* BE020 80127140 87C2045C */ lh $v0, 0x45C($fp) +/* BE024 80127144 24420004 */ addiu $v0, $v0, 0x4 +/* BE028 80127148 ACA20008 */ sw $v0, 0x8($a1) +/* BE02C 8012714C 87C2045A */ lh $v0, 0x45A($fp) +/* BE030 80127150 97C30514 */ lhu $v1, 0x514($fp) +/* BE034 80127154 0000882D */ daddu $s1, $zero, $zero +/* BE038 80127158 00431021 */ addu $v0, $v0, $v1 +/* BE03C 8012715C 2442FFF8 */ addiu $v0, $v0, -0x8 +/* BE040 80127160 ACA20004 */ sw $v0, 0x4($a1) +/* BE044 80127164 87C2045C */ lh $v0, 0x45C($fp) +/* BE048 80127168 97C30516 */ lhu $v1, 0x516($fp) +/* BE04C 8012716C 240400FF */ addiu $a0, $zero, 0xFF +/* BE050 80127170 00431021 */ addu $v0, $v0, $v1 +/* BE054 80127174 94A30006 */ lhu $v1, 0x6($a1) +/* BE058 80127178 2442FFFB */ addiu $v0, $v0, -0x5 +/* BE05C 8012717C ACA2000C */ sw $v0, 0xC($a1) +/* BE060 80127180 2463FFEF */ addiu $v1, $v1, -0x11 +/* BE064 80127184 A7C30482 */ sh $v1, 0x482($fp) +/* BE068 80127188 94A2000E */ lhu $v0, 0xE($a1) +/* BE06C 8012718C 0000382D */ daddu $a3, $zero, $zero +/* BE070 80127190 2442FFEF */ addiu $v0, $v0, -0x11 +/* BE074 80127194 A7C20484 */ sh $v0, 0x484($fp) +/* BE078 80127198 A4A0004A */ sh $zero, 0x4A($a1) +/* BE07C 8012719C 97C2045A */ lhu $v0, 0x45A($fp) +/* BE080 801271A0 24050020 */ addiu $a1, $zero, 0x20 +/* BE084 801271A4 24420003 */ addiu $v0, $v0, 0x3 +/* BE088 801271A8 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE08C 801271AC AFA20010 */ sw $v0, 0x10($sp) +/* BE090 801271B0 97C2045C */ lhu $v0, 0x45C($fp) +/* BE094 801271B4 00A0302D */ daddu $a2, $a1, $zero +/* BE098 801271B8 2442FFFF */ addiu $v0, $v0, -0x1 +/* BE09C 801271BC 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE0A0 801271C0 AFA20014 */ sw $v0, 0x14($sp) +/* BE0A4 801271C4 97C20514 */ lhu $v0, 0x514($fp) +/* BE0A8 801271C8 24180001 */ addiu $t8, $zero, 0x1 +/* BE0AC 801271CC AFB8001C */ sw $t8, 0x1C($sp) +/* BE0B0 801271D0 2442FFFA */ addiu $v0, $v0, -0x6 +/* BE0B4 801271D4 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE0B8 801271D8 0C04AC4C */ jal msg_draw_prim_rect +/* BE0BC 801271DC AFA20018 */ sw $v0, 0x18($sp) +/* BE0C0 801271E0 24040020 */ addiu $a0, $zero, 0x20 +/* BE0C4 801271E4 240500FF */ addiu $a1, $zero, 0xFF +/* BE0C8 801271E8 97C2045A */ lhu $v0, 0x45A($fp) +/* BE0CC 801271EC 0080302D */ daddu $a2, $a0, $zero +/* BE0D0 801271F0 24420003 */ addiu $v0, $v0, 0x3 +/* BE0D4 801271F4 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE0D8 801271F8 AFA20010 */ sw $v0, 0x10($sp) +/* BE0DC 801271FC 97C2045C */ lhu $v0, 0x45C($fp) +/* BE0E0 80127200 97C30516 */ lhu $v1, 0x516($fp) +/* BE0E4 80127204 0000382D */ daddu $a3, $zero, $zero +/* BE0E8 80127208 00431021 */ addu $v0, $v0, $v1 +/* BE0EC 8012720C 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE0F0 80127210 AFA20014 */ sw $v0, 0x14($sp) +/* BE0F4 80127214 97C20514 */ lhu $v0, 0x514($fp) +/* BE0F8 80127218 24190001 */ addiu $t9, $zero, 0x1 +/* BE0FC 8012721C AFB9001C */ sw $t9, 0x1C($sp) +/* BE100 80127220 2442FFFA */ addiu $v0, $v0, -0x6 +/* BE104 80127224 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BE108 80127228 0C04AC4C */ jal msg_draw_prim_rect +/* BE10C 8012722C AFA20018 */ sw $v0, 0x18($sp) +/* BE110 80127230 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BE114 80127234 24180002 */ addiu $t8, $zero, 0x2 +/* BE118 80127238 14580011 */ bne $v0, $t8, .LIQUE_80127280 +/* BE11C 8012723C 241000FF */ addiu $s0, $zero, 0xFF +/* BE120 80127240 93C30509 */ lbu $v1, 0x509($fp) +/* BE124 80127244 00031040 */ sll $v0, $v1, 1 +/* BE128 80127248 00431021 */ addu $v0, $v0, $v1 +/* BE12C 8012724C 00021100 */ sll $v0, $v0, 4 +/* BE130 80127250 24500050 */ addiu $s0, $v0, 0x50 +/* BE134 80127254 320200FF */ andi $v0, $s0, 0xFF +/* BE138 80127258 2442FFD0 */ addiu $v0, $v0, -0x30 +/* BE13C 8012725C 24630001 */ addiu $v1, $v1, 0x1 +/* BE140 80127260 A7A2008E */ sh $v0, 0x8E($sp) +/* BE144 80127264 A3C30509 */ sb $v1, 0x509($fp) +/* BE148 80127268 306300FF */ andi $v1, $v1, 0xFF +/* BE14C 8012726C 24020004 */ addiu $v0, $zero, 0x4 +/* BE150 80127270 14620017 */ bne $v1, $v0, .LIQUE_801272D0 +/* BE154 80127274 24110001 */ addiu $s1, $zero, 0x1 +/* BE158 80127278 08049CB4 */ j .LIQUE_801272D0 +/* BE15C 8012727C A3C304F8 */ sb $v1, 0x4F8($fp) +.LIQUE_80127280: +/* BE160 80127280 24190003 */ addiu $t9, $zero, 0x3 +/* BE164 80127284 14590012 */ bne $v0, $t9, .LIQUE_801272D0 +/* BE168 80127288 2403FFD0 */ addiu $v1, $zero, -0x30 +/* BE16C 8012728C 93C40512 */ lbu $a0, 0x512($fp) +/* BE170 80127290 00041080 */ sll $v0, $a0, 2 +/* BE174 80127294 00441021 */ addu $v0, $v0, $a0 +/* BE178 80127298 03221004 */ sllv $v0, $v0, $t9 +/* BE17C 8012729C 00628023 */ subu $s0, $v1, $v0 +/* BE180 801272A0 320200FF */ andi $v0, $s0, 0xFF +/* BE184 801272A4 00431021 */ addu $v0, $v0, $v1 +/* BE188 801272A8 24840001 */ addiu $a0, $a0, 0x1 +/* BE18C 801272AC A7A2008E */ sh $v0, 0x8E($sp) +/* BE190 801272B0 A3C40512 */ sb $a0, 0x512($fp) +/* BE194 801272B4 308400FF */ andi $a0, $a0, 0xFF +/* BE198 801272B8 24020004 */ addiu $v0, $zero, 0x4 +/* BE19C 801272BC 14820004 */ bne $a0, $v0, .LIQUE_801272D0 +/* BE1A0 801272C0 24110001 */ addiu $s1, $zero, 0x1 +/* BE1A4 801272C4 8FC204FC */ lw $v0, 0x4FC($fp) +/* BE1A8 801272C8 34420001 */ ori $v0, $v0, 0x1 +/* BE1AC 801272CC AFC204FC */ sw $v0, 0x4FC($fp) +.LIQUE_801272D0: +/* BE1B0 801272D0 87C4045A */ lh $a0, 0x45A($fp) +/* BE1B4 801272D4 87C5045C */ lh $a1, 0x45C($fp) +/* BE1B8 801272D8 97C60514 */ lhu $a2, 0x514($fp) +/* BE1BC 801272DC 97C70516 */ lhu $a3, 0x516($fp) +/* BE1C0 801272E0 24020006 */ addiu $v0, $zero, 0x6 +/* BE1C4 801272E4 AFA20010 */ sw $v0, 0x10($sp) +/* BE1C8 801272E8 3C028016 */ lui $v0, %hi(msg_drawState) +/* BE1CC 801272EC 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BE1D0 801272F0 9043002B */ lbu $v1, 0x2B($v0) +/* BE1D4 801272F4 320200FF */ andi $v0, $s0, 0xFF +/* BE1D8 801272F8 AFB10018 */ sw $s1, 0x18($sp) +/* BE1DC 801272FC AFA2001C */ sw $v0, 0x1C($sp) +/* BE1E0 80127300 AFA20020 */ sw $v0, 0x20($sp) +/* BE1E4 80127304 0C04B0B8 */ jal msg_draw_frame +/* BE1E8 80127308 AFA30014 */ sw $v1, 0x14($sp) +/* BE1EC 8012730C 0C04A9C6 */ jal msg_reset_gfx_state +/* BE1F0 80127310 321000FF */ andi $s0, $s0, 0xFF +/* BE1F4 80127314 3C038016 */ lui $v1, %hi(msg_drawState) +/* BE1F8 80127318 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BE1FC 8012731C 8C620020 */ lw $v0, 0x20($v1) +/* BE200 80127320 0804A3A2 */ j .LIQUE_80128E88 +/* BE204 80127324 A7B000A6 */ sh $s0, 0xA6($sp) +.LIQUE_80127328: +/* BE208 80127328 24020012 */ addiu $v0, $zero, 0x12 +/* BE20C 8012732C 3C038016 */ lui $v1, %hi(msg_drawState) +/* BE210 80127330 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BE214 80127334 2404001C */ addiu $a0, $zero, 0x1C +/* BE218 80127338 A4620046 */ sh $v0, 0x46($v1) +/* BE21C 8012733C 2402000B */ addiu $v0, $zero, 0xB +/* BE220 80127340 A4620048 */ sh $v0, 0x48($v1) +/* BE224 80127344 24020014 */ addiu $v0, $zero, 0x14 +/* BE228 80127348 A7C2045A */ sh $v0, 0x45A($fp) +/* BE22C 8012734C 24020118 */ addiu $v0, $zero, 0x118 +/* BE230 80127350 A7C20514 */ sh $v0, 0x514($fp) +/* BE234 80127354 2402000F */ addiu $v0, $zero, 0xF +/* BE238 80127358 A7C4045C */ sh $a0, 0x45C($fp) +/* BE23C 8012735C A062002B */ sb $v0, 0x2B($v1) +/* BE240 80127360 3C038016 */ lui $v1, %hi(msg_drawState) +/* BE244 80127364 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BE248 80127368 94620044 */ lhu $v0, 0x44($v1) +/* BE24C 8012736C 2442FFFE */ addiu $v0, $v0, -0x2 +/* BE250 80127370 A4620044 */ sh $v0, 0x44($v1) +/* BE254 80127374 93C20508 */ lbu $v0, 0x508($fp) +/* BE258 80127378 24180007 */ addiu $t8, $zero, 0x7 +/* BE25C 8012737C 1458000A */ bne $v0, $t8, .LIQUE_801273A8 +/* BE260 80127380 241100FF */ addiu $s1, $zero, 0xFF +/* BE264 80127384 3C17802F */ lui $s7, %hi(ui_msg_sign_corner_bottomright_png) +/* BE268 80127388 26F7C770 */ addiu $s7, $s7, %lo(ui_msg_sign_corner_bottomright_png) +/* BE26C 8012738C 3C16802F */ lui $s6, %hi(ui_msg_sign_pal) +/* BE270 80127390 26D6CD10 */ addiu $s6, $s6, %lo(ui_msg_sign_pal) +/* BE274 80127394 24020048 */ addiu $v0, $zero, 0x48 +/* BE278 80127398 A7C20516 */ sh $v0, 0x516($fp) +/* BE27C 8012739C 24020018 */ addiu $v0, $zero, 0x18 +/* BE280 801273A0 08049CEF */ j .LIQUE_801273BC +/* BE284 801273A4 A462004A */ sh $v0, 0x4A($v1) +.LIQUE_801273A8: +/* BE288 801273A8 3C17802F */ lui $s7, %hi(ui_msg_lamppost_corner_bottomright_png) +/* BE28C 801273AC 26F7C7F0 */ addiu $s7, $s7, %lo(ui_msg_lamppost_corner_bottomright_png) +/* BE290 801273B0 3C16802F */ lui $s6, %hi(ui_msg_lamppost_pal) +/* BE294 801273B4 26D6CD30 */ addiu $s6, $s6, %lo(ui_msg_lamppost_pal) +/* BE298 801273B8 A464004A */ sh $a0, 0x4A($v1) +.LIQUE_801273BC: +/* BE29C 801273BC 24020022 */ addiu $v0, $zero, 0x22 +/* BE2A0 801273C0 3C048016 */ lui $a0, %hi(msg_drawState) +/* BE2A4 801273C4 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BE2A8 801273C8 24190002 */ addiu $t9, $zero, 0x2 +/* BE2AC 801273CC AC820000 */ sw $v0, 0x0($a0) +/* BE2B0 801273D0 24020028 */ addiu $v0, $zero, 0x28 +/* BE2B4 801273D4 AC820008 */ sw $v0, 0x8($a0) +/* BE2B8 801273D8 2402011B */ addiu $v0, $zero, 0x11B +/* BE2BC 801273DC AC820004 */ sw $v0, 0x4($a0) +/* BE2C0 801273E0 97C20516 */ lhu $v0, 0x516($fp) +/* BE2C4 801273E4 94830006 */ lhu $v1, 0x6($a0) +/* BE2C8 801273E8 24420011 */ addiu $v0, $v0, 0x11 +/* BE2CC 801273EC 2463FFF0 */ addiu $v1, $v1, -0x10 +/* BE2D0 801273F0 AC82000C */ sw $v0, 0xC($a0) +/* BE2D4 801273F4 A7C30482 */ sh $v1, 0x482($fp) +/* BE2D8 801273F8 9482000E */ lhu $v0, 0xE($a0) +/* BE2DC 801273FC 93C304F8 */ lbu $v1, 0x4F8($fp) +/* BE2E0 80127400 2442FFF7 */ addiu $v0, $v0, -0x9 +/* BE2E4 80127404 14790010 */ bne $v1, $t9, .LIQUE_80127448 +/* BE2E8 80127408 A7C20484 */ sh $v0, 0x484($fp) +/* BE2EC 8012740C 93C20509 */ lbu $v0, 0x509($fp) +/* BE2F0 80127410 24180003 */ addiu $t8, $zero, 0x3 +/* BE2F4 80127414 00021980 */ sll $v1, $v0, 6 +/* BE2F8 80127418 24710050 */ addiu $s1, $v1, 0x50 +/* BE2FC 8012741C 322300FF */ andi $v1, $s1, 0xFF +/* BE300 80127420 2463FFD0 */ addiu $v1, $v1, -0x30 +/* BE304 80127424 24420001 */ addiu $v0, $v0, 0x1 +/* BE308 80127428 A7A3008E */ sh $v1, 0x8E($sp) +/* BE30C 8012742C A3C20509 */ sb $v0, 0x509($fp) +/* BE310 80127430 304200FF */ andi $v0, $v0, 0xFF +/* BE314 80127434 14580018 */ bne $v0, $t8, .LIQUE_80127498 +/* BE318 80127438 323800FF */ andi $t8, $s1, 0xFF +/* BE31C 8012743C 24020004 */ addiu $v0, $zero, 0x4 +/* BE320 80127440 08049D26 */ j .LIQUE_80127498 +/* BE324 80127444 A3C204F8 */ sb $v0, 0x4F8($fp) +.LIQUE_80127448: +/* BE328 80127448 24190003 */ addiu $t9, $zero, 0x3 +/* BE32C 8012744C 14790012 */ bne $v1, $t9, .LIQUE_80127498 +/* BE330 80127450 323800FF */ andi $t8, $s1, 0xFF +/* BE334 80127454 93C40512 */ lbu $a0, 0x512($fp) +/* BE338 80127458 2403FFD0 */ addiu $v1, $zero, -0x30 +/* BE33C 8012745C 00041040 */ sll $v0, $a0, 1 +/* BE340 80127460 00441021 */ addu $v0, $v0, $a0 +/* BE344 80127464 00021100 */ sll $v0, $v0, 4 +/* BE348 80127468 00628823 */ subu $s1, $v1, $v0 +/* BE34C 8012746C 322200FF */ andi $v0, $s1, 0xFF +/* BE350 80127470 00431021 */ addu $v0, $v0, $v1 +/* BE354 80127474 24840001 */ addiu $a0, $a0, 0x1 +/* BE358 80127478 A7A2008E */ sh $v0, 0x8E($sp) +/* BE35C 8012747C A3C40512 */ sb $a0, 0x512($fp) +/* BE360 80127480 308400FF */ andi $a0, $a0, 0xFF +/* BE364 80127484 14990004 */ bne $a0, $t9, .LIQUE_80127498 +/* BE368 80127488 323800FF */ andi $t8, $s1, 0xFF +/* BE36C 8012748C 8FC204FC */ lw $v0, 0x4FC($fp) +/* BE370 80127490 34420001 */ ori $v0, $v0, 0x1 +/* BE374 80127494 AFC204FC */ sw $v0, 0x4FC($fp) +.LIQUE_80127498: +/* BE378 80127498 3C04802F */ lui $a0, %hi(ui_msg_sign_corner_topleft_png) +/* BE37C 8012749C 2484C5F0 */ addiu $a0, $a0, %lo(ui_msg_sign_corner_topleft_png) +/* BE380 801274A0 24050010 */ addiu $a1, $zero, 0x10 +/* BE384 801274A4 00A0302D */ daddu $a2, $a1, $zero +/* BE388 801274A8 24070002 */ addiu $a3, $zero, 0x2 +/* BE38C 801274AC 24150014 */ addiu $s5, $zero, 0x14 +/* BE390 801274B0 2410001C */ addiu $s0, $zero, 0x1C +/* BE394 801274B4 2419000A */ addiu $t9, $zero, 0xA +/* BE398 801274B8 A7B800A6 */ sh $t8, 0xA6($sp) +/* BE39C 801274BC 0320C02D */ daddu $t8, $t9, $zero +/* BE3A0 801274C0 24130136 */ addiu $s3, $zero, 0x136 +/* BE3A4 801274C4 241200E6 */ addiu $s2, $zero, 0xE6 +/* BE3A8 801274C8 323100FF */ andi $s1, $s1, 0xFF +/* BE3AC 801274CC AFA00010 */ sw $zero, 0x10($sp) +/* BE3B0 801274D0 AFB60014 */ sw $s6, 0x14($sp) +/* BE3B4 801274D4 AFB50018 */ sw $s5, 0x18($sp) +/* BE3B8 801274D8 AFB0001C */ sw $s0, 0x1C($sp) +/* BE3BC 801274DC AFB90020 */ sw $t9, 0x20($sp) +/* BE3C0 801274E0 AFB80024 */ sw $t8, 0x24($sp) +/* BE3C4 801274E4 AFB30028 */ sw $s3, 0x28($sp) +/* BE3C8 801274E8 AFB2002C */ sw $s2, 0x2C($sp) +/* BE3CC 801274EC 0C04B44C */ jal draw_ci_image_with_clipping +/* BE3D0 801274F0 AFB10030 */ sw $s1, 0x30($sp) +/* BE3D4 801274F4 3C04802F */ lui $a0, %hi(ui_msg_sign_corner_topright_png) +/* BE3D8 801274F8 2484C670 */ addiu $a0, $a0, %lo(ui_msg_sign_corner_topright_png) +/* BE3DC 801274FC 24050010 */ addiu $a1, $zero, 0x10 +/* BE3E0 80127500 00A0302D */ daddu $a2, $a1, $zero +/* BE3E4 80127504 24070002 */ addiu $a3, $zero, 0x2 +/* BE3E8 80127508 2414011C */ addiu $s4, $zero, 0x11C +/* BE3EC 8012750C 2419000A */ addiu $t9, $zero, 0xA +/* BE3F0 80127510 0320C02D */ daddu $t8, $t9, $zero +/* BE3F4 80127514 AFA00010 */ sw $zero, 0x10($sp) +/* BE3F8 80127518 AFB60014 */ sw $s6, 0x14($sp) +/* BE3FC 8012751C AFB40018 */ sw $s4, 0x18($sp) +/* BE400 80127520 AFB0001C */ sw $s0, 0x1C($sp) +/* BE404 80127524 AFB90020 */ sw $t9, 0x20($sp) +/* BE408 80127528 AFB80024 */ sw $t8, 0x24($sp) +/* BE40C 8012752C AFB30028 */ sw $s3, 0x28($sp) +/* BE410 80127530 AFB2002C */ sw $s2, 0x2C($sp) +/* BE414 80127534 0C04B44C */ jal draw_ci_image_with_clipping +/* BE418 80127538 AFB10030 */ sw $s1, 0x30($sp) +/* BE41C 8012753C 3C04802F */ lui $a0, %hi(ui_msg_sign_corner_bottomleft_png) +/* BE420 80127540 2484C6F0 */ addiu $a0, $a0, %lo(ui_msg_sign_corner_bottomleft_png) +/* BE424 80127544 24050010 */ addiu $a1, $zero, 0x10 +/* BE428 80127548 00A0302D */ daddu $a2, $a1, $zero +/* BE42C 8012754C 24070002 */ addiu $a3, $zero, 0x2 +/* BE430 80127550 AFA00010 */ sw $zero, 0x10($sp) +/* BE434 80127554 AFB60014 */ sw $s6, 0x14($sp) +/* BE438 80127558 AFB50018 */ sw $s5, 0x18($sp) +/* BE43C 8012755C 97C20516 */ lhu $v0, 0x516($fp) +/* BE440 80127560 2419000A */ addiu $t9, $zero, 0xA +/* BE444 80127564 0320C02D */ daddu $t8, $t9, $zero +/* BE448 80127568 AFB90020 */ sw $t9, 0x20($sp) +/* BE44C 8012756C AFB80024 */ sw $t8, 0x24($sp) +/* BE450 80127570 AFB30028 */ sw $s3, 0x28($sp) +/* BE454 80127574 AFB2002C */ sw $s2, 0x2C($sp) +/* BE458 80127578 AFB10030 */ sw $s1, 0x30($sp) +/* BE45C 8012757C 2442000C */ addiu $v0, $v0, 0xC +/* BE460 80127580 00A21004 */ sllv $v0, $v0, $a1 +/* BE464 80127584 00A21007 */ srav $v0, $v0, $a1 +/* BE468 80127588 0C04B44C */ jal draw_ci_image_with_clipping +/* BE46C 8012758C AFA2001C */ sw $v0, 0x1C($sp) +/* BE470 80127590 02E0202D */ daddu $a0, $s7, $zero +/* BE474 80127594 24050010 */ addiu $a1, $zero, 0x10 +/* BE478 80127598 00A0302D */ daddu $a2, $a1, $zero +/* BE47C 8012759C 24070002 */ addiu $a3, $zero, 0x2 +/* BE480 801275A0 AFA00010 */ sw $zero, 0x10($sp) +/* BE484 801275A4 AFB60014 */ sw $s6, 0x14($sp) +/* BE488 801275A8 AFB40018 */ sw $s4, 0x18($sp) +/* BE48C 801275AC 97C20516 */ lhu $v0, 0x516($fp) +/* BE490 801275B0 2419000A */ addiu $t9, $zero, 0xA +/* BE494 801275B4 0320C02D */ daddu $t8, $t9, $zero +/* BE498 801275B8 AFB90020 */ sw $t9, 0x20($sp) +/* BE49C 801275BC AFB80024 */ sw $t8, 0x24($sp) +/* BE4A0 801275C0 AFB30028 */ sw $s3, 0x28($sp) +/* BE4A4 801275C4 AFB2002C */ sw $s2, 0x2C($sp) +/* BE4A8 801275C8 AFB10030 */ sw $s1, 0x30($sp) +/* BE4AC 801275CC 2442000C */ addiu $v0, $v0, 0xC +/* BE4B0 801275D0 00A21004 */ sllv $v0, $v0, $a1 +/* BE4B4 801275D4 00A21007 */ srav $v0, $v0, $a1 +/* BE4B8 801275D8 0C04B44C */ jal draw_ci_image_with_clipping +/* BE4BC 801275DC AFA2001C */ sw $v0, 0x1C($sp) +/* BE4C0 801275E0 3C120703 */ lui $s2, (0x703E03C >> 16) +/* BE4C4 801275E4 3652E03C */ ori $s2, $s2, (0x703E03C & 0xFFFF) +/* BE4C8 801275E8 3C14F540 */ lui $s4, (0xF5400400 >> 16) +/* BE4CC 801275EC 36940400 */ ori $s4, $s4, (0xF5400400 & 0xFFFF) +/* BE4D0 801275F0 3C130001 */ lui $s3, (0x10050 >> 16) +/* BE4D4 801275F4 36730050 */ ori $s3, $s3, (0x10050 & 0xFFFF) +/* BE4D8 801275F8 3C150007 */ lui $s5, (0x7C03C >> 16) +/* BE4DC 801275FC 36B5C03C */ ori $s5, $s5, (0x7C03C & 0xFFFF) +/* BE4E0 80127600 3C06E447 */ lui $a2, (0xE44700B0 >> 16) +/* BE4E4 80127604 34C600B0 */ ori $a2, $a2, (0xE44700B0 & 0xFFFF) +/* BE4E8 80127608 3C050009 */ lui $a1, (0x90070 >> 16) +/* BE4EC 8012760C 34A50070 */ ori $a1, $a1, (0x90070 & 0xFFFF) +/* BE4F0 80127610 3C090400 */ lui $t1, (0x4000400 >> 16) +/* BE4F4 80127614 35290400 */ ori $t1, $t1, (0x4000400 & 0xFFFF) +/* BE4F8 80127618 3C0BFD48 */ lui $t3, (0xFD480007 >> 16) +/* BE4FC 8012761C 356B0007 */ ori $t3, $t3, (0xFD480007 & 0xFFFF) +/* BE500 80127620 3C0AF548 */ lui $t2, (0xF5480200 >> 16) +/* BE504 80127624 354A0200 */ ori $t2, $t2, (0xF5480200 & 0xFFFF) +/* BE508 80127628 3C0D0701 */ lui $t5, (0x7014040 >> 16) +/* BE50C 8012762C 35AD4040 */ ori $t5, $t5, (0x7014040 & 0xFFFF) +/* BE510 80127630 3C0E0701 */ lui $t6, (0x701E07C >> 16) +/* BE514 80127634 35CEE07C */ ori $t6, $t6, (0x701E07C & 0xFFFF) +/* BE518 80127638 3C0CF540 */ lui $t4, (0xF5400200 >> 16) +/* BE51C 8012763C 358C0200 */ ori $t4, $t4, (0xF5400200 & 0xFFFF) +/* BE520 80127640 3C0F0001 */ lui $t7, (0x14040 >> 16) +/* BE524 80127644 35EF4040 */ ori $t7, $t7, (0x14040 & 0xFFFF) +/* BE528 80127648 3C100003 */ lui $s0, (0x3C07C >> 16) +/* BE52C 8012764C 3610C07C */ ori $s0, $s0, (0x3C07C & 0xFFFF) +/* BE530 80127650 3C110005 */ lui $s1, (0x500B0 >> 16) +/* BE534 80127654 363100B0 */ ori $s1, $s1, (0x500B0 & 0xFFFF) +/* BE538 80127658 3C160047 */ lui $s6, (0x4700B0 >> 16) +/* BE53C 8012765C 36D600B0 */ ori $s6, $s6, (0x4700B0 & 0xFFFF) +/* BE540 80127660 3C17FD48 */ lui $s7, (0xFD480003 >> 16) +/* BE544 80127664 36F70003 */ ori $s7, $s7, (0xFD480003 & 0xFFFF) +/* BE548 80127668 3C190700 */ lui $t9, (0x700C030 >> 16) +/* BE54C 8012766C 3739C030 */ ori $t9, $t9, (0x700C030 & 0xFFFF) +/* BE550 80127670 3C180700 */ lui $t8, (0x700E01C >> 16) +/* BE554 80127674 3718E01C */ ori $t8, $t8, (0x700E01C & 0xFFFF) +/* BE558 80127678 AFB900D8 */ sw $t9, 0xD8($sp) +/* BE55C 8012767C 3C190001 */ lui $t9, (0x1C01C >> 16) +/* BE560 80127680 3739C01C */ ori $t9, $t9, (0x1C01C & 0xFFFF) +/* BE564 80127684 AFB800DC */ sw $t8, 0xDC($sp) +/* BE568 80127688 3C180009 */ lui $t8, (0x900B0 >> 16) +/* BE56C 8012768C 371800B0 */ ori $t8, $t8, (0x900B0 & 0xFFFF) +/* BE570 80127690 3C03802F */ lui $v1, %hi(ui_msg_sign_side_top_png) +/* BE574 80127694 2463C870 */ addiu $v1, $v1, %lo(ui_msg_sign_side_top_png) +/* BE578 80127698 3C02800A */ lui $v0, %hi(gMasterGfxPos) +/* BE57C 8012769C 8C429244 */ lw $v0, %lo(gMasterGfxPos)($v0) +/* BE580 801276A0 3C08F200 */ lui $t0, (0xF2000000 >> 16) +/* BE584 801276A4 AFB900D0 */ sw $t9, 0xD0($sp) +/* BE588 801276A8 8FB900C4 */ lw $t9, 0xC4($sp) +/* BE58C 801276AC 3C07E100 */ lui $a3, (0xE1000000 >> 16) +/* BE590 801276B0 AFB800D4 */ sw $t8, 0xD4($sp) +/* BE594 801276B4 0040202D */ daddu $a0, $v0, $zero +/* BE598 801276B8 24420008 */ addiu $v0, $v0, 0x8 +/* BE59C 801276BC AC990000 */ sw $t9, 0x0($a0) +/* BE5A0 801276C0 AC830004 */ sw $v1, 0x4($a0) +/* BE5A4 801276C4 8FB800C8 */ lw $t8, 0xC8($sp) +/* BE5A8 801276C8 24430008 */ addiu $v1, $v0, 0x8 +/* BE5AC 801276CC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5B0 801276D0 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* BE5B4 801276D4 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5B8 801276D8 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5BC 801276DC 24430010 */ addiu $v1, $v0, 0x10 +/* BE5C0 801276E0 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5C4 801276E4 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5C8 801276E8 24430018 */ addiu $v1, $v0, 0x18 +/* BE5CC 801276EC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5D0 801276F0 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5D4 801276F4 24430020 */ addiu $v1, $v0, 0x20 +/* BE5D8 801276F8 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5DC 801276FC AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5E0 80127700 24430028 */ addiu $v1, $v0, 0x28 +/* BE5E4 80127704 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5E8 80127708 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5EC 8012770C 24430030 */ addiu $v1, $v0, 0x30 +/* BE5F0 80127710 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE5F4 80127714 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE5F8 80127718 24430038 */ addiu $v1, $v0, 0x38 +/* BE5FC 8012771C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE600 80127720 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE604 80127724 24430040 */ addiu $v1, $v0, 0x40 +/* BE608 80127728 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE60C 8012772C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE610 80127730 24430048 */ addiu $v1, $v0, 0x48 +/* BE614 80127734 AC580000 */ sw $t8, 0x0($v0) +/* BE618 80127738 8FB900CC */ lw $t9, 0xCC($sp) +/* BE61C 8012773C 3C18E600 */ lui $t8, (0xE6000000 >> 16) +/* BE620 80127740 AC580008 */ sw $t8, 0x8($v0) +/* BE624 80127744 3C18E700 */ lui $t8, (0xE7000000 >> 16) +/* BE628 80127748 AC460030 */ sw $a2, 0x30($v0) +/* BE62C 8012774C 3C06F100 */ lui $a2, (0xF1000000 >> 16) +/* BE630 80127750 AC40000C */ sw $zero, 0xC($v0) +/* BE634 80127754 AC520014 */ sw $s2, 0x14($v0) +/* BE638 80127758 AC580018 */ sw $t8, 0x18($v0) +/* BE63C 8012775C AC40001C */ sw $zero, 0x1C($v0) +/* BE640 80127760 AC540020 */ sw $s4, 0x20($v0) +/* BE644 80127764 AC530024 */ sw $s3, 0x24($v0) +/* BE648 80127768 AC480028 */ sw $t0, 0x28($v0) +/* BE64C 8012776C AC55002C */ sw $s5, 0x2C($v0) +/* BE650 80127770 AC450034 */ sw $a1, 0x34($v0) +/* BE654 80127774 AC590004 */ sw $t9, 0x4($v0) +/* BE658 80127778 3C19F400 */ lui $t9, (0xF4000000 >> 16) +/* BE65C 8012777C AC590010 */ sw $t9, 0x10($v0) +/* BE660 80127780 AC470038 */ sw $a3, 0x38($v0) +/* BE664 80127784 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE668 80127788 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE66C 8012778C 24430050 */ addiu $v1, $v0, 0x50 +/* BE670 80127790 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE674 80127794 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE678 80127798 3C03802F */ lui $v1, %hi(ui_msg_sign_side_left_png) +/* BE67C 8012779C 2463C970 */ addiu $v1, $v1, %lo(ui_msg_sign_side_left_png) +/* BE680 801277A0 AC40003C */ sw $zero, 0x3C($v0) +/* BE684 801277A4 AC460040 */ sw $a2, 0x40($v0) +/* BE688 801277A8 AC490044 */ sw $t1, 0x44($v0) +/* BE68C 801277AC AC4B0048 */ sw $t3, 0x48($v0) +/* BE690 801277B0 AC43004C */ sw $v1, 0x4C($v0) +/* BE694 801277B4 3C19E600 */ lui $t9, (0xE6000000 >> 16) +/* BE698 801277B8 3C18F400 */ lui $t8, (0xF4000000 >> 16) +/* BE69C 801277BC AC590058 */ sw $t9, 0x58($v0) +/* BE6A0 801277C0 3C19E700 */ lui $t9, (0xE7000000 >> 16) +/* BE6A4 801277C4 AC4A0050 */ sw $t2, 0x50($v0) +/* BE6A8 801277C8 AC4D0054 */ sw $t5, 0x54($v0) +/* BE6AC 801277CC AC40005C */ sw $zero, 0x5C($v0) +/* BE6B0 801277D0 AC580060 */ sw $t8, 0x60($v0) +/* BE6B4 801277D4 AC4E0064 */ sw $t6, 0x64($v0) +/* BE6B8 801277D8 AC590068 */ sw $t9, 0x68($v0) +/* BE6BC 801277DC AC40006C */ sw $zero, 0x6C($v0) +/* BE6C0 801277E0 AC4C0070 */ sw $t4, 0x70($v0) +/* BE6C4 801277E4 AC4F0074 */ sw $t7, 0x74($v0) +/* BE6C8 801277E8 AC480078 */ sw $t0, 0x78($v0) +/* BE6CC 801277EC AC50007C */ sw $s0, 0x7C($v0) +/* BE6D0 801277F0 97C40516 */ lhu $a0, 0x516($fp) +/* BE6D4 801277F4 24430058 */ addiu $v1, $v0, 0x58 +/* BE6D8 801277F8 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE6DC 801277FC AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE6E0 80127800 24430060 */ addiu $v1, $v0, 0x60 +/* BE6E4 80127804 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE6E8 80127808 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE6EC 8012780C 24430068 */ addiu $v1, $v0, 0x68 +/* BE6F0 80127810 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE6F4 80127814 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE6F8 80127818 24430070 */ addiu $v1, $v0, 0x70 +/* BE6FC 8012781C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE700 80127820 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE704 80127824 24430078 */ addiu $v1, $v0, 0x78 +/* BE708 80127828 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE70C 8012782C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE710 80127830 24430080 */ addiu $v1, $v0, 0x80 +/* BE714 80127834 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE718 80127838 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE71C 8012783C 24430088 */ addiu $v1, $v0, 0x88 +/* BE720 80127840 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE724 80127844 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE728 80127848 24430090 */ addiu $v1, $v0, 0x90 +/* BE72C 8012784C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE730 80127850 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE734 80127854 24430098 */ addiu $v1, $v0, 0x98 +/* BE738 80127858 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE73C 8012785C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE740 80127860 244300A0 */ addiu $v1, $v0, 0xA0 +/* BE744 80127864 AC510084 */ sw $s1, 0x84($v0) +/* BE748 80127868 AC470088 */ sw $a3, 0x88($v0) +/* BE74C 8012786C AC40008C */ sw $zero, 0x8C($v0) +/* BE750 80127870 AC460090 */ sw $a2, 0x90($v0) +/* BE754 80127874 AC490094 */ sw $t1, 0x94($v0) +/* BE758 80127878 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE75C 8012787C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE760 80127880 3C03802F */ lui $v1, %hi(ui_msg_sign_side_right_png) +/* BE764 80127884 2463CAB0 */ addiu $v1, $v1, %lo(ui_msg_sign_side_right_png) +/* BE768 80127888 AC43009C */ sw $v1, 0x9C($v0) +/* BE76C 8012788C 244300A8 */ addiu $v1, $v0, 0xA8 +/* BE770 80127890 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE774 80127894 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE778 80127898 3C03E409 */ lui $v1, (0xE4090000 >> 16) +/* BE77C 8012789C AC4B0098 */ sw $t3, 0x98($v0) +/* BE780 801278A0 AC4A00A0 */ sw $t2, 0xA0($v0) +/* BE784 801278A4 2484000C */ addiu $a0, $a0, 0xC +/* BE788 801278A8 00042080 */ sll $a0, $a0, 2 +/* BE78C 801278AC 30840FFF */ andi $a0, $a0, 0xFFF +/* BE790 801278B0 00832025 */ or $a0, $a0, $v1 +/* BE794 801278B4 AC440080 */ sw $a0, 0x80($v0) +/* BE798 801278B8 AC4D00A4 */ sw $t5, 0xA4($v0) +/* BE79C 801278BC 3C18E600 */ lui $t8, (0xE6000000 >> 16) +/* BE7A0 801278C0 3C19F400 */ lui $t9, (0xF4000000 >> 16) +/* BE7A4 801278C4 AC5800A8 */ sw $t8, 0xA8($v0) +/* BE7A8 801278C8 3C18E700 */ lui $t8, (0xE7000000 >> 16) +/* BE7AC 801278CC AC4000AC */ sw $zero, 0xAC($v0) +/* BE7B0 801278D0 AC5900B0 */ sw $t9, 0xB0($v0) +/* BE7B4 801278D4 AC4E00B4 */ sw $t6, 0xB4($v0) +/* BE7B8 801278D8 AC5800B8 */ sw $t8, 0xB8($v0) +/* BE7BC 801278DC AC4000BC */ sw $zero, 0xBC($v0) +/* BE7C0 801278E0 AC4C00C0 */ sw $t4, 0xC0($v0) +/* BE7C4 801278E4 AC4F00C4 */ sw $t7, 0xC4($v0) +/* BE7C8 801278E8 AC4800C8 */ sw $t0, 0xC8($v0) +/* BE7CC 801278EC AC5000CC */ sw $s0, 0xCC($v0) +/* BE7D0 801278F0 97C40516 */ lhu $a0, 0x516($fp) +/* BE7D4 801278F4 3C05E447 */ lui $a1, (0xE4470000 >> 16) +/* BE7D8 801278F8 AC5600D4 */ sw $s6, 0xD4($v0) +/* BE7DC 801278FC AC4700D8 */ sw $a3, 0xD8($v0) +/* BE7E0 80127900 AC4000DC */ sw $zero, 0xDC($v0) +/* BE7E4 80127904 AC4600E0 */ sw $a2, 0xE0($v0) +/* BE7E8 80127908 AC4900E4 */ sw $t1, 0xE4($v0) +/* BE7EC 8012790C 8FB900C4 */ lw $t9, 0xC4($sp) +/* BE7F0 80127910 244300B0 */ addiu $v1, $v0, 0xB0 +/* BE7F4 80127914 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE7F8 80127918 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE7FC 8012791C 244300B8 */ addiu $v1, $v0, 0xB8 +/* BE800 80127920 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE804 80127924 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE808 80127928 244300C0 */ addiu $v1, $v0, 0xC0 +/* BE80C 8012792C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE810 80127930 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE814 80127934 244300C8 */ addiu $v1, $v0, 0xC8 +/* BE818 80127938 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE81C 8012793C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE820 80127940 244300D0 */ addiu $v1, $v0, 0xD0 +/* BE824 80127944 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE828 80127948 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE82C 8012794C 244300D8 */ addiu $v1, $v0, 0xD8 +/* BE830 80127950 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE834 80127954 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE838 80127958 244300E0 */ addiu $v1, $v0, 0xE0 +/* BE83C 8012795C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE840 80127960 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE844 80127964 244300E8 */ addiu $v1, $v0, 0xE8 +/* BE848 80127968 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE84C 8012796C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE850 80127970 244300F0 */ addiu $v1, $v0, 0xF0 +/* BE854 80127974 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE858 80127978 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE85C 8012797C 3C03802F */ lui $v1, %hi(ui_msg_sign_side_bottom_png) +/* BE860 80127980 2463CBF0 */ addiu $v1, $v1, %lo(ui_msg_sign_side_bottom_png) +/* BE864 80127984 AC5900E8 */ sw $t9, 0xE8($v0) +/* BE868 80127988 AC4300EC */ sw $v1, 0xEC($v0) +/* BE86C 8012798C 244300F8 */ addiu $v1, $v0, 0xF8 +/* BE870 80127990 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE874 80127994 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE878 80127998 24430100 */ addiu $v1, $v0, 0x100 +/* BE87C 8012799C 2484000C */ addiu $a0, $a0, 0xC +/* BE880 801279A0 00042080 */ sll $a0, $a0, 2 +/* BE884 801279A4 30840FFF */ andi $a0, $a0, 0xFFF +/* BE888 801279A8 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE88C 801279AC AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE890 801279B0 3C03E44B */ lui $v1, (0xE44B0000 >> 16) +/* BE894 801279B4 00832025 */ or $a0, $a0, $v1 +/* BE898 801279B8 8FB800C8 */ lw $t8, 0xC8($sp) +/* BE89C 801279BC 24430108 */ addiu $v1, $v0, 0x108 +/* BE8A0 801279C0 AC5800F0 */ sw $t8, 0xF0($v0) +/* BE8A4 801279C4 8FB900CC */ lw $t9, 0xCC($sp) +/* BE8A8 801279C8 3C18E600 */ lui $t8, (0xE6000000 >> 16) +/* BE8AC 801279CC AC5800F8 */ sw $t8, 0xF8($v0) +/* BE8B0 801279D0 AC4400D0 */ sw $a0, 0xD0($v0) +/* BE8B4 801279D4 AC5900F4 */ sw $t9, 0xF4($v0) +/* BE8B8 801279D8 AC4000FC */ sw $zero, 0xFC($v0) +/* BE8BC 801279DC 3C19F400 */ lui $t9, (0xF4000000 >> 16) +/* BE8C0 801279E0 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE8C4 801279E4 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE8C8 801279E8 24430110 */ addiu $v1, $v0, 0x110 +/* BE8CC 801279EC 3C18E700 */ lui $t8, (0xE7000000 >> 16) +/* BE8D0 801279F0 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE8D4 801279F4 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE8D8 801279F8 24430118 */ addiu $v1, $v0, 0x118 +/* BE8DC 801279FC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE8E0 80127A00 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE8E4 80127A04 24430120 */ addiu $v1, $v0, 0x120 +/* BE8E8 80127A08 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE8EC 80127A0C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE8F0 80127A10 24430128 */ addiu $v1, $v0, 0x128 +/* BE8F4 80127A14 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE8F8 80127A18 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE8FC 80127A1C 24430130 */ addiu $v1, $v0, 0x130 +/* BE900 80127A20 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE904 80127A24 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE908 80127A28 24430138 */ addiu $v1, $v0, 0x138 +/* BE90C 80127A2C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE910 80127A30 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE914 80127A34 24430140 */ addiu $v1, $v0, 0x140 +/* BE918 80127A38 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE91C 80127A3C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE920 80127A40 24430148 */ addiu $v1, $v0, 0x148 +/* BE924 80127A44 AC590100 */ sw $t9, 0x100($v0) +/* BE928 80127A48 AC520104 */ sw $s2, 0x104($v0) +/* BE92C 80127A4C AC580108 */ sw $t8, 0x108($v0) +/* BE930 80127A50 AC40010C */ sw $zero, 0x10C($v0) +/* BE934 80127A54 AC540110 */ sw $s4, 0x110($v0) +/* BE938 80127A58 AC530114 */ sw $s3, 0x114($v0) +/* BE93C 80127A5C AC480118 */ sw $t0, 0x118($v0) +/* BE940 80127A60 AC55011C */ sw $s5, 0x11C($v0) +/* BE944 80127A64 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE948 80127A68 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE94C 80127A6C 97C30516 */ lhu $v1, 0x516($fp) +/* BE950 80127A70 24440150 */ addiu $a0, $v0, 0x150 +/* BE954 80127A74 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE958 80127A78 AC249244 */ sw $a0, %lo(gMasterGfxPos)($at) +/* BE95C 80127A7C 2463001C */ addiu $v1, $v1, 0x1C +/* BE960 80127A80 00031880 */ sll $v1, $v1, 2 +/* BE964 80127A84 30630FFF */ andi $v1, $v1, 0xFFF +/* BE968 80127A88 00651825 */ or $v1, $v1, $a1 +/* BE96C 80127A8C AC430120 */ sw $v1, 0x120($v0) +/* BE970 80127A90 24430158 */ addiu $v1, $v0, 0x158 +/* BE974 80127A94 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE978 80127A98 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE97C 80127A9C 3C03802F */ lui $v1, %hi(ui_msg_sign_fill_png) +/* BE980 80127AA0 2463CCF0 */ addiu $v1, $v1, %lo(ui_msg_sign_fill_png) +/* BE984 80127AA4 97C40516 */ lhu $a0, 0x516($fp) +/* BE988 80127AA8 3C18E600 */ lui $t8, (0xE6000000 >> 16) +/* BE98C 80127AAC AC470128 */ sw $a3, 0x128($v0) +/* BE990 80127AB0 AC40012C */ sw $zero, 0x12C($v0) +/* BE994 80127AB4 AC43013C */ sw $v1, 0x13C($v0) +/* BE998 80127AB8 3C030009 */ lui $v1, (0x90000 >> 16) +/* BE99C 80127ABC AC460130 */ sw $a2, 0x130($v0) +/* BE9A0 80127AC0 AC490134 */ sw $t1, 0x134($v0) +/* BE9A4 80127AC4 AC570138 */ sw $s7, 0x138($v0) +/* BE9A8 80127AC8 AC4A0140 */ sw $t2, 0x140($v0) +/* BE9AC 80127ACC 8FB900D8 */ lw $t9, 0xD8($sp) +/* BE9B0 80127AD0 2484000C */ addiu $a0, $a0, 0xC +/* BE9B4 80127AD4 00042080 */ sll $a0, $a0, 2 +/* BE9B8 80127AD8 30840FFF */ andi $a0, $a0, 0xFFF +/* BE9BC 80127ADC 00832025 */ or $a0, $a0, $v1 +/* BE9C0 80127AE0 AC590144 */ sw $t9, 0x144($v0) +/* BE9C4 80127AE4 AC40014C */ sw $zero, 0x14C($v0) +/* BE9C8 80127AE8 AC440124 */ sw $a0, 0x124($v0) +/* BE9CC 80127AEC 3C19F400 */ lui $t9, (0xF4000000 >> 16) +/* BE9D0 80127AF0 24430160 */ addiu $v1, $v0, 0x160 +/* BE9D4 80127AF4 AC580148 */ sw $t8, 0x148($v0) +/* BE9D8 80127AF8 AC590150 */ sw $t9, 0x150($v0) +/* BE9DC 80127AFC 8FB800DC */ lw $t8, 0xDC($sp) +/* BE9E0 80127B00 3C19E700 */ lui $t9, (0xE7000000 >> 16) +/* BE9E4 80127B04 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE9E8 80127B08 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE9EC 80127B0C 24430168 */ addiu $v1, $v0, 0x168 +/* BE9F0 80127B10 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BE9F4 80127B14 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BE9F8 80127B18 3403C030 */ ori $v1, $zero, 0xC030 +/* BE9FC 80127B1C AC580154 */ sw $t8, 0x154($v0) +/* BEA00 80127B20 AC590158 */ sw $t9, 0x158($v0) +/* BEA04 80127B24 AC40015C */ sw $zero, 0x15C($v0) +/* BEA08 80127B28 AC4C0160 */ sw $t4, 0x160($v0) +/* BEA0C 80127B2C AC430164 */ sw $v1, 0x164($v0) +/* BEA10 80127B30 AC480168 */ sw $t0, 0x168($v0) +/* BEA14 80127B34 8FB800D0 */ lw $t8, 0xD0($sp) +/* BEA18 80127B38 24430170 */ addiu $v1, $v0, 0x170 +/* BEA1C 80127B3C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BEA20 80127B40 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BEA24 80127B44 24430178 */ addiu $v1, $v0, 0x178 +/* BEA28 80127B48 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BEA2C 80127B4C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BEA30 80127B50 24430180 */ addiu $v1, $v0, 0x180 +/* BEA34 80127B54 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BEA38 80127B58 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BEA3C 80127B5C 24430188 */ addiu $v1, $v0, 0x188 +/* BEA40 80127B60 AC58016C */ sw $t8, 0x16C($v0) +/* BEA44 80127B64 97C40516 */ lhu $a0, 0x516($fp) +/* BEA48 80127B68 8FB900D4 */ lw $t9, 0xD4($sp) +/* BEA4C 80127B6C 2484000C */ addiu $a0, $a0, 0xC +/* BEA50 80127B70 00042080 */ sll $a0, $a0, 2 +/* BEA54 80127B74 30840FFF */ andi $a0, $a0, 0xFFF +/* BEA58 80127B78 00852025 */ or $a0, $a0, $a1 +/* BEA5C 80127B7C AC590174 */ sw $t9, 0x174($v0) +/* BEA60 80127B80 AC470178 */ sw $a3, 0x178($v0) +/* BEA64 80127B84 AC40017C */ sw $zero, 0x17C($v0) +/* BEA68 80127B88 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BEA6C 80127B8C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BEA70 80127B90 AC460180 */ sw $a2, 0x180($v0) +/* BEA74 80127B94 AC490184 */ sw $t1, 0x184($v0) +/* BEA78 80127B98 08049FE0 */ j .LIQUE_80127F80 +/* BEA7C 80127B9C AC440170 */ sw $a0, 0x170($v0) +.LIQUE_80127BA0: +/* BEA80 80127BA0 0000902D */ daddu $s2, $zero, $zero +/* BEA84 80127BA4 240400FF */ addiu $a0, $zero, 0xFF +/* BEA88 80127BA8 24050020 */ addiu $a1, $zero, 0x20 +/* BEA8C 80127BAC 2402000C */ addiu $v0, $zero, 0xC +/* BEA90 80127BB0 00A0302D */ daddu $a2, $a1, $zero +/* BEA94 80127BB4 3C078016 */ lui $a3, %hi(msg_drawState) +/* BEA98 80127BB8 8CE780F4 */ lw $a3, %lo(msg_drawState)($a3) +/* BEA9C 80127BBC 2411002B */ addiu $s1, $zero, 0x2B +/* BEAA0 80127BC0 24180005 */ addiu $t8, $zero, 0x5 +/* BEAA4 80127BC4 A4E20046 */ sh $v0, 0x46($a3) +/* BEAA8 80127BC8 24020028 */ addiu $v0, $zero, 0x28 +/* BEAAC 80127BCC A4F80048 */ sh $t8, 0x48($a3) +/* BEAB0 80127BD0 A7C2045A */ sh $v0, 0x45A($fp) +/* BEAB4 80127BD4 2402001C */ addiu $v0, $zero, 0x1C +/* BEAB8 80127BD8 A7C2045C */ sh $v0, 0x45C($fp) +/* BEABC 80127BDC 2402002D */ addiu $v0, $zero, 0x2D +/* BEAC0 80127BE0 ACE20000 */ sw $v0, 0x0($a3) +/* BEAC4 80127BE4 00A0102D */ daddu $v0, $a1, $zero +/* BEAC8 80127BE8 ACE20008 */ sw $v0, 0x8($a3) +/* BEACC 80127BEC 24020110 */ addiu $v0, $zero, 0x110 +/* BEAD0 80127BF0 ACE20004 */ sw $v0, 0x4($a3) +/* BEAD4 80127BF4 94E30006 */ lhu $v1, 0x6($a3) +/* BEAD8 80127BF8 24020051 */ addiu $v0, $zero, 0x51 +/* BEADC 80127BFC ACE2000C */ sw $v0, 0xC($a3) +/* BEAE0 80127C00 2463FFEB */ addiu $v1, $v1, -0x15 +/* BEAE4 80127C04 A7C30482 */ sh $v1, 0x482($fp) +/* BEAE8 80127C08 94E2000E */ lhu $v0, 0xE($a3) +/* BEAEC 80127C0C 241000EA */ addiu $s0, $zero, 0xEA +/* BEAF0 80127C10 2442FFEC */ addiu $v0, $v0, -0x14 +/* BEAF4 80127C14 A7C20484 */ sh $v0, 0x484($fp) +/* BEAF8 80127C18 A0E0002B */ sb $zero, 0x2B($a3) +/* BEAFC 80127C1C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BEB00 80127C20 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BEB04 80127C24 0000382D */ daddu $a3, $zero, $zero +/* BEB08 80127C28 A440004A */ sh $zero, 0x4A($v0) +/* BEB0C 80127C2C 2402001B */ addiu $v0, $zero, 0x1B +/* BEB10 80127C30 24190001 */ addiu $t9, $zero, 0x1 +/* BEB14 80127C34 AFB10010 */ sw $s1, 0x10($sp) +/* BEB18 80127C38 AFA20014 */ sw $v0, 0x14($sp) +/* BEB1C 80127C3C AFB00018 */ sw $s0, 0x18($sp) +/* BEB20 80127C40 0C04AC4C */ jal msg_draw_prim_rect +/* BEB24 80127C44 AFB9001C */ sw $t9, 0x1C($sp) +/* BEB28 80127C48 24040020 */ addiu $a0, $zero, 0x20 +/* BEB2C 80127C4C 240500FF */ addiu $a1, $zero, 0xFF +/* BEB30 80127C50 0080302D */ daddu $a2, $a0, $zero +/* BEB34 80127C54 0000382D */ daddu $a3, $zero, $zero +/* BEB38 80127C58 24020056 */ addiu $v0, $zero, 0x56 +/* BEB3C 80127C5C 24180001 */ addiu $t8, $zero, 0x1 +/* BEB40 80127C60 AFB10010 */ sw $s1, 0x10($sp) +/* BEB44 80127C64 AFA20014 */ sw $v0, 0x14($sp) +/* BEB48 80127C68 AFB00018 */ sw $s0, 0x18($sp) +/* BEB4C 80127C6C 0C04AC4C */ jal msg_draw_prim_rect +/* BEB50 80127C70 AFB8001C */ sw $t8, 0x1C($sp) +/* BEB54 80127C74 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BEB58 80127C78 24190002 */ addiu $t9, $zero, 0x2 +/* BEB5C 80127C7C 14590010 */ bne $v0, $t9, .LIQUE_80127CC0 +/* BEB60 80127C80 241300FF */ addiu $s3, $zero, 0xFF +/* BEB64 80127C84 93C20509 */ lbu $v0, 0x509($fp) +/* BEB68 80127C88 24180003 */ addiu $t8, $zero, 0x3 +/* BEB6C 80127C8C 00021980 */ sll $v1, $v0, 6 +/* BEB70 80127C90 24730050 */ addiu $s3, $v1, 0x50 +/* BEB74 80127C94 326300FF */ andi $v1, $s3, 0xFF +/* BEB78 80127C98 2463FFD0 */ addiu $v1, $v1, -0x30 +/* BEB7C 80127C9C 24420001 */ addiu $v0, $v0, 0x1 +/* BEB80 80127CA0 A7A3008E */ sh $v1, 0x8E($sp) +/* BEB84 80127CA4 A3C20509 */ sb $v0, 0x509($fp) +/* BEB88 80127CA8 304200FF */ andi $v0, $v0, 0xFF +/* BEB8C 80127CAC 14580018 */ bne $v0, $t8, .LIQUE_80127D10 +/* BEB90 80127CB0 24120001 */ addiu $s2, $zero, 0x1 +/* BEB94 80127CB4 24020004 */ addiu $v0, $zero, 0x4 +/* BEB98 80127CB8 08049F44 */ j .LIQUE_80127D10 +/* BEB9C 80127CBC A3C204F8 */ sb $v0, 0x4F8($fp) +.LIQUE_80127CC0: +/* BEBA0 80127CC0 24190003 */ addiu $t9, $zero, 0x3 +/* BEBA4 80127CC4 14590013 */ bne $v0, $t9, .LIQUE_80127D14 +/* BEBA8 80127CC8 24040028 */ addiu $a0, $zero, 0x28 +/* BEBAC 80127CCC 93C40512 */ lbu $a0, 0x512($fp) +/* BEBB0 80127CD0 2403FFD0 */ addiu $v1, $zero, -0x30 +/* BEBB4 80127CD4 00041040 */ sll $v0, $a0, 1 +/* BEBB8 80127CD8 00441021 */ addu $v0, $v0, $a0 +/* BEBBC 80127CDC 00021100 */ sll $v0, $v0, 4 +/* BEBC0 80127CE0 00629823 */ subu $s3, $v1, $v0 +/* BEBC4 80127CE4 326200FF */ andi $v0, $s3, 0xFF +/* BEBC8 80127CE8 00431021 */ addu $v0, $v0, $v1 +/* BEBCC 80127CEC 24840001 */ addiu $a0, $a0, 0x1 +/* BEBD0 80127CF0 A7A2008E */ sh $v0, 0x8E($sp) +/* BEBD4 80127CF4 A3C40512 */ sb $a0, 0x512($fp) +/* BEBD8 80127CF8 308400FF */ andi $a0, $a0, 0xFF +/* BEBDC 80127CFC 14990004 */ bne $a0, $t9, .LIQUE_80127D10 +/* BEBE0 80127D00 24120001 */ addiu $s2, $zero, 0x1 +/* BEBE4 80127D04 8FC204FC */ lw $v0, 0x4FC($fp) +/* BEBE8 80127D08 34420001 */ ori $v0, $v0, 0x1 +/* BEBEC 80127D0C AFC204FC */ sw $v0, 0x4FC($fp) +.LIQUE_80127D10: +/* BEBF0 80127D10 24040028 */ addiu $a0, $zero, 0x28 +.LIQUE_80127D14: +/* BEBF4 80127D14 2405001C */ addiu $a1, $zero, 0x1C +/* BEBF8 80127D18 240600F0 */ addiu $a2, $zero, 0xF0 +/* BEBFC 80127D1C 24020006 */ addiu $v0, $zero, 0x6 +/* BEC00 80127D20 3C038016 */ lui $v1, %hi(msg_drawState) +/* BEC04 80127D24 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BEC08 80127D28 2407003A */ addiu $a3, $zero, 0x3A +/* BEC0C 80127D2C AFA20010 */ sw $v0, 0x10($sp) +/* BEC10 80127D30 9062002B */ lbu $v0, 0x2B($v1) +/* BEC14 80127D34 327000FF */ andi $s0, $s3, 0xFF +/* BEC18 80127D38 AFB20018 */ sw $s2, 0x18($sp) +/* BEC1C 80127D3C AFB0001C */ sw $s0, 0x1C($sp) +/* BEC20 80127D40 AFB00020 */ sw $s0, 0x20($sp) +/* BEC24 80127D44 0C04B0B8 */ jal msg_draw_frame +/* BEC28 80127D48 AFA20014 */ sw $v0, 0x14($sp) +/* BEC2C 80127D4C 24050096 */ addiu $a1, $zero, 0x96 +/* BEC30 80127D50 24060069 */ addiu $a2, $zero, 0x69 +/* BEC34 80127D54 AFA00010 */ sw $zero, 0x10($sp) +/* BEC38 80127D58 8FC30548 */ lw $v1, 0x548($fp) +/* BEC3C 80127D5C 24020055 */ addiu $v0, $zero, 0x55 +/* BEC40 80127D60 AFA20018 */ sw $v0, 0x18($sp) +/* BEC44 80127D64 24020061 */ addiu $v0, $zero, 0x61 +/* BEC48 80127D68 2418000A */ addiu $t8, $zero, 0xA +/* BEC4C 80127D6C 0300C82D */ daddu $t9, $t8, $zero +/* BEC50 80127D70 2412012C */ addiu $s2, $zero, 0x12C +/* BEC54 80127D74 241100DC */ addiu $s1, $zero, 0xDC +/* BEC58 80127D78 AFA2001C */ sw $v0, 0x1C($sp) +/* BEC5C 80127D7C AFB80020 */ sw $t8, 0x20($sp) +/* BEC60 80127D80 AFB90024 */ sw $t9, 0x24($sp) +/* BEC64 80127D84 AFB20028 */ sw $s2, 0x28($sp) +/* BEC68 80127D88 AFB1002C */ sw $s1, 0x2C($sp) +/* BEC6C 80127D8C AFB00030 */ sw $s0, 0x30($sp) +/* BEC70 80127D90 AFA30014 */ sw $v1, 0x14($sp) +/* BEC74 80127D94 8FC40544 */ lw $a0, 0x544($fp) +/* BEC78 80127D98 0C04B44C */ jal draw_ci_image_with_clipping +/* BEC7C 80127D9C 24070002 */ addiu $a3, $zero, 0x2 +/* BEC80 80127DA0 24050046 */ addiu $a1, $zero, 0x46 +/* BEC84 80127DA4 2406005F */ addiu $a2, $zero, 0x5F +/* BEC88 80127DA8 24180001 */ addiu $t8, $zero, 0x1 +/* BEC8C 80127DAC AFB80010 */ sw $t8, 0x10($sp) +/* BEC90 80127DB0 8FC30550 */ lw $v1, 0x550($fp) +/* BEC94 80127DB4 240200A0 */ addiu $v0, $zero, 0xA0 +/* BEC98 80127DB8 AFA20018 */ sw $v0, 0x18($sp) +/* BEC9C 80127DBC 24020066 */ addiu $v0, $zero, 0x66 +/* BECA0 80127DC0 2419000A */ addiu $t9, $zero, 0xA +/* BECA4 80127DC4 0320C02D */ daddu $t8, $t9, $zero +/* BECA8 80127DC8 AFA2001C */ sw $v0, 0x1C($sp) +/* BECAC 80127DCC AFB90020 */ sw $t9, 0x20($sp) +/* BECB0 80127DD0 AFB80024 */ sw $t8, 0x24($sp) +/* BECB4 80127DD4 AFB20028 */ sw $s2, 0x28($sp) +/* BECB8 80127DD8 AFB1002C */ sw $s1, 0x2C($sp) +/* BECBC 80127DDC AFB00030 */ sw $s0, 0x30($sp) +/* BECC0 80127DE0 AFA30014 */ sw $v1, 0x14($sp) +/* BECC4 80127DE4 8FC4054C */ lw $a0, 0x54C($fp) +/* BECC8 80127DE8 0C04B44C */ jal draw_ci_image_with_clipping +/* BECCC 80127DEC 24070002 */ addiu $a3, $zero, 0x2 +/* BECD0 80127DF0 0C04A9C6 */ jal msg_reset_gfx_state +/* BECD4 80127DF4 327300FF */ andi $s3, $s3, 0xFF +/* BECD8 80127DF8 3C038016 */ lui $v1, %hi(msg_drawState) +/* BECDC 80127DFC 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BECE0 80127E00 8C620020 */ lw $v0, 0x20($v1) +/* BECE4 80127E04 0804A3A2 */ j .LIQUE_80128E88 +/* BECE8 80127E08 A7B300A6 */ sh $s3, 0xA6($sp) +.LIQUE_80127E0C: +/* BECEC 80127E0C 3C038016 */ lui $v1, %hi(msg_drawState) +/* BECF0 80127E10 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BECF4 80127E14 94640034 */ lhu $a0, 0x34($v1) +/* BECF8 80127E18 24020010 */ addiu $v0, $zero, 0x10 +/* BECFC 80127E1C A4620046 */ sh $v0, 0x46($v1) +/* BED00 80127E20 24020004 */ addiu $v0, $zero, 0x4 +/* BED04 80127E24 A4620048 */ sh $v0, 0x48($v1) +/* BED08 80127E28 2402013F */ addiu $v0, $zero, 0x13F +/* BED0C 80127E2C AC620004 */ sw $v0, 0x4($v1) +/* BED10 80127E30 240200EF */ addiu $v0, $zero, 0xEF +/* BED14 80127E34 AC600000 */ sw $zero, 0x0($v1) +/* BED18 80127E38 AC600008 */ sw $zero, 0x8($v1) +/* BED1C 80127E3C AC62000C */ sw $v0, 0xC($v1) +/* BED20 80127E40 A460004A */ sh $zero, 0x4A($v1) +/* BED24 80127E44 34840010 */ ori $a0, $a0, 0x10 +/* BED28 80127E48 A4640034 */ sh $a0, 0x34($v1) +/* BED2C 80127E4C 93C204F8 */ lbu $v0, 0x4F8($fp) +/* BED30 80127E50 2442FFF3 */ addiu $v0, $v0, -0xD +/* BED34 80127E54 2C420002 */ sltiu $v0, $v0, 0x2 +/* BED38 80127E58 10400004 */ beqz $v0, .LIQUE_80127E6C +/* BED3C 80127E5C 0000202D */ daddu $a0, $zero, $zero +/* BED40 80127E60 A7C0045A */ sh $zero, 0x45A($fp) +/* BED44 80127E64 08049FE0 */ j .LIQUE_80127F80 +/* BED48 80127E68 A7C0045C */ sh $zero, 0x45C($fp) +.LIQUE_80127E6C: +/* BED4C 80127E6C 0080282D */ daddu $a1, $a0, $zero +/* BED50 80127E70 97C30514 */ lhu $v1, 0x514($fp) +/* BED54 80127E74 240200A0 */ addiu $v0, $zero, 0xA0 +/* BED58 80127E78 00031842 */ srl $v1, $v1, 1 +/* BED5C 80127E7C 00431023 */ subu $v0, $v0, $v1 +/* BED60 80127E80 A7C2045A */ sh $v0, 0x45A($fp) +/* BED64 80127E84 87C6045A */ lh $a2, 0x45A($fp) +/* BED68 80127E88 24020038 */ addiu $v0, $zero, 0x38 +/* BED6C 80127E8C A7C2045C */ sh $v0, 0x45C($fp) +/* BED70 80127E90 AFA00010 */ sw $zero, 0x10($sp) +/* BED74 80127E94 97C20514 */ lhu $v0, 0x514($fp) +/* BED78 80127E98 24070038 */ addiu $a3, $zero, 0x38 +/* BED7C 80127E9C AFA20014 */ sw $v0, 0x14($sp) +/* BED80 80127EA0 97C30516 */ lhu $v1, 0x516($fp) +/* BED84 80127EA4 241900FF */ addiu $t9, $zero, 0xFF +/* BED88 80127EA8 24020140 */ addiu $v0, $zero, 0x140 +/* BED8C 80127EAC AFA20044 */ sw $v0, 0x44($sp) +/* BED90 80127EB0 240200F0 */ addiu $v0, $zero, 0xF0 +/* BED94 80127EB4 AFB9001C */ sw $t9, 0x1C($sp) +/* BED98 80127EB8 AFA00020 */ sw $zero, 0x20($sp) +/* BED9C 80127EBC AFA00024 */ sw $zero, 0x24($sp) +/* BEDA0 80127EC0 AFA00028 */ sw $zero, 0x28($sp) +/* BEDA4 80127EC4 AFA0002C */ sw $zero, 0x2C($sp) +/* BEDA8 80127EC8 AFA00030 */ sw $zero, 0x30($sp) +/* BEDAC 80127ECC AFA00034 */ sw $zero, 0x34($sp) +/* BEDB0 80127ED0 AFA00038 */ sw $zero, 0x38($sp) +/* BEDB4 80127ED4 AFA0003C */ sw $zero, 0x3C($sp) +/* BEDB8 80127ED8 AFA00040 */ sw $zero, 0x40($sp) +/* BEDBC 80127EDC AFA20048 */ sw $v0, 0x48($sp) +/* BEDC0 80127EE0 AFA0004C */ sw $zero, 0x4C($sp) +/* BEDC4 80127EE4 0C03CDB0 */ jal draw_box +/* BEDC8 80127EE8 AFA30018 */ sw $v1, 0x18($sp) +/* BEDCC 80127EEC 08049FE0 */ j .LIQUE_80127F80 +/* BEDD0 80127EF0 00000000 */ nop +.LIQUE_80127EF4: +/* BEDD4 80127EF4 3C048016 */ lui $a0, %hi(msg_drawState) +/* BEDD8 80127EF8 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BEDDC 80127EFC 2402003C */ addiu $v0, $zero, 0x3C +/* BEDE0 80127F00 A7C2045A */ sh $v0, 0x45A($fp) +/* BEDE4 80127F04 2402006E */ addiu $v0, $zero, 0x6E +/* BEDE8 80127F08 A7C2045C */ sh $v0, 0x45C($fp) +/* BEDEC 80127F0C 240200C8 */ addiu $v0, $zero, 0xC8 +/* BEDF0 80127F10 A7C20514 */ sh $v0, 0x514($fp) +/* BEDF4 80127F14 24020032 */ addiu $v0, $zero, 0x32 +/* BEDF8 80127F18 A7C20516 */ sh $v0, 0x516($fp) +/* BEDFC 80127F1C 2402FFFE */ addiu $v0, $zero, -0x2 +/* BEE00 80127F20 A4800046 */ sh $zero, 0x46($a0) +/* BEE04 80127F24 A4820048 */ sh $v0, 0x48($a0) +/* BEE08 80127F28 87C2045A */ lh $v0, 0x45A($fp) +/* BEE0C 80127F2C AC820000 */ sw $v0, 0x0($a0) +/* BEE10 80127F30 87C2045C */ lh $v0, 0x45C($fp) +/* BEE14 80127F34 AC820008 */ sw $v0, 0x8($a0) +/* BEE18 80127F38 87C2045A */ lh $v0, 0x45A($fp) +/* BEE1C 80127F3C 97C30514 */ lhu $v1, 0x514($fp) +/* BEE20 80127F40 00431021 */ addu $v0, $v0, $v1 +/* BEE24 80127F44 AC820004 */ sw $v0, 0x4($a0) +/* BEE28 80127F48 87C2045C */ lh $v0, 0x45C($fp) +/* BEE2C 80127F4C 97C30516 */ lhu $v1, 0x516($fp) +/* BEE30 80127F50 00431021 */ addu $v0, $v0, $v1 +/* BEE34 80127F54 AC82000C */ sw $v0, 0xC($a0) +/* BEE38 80127F58 97C3045A */ lhu $v1, 0x45A($fp) +/* BEE3C 80127F5C 97C20514 */ lhu $v0, 0x514($fp) +/* BEE40 80127F60 97C40516 */ lhu $a0, 0x516($fp) +/* BEE44 80127F64 00621821 */ addu $v1, $v1, $v0 +/* BEE48 80127F68 97C2045C */ lhu $v0, 0x45C($fp) +/* BEE4C 80127F6C 2463FFF6 */ addiu $v1, $v1, -0xA +/* BEE50 80127F70 A7C30482 */ sh $v1, 0x482($fp) +/* BEE54 80127F74 00441021 */ addu $v0, $v0, $a0 +/* BEE58 80127F78 2442FFF6 */ addiu $v0, $v0, -0xA +/* BEE5C 80127F7C A7C20484 */ sh $v0, 0x484($fp) +.LIQUE_80127F80: +/* BEE60 80127F80 0C04A9C6 */ jal msg_reset_gfx_state +/* BEE64 80127F84 00000000 */ nop +/* BEE68 80127F88 0804A39F */ j .LIQUE_80128E7C +/* BEE6C 80127F8C 00000000 */ nop +.LIQUE_80127F90: +/* BEE70 80127F90 93C304F8 */ lbu $v1, 0x4F8($fp) +/* BEE74 80127F94 2402000C */ addiu $v0, $zero, 0xC +/* BEE78 80127F98 1462000A */ bne $v1, $v0, .LIQUE_80127FC4 +/* BEE7C 80127F9C 2402000B */ addiu $v0, $zero, 0xB +/* BEE80 80127FA0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BEE84 80127FA4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BEE88 80127FA8 93C30487 */ lbu $v1, 0x487($fp) +/* BEE8C 80127FAC 90420050 */ lbu $v0, 0x50($v0) +/* BEE90 80127FB0 0043102B */ sltu $v0, $v0, $v1 +/* BEE94 80127FB4 14400037 */ bnez $v0, .LIQUE_80128094 +/* BEE98 80127FB8 24180001 */ addiu $t8, $zero, 0x1 +/* BEE9C 80127FBC 0804A025 */ j .LIQUE_80128094 +/* BEEA0 80127FC0 A7B80080 */ sh $t8, 0x80($sp) +.LIQUE_80127FC4: +/* BEEA4 80127FC4 14620033 */ bne $v1, $v0, .LIQUE_80128094 +/* BEEA8 80127FC8 00000000 */ nop +/* BEEAC 80127FCC 93C50487 */ lbu $a1, 0x487($fp) +/* BEEB0 80127FD0 00051040 */ sll $v0, $a1, 1 +/* BEEB4 80127FD4 03C21021 */ addu $v0, $fp, $v0 +/* BEEB8 80127FD8 94430488 */ lhu $v1, 0x488($v0) +/* BEEBC 80127FDC 8FC20460 */ lw $v0, 0x460($fp) +/* BEEC0 80127FE0 0043102A */ slt $v0, $v0, $v1 +/* BEEC4 80127FE4 10400009 */ beqz $v0, .LIQUE_8012800C +/* BEEC8 80127FE8 00A0182D */ daddu $v1, $a1, $zero +/* BEECC 80127FEC 3C028016 */ lui $v0, %hi(msg_drawState) +/* BEED0 80127FF0 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BEED4 80127FF4 90420050 */ lbu $v0, 0x50($v0) +/* BEED8 80127FF8 0045102B */ sltu $v0, $v0, $a1 +/* BEEDC 80127FFC 14400025 */ bnez $v0, .LIQUE_80128094 +/* BEEE0 80128000 24190001 */ addiu $t9, $zero, 0x1 +/* BEEE4 80128004 0804A025 */ j .LIQUE_80128094 +/* BEEE8 80128008 A7B90080 */ sh $t9, 0x80($sp) +.LIQUE_8012800C: +/* BEEEC 8012800C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BEEF0 80128010 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BEEF4 80128014 90440050 */ lbu $a0, 0x50($v0) +/* BEEF8 80128018 0064102B */ sltu $v0, $v1, $a0 +/* BEEFC 8012801C 10400003 */ beqz $v0, .LIQUE_8012802C +/* BEF00 80128020 24180001 */ addiu $t8, $zero, 0x1 +/* BEF04 80128024 0804A025 */ j .LIQUE_80128094 +/* BEF08 80128028 A7B80080 */ sh $t8, 0x80($sp) +.LIQUE_8012802C: +/* BEF0C 8012802C 0083102B */ sltu $v0, $a0, $v1 +/* BEF10 80128030 14400018 */ bnez $v0, .LIQUE_80128094 +/* BEF14 80128034 00000000 */ nop +/* BEF18 80128038 93C3053C */ lbu $v1, 0x53C($fp) +/* BEF1C 8012803C 2C620002 */ sltiu $v0, $v1, 0x2 +/* BEF20 80128040 14400014 */ bnez $v0, .LIQUE_80128094 +/* BEF24 80128044 24040024 */ addiu $a0, $zero, 0x24 +/* BEF28 80128048 24190002 */ addiu $t9, $zero, 0x2 +/* BEF2C 8012804C 14790002 */ bne $v1, $t9, .LIQUE_80128058 +/* BEF30 80128050 24020030 */ addiu $v0, $zero, 0x30 +/* BEF34 80128054 24020020 */ addiu $v0, $zero, 0x20 +.LIQUE_80128058: +/* BEF38 80128058 97C304C8 */ lhu $v1, 0x4C8($fp) +/* BEF3C 8012805C 0062102A */ slt $v0, $v1, $v0 +/* BEF40 80128060 1040000C */ beqz $v0, .LIQUE_80128094 +/* BEF44 80128064 2C620011 */ sltiu $v0, $v1, 0x11 +/* BEF48 80128068 54400001 */ bnel $v0, $zero, .LIQUE_80128070 +/* BEF4C 8012806C 24040038 */ addiu $a0, $zero, 0x38 +.LIQUE_80128070: +/* BEF50 80128070 97C204CC */ lhu $v0, 0x4CC($fp) +/* BEF54 80128074 00820018 */ mult $a0, $v0 +/* BEF58 80128078 241800FF */ addiu $t8, $zero, 0xFF +/* BEF5C 8012807C 0000C812 */ mflo $t9 +/* BEF60 80128080 03191023 */ subu $v0, $t8, $t9 +/* BEF64 80128084 A7A2008E */ sh $v0, 0x8E($sp) +/* BEF68 80128088 00021400 */ sll $v0, $v0, 16 +/* BEF6C 8012808C 04420001 */ bltzl $v0, .LIQUE_80128094 +/* BEF70 80128090 A7A0008E */ sh $zero, 0x8E($sp) +.LIQUE_80128094: +/* BEF74 80128094 3C038016 */ lui $v1, %hi(msg_drawState) +/* BEF78 80128098 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BEF7C 8012809C 90620050 */ lbu $v0, 0x50($v1) +/* BEF80 801280A0 24420001 */ addiu $v0, $v0, 0x1 +/* BEF84 801280A4 0804A3AA */ j .LIQUE_80128EA8 +/* BEF88 801280A8 A0620050 */ sb $v0, 0x50($v1) +.LIQUE_801280AC: +/* BEF8C 801280AC 24180001 */ addiu $t8, $zero, 0x1 +/* BEF90 801280B0 0804A8EA */ j .LIQUE_8012A3A8 +/* BEF94 801280B4 A7B80080 */ sh $t8, 0x80($sp) +.LIQUE_801280B8: +/* BEF98 801280B8 3C038016 */ lui $v1, %hi(msg_drawState) +/* BEF9C 801280BC 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BEFA0 801280C0 8C620020 */ lw $v0, 0x20($v1) +/* BEFA4 801280C4 8C64004C */ lw $a0, 0x4C($v1) +/* BEFA8 801280C8 24420001 */ addiu $v0, $v0, 0x1 +/* BEFAC 801280CC 00822021 */ addu $a0, $a0, $v0 +/* BEFB0 801280D0 AC620020 */ sw $v0, 0x20($v1) +/* BEFB4 801280D4 90830000 */ lbu $v1, 0x0($a0) +/* BEFB8 801280D8 2C62001F */ sltiu $v0, $v1, 0x1F +/* BEFBC 801280DC 104008B2 */ beqz $v0, .LIQUE_8012A3A8 +/* BEFC0 801280E0 00031080 */ sll $v0, $v1, 2 +/* BEFC4 801280E4 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EF70) +/* BEFC8 801280E8 00220821 */ addu $at, $at, $v0 +/* BEFCC 801280EC 8C22EF70 */ lw $v0, %lo(jtbl_IQUE_8014EF70)($at) +/* BEFD0 801280F0 00400008 */ jr $v0 +/* BEFD4 801280F4 00000000 */ nop +.LIQUE_801280F8: +/* BEFD8 801280F8 3C048016 */ lui $a0, %hi(msg_drawState) +/* BEFDC 801280FC 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BEFE0 80128100 8C820020 */ lw $v0, 0x20($a0) +/* BEFE4 80128104 8C83004C */ lw $v1, 0x4C($a0) +/* BEFE8 80128108 00431021 */ addu $v0, $v0, $v1 +/* BEFEC 8012810C 90450001 */ lbu $a1, 0x1($v0) +/* BEFF0 80128110 8C820020 */ lw $v0, 0x20($a0) +/* BEFF4 80128114 94830034 */ lhu $v1, 0x34($a0) +/* BEFF8 80128118 24420002 */ addiu $v0, $v0, 0x2 +/* BEFFC 8012811C 34630010 */ ori $v1, $v1, 0x10 +/* BF000 80128120 AC820020 */ sw $v0, 0x20($a0) +/* BF004 80128124 A4830034 */ sh $v1, 0x34($a0) +/* BF008 80128128 0804A8EA */ j .LIQUE_8012A3A8 +/* BF00C 8012812C A485003C */ sh $a1, 0x3C($a0) +.LIQUE_80128130: +/* BF010 80128130 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF014 80128134 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF018 80128138 8C830020 */ lw $v1, 0x20($a0) +/* BF01C 8012813C 8C82004C */ lw $v0, 0x4C($a0) +/* BF020 80128140 00621821 */ addu $v1, $v1, $v0 +/* BF024 80128144 8C820020 */ lw $v0, 0x20($a0) +/* BF028 80128148 90630001 */ lbu $v1, 0x1($v1) +/* BF02C 8012814C 24420002 */ addiu $v0, $v0, 0x2 +/* BF030 80128150 AC820020 */ sw $v0, 0x20($a0) +/* BF034 80128154 0804A8EA */ j .LIQUE_8012A3A8 +/* BF038 80128158 A483003E */ sh $v1, 0x3E($a0) +.LIQUE_8012815C: +/* BF03C 8012815C 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF040 80128160 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF044 80128164 8C820020 */ lw $v0, 0x20($a0) +/* BF048 80128168 8C83004C */ lw $v1, 0x4C($a0) +/* BF04C 8012816C 00431021 */ addu $v0, $v0, $v1 +/* BF050 80128170 90450001 */ lbu $a1, 0x1($v0) +/* BF054 80128174 94820034 */ lhu $v0, 0x34($a0) +/* BF058 80128178 8C830020 */ lw $v1, 0x20($a0) +/* BF05C 8012817C 34420010 */ ori $v0, $v0, 0x10 +/* BF060 80128180 24630002 */ addiu $v1, $v1, 0x2 +/* BF064 80128184 A4820034 */ sh $v0, 0x34($a0) +/* BF068 80128188 AC830020 */ sw $v1, 0x20($a0) +/* BF06C 8012818C 0804A8EA */ j .LIQUE_8012A3A8 +/* BF070 80128190 A485004A */ sh $a1, 0x4A($a0) +.LIQUE_80128194: +/* BF074 80128194 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF078 80128198 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF07C 8012819C 8C820020 */ lw $v0, 0x20($a0) +/* BF080 801281A0 8C83004C */ lw $v1, 0x4C($a0) +/* BF084 801281A4 00431021 */ addu $v0, $v0, $v1 +/* BF088 801281A8 90420001 */ lbu $v0, 0x1($v0) +/* BF08C 801281AC 0804A39F */ j .LIQUE_80128E7C +/* BF090 801281B0 A0820040 */ sb $v0, 0x40($a0) +.LIQUE_801281B4: +/* BF094 801281B4 3C058016 */ lui $a1, %hi(msg_drawState) +/* BF098 801281B8 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BF09C 801281BC 8CA30020 */ lw $v1, 0x20($a1) +/* BF0A0 801281C0 8CA2004C */ lw $v0, 0x4C($a1) +/* BF0A4 801281C4 00621821 */ addu $v1, $v1, $v0 +/* BF0A8 801281C8 90640001 */ lbu $a0, 0x1($v1) +/* BF0AC 801281CC 8CA20020 */ lw $v0, 0x20($a1) +/* BF0B0 801281D0 90630002 */ lbu $v1, 0x2($v1) +/* BF0B4 801281D4 24420003 */ addiu $v0, $v0, 0x3 +/* BF0B8 801281D8 00042200 */ sll $a0, $a0, 8 +/* BF0BC 801281DC 00641821 */ addu $v1, $v1, $a0 +/* BF0C0 801281E0 ACA20020 */ sw $v0, 0x20($a1) +/* BF0C4 801281E4 0804A8EA */ j .LIQUE_8012A3A8 +/* BF0C8 801281E8 A4A30042 */ sh $v1, 0x42($a1) +.LIQUE_801281EC: +/* BF0CC 801281EC 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF0D0 801281F0 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF0D4 801281F4 8C830020 */ lw $v1, 0x20($a0) +/* BF0D8 801281F8 8C82004C */ lw $v0, 0x4C($a0) +/* BF0DC 801281FC 00621821 */ addu $v1, $v1, $v0 +/* BF0E0 80128200 8C820020 */ lw $v0, 0x20($a0) +/* BF0E4 80128204 90630001 */ lbu $v1, 0x1($v1) +/* BF0E8 80128208 0804A0A6 */ j .LIQUE_80128298 +/* BF0EC 8012820C 24420002 */ addiu $v0, $v0, 0x2 +.LIQUE_80128210: +/* BF0F0 80128210 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF0F4 80128214 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF0F8 80128218 8C820020 */ lw $v0, 0x20($a0) +/* BF0FC 8012821C 8C83004C */ lw $v1, 0x4C($a0) +/* BF100 80128220 00431021 */ addu $v0, $v0, $v1 +/* BF104 80128224 90450001 */ lbu $a1, 0x1($v0) +/* BF108 80128228 8C820020 */ lw $v0, 0x20($a0) +/* BF10C 8012822C 94830042 */ lhu $v1, 0x42($a0) +/* BF110 80128230 24420002 */ addiu $v0, $v0, 0x2 +/* BF114 80128234 00651821 */ addu $v1, $v1, $a1 +/* BF118 80128238 AC820020 */ sw $v0, 0x20($a0) +/* BF11C 8012823C 0804A8EA */ j .LIQUE_8012A3A8 +/* BF120 80128240 A4830042 */ sh $v1, 0x42($a0) +.LIQUE_80128244: +/* BF124 80128244 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF128 80128248 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF12C 8012824C 8C820020 */ lw $v0, 0x20($a0) +/* BF130 80128250 8C83004C */ lw $v1, 0x4C($a0) +/* BF134 80128254 00431021 */ addu $v0, $v0, $v1 +/* BF138 80128258 90450001 */ lbu $a1, 0x1($v0) +/* BF13C 8012825C 8C820020 */ lw $v0, 0x20($a0) +/* BF140 80128260 94830044 */ lhu $v1, 0x44($a0) +/* BF144 80128264 24420002 */ addiu $v0, $v0, 0x2 +/* BF148 80128268 0804A0A6 */ j .LIQUE_80128298 +/* BF14C 8012826C 00651821 */ addu $v1, $v1, $a1 +.LIQUE_80128270: +/* BF150 80128270 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF154 80128274 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF158 80128278 8C820020 */ lw $v0, 0x20($a0) +/* BF15C 8012827C 8C83004C */ lw $v1, 0x4C($a0) +/* BF160 80128280 00431021 */ addu $v0, $v0, $v1 +/* BF164 80128284 90450001 */ lbu $a1, 0x1($v0) +/* BF168 80128288 8C820020 */ lw $v0, 0x20($a0) +/* BF16C 8012828C 94830044 */ lhu $v1, 0x44($a0) +/* BF170 80128290 24420002 */ addiu $v0, $v0, 0x2 +/* BF174 80128294 00651823 */ subu $v1, $v1, $a1 +.LIQUE_80128298: +/* BF178 80128298 AC820020 */ sw $v0, 0x20($a0) +/* BF17C 8012829C 0804A8EA */ j .LIQUE_8012A3A8 +/* BF180 801282A0 A4830044 */ sh $v1, 0x44($a0) +.LIQUE_801282A4: +/* BF184 801282A4 3C0B8016 */ lui $t3, %hi(msg_drawState) +/* BF188 801282A8 8D6B80F4 */ lw $t3, %lo(msg_drawState)($t3) +/* BF18C 801282AC 8D620020 */ lw $v0, 0x20($t3) +/* BF190 801282B0 8D63004C */ lw $v1, 0x4C($t3) +/* BF194 801282B4 00431021 */ addu $v0, $v0, $v1 +/* BF198 801282B8 90430001 */ lbu $v1, 0x1($v0) +/* BF19C 801282BC 97AD008E */ lhu $t5, 0x8E($sp) +/* BF1A0 801282C0 00031080 */ sll $v0, $v1, 2 +/* BF1A4 801282C4 00431021 */ addu $v0, $v0, $v1 +/* BF1A8 801282C8 3C038015 */ lui $v1, %hi(gMsgVarImages) +/* BF1AC 801282CC 8C63FA84 */ lw $v1, %lo(gMsgVarImages)($v1) +/* BF1B0 801282D0 00021080 */ sll $v0, $v0, 2 +/* BF1B4 801282D4 00626021 */ addu $t4, $v1, $v0 +/* BF1B8 801282D8 000D1400 */ sll $v0, $t5, 16 +/* BF1BC 801282DC 00021C03 */ sra $v1, $v0, 16 +/* BF1C0 801282E0 286200FF */ slti $v0, $v1, 0xFF +/* BF1C4 801282E4 1040000A */ beqz $v0, .LIQUE_80128310 +/* BF1C8 801282E8 00000000 */ nop +/* BF1CC 801282EC 3C018015 */ lui $at, %hi(D_IQUE_8014EFF0) +/* BF1D0 801282F0 D422EFF0 */ ldc1 $f2, %lo(D_IQUE_8014EFF0)($at) +/* BF1D4 801282F4 44830000 */ mtc1 $v1, $f0 +/* BF1D8 801282F8 00000000 */ nop +/* BF1DC 801282FC 46800021 */ cvt.d.w $f0, $f0 +/* BF1E0 80128300 46220002 */ mul.d $f0, $f0, $f2 +/* BF1E4 80128304 00000000 */ nop +/* BF1E8 80128308 4620030D */ trunc.w.d $f12, $f0 +/* BF1EC 8012830C 440D6000 */ mfc1 $t5, $f12 +.LIQUE_80128310: +/* BF1F0 80128310 8D8A0010 */ lw $t2, 0x10($t4) +/* BF1F4 80128314 97C4045A */ lhu $a0, 0x45A($fp) +/* BF1F8 80128318 95670046 */ lhu $a3, 0x46($t3) +/* BF1FC 8012831C 95620042 */ lhu $v0, 0x42($t3) +/* BF200 80128320 97C8045C */ lhu $t0, 0x45C($fp) +/* BF204 80128324 95690048 */ lhu $t1, 0x48($t3) +/* BF208 80128328 95630044 */ lhu $v1, 0x44($t3) +/* BF20C 8012832C 95850008 */ lhu $a1, 0x8($t4) +/* BF210 80128330 9586000A */ lhu $a2, 0xA($t4) +/* BF214 80128334 97B90066 */ lhu $t9, 0x66($sp) +/* BF218 80128338 97B80076 */ lhu $t8, 0x76($sp) +/* BF21C 8012833C 00992021 */ addu $a0, $a0, $t9 +/* BF220 80128340 00E43821 */ addu $a3, $a3, $a0 +/* BF224 80128344 00471021 */ addu $v0, $v0, $a3 +/* BF228 80128348 00581023 */ subu $v0, $v0, $t8 +/* BF22C 8012834C 00021400 */ sll $v0, $v0, 16 +/* BF230 80128350 AFAA0010 */ sw $t2, 0x10($sp) +/* BF234 80128354 8D840004 */ lw $a0, 0x4($t4) +/* BF238 80128358 97B9006E */ lhu $t9, 0x6E($sp) +/* BF23C 8012835C 97B8007E */ lhu $t8, 0x7E($sp) +/* BF240 80128360 00021403 */ sra $v0, $v0, 16 +/* BF244 80128364 AFA20018 */ sw $v0, 0x18($sp) +/* BF248 80128368 01194021 */ addu $t0, $t0, $t9 +/* BF24C 8012836C 01284821 */ addu $t1, $t1, $t0 +/* BF250 80128370 00691821 */ addu $v1, $v1, $t1 +/* BF254 80128374 00781823 */ subu $v1, $v1, $t8 +/* BF258 80128378 00031C00 */ sll $v1, $v1, 16 +/* BF25C 8012837C 00031C03 */ sra $v1, $v1, 16 +/* BF260 80128380 AFA3001C */ sw $v1, 0x1C($sp) +/* BF264 80128384 AFA40014 */ sw $a0, 0x14($sp) +/* BF268 80128388 95620002 */ lhu $v0, 0x2($t3) +/* BF26C 8012838C AFA20020 */ sw $v0, 0x20($sp) +/* BF270 80128390 9562000A */ lhu $v0, 0xA($t3) +/* BF274 80128394 AFA20024 */ sw $v0, 0x24($sp) +/* BF278 80128398 95620006 */ lhu $v0, 0x6($t3) +/* BF27C 8012839C 95630002 */ lhu $v1, 0x2($t3) +/* BF280 801283A0 00431023 */ subu $v0, $v0, $v1 +/* BF284 801283A4 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BF288 801283A8 AFA20028 */ sw $v0, 0x28($sp) +/* BF28C 801283AC 9563000E */ lhu $v1, 0xE($t3) +/* BF290 801283B0 9564000A */ lhu $a0, 0xA($t3) +/* BF294 801283B4 31A200FF */ andi $v0, $t5, 0xFF +/* BF298 801283B8 AFA20030 */ sw $v0, 0x30($sp) +/* BF29C 801283BC 00641823 */ subu $v1, $v1, $a0 +/* BF2A0 801283C0 3063FFFF */ andi $v1, $v1, 0xFFFF +/* BF2A4 801283C4 AFA3002C */ sw $v1, 0x2C($sp) +/* BF2A8 801283C8 8D840000 */ lw $a0, 0x0($t4) +/* BF2AC 801283CC 0C04B44C */ jal draw_ci_image_with_clipping +/* BF2B0 801283D0 8D87000C */ lw $a3, 0xC($t4) +/* BF2B4 801283D4 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF2B8 801283D8 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF2BC 801283DC 94820034 */ lhu $v0, 0x34($a0) +/* BF2C0 801283E0 8C830020 */ lw $v1, 0x20($a0) +/* BF2C4 801283E4 34420012 */ ori $v0, $v0, 0x12 +/* BF2C8 801283E8 24630002 */ addiu $v1, $v1, 0x2 +/* BF2CC 801283EC A4820034 */ sh $v0, 0x34($a0) +/* BF2D0 801283F0 0804A8EA */ j .LIQUE_8012A3A8 +/* BF2D4 801283F4 AC830020 */ sw $v1, 0x20($a0) +.LIQUE_801283F8: +/* BF2D8 801283F8 97B0008E */ lhu $s0, 0x8E($sp) +/* BF2DC 801283FC 00101400 */ sll $v0, $s0, 16 +/* BF2E0 80128400 00021C03 */ sra $v1, $v0, 16 +/* BF2E4 80128404 286200FF */ slti $v0, $v1, 0xFF +/* BF2E8 80128408 1040000A */ beqz $v0, .LIQUE_80128434 +/* BF2EC 8012840C 00000000 */ nop +/* BF2F0 80128410 3C018015 */ lui $at, %hi(D_IQUE_8014EFF8) +/* BF2F4 80128414 D422EFF8 */ ldc1 $f2, %lo(D_IQUE_8014EFF8)($at) +/* BF2F8 80128418 44830000 */ mtc1 $v1, $f0 +/* BF2FC 8012841C 00000000 */ nop +/* BF300 80128420 46800021 */ cvt.d.w $f0, $f0 +/* BF304 80128424 46220002 */ mul.d $f0, $f0, $f2 +/* BF308 80128428 00000000 */ nop +/* BF30C 8012842C 4620030D */ trunc.w.d $f12, $f0 +/* BF310 80128430 44106000 */ mfc1 $s0, $f12 +.LIQUE_80128434: +/* BF314 80128434 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF318 80128438 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF31C 8012843C 8C430020 */ lw $v1, 0x20($v0) +/* BF320 80128440 8C42004C */ lw $v0, 0x4C($v0) +/* BF324 80128444 27A40050 */ addiu $a0, $sp, 0x50 +/* BF328 80128448 00621821 */ addu $v1, $v1, $v0 +/* BF32C 8012844C 90660003 */ lbu $a2, 0x3($v1) +/* BF330 80128450 90650001 */ lbu $a1, 0x1($v1) +/* BF334 80128454 90620002 */ lbu $v0, 0x2($v1) +/* BF338 80128458 00052A00 */ sll $a1, $a1, 8 +/* BF33C 8012845C 0C0B7A76 */ jal spr_get_npc_raster_info +/* BF340 80128460 00A22825 */ or $a1, $a1, $v0 +/* BF344 80128464 104000FA */ beqz $v0, .LIQUE_80128850 +/* BF348 80128468 00000000 */ nop +/* BF34C 8012846C 3C058016 */ lui $a1, %hi(msg_drawState) +/* BF350 80128470 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BF354 80128474 97C6045A */ lhu $a2, 0x45A($fp) +/* BF358 80128478 97C8045C */ lhu $t0, 0x45C($fp) +/* BF35C 8012847C 97B90066 */ lhu $t9, 0x66($sp) +/* BF360 80128480 97B80076 */ lhu $t8, 0x76($sp) +/* BF364 80128484 94A70046 */ lhu $a3, 0x46($a1) +/* BF368 80128488 94A30042 */ lhu $v1, 0x42($a1) +/* BF36C 8012848C 94A90048 */ lhu $t1, 0x48($a1) +/* BF370 80128490 94A40044 */ lhu $a0, 0x44($a1) +/* BF374 80128494 00D93021 */ addu $a2, $a2, $t9 +/* BF378 80128498 AFA00010 */ sw $zero, 0x10($sp) +/* BF37C 8012849C 8FA20054 */ lw $v0, 0x54($sp) +/* BF380 801284A0 97B9006E */ lhu $t9, 0x6E($sp) +/* BF384 801284A4 00E63821 */ addu $a3, $a3, $a2 +/* BF388 801284A8 00671821 */ addu $v1, $v1, $a3 +/* BF38C 801284AC 00781823 */ subu $v1, $v1, $t8 +/* BF390 801284B0 00031C00 */ sll $v1, $v1, 16 +/* BF394 801284B4 00031C03 */ sra $v1, $v1, 16 +/* BF398 801284B8 01194021 */ addu $t0, $t0, $t9 +/* BF39C 801284BC 01284821 */ addu $t1, $t1, $t0 +/* BF3A0 801284C0 97B8007E */ lhu $t8, 0x7E($sp) +/* BF3A4 801284C4 00892021 */ addu $a0, $a0, $t1 +/* BF3A8 801284C8 AFA20014 */ sw $v0, 0x14($sp) +/* BF3AC 801284CC AFA30018 */ sw $v1, 0x18($sp) +/* BF3B0 801284D0 00982023 */ subu $a0, $a0, $t8 +/* BF3B4 801284D4 00042400 */ sll $a0, $a0, 16 +/* BF3B8 801284D8 00042403 */ sra $a0, $a0, 16 +/* BF3BC 801284DC AFA4001C */ sw $a0, 0x1C($sp) +/* BF3C0 801284E0 94A20002 */ lhu $v0, 0x2($a1) +/* BF3C4 801284E4 AFA20020 */ sw $v0, 0x20($sp) +/* BF3C8 801284E8 94A2000A */ lhu $v0, 0xA($a1) +/* BF3CC 801284EC AFA20024 */ sw $v0, 0x24($sp) +/* BF3D0 801284F0 94A20006 */ lhu $v0, 0x6($a1) +/* BF3D4 801284F4 94A30002 */ lhu $v1, 0x2($a1) +/* BF3D8 801284F8 00431023 */ subu $v0, $v0, $v1 +/* BF3DC 801284FC 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BF3E0 80128500 AFA20028 */ sw $v0, 0x28($sp) +/* BF3E4 80128504 94A3000E */ lhu $v1, 0xE($a1) +/* BF3E8 80128508 94A4000A */ lhu $a0, 0xA($a1) +/* BF3EC 8012850C 320200FF */ andi $v0, $s0, 0xFF +/* BF3F0 80128510 AFA20030 */ sw $v0, 0x30($sp) +/* BF3F4 80128514 00641823 */ subu $v1, $v1, $a0 +/* BF3F8 80128518 3063FFFF */ andi $v1, $v1, 0xFFFF +/* BF3FC 8012851C AFA3002C */ sw $v1, 0x2C($sp) +/* BF400 80128520 8FA40050 */ lw $a0, 0x50($sp) +/* BF404 80128524 8FA50058 */ lw $a1, 0x58($sp) +/* BF408 80128528 8FA6005C */ lw $a2, 0x5C($sp) +/* BF40C 8012852C 0C04B44C */ jal draw_ci_image_with_clipping +/* BF410 80128530 24070002 */ addiu $a3, $zero, 0x2 +/* BF414 80128534 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF418 80128538 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF41C 8012853C 94620034 */ lhu $v0, 0x34($v1) +/* BF420 80128540 34420010 */ ori $v0, $v0, 0x10 +/* BF424 80128544 0804A214 */ j .LIQUE_80128850 +/* BF428 80128548 A4620034 */ sh $v0, 0x34($v1) +.LIQUE_8012854C: +/* BF42C 8012854C 3C028015 */ lui $v0, %hi(D_8015131C) +/* BF430 80128550 8C42FAAC */ lw $v0, %lo(D_8015131C)($v0) +/* BF434 80128554 10400254 */ beqz $v0, .LIQUE_80128EA8 +/* BF438 80128558 00000000 */ nop +/* BF43C 8012855C 97AB008E */ lhu $t3, 0x8E($sp) +/* BF440 80128560 000B1400 */ sll $v0, $t3, 16 +/* BF444 80128564 00021C03 */ sra $v1, $v0, 16 +/* BF448 80128568 286200FF */ slti $v0, $v1, 0xFF +/* BF44C 8012856C 1040000A */ beqz $v0, .LIQUE_80128598 +/* BF450 80128570 00000000 */ nop +/* BF454 80128574 3C018015 */ lui $at, %hi(D_IQUE_8014F000) +/* BF458 80128578 D422F000 */ ldc1 $f2, %lo(D_IQUE_8014F000)($at) +/* BF45C 8012857C 44830000 */ mtc1 $v1, $f0 +/* BF460 80128580 00000000 */ nop +/* BF464 80128584 46800021 */ cvt.d.w $f0, $f0 +/* BF468 80128588 46220002 */ mul.d $f0, $f0, $f2 +/* BF46C 8012858C 00000000 */ nop +/* BF470 80128590 4620030D */ trunc.w.d $f12, $f0 +/* BF474 80128594 440B6000 */ mfc1 $t3, $f12 +.LIQUE_80128598: +/* BF478 80128598 3C048016 */ lui $a0, %hi(D_80159B50) +/* BF47C 8012859C 2484BED0 */ addiu $a0, $a0, %lo(D_80159B50) +/* BF480 801285A0 3C088016 */ lui $t0, %hi(msg_drawState) +/* BF484 801285A4 8D0880F4 */ lw $t0, %lo(msg_drawState)($t0) +/* BF488 801285A8 97C6045A */ lhu $a2, 0x45A($fp) +/* BF48C 801285AC 97C9045C */ lhu $t1, 0x45C($fp) +/* BF490 801285B0 97B90066 */ lhu $t9, 0x66($sp) +/* BF494 801285B4 97B80076 */ lhu $t8, 0x76($sp) +/* BF498 801285B8 00D93021 */ addu $a2, $a2, $t9 +/* BF49C 801285BC 95070046 */ lhu $a3, 0x46($t0) +/* BF4A0 801285C0 95030042 */ lhu $v1, 0x42($t0) +/* BF4A4 801285C4 950A0048 */ lhu $t2, 0x48($t0) +/* BF4A8 801285C8 95050044 */ lhu $a1, 0x44($t0) +/* BF4AC 801285CC 97B9006E */ lhu $t9, 0x6E($sp) +/* BF4B0 801285D0 3C028016 */ lui $v0, %hi(D_8015C7E0) +/* BF4B4 801285D4 2442EB60 */ addiu $v0, $v0, %lo(D_8015C7E0) +/* BF4B8 801285D8 AFA00010 */ sw $zero, 0x10($sp) +/* BF4BC 801285DC AFA20014 */ sw $v0, 0x14($sp) +/* BF4C0 801285E0 00E63821 */ addu $a3, $a3, $a2 +/* BF4C4 801285E4 00671821 */ addu $v1, $v1, $a3 +/* BF4C8 801285E8 00781823 */ subu $v1, $v1, $t8 +/* BF4CC 801285EC 00031C00 */ sll $v1, $v1, 16 +/* BF4D0 801285F0 00031C03 */ sra $v1, $v1, 16 +/* BF4D4 801285F4 01394821 */ addu $t1, $t1, $t9 +/* BF4D8 801285F8 01495021 */ addu $t2, $t2, $t1 +/* BF4DC 801285FC 97B8007E */ lhu $t8, 0x7E($sp) +/* BF4E0 80128600 00AA2821 */ addu $a1, $a1, $t2 +/* BF4E4 80128604 AFA30018 */ sw $v1, 0x18($sp) +/* BF4E8 80128608 00B82823 */ subu $a1, $a1, $t8 +/* BF4EC 8012860C 00052C00 */ sll $a1, $a1, 16 +/* BF4F0 80128610 00052C03 */ sra $a1, $a1, 16 +/* BF4F4 80128614 AFA5001C */ sw $a1, 0x1C($sp) +/* BF4F8 80128618 95020002 */ lhu $v0, 0x2($t0) +/* BF4FC 8012861C 24070002 */ addiu $a3, $zero, 0x2 +/* BF500 80128620 AFA20020 */ sw $v0, 0x20($sp) +/* BF504 80128624 9502000A */ lhu $v0, 0xA($t0) +/* BF508 80128628 24050020 */ addiu $a1, $zero, 0x20 +/* BF50C 8012862C AFA20024 */ sw $v0, 0x24($sp) +/* BF510 80128630 95020006 */ lhu $v0, 0x6($t0) +/* BF514 80128634 95030002 */ lhu $v1, 0x2($t0) +/* BF518 80128638 00A0302D */ daddu $a2, $a1, $zero +/* BF51C 8012863C 00431023 */ subu $v0, $v0, $v1 +/* BF520 80128640 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BF524 80128644 AFA20028 */ sw $v0, 0x28($sp) +/* BF528 80128648 9503000E */ lhu $v1, 0xE($t0) +/* BF52C 8012864C 9508000A */ lhu $t0, 0xA($t0) +/* BF530 80128650 316200FF */ andi $v0, $t3, 0xFF +/* BF534 80128654 AFA20030 */ sw $v0, 0x30($sp) +/* BF538 80128658 00681823 */ subu $v1, $v1, $t0 +/* BF53C 8012865C 3063FFFF */ andi $v1, $v1, 0xFFFF +/* BF540 80128660 0C04B44C */ jal draw_ci_image_with_clipping +/* BF544 80128664 AFA3002C */ sw $v1, 0x2C($sp) +/* BF548 80128668 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF54C 8012866C 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF550 80128670 94620034 */ lhu $v0, 0x34($v1) +/* BF554 80128674 34420010 */ ori $v0, $v0, 0x10 +/* BF558 80128678 0804A3AA */ j .LIQUE_80128EA8 +/* BF55C 8012867C A4620034 */ sh $v0, 0x34($v1) +.LIQUE_80128680: +/* BF560 80128680 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF564 80128684 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF568 80128688 8C430020 */ lw $v1, 0x20($v0) +/* BF56C 8012868C 8C42004C */ lw $v0, 0x4C($v0) +/* BF570 80128690 00622821 */ addu $a1, $v1, $v0 +/* BF574 80128694 90A70001 */ lbu $a3, 0x1($a1) +/* BF578 80128698 00071040 */ sll $v0, $a3, 1 +/* BF57C 8012869C 03C22021 */ addu $a0, $fp, $v0 +/* BF580 801286A0 84830474 */ lh $v1, 0x474($a0) +/* BF584 801286A4 2402FFFF */ addiu $v0, $zero, -0x1 +/* BF588 801286A8 14620003 */ bne $v1, $v0, .LIQUE_801286B8 +/* BF58C 801286AC 00000000 */ nop +/* BF590 801286B0 90A20003 */ lbu $v0, 0x3($a1) +/* BF594 801286B4 A4820474 */ sh $v0, 0x474($a0) +.LIQUE_801286B8: +/* BF598 801286B8 84820474 */ lh $v0, 0x474($a0) +/* BF59C 801286BC 14400005 */ bnez $v0, .LIQUE_801286D4 +/* BF5A0 801286C0 240A0011 */ addiu $t2, $zero, 0x11 +/* BF5A4 801286C4 03C71821 */ addu $v1, $fp, $a3 +/* BF5A8 801286C8 90620470 */ lbu $v0, 0x470($v1) +/* BF5AC 801286CC 24420001 */ addiu $v0, $v0, 0x1 +/* BF5B0 801286D0 A0620470 */ sb $v0, 0x470($v1) +.LIQUE_801286D4: +/* BF5B4 801286D4 03C72821 */ addu $a1, $fp, $a3 +/* BF5B8 801286D8 24090012 */ addiu $t1, $zero, 0x12 +/* BF5BC 801286DC 0080302D */ daddu $a2, $a0, $zero +/* BF5C0 801286E0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF5C4 801286E4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF5C8 801286E8 24080013 */ addiu $t0, $zero, 0x13 +.LIQUE_801286EC: +/* BF5CC 801286EC 8C440020 */ lw $a0, 0x20($v0) +.LIQUE_801286F0: +/* BF5D0 801286F0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF5D4 801286F4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF5D8 801286F8 8C42004C */ lw $v0, 0x4C($v0) +/* BF5DC 801286FC 00821821 */ addu $v1, $a0, $v0 +/* BF5E0 80128700 9062FFFF */ lbu $v0, -0x1($v1) +/* BF5E4 80128704 241900FF */ addiu $t9, $zero, 0xFF +/* BF5E8 80128708 1459000D */ bne $v0, $t9, .LIQUE_80128740 +/* BF5EC 8012870C 00000000 */ nop +/* BF5F0 80128710 90620000 */ lbu $v0, 0x0($v1) +/* BF5F4 80128714 144A000A */ bne $v0, $t2, .LIQUE_80128740 +/* BF5F8 80128718 00000000 */ nop +/* BF5FC 8012871C 90620001 */ lbu $v0, 0x1($v1) +/* BF600 80128720 14470007 */ bne $v0, $a3, .LIQUE_80128740 +/* BF604 80128724 00000000 */ nop +/* BF608 80128728 90630002 */ lbu $v1, 0x2($v1) +/* BF60C 8012872C 90A20470 */ lbu $v0, 0x470($a1) +/* BF610 80128730 1062002A */ beq $v1, $v0, .LIQUE_801287DC +/* BF614 80128734 00000000 */ nop +/* BF618 80128738 0804A1F5 */ j .LIQUE_801287D4 +/* BF61C 8012873C 24840004 */ addiu $a0, $a0, 0x4 +.LIQUE_80128740: +/* BF620 80128740 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF624 80128744 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF628 80128748 8C42004C */ lw $v0, 0x4C($v0) +/* BF62C 8012874C 00441821 */ addu $v1, $v0, $a0 +/* BF630 80128750 90620000 */ lbu $v0, 0x0($v1) +/* BF634 80128754 241800FF */ addiu $t8, $zero, 0xFF +/* BF638 80128758 5458FFE5 */ bnel $v0, $t8, .LIQUE_801286F0 +/* BF63C 8012875C 24840001 */ addiu $a0, $a0, 0x1 +/* BF640 80128760 90620001 */ lbu $v0, 0x1($v1) +/* BF644 80128764 1449000D */ bne $v0, $t1, .LIQUE_8012879C +/* BF648 80128768 00000000 */ nop +/* BF64C 8012876C 90620002 */ lbu $v0, 0x2($v1) +/* BF650 80128770 1447000A */ bne $v0, $a3, .LIQUE_8012879C +/* BF654 80128774 00000000 */ nop +/* BF658 80128778 84C20474 */ lh $v0, 0x474($a2) +/* BF65C 8012877C 14400017 */ bnez $v0, .LIQUE_801287DC +/* BF660 80128780 24840001 */ addiu $a0, $a0, 0x1 +/* BF664 80128784 90620003 */ lbu $v0, 0x3($v1) +/* BF668 80128788 A0A20470 */ sb $v0, 0x470($a1) +/* BF66C 8012878C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF670 80128790 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF674 80128794 0804A1BB */ j .LIQUE_801286EC +/* BF678 80128798 00000000 */ nop +.LIQUE_8012879C: +/* BF67C 8012879C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF680 801287A0 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF684 801287A4 8C42004C */ lw $v0, 0x4C($v0) +/* BF688 801287A8 00441821 */ addu $v1, $v0, $a0 +/* BF68C 801287AC 90620000 */ lbu $v0, 0x0($v1) +/* BF690 801287B0 241900FF */ addiu $t9, $zero, 0xFF +/* BF694 801287B4 5459FFCE */ bnel $v0, $t9, .LIQUE_801286F0 +/* BF698 801287B8 24840001 */ addiu $a0, $a0, 0x1 +/* BF69C 801287BC 90620001 */ lbu $v0, 0x1($v1) +/* BF6A0 801287C0 5448FFCB */ bnel $v0, $t0, .LIQUE_801286F0 +/* BF6A4 801287C4 24840001 */ addiu $a0, $a0, 0x1 +/* BF6A8 801287C8 90620002 */ lbu $v0, 0x2($v1) +/* BF6AC 801287CC 50470003 */ beql $v0, $a3, .LIQUE_801287DC +/* BF6B0 801287D0 24840001 */ addiu $a0, $a0, 0x1 +.LIQUE_801287D4: +/* BF6B4 801287D4 0804A1BC */ j .LIQUE_801286F0 +/* BF6B8 801287D8 24840001 */ addiu $a0, $a0, 0x1 +.LIQUE_801287DC: +/* BF6BC 801287DC 3C058016 */ lui $a1, %hi(msg_drawState) +/* BF6C0 801287E0 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BF6C4 801287E4 8CA2004C */ lw $v0, 0x4C($a1) +/* BF6C8 801287E8 ACA40020 */ sw $a0, 0x20($a1) +/* BF6CC 801287EC 00443021 */ addu $a2, $v0, $a0 +/* BF6D0 801287F0 90C30000 */ lbu $v1, 0x0($a2) +/* BF6D4 801287F4 24020012 */ addiu $v0, $zero, 0x12 +/* BF6D8 801287F8 1062001B */ beq $v1, $v0, .LIQUE_80128868 +/* BF6DC 801287FC 28620013 */ slti $v0, $v1, 0x13 +/* BF6E0 80128800 10400005 */ beqz $v0, .LIQUE_80128818 +/* BF6E4 80128804 24020011 */ addiu $v0, $zero, 0x11 +/* BF6E8 80128808 10620008 */ beq $v1, $v0, .LIQUE_8012882C +/* BF6EC 8012880C 00071040 */ sll $v0, $a3, 1 +/* BF6F0 80128810 0804A8EA */ j .LIQUE_8012A3A8 +/* BF6F4 80128814 00000000 */ nop +.LIQUE_80128818: +/* BF6F8 80128818 24020013 */ addiu $v0, $zero, 0x13 +/* BF6FC 8012881C 10620015 */ beq $v1, $v0, .LIQUE_80128874 +/* BF700 80128820 24820002 */ addiu $v0, $a0, 0x2 +/* BF704 80128824 0804A8EA */ j .LIQUE_8012A3A8 +/* BF708 80128828 00000000 */ nop +.LIQUE_8012882C: +/* BF70C 8012882C 03C21821 */ addu $v1, $fp, $v0 +/* BF710 80128830 84620474 */ lh $v0, 0x474($v1) +/* BF714 80128834 14400006 */ bnez $v0, .LIQUE_80128850 +/* BF718 80128838 00000000 */ nop +/* BF71C 8012883C 90C20003 */ lbu $v0, 0x3($a2) +/* BF720 80128840 10400002 */ beqz $v0, .LIQUE_8012884C +/* BF724 80128844 2402FFFE */ addiu $v0, $zero, -0x2 +/* BF728 80128848 90C20003 */ lbu $v0, 0x3($a2) +.LIQUE_8012884C: +/* BF72C 8012884C A4620474 */ sh $v0, 0x474($v1) +.LIQUE_80128850: +/* BF730 80128850 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF734 80128854 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF738 80128858 8C620020 */ lw $v0, 0x20($v1) +/* BF73C 8012885C 24420004 */ addiu $v0, $v0, 0x4 +/* BF740 80128860 0804A8EA */ j .LIQUE_8012A3A8 +/* BF744 80128864 AC620020 */ sw $v0, 0x20($v1) +.LIQUE_80128868: +/* BF748 80128868 24820003 */ addiu $v0, $a0, 0x3 +/* BF74C 8012886C 0804A8EA */ j .LIQUE_8012A3A8 +/* BF750 80128870 ACA20020 */ sw $v0, 0x20($a1) +.LIQUE_80128874: +/* BF754 80128874 0804A8EA */ j .LIQUE_8012A3A8 +/* BF758 80128878 ACA20020 */ sw $v0, 0x20($a1) +.LIQUE_8012887C: +/* BF75C 8012887C 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF760 80128880 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF764 80128884 8C620020 */ lw $v0, 0x20($v1) +/* BF768 80128888 24420003 */ addiu $v0, $v0, 0x3 +/* BF76C 8012888C 0804A8EA */ j .LIQUE_8012A3A8 +/* BF770 80128890 AC620020 */ sw $v0, 0x20($v1) +.LIQUE_80128894: +/* BF774 80128894 3C058016 */ lui $a1, %hi(msg_drawState) +/* BF778 80128898 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BF77C 8012889C 97B80076 */ lhu $t8, 0x76($sp) +/* BF780 801288A0 8CA20020 */ lw $v0, 0x20($a1) +/* BF784 801288A4 8CA3004C */ lw $v1, 0x4C($a1) +/* BF788 801288A8 94A40042 */ lhu $a0, 0x42($a1) +/* BF78C 801288AC 00431021 */ addu $v0, $v0, $v1 +/* BF790 801288B0 90430001 */ lbu $v1, 0x1($v0) +/* BF794 801288B4 94A20046 */ lhu $v0, 0x46($a1) +/* BF798 801288B8 00031840 */ sll $v1, $v1, 1 +/* BF79C 801288BC 03C31821 */ addu $v1, $fp, $v1 +/* BF7A0 801288C0 00441021 */ addu $v0, $v0, $a0 +/* BF7A4 801288C4 00581023 */ subu $v0, $v0, $t8 +/* BF7A8 801288C8 2442FFFA */ addiu $v0, $v0, -0x6 +/* BF7AC 801288CC A46204D0 */ sh $v0, 0x4D0($v1) +/* BF7B0 801288D0 8CA20020 */ lw $v0, 0x20($a1) +/* BF7B4 801288D4 8CA3004C */ lw $v1, 0x4C($a1) +/* BF7B8 801288D8 94A40044 */ lhu $a0, 0x44($a1) +/* BF7BC 801288DC 97B9007E */ lhu $t9, 0x7E($sp) +/* BF7C0 801288E0 00431021 */ addu $v0, $v0, $v1 +/* BF7C4 801288E4 90430001 */ lbu $v1, 0x1($v0) +/* BF7C8 801288E8 94A20048 */ lhu $v0, 0x48($a1) +/* BF7CC 801288EC 00031840 */ sll $v1, $v1, 1 +/* BF7D0 801288F0 03C31821 */ addu $v1, $fp, $v1 +/* BF7D4 801288F4 00441021 */ addu $v0, $v0, $a0 +/* BF7D8 801288F8 00591023 */ subu $v0, $v0, $t9 +/* BF7DC 801288FC 2442FFFF */ addiu $v0, $v0, -0x1 +/* BF7E0 80128900 A46204DC */ sh $v0, 0x4DC($v1) +/* BF7E4 80128904 8CA20020 */ lw $v0, 0x20($a1) +/* BF7E8 80128908 0804A2B2 */ j .LIQUE_80128AC8 +/* BF7EC 8012890C 24420002 */ addiu $v0, $v0, 0x2 +.LIQUE_80128910: +/* BF7F0 80128910 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF7F4 80128914 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF7F8 80128918 8C820020 */ lw $v0, 0x20($a0) +/* BF7FC 8012891C 8C83004C */ lw $v1, 0x4C($a0) +/* BF800 80128920 00431021 */ addu $v0, $v0, $v1 +/* BF804 80128924 90420001 */ lbu $v0, 0x1($v0) +/* BF808 80128928 241800FF */ addiu $t8, $zero, 0xFF +/* BF80C 8012892C 54580004 */ bnel $v0, $t8, .LIQUE_80128940 +/* BF810 80128930 A082002D */ sb $v0, 0x2D($a0) +/* BF814 80128934 94820034 */ lhu $v0, 0x34($a0) +/* BF818 80128938 0804A39E */ j .LIQUE_80128E78 +/* BF81C 8012893C 3042FFDF */ andi $v0, $v0, 0xFFDF +.LIQUE_80128940: +/* BF820 80128940 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF824 80128944 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF828 80128948 94430034 */ lhu $v1, 0x34($v0) +/* BF82C 8012894C 94440042 */ lhu $a0, 0x42($v0) +/* BF830 80128950 34630020 */ ori $v1, $v1, 0x20 +/* BF834 80128954 2484000E */ addiu $a0, $a0, 0xE +/* BF838 80128958 A4430034 */ sh $v1, 0x34($v0) +/* BF83C 8012895C 0804A39F */ j .LIQUE_80128E7C +/* BF840 80128960 A4440042 */ sh $a0, 0x42($v0) +.LIQUE_80128964: +/* BF844 80128964 3C048016 */ lui $a0, %hi(msg_drawState) +/* BF848 80128968 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BF84C 8012896C 8C820020 */ lw $v0, 0x20($a0) +/* BF850 80128970 8C83004C */ lw $v1, 0x4C($a0) +/* BF854 80128974 00431021 */ addu $v0, $v0, $v1 +/* BF858 80128978 90420001 */ lbu $v0, 0x1($v0) +/* BF85C 8012897C 0804A39F */ j .LIQUE_80128E7C +/* BF860 80128980 A082002B */ sb $v0, 0x2B($a0) +.LIQUE_80128984: +/* BF864 80128984 0C04A9C6 */ jal msg_reset_gfx_state +/* BF868 80128988 00000000 */ nop +/* BF86C 8012898C 0804A3AA */ j .LIQUE_80128EA8 +/* BF870 80128990 00000000 */ nop +.LIQUE_80128994: +/* BF874 80128994 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF878 80128998 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF87C 8012899C 94440042 */ lhu $a0, 0x42($v0) +/* BF880 801289A0 8C430020 */ lw $v1, 0x20($v0) +/* BF884 801289A4 94450044 */ lhu $a1, 0x44($v0) +/* BF888 801289A8 24630001 */ addiu $v1, $v1, 0x1 +/* BF88C 801289AC A4440024 */ sh $a0, 0x24($v0) +/* BF890 801289B0 A4450026 */ sh $a1, 0x26($v0) +/* BF894 801289B4 0804A8EA */ j .LIQUE_8012A3A8 +/* BF898 801289B8 AC430020 */ sw $v1, 0x20($v0) +.LIQUE_801289BC: +/* BF89C 801289BC 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF8A0 801289C0 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF8A4 801289C4 94440024 */ lhu $a0, 0x24($v0) +/* BF8A8 801289C8 8C430020 */ lw $v1, 0x20($v0) +/* BF8AC 801289CC 94450026 */ lhu $a1, 0x26($v0) +/* BF8B0 801289D0 24630001 */ addiu $v1, $v1, 0x1 +/* BF8B4 801289D4 A4440042 */ sh $a0, 0x42($v0) +/* BF8B8 801289D8 A4450044 */ sh $a1, 0x44($v0) +/* BF8BC 801289DC 0804A8EA */ j .LIQUE_8012A3A8 +/* BF8C0 801289E0 AC430020 */ sw $v1, 0x20($v0) +.LIQUE_801289E4: +/* BF8C4 801289E4 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF8C8 801289E8 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF8CC 801289EC 9062004B */ lbu $v0, 0x4B($v1) +/* BF8D0 801289F0 0804A3AA */ j .LIQUE_80128EA8 +/* BF8D4 801289F4 A0620028 */ sb $v0, 0x28($v1) +.LIQUE_801289F8: +/* BF8D8 801289F8 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF8DC 801289FC 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF8E0 80128A00 8C430020 */ lw $v1, 0x20($v0) +/* BF8E4 80128A04 90440028 */ lbu $a0, 0x28($v0) +/* BF8E8 80128A08 24630001 */ addiu $v1, $v1, 0x1 +/* BF8EC 80128A0C A444004A */ sh $a0, 0x4A($v0) +/* BF8F0 80128A10 0804A8EA */ j .LIQUE_8012A3A8 +/* BF8F4 80128A14 AC430020 */ sw $v1, 0x20($v0) +.LIQUE_80128A18: +/* BF8F8 80128A18 3C038016 */ lui $v1, %hi(msg_drawState) +/* BF8FC 80128A1C 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BF900 80128A20 8C620020 */ lw $v0, 0x20($v1) +/* BF904 80128A24 8C63004C */ lw $v1, 0x4C($v1) +/* BF908 80128A28 00431021 */ addu $v0, $v0, $v1 +/* BF90C 80128A2C 90430001 */ lbu $v1, 0x1($v0) +/* BF910 80128A30 2C62000F */ sltiu $v0, $v1, 0xF +/* BF914 80128A34 1040065C */ beqz $v0, .LIQUE_8012A3A8 +/* BF918 80128A38 00031080 */ sll $v0, $v1, 2 +/* BF91C 80128A3C 3C018015 */ lui $at, %hi(jtbl_IQUE_8014F008) +/* BF920 80128A40 00220821 */ addu $at, $at, $v0 +/* BF924 80128A44 8C22F008 */ lw $v0, %lo(jtbl_IQUE_8014F008)($at) +/* BF928 80128A48 00400008 */ jr $v0 +/* BF92C 80128A4C 00000000 */ nop +.LIQUE_80128A50: +/* BF930 80128A50 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF934 80128A54 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF938 80128A58 8C430038 */ lw $v1, 0x38($v0) +/* BF93C 80128A5C 8C440020 */ lw $a0, 0x20($v0) +/* BF940 80128A60 0804A322 */ j .LIQUE_80128C88 +/* BF944 80128A64 34630001 */ ori $v1, $v1, 0x1 +.LIQUE_80128A68: +/* BF948 80128A68 3C028016 */ lui $v0, %hi(msg_drawState) +/* BF94C 80128A6C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BF950 80128A70 8C430038 */ lw $v1, 0x38($v0) +/* BF954 80128A74 8C440020 */ lw $a0, 0x20($v0) +/* BF958 80128A78 0804A322 */ j .LIQUE_80128C88 +/* BF95C 80128A7C 34630002 */ ori $v1, $v1, 0x2 +.LIQUE_80128A80: +/* BF960 80128A80 3C06FC70 */ lui $a2, (0xFC70FEE1 >> 16) +/* BF964 80128A84 34C6FEE1 */ ori $a2, $a2, (0xFC70FEE1 & 0xFFFF) +/* BF968 80128A88 3C058016 */ lui $a1, %hi(msg_drawState) +/* BF96C 80128A8C 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BF970 80128A90 3C04800A */ lui $a0, %hi(gMasterGfxPos) +/* BF974 80128A94 8C849244 */ lw $a0, %lo(gMasterGfxPos)($a0) +/* BF978 80128A98 8CA20038 */ lw $v0, 0x38($a1) +/* BF97C 80128A9C 0080182D */ daddu $v1, $a0, $zero +/* BF980 80128AA0 34420004 */ ori $v0, $v0, 0x4 +/* BF984 80128AA4 ACA20038 */ sw $v0, 0x38($a1) +/* BF988 80128AA8 2402F3F9 */ addiu $v0, $zero, -0xC07 +/* BF98C 80128AAC AC660000 */ sw $a2, 0x0($v1) +/* BF990 80128AB0 AC620004 */ sw $v0, 0x4($v1) +/* BF994 80128AB4 8CA20020 */ lw $v0, 0x20($a1) +/* BF998 80128AB8 24840008 */ addiu $a0, $a0, 0x8 +/* BF99C 80128ABC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BF9A0 80128AC0 AC249244 */ sw $a0, %lo(gMasterGfxPos)($at) +/* BF9A4 80128AC4 24420002 */ addiu $v0, $v0, 0x2 +.LIQUE_80128AC8: +/* BF9A8 80128AC8 0804A8EA */ j .LIQUE_8012A3A8 +/* BF9AC 80128ACC ACA20020 */ sw $v0, 0x20($a1) +.LIQUE_80128AD0: +/* BF9B0 80128AD0 3C09FC72 */ lui $t1, (0xFC72FEE5 >> 16) +/* BF9B4 80128AD4 3529FEE5 */ ori $t1, $t1, (0xFC72FEE5 & 0xFFFF) +/* BF9B8 80128AD8 3C0811FC */ lui $t0, (0x11FCF279 >> 16) +/* BF9BC 80128ADC 3C030001 */ lui $v1, (0x10000 >> 16) +/* BF9C0 80128AE0 3C068016 */ lui $a2, %hi(msg_drawState) +/* BF9C4 80128AE4 8CC680F4 */ lw $a2, %lo(msg_drawState)($a2) +/* BF9C8 80128AE8 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* BF9CC 80128AEC 8CA59244 */ lw $a1, %lo(gMasterGfxPos)($a1) +/* BF9D0 80128AF0 8CC20038 */ lw $v0, 0x38($a2) +/* BF9D4 80128AF4 00A0382D */ daddu $a3, $a1, $zero +/* BF9D8 80128AF8 00431025 */ or $v0, $v0, $v1 +/* BF9DC 80128AFC ACC20038 */ sw $v0, 0x38($a2) +/* BF9E0 80128B00 3C02FB00 */ lui $v0, (0xFB000000 >> 16) +/* BF9E4 80128B04 ACE20000 */ sw $v0, 0x0($a3) +/* BF9E8 80128B08 8CC20020 */ lw $v0, 0x20($a2) +/* BF9EC 80128B0C 8CC3004C */ lw $v1, 0x4C($a2) +/* BF9F0 80128B10 24A50008 */ addiu $a1, $a1, 0x8 +/* BF9F4 80128B14 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BF9F8 80128B18 AC259244 */ sw $a1, %lo(gMasterGfxPos)($at) +/* BF9FC 80128B1C 00431021 */ addu $v0, $v0, $v1 +/* BFA00 80128B20 90440002 */ lbu $a0, 0x2($v0) +/* BFA04 80128B24 3508F279 */ ori $t0, $t0, (0x11FCF279 & 0xFFFF) +/* BFA08 80128B28 00041E00 */ sll $v1, $a0, 24 +/* BFA0C 80128B2C 00041400 */ sll $v0, $a0, 16 +/* BFA10 80128B30 00621825 */ or $v1, $v1, $v0 +/* BFA14 80128B34 00042200 */ sll $a0, $a0, 8 +/* BFA18 80128B38 00641825 */ or $v1, $v1, $a0 +/* BFA1C 80128B3C ACE30004 */ sw $v1, 0x4($a3) +/* BFA20 80128B40 ACA90000 */ sw $t1, 0x0($a1) +/* BFA24 80128B44 ACA80004 */ sw $t0, 0x4($a1) +/* BFA28 80128B48 8CC20020 */ lw $v0, 0x20($a2) +/* BFA2C 80128B4C 24A50008 */ addiu $a1, $a1, 0x8 +/* BFA30 80128B50 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BFA34 80128B54 AC259244 */ sw $a1, %lo(gMasterGfxPos)($at) +/* BFA38 80128B58 24420003 */ addiu $v0, $v0, 0x3 +/* BFA3C 80128B5C 0804A8EA */ j .LIQUE_8012A3A8 +/* BFA40 80128B60 ACC20020 */ sw $v0, 0x20($a2) +.LIQUE_80128B64: +/* BFA44 80128B64 3C058016 */ lui $a1, %hi(msg_drawState) +/* BFA48 80128B68 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BFA4C 80128B6C 8CA20038 */ lw $v0, 0x38($a1) +/* BFA50 80128B70 8CA40020 */ lw $a0, 0x20($a1) +/* BFA54 80128B74 8CA3004C */ lw $v1, 0x4C($a1) +/* BFA58 80128B78 34420020 */ ori $v0, $v0, 0x20 +/* BFA5C 80128B7C 00831821 */ addu $v1, $a0, $v1 +/* BFA60 80128B80 ACA20038 */ sw $v0, 0x38($a1) +/* BFA64 80128B84 90630002 */ lbu $v1, 0x2($v1) +/* BFA68 80128B88 24840003 */ addiu $a0, $a0, 0x3 +/* BFA6C 80128B8C A3A300B0 */ sb $v1, 0xB0($sp) +/* BFA70 80128B90 0804A8EA */ j .LIQUE_8012A3A8 +/* BFA74 80128B94 ACA40020 */ sw $a0, 0x20($a1) +.LIQUE_80128B98: +/* BFA78 80128B98 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFA7C 80128B9C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFA80 80128BA0 8C430038 */ lw $v1, 0x38($v0) +/* BFA84 80128BA4 8C440020 */ lw $a0, 0x20($v0) +/* BFA88 80128BA8 0804A322 */ j .LIQUE_80128C88 +/* BFA8C 80128BAC 34630040 */ ori $v1, $v1, 0x40 +.LIQUE_80128BB0: +/* BFA90 80128BB0 3C058016 */ lui $a1, %hi(msg_drawState) +/* BFA94 80128BB4 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BFA98 80128BB8 8CA20038 */ lw $v0, 0x38($a1) +/* BFA9C 80128BBC 8CA40020 */ lw $a0, 0x20($a1) +/* BFAA0 80128BC0 8CA3004C */ lw $v1, 0x4C($a1) +/* BFAA4 80128BC4 34420080 */ ori $v0, $v0, 0x80 +/* BFAA8 80128BC8 00831821 */ addu $v1, $a0, $v1 +/* BFAAC 80128BCC ACA20038 */ sw $v0, 0x38($a1) +/* BFAB0 80128BD0 90630002 */ lbu $v1, 0x2($v1) +/* BFAB4 80128BD4 24840003 */ addiu $a0, $a0, 0x3 +/* BFAB8 80128BD8 A7A300AE */ sh $v1, 0xAE($sp) +/* BFABC 80128BDC 0804A8EA */ j .LIQUE_8012A3A8 +/* BFAC0 80128BE0 ACA40020 */ sw $a0, 0x20($a1) +.LIQUE_80128BE4: +/* BFAC4 80128BE4 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFAC8 80128BE8 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFACC 80128BEC 8C430038 */ lw $v1, 0x38($v0) +/* BFAD0 80128BF0 8C440020 */ lw $a0, 0x20($v0) +/* BFAD4 80128BF4 0804A322 */ j .LIQUE_80128C88 +/* BFAD8 80128BF8 34630200 */ ori $v1, $v1, 0x200 +.LIQUE_80128BFC: +/* BFADC 80128BFC 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFAE0 80128C00 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFAE4 80128C04 8C430038 */ lw $v1, 0x38($v0) +/* BFAE8 80128C08 8C440020 */ lw $a0, 0x20($v0) +/* BFAEC 80128C0C 0804A322 */ j .LIQUE_80128C88 +/* BFAF0 80128C10 34630400 */ ori $v1, $v1, 0x400 +.LIQUE_80128C14: +/* BFAF4 80128C14 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFAF8 80128C18 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFAFC 80128C1C 8C430038 */ lw $v1, 0x38($v0) +/* BFB00 80128C20 8C440020 */ lw $a0, 0x20($v0) +/* BFB04 80128C24 0804A322 */ j .LIQUE_80128C88 +/* BFB08 80128C28 34630800 */ ori $v1, $v1, 0x800 +.LIQUE_80128C2C: +/* BFB0C 80128C2C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFB10 80128C30 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFB14 80128C34 8C430038 */ lw $v1, 0x38($v0) +/* BFB18 80128C38 8C440020 */ lw $a0, 0x20($v0) +/* BFB1C 80128C3C 0804A322 */ j .LIQUE_80128C88 +/* BFB20 80128C40 34631000 */ ori $v1, $v1, 0x1000 +.LIQUE_80128C44: +/* BFB24 80128C44 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFB28 80128C48 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFB2C 80128C4C 8C430038 */ lw $v1, 0x38($v0) +/* BFB30 80128C50 8C440020 */ lw $a0, 0x20($v0) +/* BFB34 80128C54 0804A322 */ j .LIQUE_80128C88 +/* BFB38 80128C58 34632000 */ ori $v1, $v1, 0x2000 +.LIQUE_80128C5C: +/* BFB3C 80128C5C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFB40 80128C60 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFB44 80128C64 8C430038 */ lw $v1, 0x38($v0) +/* BFB48 80128C68 8C440020 */ lw $a0, 0x20($v0) +/* BFB4C 80128C6C 0804A322 */ j .LIQUE_80128C88 +/* BFB50 80128C70 34634000 */ ori $v1, $v1, 0x4000 +.LIQUE_80128C74: +/* BFB54 80128C74 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFB58 80128C78 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFB5C 80128C7C 8C430038 */ lw $v1, 0x38($v0) +/* BFB60 80128C80 8C440020 */ lw $a0, 0x20($v0) +/* BFB64 80128C84 34638000 */ ori $v1, $v1, 0x8000 +.LIQUE_80128C88: +/* BFB68 80128C88 24840002 */ addiu $a0, $a0, 0x2 +/* BFB6C 80128C8C AC430038 */ sw $v1, 0x38($v0) +/* BFB70 80128C90 0804A8EA */ j .LIQUE_8012A3A8 +/* BFB74 80128C94 AC440020 */ sw $a0, 0x20($v0) +.LIQUE_80128C98: +/* BFB78 80128C98 3C038016 */ lui $v1, %hi(msg_drawState) +/* BFB7C 80128C9C 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BFB80 80128CA0 8C620020 */ lw $v0, 0x20($v1) +/* BFB84 80128CA4 8C63004C */ lw $v1, 0x4C($v1) +/* BFB88 80128CA8 00431021 */ addu $v0, $v0, $v1 +/* BFB8C 80128CAC 90430001 */ lbu $v1, 0x1($v0) +/* BFB90 80128CB0 2C62000F */ sltiu $v0, $v1, 0xF +/* BFB94 80128CB4 10400071 */ beqz $v0, .LIQUE_80128E7C +/* BFB98 80128CB8 00031080 */ sll $v0, $v1, 2 +/* BFB9C 80128CBC 3C018015 */ lui $at, %hi(jtbl_IQUE_8014F048) +/* BFBA0 80128CC0 00220821 */ addu $at, $at, $v0 +/* BFBA4 80128CC4 8C22F048 */ lw $v0, %lo(jtbl_IQUE_8014F048)($at) +/* BFBA8 80128CC8 00400008 */ jr $v0 +/* BFBAC 80128CCC 00000000 */ nop +.LIQUE_80128CD0: +/* BFBB0 80128CD0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFBB4 80128CD4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFBB8 80128CD8 8C430038 */ lw $v1, 0x38($v0) +/* BFBBC 80128CDC 0804A379 */ j .LIQUE_80128DE4 +/* BFBC0 80128CE0 2404FFFE */ addiu $a0, $zero, -0x2 +.LIQUE_80128CE4: +/* BFBC4 80128CE4 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFBC8 80128CE8 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFBCC 80128CEC 8C430038 */ lw $v1, 0x38($v0) +/* BFBD0 80128CF0 0804A379 */ j .LIQUE_80128DE4 +/* BFBD4 80128CF4 2404FFFD */ addiu $a0, $zero, -0x3 +.LIQUE_80128CF8: +/* BFBD8 80128CF8 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFBDC 80128CFC 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFBE0 80128D00 8C430038 */ lw $v1, 0x38($v0) +/* BFBE4 80128D04 0804A379 */ j .LIQUE_80128DE4 +/* BFBE8 80128D08 2404FFFB */ addiu $a0, $zero, -0x5 +.LIQUE_80128D0C: +/* BFBEC 80128D0C 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFBF0 80128D10 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFBF4 80128D14 3C03FFFE */ lui $v1, (0xFFFEFFFF >> 16) +/* BFBF8 80128D18 8C820038 */ lw $v0, 0x38($a0) +/* BFBFC 80128D1C 0804A381 */ j .LIQUE_80128E04 +/* BFC00 80128D20 3463FFFF */ ori $v1, $v1, (0xFFFEFFFF & 0xFFFF) +.LIQUE_80128D24: +/* BFC04 80128D24 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFC08 80128D28 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFC0C 80128D2C 8C430038 */ lw $v1, 0x38($v0) +/* BFC10 80128D30 0804A379 */ j .LIQUE_80128DE4 +/* BFC14 80128D34 2404FFDF */ addiu $a0, $zero, -0x21 +.LIQUE_80128D38: +/* BFC18 80128D38 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFC1C 80128D3C 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFC20 80128D40 0804A35F */ j .LIQUE_80128D7C +/* BFC24 80128D44 2405FFBF */ addiu $a1, $zero, -0x41 +.LIQUE_80128D48: +/* BFC28 80128D48 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFC2C 80128D4C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFC30 80128D50 8C430038 */ lw $v1, 0x38($v0) +/* BFC34 80128D54 0804A379 */ j .LIQUE_80128DE4 +/* BFC38 80128D58 2404FF7F */ addiu $a0, $zero, -0x81 +.LIQUE_80128D5C: +/* BFC3C 80128D5C 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFC40 80128D60 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFC44 80128D64 8C430038 */ lw $v1, 0x38($v0) +/* BFC48 80128D68 0804A379 */ j .LIQUE_80128DE4 +/* BFC4C 80128D6C 2404FDFF */ addiu $a0, $zero, -0x201 +.LIQUE_80128D70: +/* BFC50 80128D70 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFC54 80128D74 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFC58 80128D78 2405FBFF */ addiu $a1, $zero, -0x401 +.LIQUE_80128D7C: +/* BFC5C 80128D7C 8C820038 */ lw $v0, 0x38($a0) +/* BFC60 80128D80 94830034 */ lhu $v1, 0x34($a0) +/* BFC64 80128D84 00451024 */ and $v0, $v0, $a1 +/* BFC68 80128D88 34630010 */ ori $v1, $v1, 0x10 +/* BFC6C 80128D8C AC820038 */ sw $v0, 0x38($a0) +/* BFC70 80128D90 0804A39F */ j .LIQUE_80128E7C +/* BFC74 80128D94 A4830034 */ sh $v1, 0x34($a0) +.LIQUE_80128D98: +/* BFC78 80128D98 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFC7C 80128D9C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFC80 80128DA0 8C430038 */ lw $v1, 0x38($v0) +/* BFC84 80128DA4 0804A379 */ j .LIQUE_80128DE4 +/* BFC88 80128DA8 2404F7FF */ addiu $a0, $zero, -0x801 +.LIQUE_80128DAC: +/* BFC8C 80128DAC 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFC90 80128DB0 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFC94 80128DB4 8C430038 */ lw $v1, 0x38($v0) +/* BFC98 80128DB8 0804A379 */ j .LIQUE_80128DE4 +/* BFC9C 80128DBC 2404EFFF */ addiu $a0, $zero, -0x1001 +.LIQUE_80128DC0: +/* BFCA0 80128DC0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFCA4 80128DC4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFCA8 80128DC8 8C430038 */ lw $v1, 0x38($v0) +/* BFCAC 80128DCC 0804A379 */ j .LIQUE_80128DE4 +/* BFCB0 80128DD0 2404DFFF */ addiu $a0, $zero, -0x2001 +.LIQUE_80128DD4: +/* BFCB4 80128DD4 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFCB8 80128DD8 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFCBC 80128DDC 8C430038 */ lw $v1, 0x38($v0) +/* BFCC0 80128DE0 2404BFFF */ addiu $a0, $zero, -0x4001 +.LIQUE_80128DE4: +/* BFCC4 80128DE4 00641824 */ and $v1, $v1, $a0 +/* BFCC8 80128DE8 0804A39F */ j .LIQUE_80128E7C +/* BFCCC 80128DEC AC430038 */ sw $v1, 0x38($v0) +.LIQUE_80128DF0: +/* BFCD0 80128DF0 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFCD4 80128DF4 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFCD8 80128DF8 3C03FFFF */ lui $v1, (0xFFFF7FFF >> 16) +/* BFCDC 80128DFC 8C820038 */ lw $v0, 0x38($a0) +/* BFCE0 80128E00 34637FFF */ ori $v1, $v1, (0xFFFF7FFF & 0xFFFF) +.LIQUE_80128E04: +/* BFCE4 80128E04 00431024 */ and $v0, $v0, $v1 +/* BFCE8 80128E08 0804A39F */ j .LIQUE_80128E7C +/* BFCEC 80128E0C AC820038 */ sw $v0, 0x38($a0) +.LIQUE_80128E10: +/* BFCF0 80128E10 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFCF4 80128E14 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFCF8 80128E18 8C820020 */ lw $v0, 0x20($a0) +/* BFCFC 80128E1C 8C83004C */ lw $v1, 0x4C($a0) +/* BFD00 80128E20 00431021 */ addu $v0, $v0, $v1 +/* BFD04 80128E24 90420001 */ lbu $v0, 0x1($v0) +/* BFD08 80128E28 10400010 */ beqz $v0, .LIQUE_80128E6C +/* BFD0C 80128E2C 241900FF */ addiu $t9, $zero, 0xFF +/* BFD10 80128E30 A082002E */ sb $v0, 0x2E($a0) +/* BFD14 80128E34 3C038016 */ lui $v1, %hi(msg_drawState) +/* BFD18 80128E38 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BFD1C 80128E3C 9062002E */ lbu $v0, 0x2E($v1) +/* BFD20 80128E40 14590006 */ bne $v0, $t9, .LIQUE_80128E5C +/* BFD24 80128E44 00000000 */ nop +/* BFD28 80128E48 97C20514 */ lhu $v0, 0x514($fp) +/* BFD2C 80128E4C 00021042 */ srl $v0, $v0, 1 +/* BFD30 80128E50 A062002E */ sb $v0, 0x2E($v1) +/* BFD34 80128E54 3C038016 */ lui $v1, %hi(msg_drawState) +/* BFD38 80128E58 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +.LIQUE_80128E5C: +/* BFD3C 80128E5C 94620034 */ lhu $v0, 0x34($v1) +/* BFD40 80128E60 344200C0 */ ori $v0, $v0, 0xC0 +/* BFD44 80128E64 0804A39F */ j .LIQUE_80128E7C +/* BFD48 80128E68 A4620034 */ sh $v0, 0x34($v1) +.LIQUE_80128E6C: +/* BFD4C 80128E6C 94820034 */ lhu $v0, 0x34($a0) +/* BFD50 80128E70 A4800042 */ sh $zero, 0x42($a0) +/* BFD54 80128E74 3042FF3F */ andi $v0, $v0, 0xFF3F +.LIQUE_80128E78: +/* BFD58 80128E78 A4820034 */ sh $v0, 0x34($a0) +.LIQUE_80128E7C: +/* BFD5C 80128E7C 3C038016 */ lui $v1, %hi(msg_drawState) +/* BFD60 80128E80 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BFD64 80128E84 8C620020 */ lw $v0, 0x20($v1) +.LIQUE_80128E88: +/* BFD68 80128E88 24420002 */ addiu $v0, $v0, 0x2 +/* BFD6C 80128E8C 0804A8EA */ j .LIQUE_8012A3A8 +/* BFD70 80128E90 AC620020 */ sw $v0, 0x20($v1) +.LIQUE_80128E94: +/* BFD74 80128E94 24A2FFA1 */ addiu $v0, $a1, -0x5F +/* BFD78 80128E98 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BFD7C 80128E9C 2C420031 */ sltiu $v0, $v0, 0x31 +/* BFD80 80128EA0 10400007 */ beqz $v0, .LIQUE_80128EC0 +/* BFD84 80128EA4 00000000 */ nop +.LIQUE_80128EA8: +/* BFD88 80128EA8 3C038016 */ lui $v1, %hi(msg_drawState) +/* BFD8C 80128EAC 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* BFD90 80128EB0 8C620020 */ lw $v0, 0x20($v1) +/* BFD94 80128EB4 24420001 */ addiu $v0, $v0, 0x1 +/* BFD98 80128EB8 0804A8EA */ j .LIQUE_8012A3A8 +/* BFD9C 80128EBC AC620020 */ sw $v0, 0x20($v1) +.LIQUE_80128EC0: +/* BFDA0 80128EC0 3C028016 */ lui $v0, %hi(msg_drawState) +/* BFDA4 80128EC4 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* BFDA8 80128EC8 94420034 */ lhu $v0, 0x34($v0) +/* BFDAC 80128ECC 30420002 */ andi $v0, $v0, 0x2 +/* BFDB0 80128ED0 10400013 */ beqz $v0, .LIQUE_80128F20 +/* BFDB4 80128ED4 241800FF */ addiu $t8, $zero, 0xFF +/* BFDB8 80128ED8 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* BFDBC 80128EDC 8C639244 */ lw $v1, %lo(gMasterGfxPos)($v1) +/* BFDC0 80128EE0 A7B80096 */ sh $t8, 0x96($sp) +/* BFDC4 80128EE4 0060102D */ daddu $v0, $v1, $zero +/* BFDC8 80128EE8 24630008 */ addiu $v1, $v1, 0x8 +/* BFDCC 80128EEC 3C19E700 */ lui $t9, (0xE7000000 >> 16) +/* BFDD0 80128EF0 AC590000 */ sw $t9, 0x0($v0) +/* BFDD4 80128EF4 AC400004 */ sw $zero, 0x4($v0) +/* BFDD8 80128EF8 24620008 */ addiu $v0, $v1, 0x8 +/* BFDDC 80128EFC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BFDE0 80128F00 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* BFDE4 80128F04 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* BFDE8 80128F08 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* BFDEC 80128F0C 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* BFDF0 80128F10 AC620000 */ sw $v0, 0x0($v1) +/* BFDF4 80128F14 3C028015 */ lui $v0, %hi(D_8014C500) +/* BFDF8 80128F18 2442AC90 */ addiu $v0, $v0, %lo(D_8014C500) +/* BFDFC 80128F1C AC620004 */ sw $v0, 0x4($v1) +.LIQUE_80128F20: +/* BFE00 80128F20 3C058016 */ lui $a1, %hi(msg_drawState) +/* BFE04 80128F24 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* BFE08 80128F28 C4A00010 */ lwc1 $f0, 0x10($a1) +/* BFE0C 80128F2C 94A20034 */ lhu $v0, 0x34($a1) +/* BFE10 80128F30 C4A20014 */ lwc1 $f2, 0x14($a1) +/* BFE14 80128F34 30420080 */ andi $v0, $v0, 0x80 +/* BFE18 80128F38 E4A00018 */ swc1 $f0, 0x18($a1) +/* BFE1C 80128F3C 1040000B */ beqz $v0, .LIQUE_80128F6C +/* BFE20 80128F40 E4A2001C */ swc1 $f2, 0x1C($a1) +/* BFE24 80128F44 97C20538 */ lhu $v0, 0x538($fp) +/* BFE28 80128F48 90A4002E */ lbu $a0, 0x2E($a1) +/* BFE2C 80128F4C 94A30034 */ lhu $v1, 0x34($a1) +/* BFE30 80128F50 00021042 */ srl $v0, $v0, 1 +/* BFE34 80128F54 00822023 */ subu $a0, $a0, $v0 +/* BFE38 80128F58 94A20042 */ lhu $v0, 0x42($a1) +/* BFE3C 80128F5C 3063FF7F */ andi $v1, $v1, 0xFF7F +/* BFE40 80128F60 A4A30034 */ sh $v1, 0x34($a1) +/* BFE44 80128F64 00441021 */ addu $v0, $v0, $a0 +/* BFE48 80128F68 A4A20042 */ sh $v0, 0x42($a1) +.LIQUE_80128F6C: +/* BFE4C 80128F6C 3C048016 */ lui $a0, %hi(msg_drawState) +/* BFE50 80128F70 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* BFE54 80128F74 94820034 */ lhu $v0, 0x34($a0) +/* BFE58 80128F78 30420040 */ andi $v0, $v0, 0x40 +/* BFE5C 80128F7C 10400007 */ beqz $v0, .LIQUE_80128F9C +/* BFE60 80128F80 00000000 */ nop +/* BFE64 80128F84 97C2045A */ lhu $v0, 0x45A($fp) +/* BFE68 80128F88 97B80066 */ lhu $t8, 0x66($sp) +/* BFE6C 80128F8C 94830042 */ lhu $v1, 0x42($a0) +/* BFE70 80128F90 00581021 */ addu $v0, $v0, $t8 +/* BFE74 80128F94 0804A3EE */ j .LIQUE_80128FB8 +/* BFE78 80128F98 00628821 */ addu $s1, $v1, $v0 +.LIQUE_80128F9C: +/* BFE7C 80128F9C 97C2045A */ lhu $v0, 0x45A($fp) +/* BFE80 80128FA0 97B90066 */ lhu $t9, 0x66($sp) +/* BFE84 80128FA4 94830046 */ lhu $v1, 0x46($a0) +/* BFE88 80128FA8 94840042 */ lhu $a0, 0x42($a0) +/* BFE8C 80128FAC 00591021 */ addu $v0, $v0, $t9 +/* BFE90 80128FB0 00621821 */ addu $v1, $v1, $v0 +/* BFE94 80128FB4 00838821 */ addu $s1, $a0, $v1 +.LIQUE_80128FB8: +/* BFE98 80128FB8 3C068016 */ lui $a2, %hi(msg_drawState) +/* BFE9C 80128FBC 8CC680F4 */ lw $a2, %lo(msg_drawState)($a2) +/* BFEA0 80128FC0 97B8006E */ lhu $t8, 0x6E($sp) +/* BFEA4 80128FC4 97B9007E */ lhu $t9, 0x7E($sp) +/* BFEA8 80128FC8 94C3003C */ lhu $v1, 0x3C($a2) +/* BFEAC 80128FCC 94C4003E */ lhu $a0, 0x3E($a2) +/* BFEB0 80128FD0 00031880 */ sll $v1, $v1, 2 +/* BFEB4 80128FD4 00041040 */ sll $v0, $a0, 1 +/* BFEB8 80128FD8 00441021 */ addu $v0, $v0, $a0 +/* BFEBC 80128FDC 00021080 */ sll $v0, $v0, 2 +/* BFEC0 80128FE0 97C4045C */ lhu $a0, 0x45C($fp) +/* BFEC4 80128FE4 3C08802F */ lui $t0, %hi(gMsgCharsets) +/* BFEC8 80128FE8 01034021 */ addu $t0, $t0, $v1 +/* BFECC 80128FEC 8D08B5A8 */ lw $t0, %lo(gMsgCharsets)($t0) +/* BFED0 80128FF0 00982021 */ addu $a0, $a0, $t8 +/* BFED4 80128FF4 8D030008 */ lw $v1, 0x8($t0) +/* BFED8 80128FF8 97B8008E */ lhu $t8, 0x8E($sp) +/* BFEDC 80128FFC 00433821 */ addu $a3, $v0, $v1 +/* BFEE0 80129000 90E50009 */ lbu $a1, 0x9($a3) +/* BFEE4 80129004 94C30048 */ lhu $v1, 0x48($a2) +/* BFEE8 80129008 94C20044 */ lhu $v0, 0x44($a2) +/* BFEEC 8012900C 00052E00 */ sll $a1, $a1, 24 +/* BFEF0 80129010 00052E03 */ sra $a1, $a1, 24 +/* BFEF4 80129014 00641821 */ addu $v1, $v1, $a0 +/* BFEF8 80129018 00431021 */ addu $v0, $v0, $v1 +/* BFEFC 8012901C 00591023 */ subu $v0, $v0, $t9 +/* BFF00 80129020 00A22821 */ addu $a1, $a1, $v0 +/* BFF04 80129024 00181400 */ sll $v0, $t8, 16 +/* BFF08 80129028 00024C03 */ sra $t1, $v0, 16 +/* BFF0C 8012902C 112004C1 */ beqz $t1, .LIQUE_8012A334 +/* BFF10 80129030 00A0A02D */ daddu $s4, $a1, $zero +/* BFF14 80129034 00111C00 */ sll $v1, $s1, 16 +/* BFF18 80129038 8CC20004 */ lw $v0, 0x4($a2) +/* BFF1C 8012903C 00032403 */ sra $a0, $v1, 16 +/* BFF20 80129040 0082102A */ slt $v0, $a0, $v0 +/* BFF24 80129044 104004BB */ beqz $v0, .LIQUE_8012A334 +/* BFF28 80129048 00051C00 */ sll $v1, $a1, 16 +/* BFF2C 8012904C 8CC2000C */ lw $v0, 0xC($a2) +/* BFF30 80129050 00032C03 */ sra $a1, $v1, 16 +/* BFF34 80129054 00A2102A */ slt $v0, $a1, $v0 +/* BFF38 80129058 104004B6 */ beqz $v0, .LIQUE_8012A334 +/* BFF3C 8012905C 00000000 */ nop +/* BFF40 80129060 90E20008 */ lbu $v0, 0x8($a3) +/* BFF44 80129064 C4C00010 */ lwc1 $f0, 0x10($a2) +/* BFF48 80129068 44821000 */ mtc1 $v0, $f2 +/* BFF4C 8012906C 00000000 */ nop +/* BFF50 80129070 468010A0 */ cvt.s.w $f2, $f2 +/* BFF54 80129074 46020002 */ mul.s $f0, $f0, $f2 +/* BFF58 80129078 00000000 */ nop +/* BFF5C 8012907C 8CC30000 */ lw $v1, 0x0($a2) +/* BFF60 80129080 4600030D */ trunc.w.s $f12, $f0 +/* BFF64 80129084 44026000 */ mfc1 $v0, $f12 +/* BFF68 80129088 00000000 */ nop +/* BFF6C 8012908C 00821021 */ addu $v0, $a0, $v0 +/* BFF70 80129090 0062182A */ slt $v1, $v1, $v0 +/* BFF74 80129094 106004A7 */ beqz $v1, .LIQUE_8012A334 +/* BFF78 80129098 00000000 */ nop +/* BFF7C 8012909C 91020003 */ lbu $v0, 0x3($t0) +/* BFF80 801290A0 C4C20014 */ lwc1 $f2, 0x14($a2) +/* BFF84 801290A4 44820000 */ mtc1 $v0, $f0 +/* BFF88 801290A8 00000000 */ nop +/* BFF8C 801290AC 46800020 */ cvt.s.w $f0, $f0 +/* BFF90 801290B0 93C20508 */ lbu $v0, 0x508($fp) +/* BFF94 801290B4 46001082 */ mul.s $f2, $f2, $f0 +/* BFF98 801290B8 00000000 */ nop +/* BFF9C 801290BC 00021040 */ sll $v0, $v0, 1 +/* BFFA0 801290C0 3C01802F */ lui $at, %hi(D_802EB644) +/* BFFA4 801290C4 00220821 */ addu $at, $at, $v0 +/* BFFA8 801290C8 8422B644 */ lh $v0, %lo(D_802EB644)($at) +/* BFFAC 801290CC 44820000 */ mtc1 $v0, $f0 +/* BFFB0 801290D0 00000000 */ nop +/* BFFB4 801290D4 46800020 */ cvt.s.w $f0, $f0 +/* BFFB8 801290D8 46001080 */ add.s $f2, $f2, $f0 +/* BFFBC 801290DC 8CC30008 */ lw $v1, 0x8($a2) +/* BFFC0 801290E0 4600130D */ trunc.w.s $f12, $f2 +/* BFFC4 801290E4 44026000 */ mfc1 $v0, $f12 +/* BFFC8 801290E8 00000000 */ nop +/* BFFCC 801290EC 00A21021 */ addu $v0, $a1, $v0 +/* BFFD0 801290F0 0062182A */ slt $v1, $v1, $v0 +/* BFFD4 801290F4 1060048F */ beqz $v1, .LIQUE_8012A334 +/* BFFD8 801290F8 00000000 */ nop +/* BFFDC 801290FC 97B2008E */ lhu $s2, 0x8E($sp) +/* BFFE0 80129100 8CC50038 */ lw $a1, 0x38($a2) +/* BFFE4 80129104 94D7004A */ lhu $s7, 0x4A($a2) +/* BFFE8 80129108 30A20020 */ andi $v0, $a1, 0x20 +/* BFFEC 8012910C 1040000B */ beqz $v0, .LIQUE_8012913C +/* BFFF0 80129110 00000000 */ nop +/* BFFF4 80129114 44890000 */ mtc1 $t1, $f0 +/* BFFF8 80129118 00000000 */ nop +/* BFFFC 8012911C 46800020 */ cvt.s.w $f0, $f0 +/* C0000 80129120 3C018015 */ lui $at, %hi(D_IQUE_8014F088) +/* C0004 80129124 D422F088 */ ldc1 $f2, %lo(D_IQUE_8014F088)($at) +/* C0008 80129128 46000021 */ cvt.d.s $f0, $f0 +/* C000C 8012912C 46220002 */ mul.d $f0, $f0, $f2 +/* C0010 80129130 00000000 */ nop +/* C0014 80129134 4620030D */ trunc.w.d $f12, $f0 +/* C0018 80129138 44126000 */ mfc1 $s2, $f12 +.LIQUE_8012913C: +/* C001C 8012913C 93C204F8 */ lbu $v0, 0x4F8($fp) +/* C0020 80129140 24190007 */ addiu $t9, $zero, 0x7 +/* C0024 80129144 14590017 */ bne $v0, $t9, .LIQUE_801291A4 +/* C0028 80129148 00000000 */ nop +/* C002C 8012914C 94C20034 */ lhu $v0, 0x34($a2) +/* C0030 80129150 30420020 */ andi $v0, $v0, 0x20 +/* C0034 80129154 10400013 */ beqz $v0, .LIQUE_801291A4 +/* C0038 80129158 00000000 */ nop +/* C003C 8012915C 90C3002D */ lbu $v1, 0x2D($a2) +/* C0040 80129160 93C204E8 */ lbu $v0, 0x4E8($fp) +/* C0044 80129164 14620004 */ bne $v1, $v0, .LIQUE_80129178 +/* C0048 80129168 3C04FFFF */ lui $a0, (0xFFFF7FFF >> 16) +/* C004C 8012916C 34A28600 */ ori $v0, $a1, 0x8600 +/* C0050 80129170 0804A469 */ j .LIQUE_801291A4 +/* C0054 80129174 ACC20038 */ sw $v0, 0x38($a2) +.LIQUE_80129178: +/* C0058 80129178 34847FFF */ ori $a0, $a0, (0xFFFF7FFF & 0xFFFF) +/* C005C 8012917C 2402FBFF */ addiu $v0, $zero, -0x401 +/* C0060 80129180 00A21024 */ and $v0, $a1, $v0 +/* C0064 80129184 2403FDFF */ addiu $v1, $zero, -0x201 +/* C0068 80129188 00431024 */ and $v0, $v0, $v1 +/* C006C 8012918C 94D7004A */ lhu $s7, 0x4A($a2) +/* C0070 80129190 94C30034 */ lhu $v1, 0x34($a2) +/* C0074 80129194 00441024 */ and $v0, $v0, $a0 +/* C0078 80129198 ACC20038 */ sw $v0, 0x38($a2) +/* C007C 8012919C 34630010 */ ori $v1, $v1, 0x10 +/* C0080 801291A0 A4C30034 */ sh $v1, 0x34($a2) +.LIQUE_801291A4: +/* C0084 801291A4 3C028016 */ lui $v0, %hi(msg_drawState) +/* C0088 801291A8 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C008C 801291AC 8C420038 */ lw $v0, 0x38($v0) +/* C0090 801291B0 30420001 */ andi $v0, $v0, 0x1 +/* C0094 801291B4 10400011 */ beqz $v0, .LIQUE_801291FC +/* C0098 801291B8 00000000 */ nop +/* C009C 801291BC 0C00A5B3 */ jal rand_int +/* C00A0 801291C0 24042710 */ addiu $a0, $zero, 0x2710 +/* C00A4 801291C4 00021FC2 */ srl $v1, $v0, 31 +/* C00A8 801291C8 00431821 */ addu $v1, $v0, $v1 +/* C00AC 801291CC 00031843 */ sra $v1, $v1, 1 +/* C00B0 801291D0 00031840 */ sll $v1, $v1, 1 +/* C00B4 801291D4 00431023 */ subu $v0, $v0, $v1 +/* C00B8 801291D8 02228821 */ addu $s1, $s1, $v0 +/* C00BC 801291DC 0C00A5B3 */ jal rand_int +/* C00C0 801291E0 24042710 */ addiu $a0, $zero, 0x2710 +/* C00C4 801291E4 00021FC2 */ srl $v1, $v0, 31 +/* C00C8 801291E8 00431821 */ addu $v1, $v0, $v1 +/* C00CC 801291EC 00031843 */ sra $v1, $v1, 1 +/* C00D0 801291F0 00031840 */ sll $v1, $v1, 1 +/* C00D4 801291F4 00431023 */ subu $v0, $v0, $v1 +/* C00D8 801291F8 0282A021 */ addu $s4, $s4, $v0 +.LIQUE_801291FC: +/* C00DC 801291FC 3C048016 */ lui $a0, %hi(msg_drawState) +/* C00E0 80129200 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* C00E4 80129204 8C820038 */ lw $v0, 0x38($a0) +/* C00E8 80129208 30420002 */ andi $v0, $v0, 0x2 +/* C00EC 8012920C 1040005D */ beqz $v0, .LIQUE_80129384 +/* C00F0 80129210 00000000 */ nop +/* C00F4 80129214 C4820010 */ lwc1 $f2, 0x10($a0) +/* C00F8 80129218 3C013FF0 */ lui $at, (0x3FF00000 >> 16) +/* C00FC 8012921C 4481B800 */ mtc1 $at, $f23 +/* C0100 80129220 4480B000 */ mtc1 $zero, $f22 +/* C0104 80129224 460010A1 */ cvt.d.s $f2, $f2 +/* C0108 80129228 46361081 */ sub.d $f2, $f2, $f22 +/* C010C 8012922C 3C014014 */ lui $at, (0x40140000 >> 16) +/* C0110 80129230 44812800 */ mtc1 $at, $f5 +/* C0114 80129234 44802000 */ mtc1 $zero, $f4 +/* C0118 80129238 00000000 */ nop +/* C011C 8012923C 46241102 */ mul.d $f4, $f2, $f4 +/* C0120 80129240 00000000 */ nop +/* C0124 80129244 3C01402E */ lui $at, (0x402E0000 >> 16) +/* C0128 80129248 44810800 */ mtc1 $at, $f1 +/* C012C 8012924C 44800000 */ mtc1 $zero, $f0 +/* C0130 80129250 00000000 */ nop +/* C0134 80129254 46201082 */ mul.d $f2, $f2, $f0 +/* C0138 80129258 00000000 */ nop +/* C013C 8012925C 3C014034 */ lui $at, (0x40340000 >> 16) +/* C0140 80129260 44810800 */ mtc1 $at, $f1 +/* C0144 80129264 44800000 */ mtc1 $zero, $f0 +/* C0148 80129268 00000000 */ nop +/* C014C 8012926C 46240001 */ sub.d $f0, $f0, $f4 +/* C0150 80129270 97C30452 */ lhu $v1, 0x452($fp) +/* C0154 80129274 4620030D */ trunc.w.d $f12, $f0 +/* C0158 80129278 44026000 */ mfc1 $v0, $f12 +/* C015C 8012927C 00000000 */ nop +/* C0160 80129280 00620018 */ mult $v1, $v0 +/* C0164 80129284 3C018015 */ lui $at, %hi(D_IQUE_8014F090) +/* C0168 80129288 D420F090 */ ldc1 $f0, %lo(D_IQUE_8014F090)($at) +/* C016C 8012928C 46220001 */ sub.d $f0, $f0, $f2 +/* C0170 80129290 00002812 */ mflo $a1 +/* C0174 80129294 8C830030 */ lw $v1, 0x30($a0) +/* C0178 80129298 4620030D */ trunc.w.d $f12, $f0 +/* C017C 8012929C 44026000 */ mfc1 $v0, $f12 +/* C0180 801292A0 00000000 */ nop +/* C0184 801292A4 00620018 */ mult $v1, $v0 +/* C0188 801292A8 00001812 */ mflo $v1 +/* C018C 801292AC 00A38023 */ subu $s0, $a1, $v1 +/* C0190 801292B0 00102400 */ sll $a0, $s0, 16 +/* C0194 801292B4 0C00A429 */ jal cosine +/* C0198 801292B8 00042403 */ sra $a0, $a0, 16 +/* C019C 801292BC 3C028016 */ lui $v0, %hi(msg_drawState) +/* C01A0 801292C0 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C01A4 801292C4 C4420010 */ lwc1 $f2, 0x10($v0) +/* C01A8 801292C8 460010A1 */ cvt.d.s $f2, $f2 +/* C01AC 801292CC 46361081 */ sub.d $f2, $f2, $f22 +/* C01B0 801292D0 3C018015 */ lui $at, %hi(D_IQUE_8014F098) +/* C01B4 801292D4 D434F098 */ ldc1 $f20, %lo(D_IQUE_8014F098)($at) +/* C01B8 801292D8 46341080 */ add.d $f2, $f2, $f20 +/* C01BC 801292DC 46000021 */ cvt.d.s $f0, $f0 +/* C01C0 801292E0 46220002 */ mul.d $f0, $f0, $f2 +/* C01C4 801292E4 00000000 */ nop +/* C01C8 801292E8 3C018015 */ lui $at, %hi(D_IQUE_8014F0A0) +/* C01CC 801292EC D424F0A0 */ ldc1 $f4, %lo(D_IQUE_8014F0A0)($at) +/* C01D0 801292F0 44901000 */ mtc1 $s0, $f2 +/* C01D4 801292F4 00000000 */ nop +/* C01D8 801292F8 468010A1 */ cvt.d.w $f2, $f2 +/* C01DC 801292FC 46241080 */ add.d $f2, $f2, $f4 +/* C01E0 80129300 3C018015 */ lui $at, %hi(D_IQUE_8014F0A8) +/* C01E4 80129304 D424F0A8 */ ldc1 $f4, %lo(D_IQUE_8014F0A8)($at) +/* C01E8 80129308 00111400 */ sll $v0, $s1, 16 +/* C01EC 8012930C 46241080 */ add.d $f2, $f2, $f4 +/* C01F0 80129310 00021403 */ sra $v0, $v0, 16 +/* C01F4 80129314 44822000 */ mtc1 $v0, $f4 +/* C01F8 80129318 00000000 */ nop +/* C01FC 8012931C 46802121 */ cvt.d.w $f4, $f4 +/* C0200 80129320 4620130D */ trunc.w.d $f12, $f2 +/* C0204 80129324 44046000 */ mfc1 $a0, $f12 +/* C0208 80129328 46202100 */ add.d $f4, $f4, $f0 +/* C020C 8012932C 00042400 */ sll $a0, $a0, 16 +/* C0210 80129330 4620230D */ trunc.w.d $f12, $f4 +/* C0214 80129334 44116000 */ mfc1 $s1, $f12 +/* C0218 80129338 0C00A429 */ jal cosine +/* C021C 8012933C 00042403 */ sra $a0, $a0, 16 +/* C0220 80129340 3C028016 */ lui $v0, %hi(msg_drawState) +/* C0224 80129344 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C0228 80129348 C4420014 */ lwc1 $f2, 0x14($v0) +/* C022C 8012934C 460010A1 */ cvt.d.s $f2, $f2 +/* C0230 80129350 46361081 */ sub.d $f2, $f2, $f22 +/* C0234 80129354 46341080 */ add.d $f2, $f2, $f20 +/* C0238 80129358 46000021 */ cvt.d.s $f0, $f0 +/* C023C 8012935C 46220002 */ mul.d $f0, $f0, $f2 +/* C0240 80129360 00000000 */ nop +/* C0244 80129364 00141400 */ sll $v0, $s4, 16 +/* C0248 80129368 00021403 */ sra $v0, $v0, 16 +/* C024C 8012936C 44821000 */ mtc1 $v0, $f2 +/* C0250 80129370 00000000 */ nop +/* C0254 80129374 468010A1 */ cvt.d.w $f2, $f2 +/* C0258 80129378 46201080 */ add.d $f2, $f2, $f0 +/* C025C 8012937C 4620130D */ trunc.w.d $f12, $f2 +/* C0260 80129380 44146000 */ mfc1 $s4, $f12 +.LIQUE_80129384: +/* C0264 80129384 3C038016 */ lui $v1, %hi(msg_drawState) +/* C0268 80129388 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C026C 8012938C 8C620038 */ lw $v0, 0x38($v1) +/* C0270 80129390 30420200 */ andi $v0, $v0, 0x200 +/* C0274 80129394 10400054 */ beqz $v0, .LIQUE_801294E8 +/* C0278 80129398 00000000 */ nop +/* C027C 8012939C C4620010 */ lwc1 $f2, 0x10($v1) +/* C0280 801293A0 3C013FF0 */ lui $at, (0x3FF00000 >> 16) +/* C0284 801293A4 4481A800 */ mtc1 $at, $f21 +/* C0288 801293A8 4480A000 */ mtc1 $zero, $f20 +/* C028C 801293AC 460010A1 */ cvt.d.s $f2, $f2 +/* C0290 801293B0 46341081 */ sub.d $f2, $f2, $f20 +/* C0294 801293B4 3C014014 */ lui $at, (0x40140000 >> 16) +/* C0298 801293B8 44810800 */ mtc1 $at, $f1 +/* C029C 801293BC 44800000 */ mtc1 $zero, $f0 +/* C02A0 801293C0 00000000 */ nop +/* C02A4 801293C4 46201082 */ mul.d $f2, $f2, $f0 +/* C02A8 801293C8 00000000 */ nop +/* C02AC 801293CC 3C014034 */ lui $at, (0x40340000 >> 16) +/* C02B0 801293D0 44810800 */ mtc1 $at, $f1 +/* C02B4 801293D4 44800000 */ mtc1 $zero, $f0 +/* C02B8 801293D8 00000000 */ nop +/* C02BC 801293DC 46220001 */ sub.d $f0, $f0, $f2 +/* C02C0 801293E0 3C028015 */ lui $v0, %hi(gMsgGlobalWaveCounter) +/* C02C4 801293E4 9442FA74 */ lhu $v0, %lo(gMsgGlobalWaveCounter)($v0) +/* C02C8 801293E8 8C630030 */ lw $v1, 0x30($v1) +/* C02CC 801293EC 4620030D */ trunc.w.d $f12, $f0 +/* C02D0 801293F0 44046000 */ mfc1 $a0, $f12 +/* C02D4 801293F4 00000000 */ nop +/* C02D8 801293F8 00440018 */ mult $v0, $a0 +/* C02DC 801293FC 00031040 */ sll $v0, $v1, 1 +/* C02E0 80129400 00431021 */ addu $v0, $v0, $v1 +/* C02E4 80129404 00028100 */ sll $s0, $v0, 4 +/* C02E8 80129408 02028023 */ subu $s0, $s0, $v0 +/* C02EC 8012940C 0000C012 */ mflo $t8 +/* C02F0 80129410 03108023 */ subu $s0, $t8, $s0 +/* C02F4 80129414 00102400 */ sll $a0, $s0, 16 +/* C02F8 80129418 0C00A429 */ jal cosine +/* C02FC 8012941C 00042403 */ sra $a0, $a0, 16 +/* C0300 80129420 3C028016 */ lui $v0, %hi(msg_drawState) +/* C0304 80129424 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C0308 80129428 C4420010 */ lwc1 $f2, 0x10($v0) +/* C030C 8012942C 460010A1 */ cvt.d.s $f2, $f2 +/* C0310 80129430 46341081 */ sub.d $f2, $f2, $f20 +/* C0314 80129434 3C018015 */ lui $at, %hi(D_IQUE_8014F0B0) +/* C0318 80129438 D436F0B0 */ ldc1 $f22, %lo(D_IQUE_8014F0B0)($at) +/* C031C 8012943C 46361080 */ add.d $f2, $f2, $f22 +/* C0320 80129440 46000021 */ cvt.d.s $f0, $f0 +/* C0324 80129444 46220002 */ mul.d $f0, $f0, $f2 +/* C0328 80129448 00000000 */ nop +/* C032C 8012944C 3C018015 */ lui $at, %hi(D_IQUE_8014F0B8) +/* C0330 80129450 D424F0B8 */ ldc1 $f4, %lo(D_IQUE_8014F0B8)($at) +/* C0334 80129454 44901000 */ mtc1 $s0, $f2 +/* C0338 80129458 00000000 */ nop +/* C033C 8012945C 468010A1 */ cvt.d.w $f2, $f2 +/* C0340 80129460 46241080 */ add.d $f2, $f2, $f4 +/* C0344 80129464 3C018015 */ lui $at, %hi(D_IQUE_8014F0C0) +/* C0348 80129468 D424F0C0 */ ldc1 $f4, %lo(D_IQUE_8014F0C0)($at) +/* C034C 8012946C 00111400 */ sll $v0, $s1, 16 +/* C0350 80129470 46241080 */ add.d $f2, $f2, $f4 +/* C0354 80129474 00021403 */ sra $v0, $v0, 16 +/* C0358 80129478 44822000 */ mtc1 $v0, $f4 +/* C035C 8012947C 00000000 */ nop +/* C0360 80129480 46802121 */ cvt.d.w $f4, $f4 +/* C0364 80129484 4620130D */ trunc.w.d $f12, $f2 +/* C0368 80129488 44046000 */ mfc1 $a0, $f12 +/* C036C 8012948C 46202100 */ add.d $f4, $f4, $f0 +/* C0370 80129490 00042400 */ sll $a0, $a0, 16 +/* C0374 80129494 4620230D */ trunc.w.d $f12, $f4 +/* C0378 80129498 44116000 */ mfc1 $s1, $f12 +/* C037C 8012949C 0C00A429 */ jal cosine +/* C0380 801294A0 00042403 */ sra $a0, $a0, 16 +/* C0384 801294A4 3C028016 */ lui $v0, %hi(msg_drawState) +/* C0388 801294A8 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C038C 801294AC C4420014 */ lwc1 $f2, 0x14($v0) +/* C0390 801294B0 460010A1 */ cvt.d.s $f2, $f2 +/* C0394 801294B4 46341081 */ sub.d $f2, $f2, $f20 +/* C0398 801294B8 46361080 */ add.d $f2, $f2, $f22 +/* C039C 801294BC 46000021 */ cvt.d.s $f0, $f0 +/* C03A0 801294C0 46220002 */ mul.d $f0, $f0, $f2 +/* C03A4 801294C4 00000000 */ nop +/* C03A8 801294C8 00141400 */ sll $v0, $s4, 16 +/* C03AC 801294CC 00021403 */ sra $v0, $v0, 16 +/* C03B0 801294D0 44821000 */ mtc1 $v0, $f2 +/* C03B4 801294D4 00000000 */ nop +/* C03B8 801294D8 468010A1 */ cvt.d.w $f2, $f2 +/* C03BC 801294DC 46201080 */ add.d $f2, $f2, $f0 +/* C03C0 801294E0 4620130D */ trunc.w.d $f12, $f2 +/* C03C4 801294E4 44146000 */ mfc1 $s4, $f12 +.LIQUE_801294E8: +/* C03C8 801294E8 3C058016 */ lui $a1, %hi(msg_drawState) +/* C03CC 801294EC 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* C03D0 801294F0 8CA60038 */ lw $a2, 0x38($a1) +/* C03D4 801294F4 30C20040 */ andi $v0, $a2, 0x40 +/* C03D8 801294F8 10400018 */ beqz $v0, .LIQUE_8012955C +/* C03DC 801294FC 30C20400 */ andi $v0, $a2, 0x400 +/* C03E0 80129500 97C30452 */ lhu $v1, 0x452($fp) +/* C03E4 80129504 3C02AAAA */ lui $v0, (0xAAAAAAAB >> 16) +/* C03E8 80129508 3442AAAB */ ori $v0, $v0, (0xAAAAAAAB & 0xFFFF) +/* C03EC 8012950C 00620019 */ multu $v1, $v0 +/* C03F0 80129510 8CA40030 */ lw $a0, 0x30($a1) +/* C03F4 80129514 3C036666 */ lui $v1, (0x66666667 >> 16) +/* C03F8 80129518 34636667 */ ori $v1, $v1, (0x66666667 & 0xFFFF) +/* C03FC 8012951C 0000C010 */ mfhi $t8 +/* C0400 80129520 00181042 */ srl $v0, $t8, 1 +/* C0404 80129524 3042FFFF */ andi $v0, $v0, 0xFFFF +/* C0408 80129528 00822023 */ subu $a0, $a0, $v0 +/* C040C 8012952C 04820001 */ bltzl $a0, .LIQUE_80129534 +/* C0410 80129530 00042023 */ negu $a0, $a0 +.LIQUE_80129534: +/* C0414 80129534 00830018 */ mult $a0, $v1 +/* C0418 80129538 000417C3 */ sra $v0, $a0, 31 +/* C041C 8012953C 0000C010 */ mfhi $t8 +/* C0420 80129540 00181883 */ sra $v1, $t8, 2 +/* C0424 80129544 00621823 */ subu $v1, $v1, $v0 +/* C0428 80129548 00031080 */ sll $v0, $v1, 2 +/* C042C 8012954C 00431021 */ addu $v0, $v0, $v1 +/* C0430 80129550 00021040 */ sll $v0, $v0, 1 +/* C0434 80129554 0082B823 */ subu $s7, $a0, $v0 +/* C0438 80129558 30C20400 */ andi $v0, $a2, 0x400 +.LIQUE_8012955C: +/* C043C 8012955C 1040001A */ beqz $v0, .LIQUE_801295C8 +/* C0440 80129560 30C20080 */ andi $v0, $a2, 0x80 +/* C0444 80129564 3C028007 */ lui $v0, %hi(gGameStatusPtr) +/* C0448 80129568 8C422E0C */ lw $v0, %lo(gGameStatusPtr)($v0) +/* C044C 8012956C 94430134 */ lhu $v1, 0x134($v0) +/* C0450 80129570 3C02AAAA */ lui $v0, (0xAAAAAAAB >> 16) +/* C0454 80129574 3442AAAB */ ori $v0, $v0, (0xAAAAAAAB & 0xFFFF) +/* C0458 80129578 00620019 */ multu $v1, $v0 +/* C045C 8012957C 8CA40030 */ lw $a0, 0x30($a1) +/* C0460 80129580 3C036666 */ lui $v1, (0x66666667 >> 16) +/* C0464 80129584 34636667 */ ori $v1, $v1, (0x66666667 & 0xFFFF) +/* C0468 80129588 0000C010 */ mfhi $t8 +/* C046C 8012958C 00181042 */ srl $v0, $t8, 1 +/* C0470 80129590 3042FFFF */ andi $v0, $v0, 0xFFFF +/* C0474 80129594 00822023 */ subu $a0, $a0, $v0 +/* C0478 80129598 04820001 */ bltzl $a0, .LIQUE_801295A0 +/* C047C 8012959C 00042023 */ negu $a0, $a0 +.LIQUE_801295A0: +/* C0480 801295A0 00830018 */ mult $a0, $v1 +/* C0484 801295A4 000417C3 */ sra $v0, $a0, 31 +/* C0488 801295A8 0000C010 */ mfhi $t8 +/* C048C 801295AC 00181883 */ sra $v1, $t8, 2 +/* C0490 801295B0 00621823 */ subu $v1, $v1, $v0 +/* C0494 801295B4 00031080 */ sll $v0, $v1, 2 +/* C0498 801295B8 00431021 */ addu $v0, $v0, $v1 +/* C049C 801295BC 00021040 */ sll $v0, $v0, 1 +/* C04A0 801295C0 0082B823 */ subu $s7, $a0, $v0 +/* C04A4 801295C4 30C20080 */ andi $v0, $a2, 0x80 +.LIQUE_801295C8: +/* C04A8 801295C8 10400023 */ beqz $v0, .LIQUE_80129658 +/* C04AC 801295CC 3C05E300 */ lui $a1, (0xE3001A01 >> 16) +/* C04B0 801295D0 34A51A01 */ ori $a1, $a1, (0xE3001A01 & 0xFFFF) +/* C04B4 801295D4 3C06E200 */ lui $a2, (0xE2001E01 >> 16) +/* C04B8 801295D8 34C61E01 */ ori $a2, $a2, (0xE2001E01 & 0xFFFF) +/* C04BC 801295DC 00121400 */ sll $v0, $s2, 16 +/* C04C0 801295E0 00021403 */ sra $v0, $v0, 16 +/* C04C4 801295E4 44820000 */ mtc1 $v0, $f0 +/* C04C8 801295E8 00000000 */ nop +/* C04CC 801295EC 46800021 */ cvt.d.w $f0, $f0 +/* C04D0 801295F0 24020020 */ addiu $v0, $zero, 0x20 +/* C04D4 801295F4 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* C04D8 801295F8 8C639244 */ lw $v1, %lo(gMasterGfxPos)($v1) +/* C04DC 801295FC 97B900AE */ lhu $t9, 0xAE($sp) +/* C04E0 80129600 3C018015 */ lui $at, %hi(D_IQUE_8014F0C8) +/* C04E4 80129604 D422F0C8 */ ldc1 $f2, %lo(D_IQUE_8014F0C8)($at) +/* C04E8 80129608 0060202D */ daddu $a0, $v1, $zero +/* C04EC 8012960C 24630008 */ addiu $v1, $v1, 0x8 +/* C04F0 80129610 44992000 */ mtc1 $t9, $f4 +/* C04F4 80129614 00000000 */ nop +/* C04F8 80129618 46802121 */ cvt.d.w $f4, $f4 +/* C04FC 8012961C 46220003 */ div.d $f0, $f0, $f2 +/* C0500 80129620 46202102 */ mul.d $f4, $f4, $f0 +/* C0504 80129624 00000000 */ nop +/* C0508 80129628 AC820004 */ sw $v0, 0x4($a0) +/* C050C 8012962C 24620008 */ addiu $v0, $v1, 0x8 +/* C0510 80129630 AC850000 */ sw $a1, 0x0($a0) +/* C0514 80129634 24180003 */ addiu $t8, $zero, 0x3 +/* C0518 80129638 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C051C 8012963C AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* C0520 80129640 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0524 80129644 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0528 80129648 AC660000 */ sw $a2, 0x0($v1) +/* C052C 8012964C AC780004 */ sw $t8, 0x4($v1) +/* C0530 80129650 4620230D */ trunc.w.d $f12, $f4 +/* C0534 80129654 44126000 */ mfc1 $s2, $f12 +.LIQUE_80129658: +/* C0538 80129658 3C028016 */ lui $v0, %hi(msg_drawState) +/* C053C 8012965C 8C4280F4 */ lw $v0, %lo(msg_drawState)($v0) +/* C0540 80129660 94420034 */ lhu $v0, 0x34($v0) +/* C0544 80129664 30420002 */ andi $v0, $v0, 0x2 +/* C0548 80129668 14400005 */ bnez $v0, .LIQUE_80129680 +/* C054C 8012966C 00121C00 */ sll $v1, $s2, 16 +/* C0550 80129670 97B90096 */ lhu $t9, 0x96($sp) +/* C0554 80129674 00191400 */ sll $v0, $t9, 16 +/* C0558 80129678 1062006D */ beq $v1, $v0, .LIQUE_80129830 +/* C055C 8012967C 00121400 */ sll $v0, $s2, 16 +.LIQUE_80129680: +/* C0560 80129680 97B80096 */ lhu $t8, 0x96($sp) +/* C0564 80129684 00181400 */ sll $v0, $t8, 16 +/* C0568 80129688 00021403 */ sra $v0, $v0, 16 +/* C056C 8012968C 284200FF */ slti $v0, $v0, 0xFF +/* C0570 80129690 1040000A */ beqz $v0, .LIQUE_801296BC +/* C0574 80129694 00121400 */ sll $v0, $s2, 16 +/* C0578 80129698 00021403 */ sra $v0, $v0, 16 +/* C057C 8012969C 284200FF */ slti $v0, $v0, 0xFF +/* C0580 801296A0 10400006 */ beqz $v0, .LIQUE_801296BC +/* C0584 801296A4 00000000 */ nop +/* C0588 801296A8 3C02800A */ lui $v0, %hi(gMasterGfxPos) +/* C058C 801296AC 8C429244 */ lw $v0, %lo(gMasterGfxPos)($v0) +/* C0590 801296B0 0040182D */ daddu $v1, $v0, $zero +/* C0594 801296B4 0804A5DE */ j .LIQUE_80129778 +/* C0598 801296B8 24420008 */ addiu $v0, $v0, 0x8 +.LIQUE_801296BC: +/* C059C 801296BC 97B90096 */ lhu $t9, 0x96($sp) +/* C05A0 801296C0 241800FF */ addiu $t8, $zero, 0xFF +/* C05A4 801296C4 00191400 */ sll $v0, $t9, 16 +/* C05A8 801296C8 00021403 */ sra $v0, $v0, 16 +/* C05AC 801296CC 14580031 */ bne $v0, $t8, .LIQUE_80129794 +/* C05B0 801296D0 00121400 */ sll $v0, $s2, 16 +/* C05B4 801296D4 00021403 */ sra $v0, $v0, 16 +/* C05B8 801296D8 0058102A */ slt $v0, $v0, $t8 +/* C05BC 801296DC 1040002D */ beqz $v0, .LIQUE_80129794 +/* C05C0 801296E0 3C19E700 */ lui $t9, (0xE7000000 >> 16) +/* C05C4 801296E4 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* C05C8 801296E8 8CA59244 */ lw $a1, %lo(gMasterGfxPos)($a1) +/* C05CC 801296EC 00A0102D */ daddu $v0, $a1, $zero +/* C05D0 801296F0 AC590000 */ sw $t9, 0x0($v0) +/* C05D4 801296F4 AC400004 */ sw $zero, 0x4($v0) +/* C05D8 801296F8 8FC204FC */ lw $v0, 0x4FC($fp) +/* C05DC 801296FC 24A50008 */ addiu $a1, $a1, 0x8 +/* C05E0 80129700 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C05E4 80129704 AC259244 */ sw $a1, %lo(gMasterGfxPos)($at) +/* C05E8 80129708 30424000 */ andi $v0, $v0, 0x4000 +/* C05EC 8012970C 10400005 */ beqz $v0, .LIQUE_80129724 +/* C05F0 80129710 3C04E200 */ lui $a0, (0xE200001C >> 16) +/* C05F4 80129714 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* C05F8 80129718 3C030050 */ lui $v1, (0x504840 >> 16) +/* C05FC 8012971C 0804A5CC */ j .LIQUE_80129730 +/* C0600 80129720 34634840 */ ori $v1, $v1, (0x504840 & 0xFFFF) +.LIQUE_80129724: +/* C0604 80129724 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* C0608 80129728 3C030050 */ lui $v1, (0x504B40 >> 16) +/* C060C 8012972C 34634B40 */ ori $v1, $v1, (0x504B40 & 0xFFFF) +.LIQUE_80129730: +/* C0610 80129730 24A20008 */ addiu $v0, $a1, 0x8 +/* C0614 80129734 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0618 80129738 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C061C 8012973C ACA40000 */ sw $a0, 0x0($a1) +/* C0620 80129740 ACA30004 */ sw $v1, 0x4($a1) +/* C0624 80129744 3C05FCFF */ lui $a1, (0xFCFF97FF >> 16) +/* C0628 80129748 34A597FF */ ori $a1, $a1, (0xFCFF97FF & 0xFFFF) +/* C062C 8012974C 3C04FF2C */ lui $a0, (0xFF2CFE7F >> 16) +/* C0630 80129750 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* C0634 80129754 8C639244 */ lw $v1, %lo(gMasterGfxPos)($v1) +/* C0638 80129758 3484FE7F */ ori $a0, $a0, (0xFF2CFE7F & 0xFFFF) +/* C063C 8012975C 0060102D */ daddu $v0, $v1, $zero +/* C0640 80129760 24630008 */ addiu $v1, $v1, 0x8 +/* C0644 80129764 AC450000 */ sw $a1, 0x0($v0) +/* C0648 80129768 AC440004 */ sw $a0, 0x4($v0) +/* C064C 8012976C 24620008 */ addiu $v0, $v1, 0x8 +/* C0650 80129770 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0654 80129774 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +.LIQUE_80129778: +/* C0658 80129778 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C065C 8012977C AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0660 80129780 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* C0664 80129784 AC620000 */ sw $v0, 0x0($v1) +/* C0668 80129788 324200FF */ andi $v0, $s2, 0xFF +/* C066C 8012978C 0804A60A */ j .LIQUE_80129828 +/* C0670 80129790 AC620004 */ sw $v0, 0x4($v1) +.LIQUE_80129794: +/* C0674 80129794 97B80096 */ lhu $t8, 0x96($sp) +/* C0678 80129798 00181400 */ sll $v0, $t8, 16 +/* C067C 8012979C 00021403 */ sra $v0, $v0, 16 +/* C0680 801297A0 284200FF */ slti $v0, $v0, 0xFF +/* C0684 801297A4 10400020 */ beqz $v0, .LIQUE_80129828 +/* C0688 801297A8 00121400 */ sll $v0, $s2, 16 +/* C068C 801297AC 00021403 */ sra $v0, $v0, 16 +/* C0690 801297B0 241900FF */ addiu $t9, $zero, 0xFF +/* C0694 801297B4 5459001D */ bnel $v0, $t9, .LIQUE_8012982C +/* C0698 801297B8 A7B20096 */ sh $s2, 0x96($sp) +/* C069C 801297BC 3C06E200 */ lui $a2, (0xE200001C >> 16) +/* C06A0 801297C0 34C6001C */ ori $a2, $a2, (0xE200001C & 0xFFFF) +/* C06A4 801297C4 3C040F0A */ lui $a0, (0xF0A7008 >> 16) +/* C06A8 801297C8 34847008 */ ori $a0, $a0, (0xF0A7008 & 0xFFFF) +/* C06AC 801297CC 3C07FCFF */ lui $a3, (0xFCFFFFFF >> 16) +/* C06B0 801297D0 34E7FFFF */ ori $a3, $a3, (0xFCFFFFFF & 0xFFFF) +/* C06B4 801297D4 3C05FFFC */ lui $a1, (0xFFFCF279 >> 16) +/* C06B8 801297D8 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* C06BC 801297DC 8C639244 */ lw $v1, %lo(gMasterGfxPos)($v1) +/* C06C0 801297E0 34A5F279 */ ori $a1, $a1, (0xFFFCF279 & 0xFFFF) +/* C06C4 801297E4 0060102D */ daddu $v0, $v1, $zero +/* C06C8 801297E8 24630008 */ addiu $v1, $v1, 0x8 +/* C06CC 801297EC 3C18E700 */ lui $t8, (0xE7000000 >> 16) +/* C06D0 801297F0 AC580000 */ sw $t8, 0x0($v0) +/* C06D4 801297F4 AC400004 */ sw $zero, 0x4($v0) +/* C06D8 801297F8 24620008 */ addiu $v0, $v1, 0x8 +/* C06DC 801297FC 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C06E0 80129800 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* C06E4 80129804 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C06E8 80129808 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C06EC 8012980C 24620010 */ addiu $v0, $v1, 0x10 +/* C06F0 80129810 AC660000 */ sw $a2, 0x0($v1) +/* C06F4 80129814 AC640004 */ sw $a0, 0x4($v1) +/* C06F8 80129818 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C06FC 8012981C AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0700 80129820 AC670008 */ sw $a3, 0x8($v1) +/* C0704 80129824 AC65000C */ sw $a1, 0xC($v1) +.LIQUE_80129828: +/* C0708 80129828 A7B20096 */ sh $s2, 0x96($sp) +.LIQUE_8012982C: +/* C070C 8012982C 00121400 */ sll $v0, $s2, 16 +.LIQUE_80129830: +/* C0710 80129830 184002C0 */ blez $v0, .LIQUE_8012A334 +/* C0714 80129834 00000000 */ nop +/* C0718 80129838 3C068016 */ lui $a2, %hi(msg_drawState) +/* C071C 8012983C 8CC680F4 */ lw $a2, %lo(msg_drawState)($a2) +/* C0720 80129840 8CC30038 */ lw $v1, 0x38($a2) +/* C0724 80129844 30620800 */ andi $v0, $v1, 0x800 +/* C0728 80129848 10400092 */ beqz $v0, .LIQUE_80129A94 +/* C072C 8012984C 240400F0 */ addiu $a0, $zero, 0xF0 +/* C0730 80129850 8CC30020 */ lw $v1, 0x20($a2) +/* C0734 80129854 8CC2004C */ lw $v0, 0x4C($a2) +/* C0738 80129858 00621821 */ addu $v1, $v1, $v0 +/* C073C 8012985C 90650001 */ lbu $a1, 0x1($v1) +/* C0740 80129860 10A401B8 */ beq $a1, $a0, .LIQUE_80129F44 +/* C0744 80129864 00000000 */ nop +/* C0748 80129868 90620002 */ lbu $v0, 0x2($v1) +/* C074C 8012986C 104401B5 */ beq $v0, $a0, .LIQUE_80129F44 +/* C0750 80129870 00000000 */ nop +/* C0754 80129874 90620003 */ lbu $v0, 0x3($v1) +/* C0758 80129878 104401B2 */ beq $v0, $a0, .LIQUE_80129F44 +/* C075C 8012987C 00000000 */ nop +/* C0760 80129880 90620004 */ lbu $v0, 0x4($v1) +/* C0764 80129884 104401AF */ beq $v0, $a0, .LIQUE_80129F44 +/* C0768 80129888 240200FB */ addiu $v0, $zero, 0xFB +/* C076C 8012988C 14A20026 */ bne $a1, $v0, .LIQUE_80129928 +/* C0770 80129890 24020004 */ addiu $v0, $zero, 0x4 +/* C0774 80129894 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C0778 80129898 14620023 */ bne $v1, $v0, .LIQUE_80129928 +/* C077C 8012989C 00111400 */ sll $v0, $s1, 16 +/* C0780 801298A0 C4C60014 */ lwc1 $f6, 0x14($a2) +/* C0784 801298A4 3C018015 */ lui $at, %hi(D_IQUE_8014F0D0) +/* C0788 801298A8 D428F0D0 */ ldc1 $f8, %lo(D_IQUE_8014F0D0)($at) +/* C078C 801298AC 460031A1 */ cvt.d.s $f6, $f6 +/* C0790 801298B0 46283182 */ mul.d $f6, $f6, $f8 +/* C0794 801298B4 00000000 */ nop +/* C0798 801298B8 C4C00010 */ lwc1 $f0, 0x10($a2) +/* C079C 801298BC 46000021 */ cvt.d.s $f0, $f0 +/* C07A0 801298C0 46280002 */ mul.d $f0, $f0, $f8 +/* C07A4 801298C4 00000000 */ nop +/* C07A8 801298C8 3C014018 */ lui $at, (0x40180000 >> 16) +/* C07AC 801298CC 44812800 */ mtc1 $at, $f5 +/* C07B0 801298D0 44802000 */ mtc1 $zero, $f4 +/* C07B4 801298D4 462031A0 */ cvt.s.d $f6, $f6 +/* C07B8 801298D8 460030A1 */ cvt.d.s $f2, $f6 +/* C07BC 801298DC 46281083 */ div.d $f2, $f2, $f8 +/* C07C0 801298E0 46241082 */ mul.d $f2, $f2, $f4 +/* C07C4 801298E4 00000000 */ nop +/* C07C8 801298E8 00021403 */ sra $v0, $v0, 16 +/* C07CC 801298EC 46200020 */ cvt.s.d $f0, $f0 +/* C07D0 801298F0 E4C00018 */ swc1 $f0, 0x18($a2) +/* C07D4 801298F4 46201220 */ cvt.s.d $f8, $f2 +/* C07D8 801298F8 44821000 */ mtc1 $v0, $f2 +/* C07DC 801298FC 00000000 */ nop +/* C07E0 80129900 468010A0 */ cvt.s.w $f2, $f2 +/* C07E4 80129904 00141400 */ sll $v0, $s4, 16 +/* C07E8 80129908 46081081 */ sub.s $f2, $f2, $f8 +/* C07EC 8012990C 00021403 */ sra $v0, $v0, 16 +/* C07F0 80129910 44820000 */ mtc1 $v0, $f0 +/* C07F4 80129914 00000000 */ nop +/* C07F8 80129918 46800020 */ cvt.s.w $f0, $f0 +/* C07FC 8012991C 46080001 */ sub.s $f0, $f0, $f8 +/* C0800 80129920 0804A69F */ j .LIQUE_80129A7C +/* C0804 80129924 E4C6001C */ swc1 $f6, 0x1C($a2) +.LIQUE_80129928: +/* C0808 80129928 3C048016 */ lui $a0, %hi(msg_drawState) +/* C080C 8012992C 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* C0810 80129930 8C820020 */ lw $v0, 0x20($a0) +/* C0814 80129934 8C83004C */ lw $v1, 0x4C($a0) +/* C0818 80129938 00431021 */ addu $v0, $v0, $v1 +/* C081C 8012993C 90430002 */ lbu $v1, 0x2($v0) +/* C0820 80129940 240200FB */ addiu $v0, $zero, 0xFB +/* C0824 80129944 14620026 */ bne $v1, $v0, .LIQUE_801299E0 +/* C0828 80129948 24020004 */ addiu $v0, $zero, 0x4 +/* C082C 8012994C 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C0830 80129950 14620023 */ bne $v1, $v0, .LIQUE_801299E0 +/* C0834 80129954 00111400 */ sll $v0, $s1, 16 +/* C0838 80129958 C4860014 */ lwc1 $f6, 0x14($a0) +/* C083C 8012995C 3C018015 */ lui $at, %hi(D_IQUE_8014F0D8) +/* C0840 80129960 D428F0D8 */ ldc1 $f8, %lo(D_IQUE_8014F0D8)($at) +/* C0844 80129964 460031A1 */ cvt.d.s $f6, $f6 +/* C0848 80129968 46283182 */ mul.d $f6, $f6, $f8 +/* C084C 8012996C 00000000 */ nop +/* C0850 80129970 C4800010 */ lwc1 $f0, 0x10($a0) +/* C0854 80129974 46000021 */ cvt.d.s $f0, $f0 +/* C0858 80129978 46280002 */ mul.d $f0, $f0, $f8 +/* C085C 8012997C 00000000 */ nop +/* C0860 80129980 3C014008 */ lui $at, (0x40080000 >> 16) +/* C0864 80129984 44812800 */ mtc1 $at, $f5 +/* C0868 80129988 44802000 */ mtc1 $zero, $f4 +/* C086C 8012998C 462031A0 */ cvt.s.d $f6, $f6 +/* C0870 80129990 460030A1 */ cvt.d.s $f2, $f6 +/* C0874 80129994 46281083 */ div.d $f2, $f2, $f8 +/* C0878 80129998 46241082 */ mul.d $f2, $f2, $f4 +/* C087C 8012999C 00000000 */ nop +/* C0880 801299A0 00021403 */ sra $v0, $v0, 16 +/* C0884 801299A4 46200020 */ cvt.s.d $f0, $f0 +/* C0888 801299A8 E4800018 */ swc1 $f0, 0x18($a0) +/* C088C 801299AC 46201220 */ cvt.s.d $f8, $f2 +/* C0890 801299B0 44821000 */ mtc1 $v0, $f2 +/* C0894 801299B4 00000000 */ nop +/* C0898 801299B8 468010A0 */ cvt.s.w $f2, $f2 +/* C089C 801299BC 00141400 */ sll $v0, $s4, 16 +/* C08A0 801299C0 46081081 */ sub.s $f2, $f2, $f8 +/* C08A4 801299C4 00021403 */ sra $v0, $v0, 16 +/* C08A8 801299C8 44820000 */ mtc1 $v0, $f0 +/* C08AC 801299CC 00000000 */ nop +/* C08B0 801299D0 46800020 */ cvt.s.w $f0, $f0 +/* C08B4 801299D4 46080001 */ sub.s $f0, $f0, $f8 +/* C08B8 801299D8 0804A69F */ j .LIQUE_80129A7C +/* C08BC 801299DC E486001C */ swc1 $f6, 0x1C($a0) +.LIQUE_801299E0: +/* C08C0 801299E0 8C820020 */ lw $v0, 0x20($a0) +/* C08C4 801299E4 8C83004C */ lw $v1, 0x4C($a0) +/* C08C8 801299E8 00431021 */ addu $v0, $v0, $v1 +/* C08CC 801299EC 90430003 */ lbu $v1, 0x3($v0) +/* C08D0 801299F0 240200FB */ addiu $v0, $zero, 0xFB +/* C08D4 801299F4 14620153 */ bne $v1, $v0, .LIQUE_80129F44 +/* C08D8 801299F8 24020004 */ addiu $v0, $zero, 0x4 +/* C08DC 801299FC 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C08E0 80129A00 14620150 */ bne $v1, $v0, .LIQUE_80129F44 +/* C08E4 80129A04 00111400 */ sll $v0, $s1, 16 +/* C08E8 80129A08 C4840014 */ lwc1 $f4, 0x14($a0) +/* C08EC 80129A0C 3C018015 */ lui $at, %hi(D_IQUE_8014F0E0) +/* C08F0 80129A10 D426F0E0 */ ldc1 $f6, %lo(D_IQUE_8014F0E0)($at) +/* C08F4 80129A14 46002121 */ cvt.d.s $f4, $f4 +/* C08F8 80129A18 46262102 */ mul.d $f4, $f4, $f6 +/* C08FC 80129A1C 00000000 */ nop +/* C0900 80129A20 C4820010 */ lwc1 $f2, 0x10($a0) +/* C0904 80129A24 460010A1 */ cvt.d.s $f2, $f2 +/* C0908 80129A28 46261082 */ mul.d $f2, $f2, $f6 +/* C090C 80129A2C 00000000 */ nop +/* C0910 80129A30 00021403 */ sra $v0, $v0, 16 +/* C0914 80129A34 46202120 */ cvt.s.d $f4, $f4 +/* C0918 80129A38 46002021 */ cvt.d.s $f0, $f4 +/* C091C 80129A3C 46260003 */ div.d $f0, $f0, $f6 +/* C0920 80129A40 462010A0 */ cvt.s.d $f2, $f2 +/* C0924 80129A44 E4820018 */ swc1 $f2, 0x18($a0) +/* C0928 80129A48 46200000 */ add.d $f0, $f0, $f0 +/* C092C 80129A4C 44821000 */ mtc1 $v0, $f2 +/* C0930 80129A50 00000000 */ nop +/* C0934 80129A54 468010A0 */ cvt.s.w $f2, $f2 +/* C0938 80129A58 00141400 */ sll $v0, $s4, 16 +/* C093C 80129A5C 46200220 */ cvt.s.d $f8, $f0 +/* C0940 80129A60 46081081 */ sub.s $f2, $f2, $f8 +/* C0944 80129A64 00021403 */ sra $v0, $v0, 16 +/* C0948 80129A68 44820000 */ mtc1 $v0, $f0 +/* C094C 80129A6C 00000000 */ nop +/* C0950 80129A70 46800020 */ cvt.s.w $f0, $f0 +/* C0954 80129A74 46080001 */ sub.s $f0, $f0, $f8 +/* C0958 80129A78 E484001C */ swc1 $f4, 0x1C($a0) +.LIQUE_80129A7C: +/* C095C 80129A7C 4600130D */ trunc.w.s $f12, $f2 +/* C0960 80129A80 44116000 */ mfc1 $s1, $f12 +/* C0964 80129A84 4600030D */ trunc.w.s $f12, $f0 +/* C0968 80129A88 44146000 */ mfc1 $s4, $f12 +/* C096C 80129A8C 0804A7D1 */ j .LIQUE_80129F44 +/* C0970 80129A90 00000000 */ nop +.LIQUE_80129A94: +/* C0974 80129A94 30621000 */ andi $v0, $v1, 0x1000 +/* C0978 80129A98 10400060 */ beqz $v0, .LIQUE_80129C1C +/* C097C 80129A9C 30622000 */ andi $v0, $v1, 0x2000 +/* C0980 80129AA0 8CC30020 */ lw $v1, 0x20($a2) +/* C0984 80129AA4 8CC2004C */ lw $v0, 0x4C($a2) +/* C0988 80129AA8 00621821 */ addu $v1, $v1, $v0 +/* C098C 80129AAC 90650001 */ lbu $a1, 0x1($v1) +/* C0990 80129AB0 10A40124 */ beq $a1, $a0, .LIQUE_80129F44 +/* C0994 80129AB4 00000000 */ nop +/* C0998 80129AB8 90620002 */ lbu $v0, 0x2($v1) +/* C099C 80129ABC 10440121 */ beq $v0, $a0, .LIQUE_80129F44 +/* C09A0 80129AC0 00000000 */ nop +/* C09A4 80129AC4 90620003 */ lbu $v0, 0x3($v1) +/* C09A8 80129AC8 1044011E */ beq $v0, $a0, .LIQUE_80129F44 +/* C09AC 80129ACC 00000000 */ nop +/* C09B0 80129AD0 90620004 */ lbu $v0, 0x4($v1) +/* C09B4 80129AD4 1044011B */ beq $v0, $a0, .LIQUE_80129F44 +/* C09B8 80129AD8 240200FB */ addiu $v0, $zero, 0xFB +/* C09BC 80129ADC 14A20015 */ bne $a1, $v0, .LIQUE_80129B34 +/* C09C0 80129AE0 24020004 */ addiu $v0, $zero, 0x4 +/* C09C4 80129AE4 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C09C8 80129AE8 14620012 */ bne $v1, $v0, .LIQUE_80129B34 +/* C09CC 80129AEC 00000000 */ nop +/* C09D0 80129AF0 C4C00010 */ lwc1 $f0, 0x10($a2) +/* C09D4 80129AF4 3C018015 */ lui $at, %hi(D_IQUE_8014F0E8) +/* C09D8 80129AF8 D424F0E8 */ ldc1 $f4, %lo(D_IQUE_8014F0E8)($at) +/* C09DC 80129AFC 46000021 */ cvt.d.s $f0, $f0 +/* C09E0 80129B00 46240002 */ mul.d $f0, $f0, $f4 +/* C09E4 80129B04 00000000 */ nop +/* C09E8 80129B08 C4C20014 */ lwc1 $f2, 0x14($a2) +/* C09EC 80129B0C 460010A1 */ cvt.d.s $f2, $f2 +/* C09F0 80129B10 46241082 */ mul.d $f2, $f2, $f4 +/* C09F4 80129B14 00000000 */ nop +/* C09F8 80129B18 26310005 */ addiu $s1, $s1, 0x5 +/* C09FC 80129B1C 26940005 */ addiu $s4, $s4, 0x5 +/* C0A00 80129B20 46200020 */ cvt.s.d $f0, $f0 +/* C0A04 80129B24 462010A0 */ cvt.s.d $f2, $f2 +/* C0A08 80129B28 E4C00018 */ swc1 $f0, 0x18($a2) +/* C0A0C 80129B2C 0804A7D1 */ j .LIQUE_80129F44 +/* C0A10 80129B30 E4C2001C */ swc1 $f2, 0x1C($a2) +.LIQUE_80129B34: +/* C0A14 80129B34 3C048016 */ lui $a0, %hi(msg_drawState) +/* C0A18 80129B38 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* C0A1C 80129B3C 8C820020 */ lw $v0, 0x20($a0) +/* C0A20 80129B40 8C83004C */ lw $v1, 0x4C($a0) +/* C0A24 80129B44 00431021 */ addu $v0, $v0, $v1 +/* C0A28 80129B48 90430002 */ lbu $v1, 0x2($v0) +/* C0A2C 80129B4C 240200FB */ addiu $v0, $zero, 0xFB +/* C0A30 80129B50 14620016 */ bne $v1, $v0, .LIQUE_80129BAC +/* C0A34 80129B54 24020004 */ addiu $v0, $zero, 0x4 +/* C0A38 80129B58 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C0A3C 80129B5C 14620013 */ bne $v1, $v0, .LIQUE_80129BAC +/* C0A40 80129B60 00000000 */ nop +/* C0A44 80129B64 C4820010 */ lwc1 $f2, 0x10($a0) +/* C0A48 80129B68 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* C0A4C 80129B6C 44816800 */ mtc1 $at, $f13 +/* C0A50 80129B70 44806000 */ mtc1 $zero, $f12 +/* C0A54 80129B74 460010A1 */ cvt.d.s $f2, $f2 +/* C0A58 80129B78 462C1082 */ mul.d $f2, $f2, $f12 +/* C0A5C 80129B7C 00000000 */ nop +/* C0A60 80129B80 C4800014 */ lwc1 $f0, 0x14($a0) +/* C0A64 80129B84 46000021 */ cvt.d.s $f0, $f0 +/* C0A68 80129B88 462C0002 */ mul.d $f0, $f0, $f12 +/* C0A6C 80129B8C 00000000 */ nop +/* C0A70 80129B90 26310003 */ addiu $s1, $s1, 0x3 +/* C0A74 80129B94 26940003 */ addiu $s4, $s4, 0x3 +/* C0A78 80129B98 462010A0 */ cvt.s.d $f2, $f2 +/* C0A7C 80129B9C 46200020 */ cvt.s.d $f0, $f0 +/* C0A80 80129BA0 E4820018 */ swc1 $f2, 0x18($a0) +/* C0A84 80129BA4 0804A7D1 */ j .LIQUE_80129F44 +/* C0A88 80129BA8 E480001C */ swc1 $f0, 0x1C($a0) +.LIQUE_80129BAC: +/* C0A8C 80129BAC 8C820020 */ lw $v0, 0x20($a0) +/* C0A90 80129BB0 8C83004C */ lw $v1, 0x4C($a0) +/* C0A94 80129BB4 00431021 */ addu $v0, $v0, $v1 +/* C0A98 80129BB8 90430003 */ lbu $v1, 0x3($v0) +/* C0A9C 80129BBC 240200FB */ addiu $v0, $zero, 0xFB +/* C0AA0 80129BC0 146200E0 */ bne $v1, $v0, .LIQUE_80129F44 +/* C0AA4 80129BC4 24020004 */ addiu $v0, $zero, 0x4 +/* C0AA8 80129BC8 93C304F8 */ lbu $v1, 0x4F8($fp) +/* C0AAC 80129BCC 146200DD */ bne $v1, $v0, .LIQUE_80129F44 +/* C0AB0 80129BD0 00000000 */ nop +/* C0AB4 80129BD4 C4800010 */ lwc1 $f0, 0x10($a0) +/* C0AB8 80129BD8 3C013FE8 */ lui $at, (0x3FE80000 >> 16) +/* C0ABC 80129BDC 44812800 */ mtc1 $at, $f5 +/* C0AC0 80129BE0 44802000 */ mtc1 $zero, $f4 +/* C0AC4 80129BE4 46000021 */ cvt.d.s $f0, $f0 +/* C0AC8 80129BE8 46240002 */ mul.d $f0, $f0, $f4 +/* C0ACC 80129BEC 00000000 */ nop +/* C0AD0 80129BF0 C4820014 */ lwc1 $f2, 0x14($a0) +/* C0AD4 80129BF4 460010A1 */ cvt.d.s $f2, $f2 +/* C0AD8 80129BF8 46241082 */ mul.d $f2, $f2, $f4 +/* C0ADC 80129BFC 00000000 */ nop +/* C0AE0 80129C00 26310002 */ addiu $s1, $s1, 0x2 +/* C0AE4 80129C04 26940002 */ addiu $s4, $s4, 0x2 +/* C0AE8 80129C08 46200020 */ cvt.s.d $f0, $f0 +/* C0AEC 80129C0C 462010A0 */ cvt.s.d $f2, $f2 +/* C0AF0 80129C10 E4800018 */ swc1 $f0, 0x18($a0) +/* C0AF4 80129C14 0804A7D1 */ j .LIQUE_80129F44 +/* C0AF8 80129C18 E482001C */ swc1 $f2, 0x1C($a0) +.LIQUE_80129C1C: +/* C0AFC 80129C1C 10400052 */ beqz $v0, .LIQUE_80129D68 +/* C0B00 80129C20 30624000 */ andi $v0, $v1, 0x4000 +/* C0B04 80129C24 0C00A5B3 */ jal rand_int +/* C0B08 80129C28 24042710 */ addiu $a0, $zero, 0x2710 +/* C0B0C 80129C2C 3C03288D */ lui $v1, (0x288DF0CB >> 16) +/* C0B10 80129C30 3463F0CB */ ori $v1, $v1, (0x288DF0CB & 0xFFFF) +/* C0B14 80129C34 00430018 */ mult $v0, $v1 +/* C0B18 80129C38 00021FC3 */ sra $v1, $v0, 31 +/* C0B1C 80129C3C 3C014059 */ lui $at, (0x40590000 >> 16) +/* C0B20 80129C40 44811800 */ mtc1 $at, $f3 +/* C0B24 80129C44 44801000 */ mtc1 $zero, $f2 +/* C0B28 80129C48 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* C0B2C 80129C4C 44816800 */ mtc1 $at, $f13 +/* C0B30 80129C50 44806000 */ mtc1 $zero, $f12 +/* C0B34 80129C54 0000C010 */ mfhi $t8 +/* C0B38 80129C58 00182103 */ sra $a0, $t8, 4 +/* C0B3C 80129C5C 00832023 */ subu $a0, $a0, $v1 +/* C0B40 80129C60 00041840 */ sll $v1, $a0, 1 +/* C0B44 80129C64 00641821 */ addu $v1, $v1, $a0 +/* C0B48 80129C68 000318C0 */ sll $v1, $v1, 3 +/* C0B4C 80129C6C 00641821 */ addu $v1, $v1, $a0 +/* C0B50 80129C70 00031880 */ sll $v1, $v1, 2 +/* C0B54 80129C74 00641821 */ addu $v1, $v1, $a0 +/* C0B58 80129C78 00431023 */ subu $v0, $v0, $v1 +/* C0B5C 80129C7C 44824000 */ mtc1 $v0, $f8 +/* C0B60 80129C80 00000000 */ nop +/* C0B64 80129C84 46804220 */ cvt.s.w $f8, $f8 +/* C0B68 80129C88 46004021 */ cvt.d.s $f0, $f8 +/* C0B6C 80129C8C 46220003 */ div.d $f0, $f0, $f2 +/* C0B70 80129C90 46200220 */ cvt.s.d $f8, $f0 +/* C0B74 80129C94 46004021 */ cvt.d.s $f0, $f8 +/* C0B78 80129C98 462C0002 */ mul.d $f0, $f0, $f12 +/* C0B7C 80129C9C 00000000 */ nop +/* C0B80 80129CA0 3C013FF0 */ lui $at, (0x3FF00000 >> 16) +/* C0B84 80129CA4 44812800 */ mtc1 $at, $f5 +/* C0B88 80129CA8 44802000 */ mtc1 $zero, $f4 +/* C0B8C 80129CAC 00000000 */ nop +/* C0B90 80129CB0 46240000 */ add.d $f0, $f0, $f4 +/* C0B94 80129CB4 3C013FD0 */ lui $at, (0x3FD00000 >> 16) +/* C0B98 80129CB8 44811800 */ mtc1 $at, $f3 +/* C0B9C 80129CBC 44801000 */ mtc1 $zero, $f2 +/* C0BA0 80129CC0 00000000 */ nop +/* C0BA4 80129CC4 46220001 */ sub.d $f0, $f0, $f2 +/* C0BA8 80129CC8 46200220 */ cvt.s.d $f8, $f0 +/* C0BAC 80129CCC 460040A1 */ cvt.d.s $f2, $f8 +/* C0BB0 80129CD0 4622203C */ c.lt.d $f4, $f2 +/* C0BB4 80129CD4 00000000 */ nop +/* C0BB8 80129CD8 4500006D */ bc1f .LIQUE_80129E90 +/* C0BBC 80129CDC 00111400 */ sll $v0, $s1, 16 +/* C0BC0 80129CE0 3C014020 */ lui $at, (0x40200000 >> 16) +/* C0BC4 80129CE4 44812800 */ mtc1 $at, $f5 +/* C0BC8 80129CE8 44802000 */ mtc1 $zero, $f4 +/* C0BCC 80129CEC 00000000 */ nop +/* C0BD0 80129CF0 46241102 */ mul.d $f4, $f2, $f4 +/* C0BD4 80129CF4 00000000 */ nop +/* C0BD8 80129CF8 3C038016 */ lui $v1, %hi(msg_drawState) +/* C0BDC 80129CFC 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C0BE0 80129D00 C4600010 */ lwc1 $f0, 0x10($v1) +/* C0BE4 80129D04 46080002 */ mul.s $f0, $f0, $f8 +/* C0BE8 80129D08 00000000 */ nop +/* C0BEC 80129D0C C4660014 */ lwc1 $f6, 0x14($v1) +/* C0BF0 80129D10 46083182 */ mul.s $f6, $f6, $f8 +/* C0BF4 80129D14 00000000 */ nop +/* C0BF8 80129D18 E4600018 */ swc1 $f0, 0x18($v1) +/* C0BFC 80129D1C 3C014021 */ lui $at, (0x40210000 >> 16) +/* C0C00 80129D20 44810800 */ mtc1 $at, $f1 +/* C0C04 80129D24 44800000 */ mtc1 $zero, $f0 +/* C0C08 80129D28 00021403 */ sra $v0, $v0, 16 +/* C0C0C 80129D2C 46202101 */ sub.d $f4, $f4, $f0 +/* C0C10 80129D30 44821000 */ mtc1 $v0, $f2 +/* C0C14 80129D34 00000000 */ nop +/* C0C18 80129D38 468010A1 */ cvt.d.w $f2, $f2 +/* C0C1C 80129D3C 00141400 */ sll $v0, $s4, 16 +/* C0C20 80129D40 46241081 */ sub.d $f2, $f2, $f4 +/* C0C24 80129D44 00021403 */ sra $v0, $v0, 16 +/* C0C28 80129D48 44820000 */ mtc1 $v0, $f0 +/* C0C2C 80129D4C 00000000 */ nop +/* C0C30 80129D50 46800021 */ cvt.d.w $f0, $f0 +/* C0C34 80129D54 46240001 */ sub.d $f0, $f0, $f4 +/* C0C38 80129D58 4620130D */ trunc.w.d $f12, $f2 +/* C0C3C 80129D5C 44116000 */ mfc1 $s1, $f12 +/* C0C40 80129D60 0804A7CF */ j .LIQUE_80129F3C +/* C0C44 80129D64 E466001C */ swc1 $f6, 0x1C($v1) +.LIQUE_80129D68: +/* C0C48 80129D68 10400076 */ beqz $v0, .LIQUE_80129F44 +/* C0C4C 80129D6C 3C0516C1 */ lui $a1, (0x16C16C17 >> 16) +/* C0C50 80129D70 34A56C17 */ ori $a1, $a1, (0x16C16C17 & 0xFFFF) +/* C0C54 80129D74 97C20452 */ lhu $v0, 0x452($fp) +/* C0C58 80129D78 8CC30030 */ lw $v1, 0x30($a2) +/* C0C5C 80129D7C 00022100 */ sll $a0, $v0, 4 +/* C0C60 80129D80 00822023 */ subu $a0, $a0, $v0 +/* C0C64 80129D84 00031100 */ sll $v0, $v1, 4 +/* C0C68 80129D88 00431023 */ subu $v0, $v0, $v1 +/* C0C6C 80129D8C 00822023 */ subu $a0, $a0, $v0 +/* C0C70 80129D90 000410C2 */ srl $v0, $a0, 3 +/* C0C74 80129D94 00450019 */ multu $v0, $a1 +/* C0C78 80129D98 0000C010 */ mfhi $t8 +/* C0C7C 80129D9C 00181082 */ srl $v0, $t8, 2 +/* C0C80 80129DA0 00021840 */ sll $v1, $v0, 1 +/* C0C84 80129DA4 00621821 */ addu $v1, $v1, $v0 +/* C0C88 80129DA8 00031100 */ sll $v0, $v1, 4 +/* C0C8C 80129DAC 00431023 */ subu $v0, $v0, $v1 +/* C0C90 80129DB0 000210C0 */ sll $v0, $v0, 3 +/* C0C94 80129DB4 00821023 */ subu $v0, $a0, $v0 +/* C0C98 80129DB8 00022400 */ sll $a0, $v0, 16 +/* C0C9C 80129DBC 0C00A429 */ jal cosine +/* C0CA0 80129DC0 00042403 */ sra $a0, $a0, 16 +/* C0CA4 80129DC4 3C013FD0 */ lui $at, (0x3FD00000 >> 16) +/* C0CA8 80129DC8 44811800 */ mtc1 $at, $f3 +/* C0CAC 80129DCC 44801000 */ mtc1 $zero, $f2 +/* C0CB0 80129DD0 46000021 */ cvt.d.s $f0, $f0 +/* C0CB4 80129DD4 46220002 */ mul.d $f0, $f0, $f2 +/* C0CB8 80129DD8 00000000 */ nop +/* C0CBC 80129DDC 3C013FF0 */ lui $at, (0x3FF00000 >> 16) +/* C0CC0 80129DE0 44812800 */ mtc1 $at, $f5 +/* C0CC4 80129DE4 44802000 */ mtc1 $zero, $f4 +/* C0CC8 80129DE8 00000000 */ nop +/* C0CCC 80129DEC 46240000 */ add.d $f0, $f0, $f4 +/* C0CD0 80129DF0 46200220 */ cvt.s.d $f8, $f0 +/* C0CD4 80129DF4 460040A1 */ cvt.d.s $f2, $f8 +/* C0CD8 80129DF8 4622203C */ c.lt.d $f4, $f2 +/* C0CDC 80129DFC 00000000 */ nop +/* C0CE0 80129E00 45000023 */ bc1f .LIQUE_80129E90 +/* C0CE4 80129E04 00111400 */ sll $v0, $s1, 16 +/* C0CE8 80129E08 3C014020 */ lui $at, (0x40200000 >> 16) +/* C0CEC 80129E0C 44812800 */ mtc1 $at, $f5 +/* C0CF0 80129E10 44802000 */ mtc1 $zero, $f4 +/* C0CF4 80129E14 00000000 */ nop +/* C0CF8 80129E18 46241102 */ mul.d $f4, $f2, $f4 +/* C0CFC 80129E1C 00000000 */ nop +/* C0D00 80129E20 3C038016 */ lui $v1, %hi(msg_drawState) +/* C0D04 80129E24 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C0D08 80129E28 C4600010 */ lwc1 $f0, 0x10($v1) +/* C0D0C 80129E2C 46080002 */ mul.s $f0, $f0, $f8 +/* C0D10 80129E30 00000000 */ nop +/* C0D14 80129E34 C4660014 */ lwc1 $f6, 0x14($v1) +/* C0D18 80129E38 46083182 */ mul.s $f6, $f6, $f8 +/* C0D1C 80129E3C 00000000 */ nop +/* C0D20 80129E40 E4600018 */ swc1 $f0, 0x18($v1) +/* C0D24 80129E44 3C014021 */ lui $at, (0x40210000 >> 16) +/* C0D28 80129E48 44810800 */ mtc1 $at, $f1 +/* C0D2C 80129E4C 44800000 */ mtc1 $zero, $f0 +/* C0D30 80129E50 00021403 */ sra $v0, $v0, 16 +/* C0D34 80129E54 46202101 */ sub.d $f4, $f4, $f0 +/* C0D38 80129E58 44821000 */ mtc1 $v0, $f2 +/* C0D3C 80129E5C 00000000 */ nop +/* C0D40 80129E60 468010A1 */ cvt.d.w $f2, $f2 +/* C0D44 80129E64 00141400 */ sll $v0, $s4, 16 +/* C0D48 80129E68 46241081 */ sub.d $f2, $f2, $f4 +/* C0D4C 80129E6C 00021403 */ sra $v0, $v0, 16 +/* C0D50 80129E70 44820000 */ mtc1 $v0, $f0 +/* C0D54 80129E74 00000000 */ nop +/* C0D58 80129E78 46800021 */ cvt.d.w $f0, $f0 +/* C0D5C 80129E7C 46240001 */ sub.d $f0, $f0, $f4 +/* C0D60 80129E80 4620130D */ trunc.w.d $f12, $f2 +/* C0D64 80129E84 44116000 */ mfc1 $s1, $f12 +/* C0D68 80129E88 0804A7CF */ j .LIQUE_80129F3C +/* C0D6C 80129E8C E466001C */ swc1 $f6, 0x1C($v1) +.LIQUE_80129E90: +/* C0D70 80129E90 4624103C */ c.lt.d $f2, $f4 +/* C0D74 80129E94 00000000 */ nop +/* C0D78 80129E98 4500002A */ bc1f .LIQUE_80129F44 +/* C0D7C 80129E9C 00111400 */ sll $v0, $s1, 16 +/* C0D80 80129EA0 3C014030 */ lui $at, (0x40300000 >> 16) +/* C0D84 80129EA4 44810800 */ mtc1 $at, $f1 +/* C0D88 80129EA8 44800000 */ mtc1 $zero, $f0 +/* C0D8C 80129EAC 00000000 */ nop +/* C0D90 80129EB0 46201002 */ mul.d $f0, $f2, $f0 +/* C0D94 80129EB4 00000000 */ nop +/* C0D98 80129EB8 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* C0D9C 80129EBC 44816800 */ mtc1 $at, $f13 +/* C0DA0 80129EC0 44806000 */ mtc1 $zero, $f12 +/* C0DA4 80129EC4 00000000 */ nop +/* C0DA8 80129EC8 462C0002 */ mul.d $f0, $f0, $f12 +/* C0DAC 80129ECC 00000000 */ nop +/* C0DB0 80129ED0 3C038016 */ lui $v1, %hi(msg_drawState) +/* C0DB4 80129ED4 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C0DB8 80129ED8 C4620010 */ lwc1 $f2, 0x10($v1) +/* C0DBC 80129EDC 46081082 */ mul.s $f2, $f2, $f8 +/* C0DC0 80129EE0 00000000 */ nop +/* C0DC4 80129EE4 C4660014 */ lwc1 $f6, 0x14($v1) +/* C0DC8 80129EE8 46083182 */ mul.s $f6, $f6, $f8 +/* C0DCC 80129EEC 00000000 */ nop +/* C0DD0 80129EF0 E4620018 */ swc1 $f2, 0x18($v1) +/* C0DD4 80129EF4 3C014020 */ lui $at, (0x40200000 >> 16) +/* C0DD8 80129EF8 44811800 */ mtc1 $at, $f3 +/* C0DDC 80129EFC 44801000 */ mtc1 $zero, $f2 +/* C0DE0 80129F00 00021403 */ sra $v0, $v0, 16 +/* C0DE4 80129F04 46201081 */ sub.d $f2, $f2, $f0 +/* C0DE8 80129F08 44822000 */ mtc1 $v0, $f4 +/* C0DEC 80129F0C 00000000 */ nop +/* C0DF0 80129F10 46802121 */ cvt.d.w $f4, $f4 +/* C0DF4 80129F14 00141400 */ sll $v0, $s4, 16 +/* C0DF8 80129F18 46222100 */ add.d $f4, $f4, $f2 +/* C0DFC 80129F1C 00021403 */ sra $v0, $v0, 16 +/* C0E00 80129F20 44820000 */ mtc1 $v0, $f0 +/* C0E04 80129F24 00000000 */ nop +/* C0E08 80129F28 46800021 */ cvt.d.w $f0, $f0 +/* C0E0C 80129F2C 46220000 */ add.d $f0, $f0, $f2 +/* C0E10 80129F30 E466001C */ swc1 $f6, 0x1C($v1) +/* C0E14 80129F34 4620230D */ trunc.w.d $f12, $f4 +/* C0E18 80129F38 44116000 */ mfc1 $s1, $f12 +.LIQUE_80129F3C: +/* C0E1C 80129F3C 4620030D */ trunc.w.d $f12, $f0 +/* C0E20 80129F40 44146000 */ mfc1 $s4, $f12 +.LIQUE_80129F44: +/* C0E24 80129F44 93C204F8 */ lbu $v0, 0x4F8($fp) +/* C0E28 80129F48 2442FFF5 */ addiu $v0, $v0, -0xB +/* C0E2C 80129F4C 2C420002 */ sltiu $v0, $v0, 0x2 +/* C0E30 80129F50 10400019 */ beqz $v0, .LIQUE_80129FB8 +/* C0E34 80129F54 00171C00 */ sll $v1, $s7, 16 +/* C0E38 80129F58 93C20508 */ lbu $v0, 0x508($fp) +/* C0E3C 80129F5C 2442FFFF */ addiu $v0, $v0, -0x1 +/* C0E40 80129F60 2C420004 */ sltiu $v0, $v0, 0x4 +/* C0E44 80129F64 10400014 */ beqz $v0, .LIQUE_80129FB8 +/* C0E48 80129F68 00171400 */ sll $v0, $s7, 16 +/* C0E4C 80129F6C 00021C03 */ sra $v1, $v0, 16 +/* C0E50 80129F70 2C620026 */ sltiu $v0, $v1, 0x26 +/* C0E54 80129F74 1040000E */ beqz $v0, .LIQUE_80129FB0 +/* C0E58 80129F78 00031080 */ sll $v0, $v1, 2 +/* C0E5C 80129F7C 3C018015 */ lui $at, %hi(jtbl_IQUE_8014F0F0) +/* C0E60 80129F80 00220821 */ addu $at, $at, $v0 +/* C0E64 80129F84 8C22F0F0 */ lw $v0, %lo(jtbl_IQUE_8014F0F0)($at) +/* C0E68 80129F88 00400008 */ jr $v0 +/* C0E6C 80129F8C 00000000 */ nop +.LIQUE_80129F90: +/* C0E70 80129F90 0804A7ED */ j .LIQUE_80129FB4 +/* C0E74 80129F94 24170041 */ addiu $s7, $zero, 0x41 +.LIQUE_80129F98: +/* C0E78 80129F98 0804A7ED */ j .LIQUE_80129FB4 +/* C0E7C 80129F9C 24170042 */ addiu $s7, $zero, 0x42 +.LIQUE_80129FA0: +/* C0E80 80129FA0 0804A7ED */ j .LIQUE_80129FB4 +/* C0E84 80129FA4 24170043 */ addiu $s7, $zero, 0x43 +.LIQUE_80129FA8: +/* C0E88 80129FA8 0804A7ED */ j .LIQUE_80129FB4 +/* C0E8C 80129FAC 24170044 */ addiu $s7, $zero, 0x44 +.LIQUE_80129FB0: +/* C0E90 80129FB0 24170040 */ addiu $s7, $zero, 0x40 +.LIQUE_80129FB4: +/* C0E94 80129FB4 00171C00 */ sll $v1, $s7, 16 +.LIQUE_80129FB8: +/* C0E98 80129FB8 97B9009E */ lhu $t9, 0x9E($sp) +/* C0E9C 80129FBC 00191400 */ sll $v0, $t9, 16 +/* C0EA0 80129FC0 10620007 */ beq $v1, $v0, .LIQUE_80129FE0 +/* C0EA4 80129FC4 00035403 */ sra $t2, $v1, 16 +/* C0EA8 80129FC8 3C038016 */ lui $v1, %hi(msg_drawState) +/* C0EAC 80129FCC 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C0EB0 80129FD0 94620034 */ lhu $v0, 0x34($v1) +/* C0EB4 80129FD4 A7B7009E */ sh $s7, 0x9E($sp) +/* C0EB8 80129FD8 34420010 */ ori $v0, $v0, 0x10 +/* C0EBC 80129FDC A4620034 */ sh $v0, 0x34($v1) +.LIQUE_80129FE0: +/* C0EC0 80129FE0 3C098016 */ lui $t1, %hi(msg_drawState) +/* C0EC4 80129FE4 8D2980F4 */ lw $t1, %lo(msg_drawState)($t1) +/* C0EC8 80129FE8 8D220038 */ lw $v0, 0x38($t1) +/* C0ECC 80129FEC 30428000 */ andi $v0, $v0, 0x8000 +/* C0ED0 80129FF0 10400075 */ beqz $v0, .LIQUE_8012A1C8 +/* C0ED4 80129FF4 00121400 */ sll $v0, $s2, 16 +/* C0ED8 80129FF8 00021403 */ sra $v0, $v0, 16 +/* C0EDC 80129FFC 241800FF */ addiu $t8, $zero, 0xFF +/* C0EE0 8012A000 14580071 */ bne $v0, $t8, .LIQUE_8012A1C8 +/* C0EE4 8012A004 3C06E200 */ lui $a2, (0xE200001C >> 16) +/* C0EE8 8012A008 34C6001C */ ori $a2, $a2, (0xE200001C & 0xFFFF) +/* C0EEC 8012A00C 3C040050 */ lui $a0, (0x504240 >> 16) +/* C0EF0 8012A010 34844240 */ ori $a0, $a0, (0x504240 & 0xFFFF) +/* C0EF4 8012A014 3C07FCFF */ lui $a3, (0xFCFF97FF >> 16) +/* C0EF8 8012A018 34E797FF */ ori $a3, $a3, (0xFCFF97FF & 0xFFFF) +/* C0EFC 8012A01C 3C05FF2D */ lui $a1, (0xFF2DFEFF >> 16) +/* C0F00 8012A020 34A5FEFF */ ori $a1, $a1, (0xFF2DFEFF & 0xFFFF) +/* C0F04 8012A024 3C082828 */ lui $t0, (0x28282848 >> 16) +/* C0F08 8012A028 3C03800A */ lui $v1, %hi(gMasterGfxPos) +/* C0F0C 8012A02C 8C639244 */ lw $v1, %lo(gMasterGfxPos)($v1) +/* C0F10 8012A030 35082848 */ ori $t0, $t0, (0x28282848 & 0xFFFF) +/* C0F14 8012A034 0060102D */ daddu $v0, $v1, $zero +/* C0F18 8012A038 24630008 */ addiu $v1, $v1, 0x8 +/* C0F1C 8012A03C 3C19E700 */ lui $t9, (0xE7000000 >> 16) +/* C0F20 8012A040 AC590000 */ sw $t9, 0x0($v0) +/* C0F24 8012A044 AC400004 */ sw $zero, 0x4($v0) +/* C0F28 8012A048 24620008 */ addiu $v0, $v1, 0x8 +/* C0F2C 8012A04C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0F30 8012A050 AC239244 */ sw $v1, %lo(gMasterGfxPos)($at) +/* C0F34 8012A054 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0F38 8012A058 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0F3C 8012A05C 24620010 */ addiu $v0, $v1, 0x10 +/* C0F40 8012A060 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0F44 8012A064 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0F48 8012A068 24620018 */ addiu $v0, $v1, 0x18 +/* C0F4C 8012A06C 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C0F50 8012A070 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C0F54 8012A074 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* C0F58 8012A078 AC660000 */ sw $a2, 0x0($v1) +/* C0F5C 8012A07C AC640004 */ sw $a0, 0x4($v1) +/* C0F60 8012A080 AC670008 */ sw $a3, 0x8($v1) +/* C0F64 8012A084 AC65000C */ sw $a1, 0xC($v1) +/* C0F68 8012A088 AC620010 */ sw $v0, 0x10($v1) +/* C0F6C 8012A08C AC680014 */ sw $t0, 0x14($v1) +/* C0F70 8012A090 97B800BE */ lhu $t8, 0xBE($sp) +/* C0F74 8012A094 2702FFA1 */ addiu $v0, $t8, -0x5F +/* C0F78 8012A098 2C420031 */ sltiu $v0, $v0, 0x31 +/* C0F7C 8012A09C 10400014 */ beqz $v0, .LIQUE_8012A0F0 +/* C0F80 8012A0A0 26A3FFFF */ addiu $v1, $s5, -0x1 +/* C0F84 8012A0A4 00031040 */ sll $v0, $v1, 1 +/* C0F88 8012A0A8 00431021 */ addu $v0, $v0, $v1 +/* C0F8C 8012A0AC 00021100 */ sll $v0, $v0, 4 +/* C0F90 8012A0B0 00431021 */ addu $v0, $v0, $v1 +/* C0F94 8012A0B4 24420047 */ addiu $v0, $v0, 0x47 +/* C0F98 8012A0B8 03023021 */ addu $a2, $t8, $v0 +/* C0F9C 8012A0BC 03C0202D */ daddu $a0, $fp, $zero +/* C0FA0 8012A0C0 0120282D */ daddu $a1, $t1, $zero +/* C0FA4 8012A0C4 30C6FFFF */ andi $a2, $a2, 0xFFFF +/* C0FA8 8012A0C8 0140382D */ daddu $a3, $t2, $zero +/* C0FAC 8012A0CC 00111400 */ sll $v0, $s1, 16 +/* C0FB0 8012A0D0 00021403 */ sra $v0, $v0, 16 +/* C0FB4 8012A0D4 24420002 */ addiu $v0, $v0, 0x2 +/* C0FB8 8012A0D8 AFA20010 */ sw $v0, 0x10($sp) +/* C0FBC 8012A0DC 00141400 */ sll $v0, $s4, 16 +/* C0FC0 8012A0E0 00021403 */ sra $v0, $v0, 16 +/* C0FC4 8012A0E4 24420002 */ addiu $v0, $v0, 0x2 +/* C0FC8 8012A0E8 0804A849 */ j .LIQUE_8012A124 +/* C0FCC 8012A0EC AFA20014 */ sw $v0, 0x14($sp) +.LIQUE_8012A0F0: +/* C0FD0 8012A0F0 03C0202D */ daddu $a0, $fp, $zero +/* C0FD4 8012A0F4 0120282D */ daddu $a1, $t1, $zero +/* C0FD8 8012A0F8 0140382D */ daddu $a3, $t2, $zero +/* C0FDC 8012A0FC 00111400 */ sll $v0, $s1, 16 +/* C0FE0 8012A100 00021403 */ sra $v0, $v0, 16 +/* C0FE4 8012A104 24420002 */ addiu $v0, $v0, 0x2 +/* C0FE8 8012A108 AFA20010 */ sw $v0, 0x10($sp) +/* C0FEC 8012A10C 00141400 */ sll $v0, $s4, 16 +/* C0FF0 8012A110 00021403 */ sra $v0, $v0, 16 +/* C0FF4 8012A114 97B900BE */ lhu $t9, 0xBE($sp) +/* C0FF8 8012A118 24420002 */ addiu $v0, $v0, 0x2 +/* C0FFC 8012A11C AFA20014 */ sw $v0, 0x14($sp) +/* C1000 8012A120 0320302D */ daddu $a2, $t9, $zero +.LIQUE_8012A124: +/* C1004 8012A124 0C04A9D7 */ jal msg_draw_char +/* C1008 8012A128 00000000 */ nop +/* C100C 8012A12C 3C07800A */ lui $a3, %hi(gMasterGfxPos) +/* C1010 8012A130 8CE79244 */ lw $a3, %lo(gMasterGfxPos)($a3) +/* C1014 8012A134 00E0102D */ daddu $v0, $a3, $zero +/* C1018 8012A138 24E70008 */ addiu $a3, $a3, 0x8 +/* C101C 8012A13C 3C18E700 */ lui $t8, (0xE7000000 >> 16) +/* C1020 8012A140 AC580000 */ sw $t8, 0x0($v0) +/* C1024 8012A144 AC400004 */ sw $zero, 0x4($v0) +/* C1028 8012A148 00121400 */ sll $v0, $s2, 16 +/* C102C 8012A14C 00021403 */ sra $v0, $v0, 16 +/* C1030 8012A150 284200FF */ slti $v0, $v0, 0xFF +/* C1034 8012A154 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C1038 8012A158 AC279244 */ sw $a3, %lo(gMasterGfxPos)($at) +/* C103C 8012A15C 10400009 */ beqz $v0, .LIQUE_8012A184 +/* C1040 8012A160 3C05E200 */ lui $a1, (0xE200001C >> 16) +/* C1044 8012A164 34A5001C */ ori $a1, $a1, (0xE200001C & 0xFFFF) +/* C1048 8012A168 3C030050 */ lui $v1, (0x504240 >> 16) +/* C104C 8012A16C 34634240 */ ori $v1, $v1, (0x504240 & 0xFFFF) +/* C1050 8012A170 3C06FCFF */ lui $a2, (0xFCFF97FF >> 16) +/* C1054 8012A174 34C697FF */ ori $a2, $a2, (0xFCFF97FF & 0xFFFF) +/* C1058 8012A178 3C04FF2C */ lui $a0, (0xFF2CFE7F >> 16) +/* C105C 8012A17C 0804A868 */ j .LIQUE_8012A1A0 +/* C1060 8012A180 3484FE7F */ ori $a0, $a0, (0xFF2CFE7F & 0xFFFF) +.LIQUE_8012A184: +/* C1064 8012A184 34A5001C */ ori $a1, $a1, (0xE200001C & 0xFFFF) +/* C1068 8012A188 3C030F0A */ lui $v1, (0xF0A7008 >> 16) +/* C106C 8012A18C 34637008 */ ori $v1, $v1, (0xF0A7008 & 0xFFFF) +/* C1070 8012A190 3C06FCFF */ lui $a2, (0xFCFFFFFF >> 16) +/* C1074 8012A194 34C6FFFF */ ori $a2, $a2, (0xFCFFFFFF & 0xFFFF) +/* C1078 8012A198 3C04FFFC */ lui $a0, (0xFFFCF279 >> 16) +/* C107C 8012A19C 3484F279 */ ori $a0, $a0, (0xFFFCF279 & 0xFFFF) +.LIQUE_8012A1A0: +/* C1080 8012A1A0 24E20008 */ addiu $v0, $a3, 0x8 +/* C1084 8012A1A4 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C1088 8012A1A8 AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C108C 8012A1AC 24E20010 */ addiu $v0, $a3, 0x10 +/* C1090 8012A1B0 ACE50000 */ sw $a1, 0x0($a3) +/* C1094 8012A1B4 ACE30004 */ sw $v1, 0x4($a3) +/* C1098 8012A1B8 3C01800A */ lui $at, %hi(gMasterGfxPos) +/* C109C 8012A1BC AC229244 */ sw $v0, %lo(gMasterGfxPos)($at) +/* C10A0 8012A1C0 ACE60008 */ sw $a2, 0x8($a3) +/* C10A4 8012A1C4 ACE4000C */ sw $a0, 0xC($a3) +.LIQUE_8012A1C8: +/* C10A8 8012A1C8 3C058016 */ lui $a1, %hi(msg_drawState) +/* C10AC 8012A1CC 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* C10B0 8012A1D0 8CA20038 */ lw $v0, 0x38($a1) +/* C10B4 8012A1D4 30420020 */ andi $v0, $v0, 0x20 +/* C10B8 8012A1D8 1040002F */ beqz $v0, .LIQUE_8012A298 +/* C10BC 8012A1DC 0000902D */ daddu $s2, $zero, $zero +/* C10C0 8012A1E0 26A3FFFF */ addiu $v1, $s5, -0x1 +/* C10C4 8012A1E4 97B900BE */ lhu $t9, 0xBE($sp) +/* C10C8 8012A1E8 93B300B0 */ lbu $s3, 0xB0($sp) +/* C10CC 8012A1EC 2722FFA1 */ addiu $v0, $t9, -0x5F +/* C10D0 8012A1F0 2C560031 */ sltiu $s6, $v0, 0x31 +/* C10D4 8012A1F4 00031040 */ sll $v0, $v1, 1 +/* C10D8 8012A1F8 00431021 */ addu $v0, $v0, $v1 +/* C10DC 8012A1FC 00021100 */ sll $v0, $v0, 4 +/* C10E0 8012A200 00431021 */ addu $v0, $v0, $v1 +/* C10E4 8012A204 24420047 */ addiu $v0, $v0, 0x47 +/* C10E8 8012A208 0322A821 */ addu $s5, $t9, $v0 +/* C10EC 8012A20C 00111400 */ sll $v0, $s1, 16 +/* C10F0 8012A210 00021403 */ sra $v0, $v0, 16 +/* C10F4 8012A214 24510002 */ addiu $s1, $v0, 0x2 +/* C10F8 8012A218 00141400 */ sll $v0, $s4, 16 +/* C10FC 8012A21C 00021403 */ sra $v0, $v0, 16 +/* C1100 8012A220 24500002 */ addiu $s0, $v0, 0x2 +/* C1104 8012A224 24180002 */ addiu $t8, $zero, 0x2 +.LIQUE_8012A228: +/* C1108 8012A228 12780004 */ beq $s3, $t8, .LIQUE_8012A23C +/* C110C 8012A22C 24190001 */ addiu $t9, $zero, 0x1 +/* C1110 8012A230 0C00A5B3 */ jal rand_int +/* C1114 8012A234 24042710 */ addiu $a0, $zero, 0x2710 +/* C1118 8012A238 24190001 */ addiu $t9, $zero, 0x1 +.LIQUE_8012A23C: +/* C111C 8012A23C 12790003 */ beq $s3, $t9, .LIQUE_8012A24C +/* C1120 8012A240 00000000 */ nop +/* C1124 8012A244 0C00A5B3 */ jal rand_int +/* C1128 8012A248 24042710 */ addiu $a0, $zero, 0x2710 +.LIQUE_8012A24C: +/* C112C 8012A24C 12C00004 */ beqz $s6, .LIQUE_8012A260 +/* C1130 8012A250 03C0202D */ daddu $a0, $fp, $zero +/* C1134 8012A254 32A6FFFF */ andi $a2, $s5, 0xFFFF +/* C1138 8012A258 0804A89A */ j .LIQUE_8012A268 +/* C113C 8012A25C 00173C00 */ sll $a3, $s7, 16 +.LIQUE_8012A260: +/* C1140 8012A260 00173C00 */ sll $a3, $s7, 16 +/* C1144 8012A264 97A600BE */ lhu $a2, 0xBE($sp) +.LIQUE_8012A268: +/* C1148 8012A268 3C058016 */ lui $a1, %hi(msg_drawState) +/* C114C 8012A26C 8CA580F4 */ lw $a1, %lo(msg_drawState)($a1) +/* C1150 8012A270 00073C03 */ sra $a3, $a3, 16 +/* C1154 8012A274 AFB10010 */ sw $s1, 0x10($sp) +/* C1158 8012A278 0C04A9D7 */ jal msg_draw_char +/* C115C 8012A27C AFB00014 */ sw $s0, 0x14($sp) +/* C1160 8012A280 26520001 */ addiu $s2, $s2, 0x1 +/* C1164 8012A284 2A420005 */ slti $v0, $s2, 0x5 +/* C1168 8012A288 1440FFE7 */ bnez $v0, .LIQUE_8012A228 +/* C116C 8012A28C 24180002 */ addiu $t8, $zero, 0x2 +/* C1170 8012A290 0804A8CD */ j .LIQUE_8012A334 +/* C1174 8012A294 00000000 */ nop +.LIQUE_8012A298: +/* C1178 8012A298 97B800BE */ lhu $t8, 0xBE($sp) +/* C117C 8012A29C 2702FFA1 */ addiu $v0, $t8, -0x5F +/* C1180 8012A2A0 2C420031 */ sltiu $v0, $v0, 0x31 +/* C1184 8012A2A4 10400014 */ beqz $v0, .LIQUE_8012A2F8 +/* C1188 8012A2A8 26A3FFFF */ addiu $v1, $s5, -0x1 +/* C118C 8012A2AC 00031040 */ sll $v0, $v1, 1 +/* C1190 8012A2B0 00431021 */ addu $v0, $v0, $v1 +/* C1194 8012A2B4 00021100 */ sll $v0, $v0, 4 +/* C1198 8012A2B8 00431021 */ addu $v0, $v0, $v1 +/* C119C 8012A2BC 24420047 */ addiu $v0, $v0, 0x47 +/* C11A0 8012A2C0 03023021 */ addu $a2, $t8, $v0 +/* C11A4 8012A2C4 03C0202D */ daddu $a0, $fp, $zero +/* C11A8 8012A2C8 30C6FFFF */ andi $a2, $a2, 0xFFFF +/* C11AC 8012A2CC 00173C00 */ sll $a3, $s7, 16 +/* C11B0 8012A2D0 00073C03 */ sra $a3, $a3, 16 +/* C11B4 8012A2D4 00111400 */ sll $v0, $s1, 16 +/* C11B8 8012A2D8 00021403 */ sra $v0, $v0, 16 +/* C11BC 8012A2DC 24420002 */ addiu $v0, $v0, 0x2 +/* C11C0 8012A2E0 AFA20010 */ sw $v0, 0x10($sp) +/* C11C4 8012A2E4 00141400 */ sll $v0, $s4, 16 +/* C11C8 8012A2E8 00021403 */ sra $v0, $v0, 16 +/* C11CC 8012A2EC 24420002 */ addiu $v0, $v0, 0x2 +/* C11D0 8012A2F0 0804A8CB */ j .LIQUE_8012A32C +/* C11D4 8012A2F4 AFA20014 */ sw $v0, 0x14($sp) +.LIQUE_8012A2F8: +/* C11D8 8012A2F8 03C0202D */ daddu $a0, $fp, $zero +/* C11DC 8012A2FC 00173C00 */ sll $a3, $s7, 16 +/* C11E0 8012A300 00073C03 */ sra $a3, $a3, 16 +/* C11E4 8012A304 00111400 */ sll $v0, $s1, 16 +/* C11E8 8012A308 00021403 */ sra $v0, $v0, 16 +/* C11EC 8012A30C 24420002 */ addiu $v0, $v0, 0x2 +/* C11F0 8012A310 AFA20010 */ sw $v0, 0x10($sp) +/* C11F4 8012A314 00141400 */ sll $v0, $s4, 16 +/* C11F8 8012A318 00021403 */ sra $v0, $v0, 16 +/* C11FC 8012A31C 97B900BE */ lhu $t9, 0xBE($sp) +/* C1200 8012A320 24420002 */ addiu $v0, $v0, 0x2 +/* C1204 8012A324 AFA20014 */ sw $v0, 0x14($sp) +/* C1208 8012A328 0320302D */ daddu $a2, $t9, $zero +.LIQUE_8012A32C: +/* C120C 8012A32C 0C04A9D7 */ jal msg_draw_char +/* C1210 8012A330 00000000 */ nop +.LIQUE_8012A334: +/* C1214 8012A334 3C048016 */ lui $a0, %hi(msg_drawState) +/* C1218 8012A338 8C8480F4 */ lw $a0, %lo(msg_drawState)($a0) +/* C121C 8012A33C 94830034 */ lhu $v1, 0x34($a0) +/* C1220 8012A340 30620002 */ andi $v0, $v1, 0x2 +/* C1224 8012A344 10400002 */ beqz $v0, .LIQUE_8012A350 +/* C1228 8012A348 3062FFFD */ andi $v0, $v1, 0xFFFD +/* C122C 8012A34C A4820034 */ sh $v0, 0x34($a0) +.LIQUE_8012A350: +/* C1230 8012A350 3C038016 */ lui $v1, %hi(msg_drawState) +/* C1234 8012A354 8C6380F4 */ lw $v1, %lo(msg_drawState)($v1) +/* C1238 8012A358 3C014160 */ lui $at, (0x41600000 >> 16) +/* C123C 8012A35C 44810000 */ mtc1 $at, $f0 +/* C1240 8012A360 C4620010 */ lwc1 $f2, 0x10($v1) +/* C1244 8012A364 8C620030 */ lw $v0, 0x30($v1) +/* C1248 8012A368 84640042 */ lh $a0, 0x42($v1) +/* C124C 8012A36C 46001082 */ mul.s $f2, $f2, $f0 +/* C1250 8012A370 00000000 */ nop +/* C1254 8012A374 24420001 */ addiu $v0, $v0, 0x1 +/* C1258 8012A378 44840000 */ mtc1 $a0, $f0 +/* C125C 8012A37C 00000000 */ nop +/* C1260 8012A380 46800020 */ cvt.s.w $f0, $f0 +/* C1264 8012A384 AC620030 */ sw $v0, 0x30($v1) +/* C1268 8012A388 8C620020 */ lw $v0, 0x20($v1) +/* C126C 8012A38C 46020000 */ add.s $f0, $f0, $f2 +/* C1270 8012A390 24420001 */ addiu $v0, $v0, 0x1 +/* C1274 8012A394 AC620020 */ sw $v0, 0x20($v1) +/* C1278 8012A398 4600030D */ trunc.w.s $f12, $f0 +/* C127C 8012A39C 44026000 */ mfc1 $v0, $f12 +/* C1280 8012A3A0 00000000 */ nop +/* C1284 8012A3A4 A4620042 */ sh $v0, 0x42($v1) +.LIQUE_8012A3A8: +/* C1288 8012A3A8 97A20080 */ lhu $v0, 0x80($sp) +/* C128C 8012A3AC 1040EFDC */ beqz $v0, .LIQUE_80126320 +/* C1290 8012A3B0 00000000 */ nop +/* C1294 8012A3B4 97C2052C */ lhu $v0, 0x52C($fp) +/* C1298 8012A3B8 104000BA */ beqz $v0, .LIQUE_8012A6A4 +/* C129C 8012A3BC 0000302D */ daddu $a2, $zero, $zero +/* C12A0 8012A3C0 93C2052B */ lbu $v0, 0x52B($fp) +/* C12A4 8012A3C4 93D00531 */ lbu $s0, 0x531($fp) +/* C12A8 8012A3C8 93C40530 */ lbu $a0, 0x530($fp) +/* C12AC 8012A3CC 00021880 */ sll $v1, $v0, 2 +/* C12B0 8012A3D0 00621821 */ addu $v1, $v1, $v0 +/* C12B4 8012A3D4 3C028015 */ lui $v0, %hi(gMsgVarImages) +/* C12B8 8012A3D8 8C42FA84 */ lw $v0, %lo(gMsgVarImages)($v0) +/* C12BC 8012A3DC 00031880 */ sll $v1, $v1, 2 +/* C12C0 8012A3E0 04800078 */ bltz $a0, .LIQUE_8012A5C4 +/* C12C4 8012A3E4 00438821 */ addu $s1, $v0, $v1 +/* C12C8 8012A3E8 28820002 */ slti $v0, $a0, 0x2 +/* C12CC 8012A3EC 14400005 */ bnez $v0, .LIQUE_8012A404 +/* C12D0 8012A3F0 24020002 */ addiu $v0, $zero, 0x2 +/* C12D4 8012A3F4 10820050 */ beq $a0, $v0, .LIQUE_8012A538 +/* C12D8 8012A3F8 00101400 */ sll $v0, $s0, 16 +/* C12DC 8012A3FC 0804A972 */ j .LIQUE_8012A5C8 +/* C12E0 8012A400 00000000 */ nop +.LIQUE_8012A404: +/* C12E4 8012A404 54800001 */ bnel $a0, $zero, .LIQUE_8012A40C +/* C12E8 8012A408 24060001 */ addiu $a2, $zero, 0x1 +.LIQUE_8012A40C: +/* C12EC 8012A40C 93C30533 */ lbu $v1, 0x533($fp) +/* C12F0 8012A410 24050001 */ addiu $a1, $zero, 0x1 +/* C12F4 8012A414 1065001E */ beq $v1, $a1, .LIQUE_8012A490 +/* C12F8 8012A418 28620002 */ slti $v0, $v1, 0x2 +/* C12FC 8012A41C 10400005 */ beqz $v0, .LIQUE_8012A434 +/* C1300 8012A420 24020002 */ addiu $v0, $zero, 0x2 +/* C1304 8012A424 10600007 */ beqz $v1, .LIQUE_8012A444 +/* C1308 8012A428 00101400 */ sll $v0, $s0, 16 +/* C130C 8012A42C 0804A972 */ j .LIQUE_8012A5C8 +/* C1310 8012A430 00000000 */ nop +.LIQUE_8012A434: +/* C1314 8012A434 10620031 */ beq $v1, $v0, .LIQUE_8012A4FC +/* C1318 8012A438 00101400 */ sll $v0, $s0, 16 +/* C131C 8012A43C 0804A972 */ j .LIQUE_8012A5C8 +/* C1320 8012A440 00000000 */ nop +.LIQUE_8012A444: +/* C1324 8012A444 97C30534 */ lhu $v1, 0x534($fp) +/* C1328 8012A448 93C40532 */ lbu $a0, 0x532($fp) +/* C132C 8012A44C 24630001 */ addiu $v1, $v1, 0x1 +/* C1330 8012A450 00031400 */ sll $v0, $v1, 16 +/* C1334 8012A454 00021403 */ sra $v0, $v0, 16 +/* C1338 8012A458 00440018 */ mult $v0, $a0 +/* C133C 8012A45C A7C30534 */ sh $v1, 0x534($fp) +/* C1340 8012A460 93C30531 */ lbu $v1, 0x531($fp) +/* C1344 8012A464 00001012 */ mflo $v0 +/* C1348 8012A468 0040802D */ daddu $s0, $v0, $zero +/* C134C 8012A46C 00021400 */ sll $v0, $v0, 16 +/* C1350 8012A470 00021403 */ sra $v0, $v0, 16 +/* C1354 8012A474 0043102A */ slt $v0, $v0, $v1 +/* C1358 8012A478 14400053 */ bnez $v0, .LIQUE_8012A5C8 +/* C135C 8012A47C 00101400 */ sll $v0, $s0, 16 +/* C1360 8012A480 93D00531 */ lbu $s0, 0x531($fp) +/* C1364 8012A484 A7C00534 */ sh $zero, 0x534($fp) +/* C1368 8012A488 0804A971 */ j .LIQUE_8012A5C4 +/* C136C 8012A48C A3C50533 */ sb $a1, 0x533($fp) +.LIQUE_8012A490: +/* C1370 8012A490 97B800A6 */ lhu $t8, 0xA6($sp) +/* C1374 8012A494 3C018015 */ lui $at, %hi(D_IQUE_8014F188) +/* C1378 8012A498 D420F188 */ ldc1 $f0, %lo(D_IQUE_8014F188)($at) +/* C137C 8012A49C 00181400 */ sll $v0, $t8, 16 +/* C1380 8012A4A0 00021403 */ sra $v0, $v0, 16 +/* C1384 8012A4A4 44821000 */ mtc1 $v0, $f2 +/* C1388 8012A4A8 00000000 */ nop +/* C138C 8012A4AC 468010A0 */ cvt.s.w $f2, $f2 +/* C1390 8012A4B0 460010A1 */ cvt.d.s $f2, $f2 +/* C1394 8012A4B4 93C20531 */ lbu $v0, 0x531($fp) +/* C1398 8012A4B8 46201083 */ div.d $f2, $f2, $f0 +/* C139C 8012A4BC 44820000 */ mtc1 $v0, $f0 +/* C13A0 8012A4C0 00000000 */ nop +/* C13A4 8012A4C4 46800020 */ cvt.s.w $f0, $f0 +/* C13A8 8012A4C8 46000021 */ cvt.d.s $f0, $f0 +/* C13AC 8012A4CC 46201002 */ mul.d $f0, $f2, $f0 +/* C13B0 8012A4D0 00000000 */ nop +/* C13B4 8012A4D4 3C0141E0 */ lui $at, (0x41E00000 >> 16) +/* C13B8 8012A4D8 44811800 */ mtc1 $at, $f3 +/* C13BC 8012A4DC 44801000 */ mtc1 $zero, $f2 +/* C13C0 8012A4E0 00000000 */ nop +/* C13C4 8012A4E4 4620103E */ c.le.d $f2, $f0 +/* C13C8 8012A4E8 00000000 */ nop +/* C13CC 8012A4EC 4500002B */ bc1f .LIQUE_8012A59C +/* C13D0 8012A4F0 00000000 */ nop +/* C13D4 8012A4F4 0804A96B */ j .LIQUE_8012A5AC +/* C13D8 8012A4F8 46220001 */ sub.d $f0, $f0, $f2 +.LIQUE_8012A4FC: +/* C13DC 8012A4FC 97C30534 */ lhu $v1, 0x534($fp) +/* C13E0 8012A500 93C40532 */ lbu $a0, 0x532($fp) +/* C13E4 8012A504 24630001 */ addiu $v1, $v1, 0x1 +/* C13E8 8012A508 00031400 */ sll $v0, $v1, 16 +/* C13EC 8012A50C 00021403 */ sra $v0, $v0, 16 +/* C13F0 8012A510 00820018 */ mult $a0, $v0 +/* C13F4 8012A514 93C20531 */ lbu $v0, 0x531($fp) +/* C13F8 8012A518 0000C012 */ mflo $t8 +/* C13FC 8012A51C 00581023 */ subu $v0, $v0, $t8 +/* C1400 8012A520 0040802D */ daddu $s0, $v0, $zero +/* C1404 8012A524 00021400 */ sll $v0, $v0, 16 +/* C1408 8012A528 1C400029 */ bgtz $v0, .LIQUE_8012A5D0 +/* C140C 8012A52C A7C30534 */ sh $v1, 0x534($fp) +/* C1410 8012A530 0804A971 */ j .LIQUE_8012A5C4 +/* C1414 8012A534 A7C0052C */ sh $zero, 0x52C($fp) +.LIQUE_8012A538: +/* C1418 8012A538 97B900A6 */ lhu $t9, 0xA6($sp) +/* C141C 8012A53C 3C018015 */ lui $at, %hi(D_IQUE_8014F190) +/* C1420 8012A540 D420F190 */ ldc1 $f0, %lo(D_IQUE_8014F190)($at) +/* C1424 8012A544 00191400 */ sll $v0, $t9, 16 +/* C1428 8012A548 00021403 */ sra $v0, $v0, 16 +/* C142C 8012A54C 44821000 */ mtc1 $v0, $f2 +/* C1430 8012A550 00000000 */ nop +/* C1434 8012A554 468010A0 */ cvt.s.w $f2, $f2 +/* C1438 8012A558 460010A1 */ cvt.d.s $f2, $f2 +/* C143C 8012A55C 93C20531 */ lbu $v0, 0x531($fp) +/* C1440 8012A560 46201083 */ div.d $f2, $f2, $f0 +/* C1444 8012A564 44820000 */ mtc1 $v0, $f0 +/* C1448 8012A568 00000000 */ nop +/* C144C 8012A56C 46800020 */ cvt.s.w $f0, $f0 +/* C1450 8012A570 46000021 */ cvt.d.s $f0, $f0 +/* C1454 8012A574 46201002 */ mul.d $f0, $f2, $f0 +/* C1458 8012A578 00000000 */ nop +/* C145C 8012A57C 3C0141E0 */ lui $at, (0x41E00000 >> 16) +/* C1460 8012A580 44811800 */ mtc1 $at, $f3 +/* C1464 8012A584 44801000 */ mtc1 $zero, $f2 +/* C1468 8012A588 00000000 */ nop +/* C146C 8012A58C 4620103E */ c.le.d $f2, $f0 +/* C1470 8012A590 00000000 */ nop +/* C1474 8012A594 45030005 */ bc1tl .LIQUE_8012A5AC +/* C1478 8012A598 46220001 */ sub.d $f0, $f0, $f2 +.LIQUE_8012A59C: +/* C147C 8012A59C 4620030D */ trunc.w.d $f12, $f0 +/* C1480 8012A5A0 44036000 */ mfc1 $v1, $f12 +/* C1484 8012A5A4 0804A971 */ j .LIQUE_8012A5C4 +/* C1488 8012A5A8 307000FF */ andi $s0, $v1, 0xFF +.LIQUE_8012A5AC: +/* C148C 8012A5AC 3C028000 */ lui $v0, (0x80000000 >> 16) +/* C1490 8012A5B0 4620030D */ trunc.w.d $f12, $f0 +/* C1494 8012A5B4 44036000 */ mfc1 $v1, $f12 +/* C1498 8012A5B8 00000000 */ nop +/* C149C 8012A5BC 00621825 */ or $v1, $v1, $v0 +/* C14A0 8012A5C0 307000FF */ andi $s0, $v1, 0xFF +.LIQUE_8012A5C4: +/* C14A4 8012A5C4 00101400 */ sll $v0, $s0, 16 +.LIQUE_8012A5C8: +/* C14A8 8012A5C8 18400036 */ blez $v0, .LIQUE_8012A6A4 +/* C14AC 8012A5CC 00000000 */ nop +.LIQUE_8012A5D0: +/* C14B0 8012A5D0 00C0102D */ daddu $v0, $a2, $zero +/* C14B4 8012A5D4 1040001E */ beqz $v0, .LIQUE_8012A650 +/* C14B8 8012A5D8 0000202D */ daddu $a0, $zero, $zero +/* C14BC 8012A5DC 97C6052C */ lhu $a2, 0x52C($fp) +/* C14C0 8012A5E0 97C7052E */ lhu $a3, 0x52E($fp) +/* C14C4 8012A5E4 2405000F */ addiu $a1, $zero, 0xF +/* C14C8 8012A5E8 AFA00010 */ sw $zero, 0x10($sp) +/* C14CC 8012A5EC 96220008 */ lhu $v0, 0x8($s1) +/* C14D0 8012A5F0 24C6FFF9 */ addiu $a2, $a2, -0x7 +/* C14D4 8012A5F4 24E7FFF9 */ addiu $a3, $a3, -0x7 +/* C14D8 8012A5F8 00451021 */ addu $v0, $v0, $a1 +/* C14DC 8012A5FC AFA20014 */ sw $v0, 0x14($sp) +/* C14E0 8012A600 9623000A */ lhu $v1, 0xA($s1) +/* C14E4 8012A604 320200FF */ andi $v0, $s0, 0xFF +/* C14E8 8012A608 AFA2001C */ sw $v0, 0x1C($sp) +/* C14EC 8012A60C 24020140 */ addiu $v0, $zero, 0x140 +/* C14F0 8012A610 AFA20044 */ sw $v0, 0x44($sp) +/* C14F4 8012A614 240200F0 */ addiu $v0, $zero, 0xF0 +/* C14F8 8012A618 AFA00020 */ sw $zero, 0x20($sp) +/* C14FC 8012A61C AFA00024 */ sw $zero, 0x24($sp) +/* C1500 8012A620 AFA00028 */ sw $zero, 0x28($sp) +/* C1504 8012A624 AFA0002C */ sw $zero, 0x2C($sp) +/* C1508 8012A628 AFA00030 */ sw $zero, 0x30($sp) +/* C150C 8012A62C AFA00034 */ sw $zero, 0x34($sp) +/* C1510 8012A630 AFA00038 */ sw $zero, 0x38($sp) +/* C1514 8012A634 AFA0003C */ sw $zero, 0x3C($sp) +/* C1518 8012A638 AFA00040 */ sw $zero, 0x40($sp) +/* C151C 8012A63C AFA20048 */ sw $v0, 0x48($sp) +/* C1520 8012A640 AFA0004C */ sw $zero, 0x4C($sp) +/* C1524 8012A644 2463000E */ addiu $v1, $v1, 0xE +/* C1528 8012A648 0C03CDB0 */ jal draw_box +/* C152C 8012A64C AFA30018 */ sw $v1, 0x18($sp) +.LIQUE_8012A650: +/* C1530 8012A650 8E220010 */ lw $v0, 0x10($s1) +/* C1534 8012A654 96250008 */ lhu $a1, 0x8($s1) +/* C1538 8012A658 9626000A */ lhu $a2, 0xA($s1) +/* C153C 8012A65C AFA20010 */ sw $v0, 0x10($sp) +/* C1540 8012A660 8E220004 */ lw $v0, 0x4($s1) +/* C1544 8012A664 AFA20014 */ sw $v0, 0x14($sp) +/* C1548 8012A668 87C2052C */ lh $v0, 0x52C($fp) +/* C154C 8012A66C AFA20018 */ sw $v0, 0x18($sp) +/* C1550 8012A670 87C3052E */ lh $v1, 0x52E($fp) +/* C1554 8012A674 2402013F */ addiu $v0, $zero, 0x13F +/* C1558 8012A678 AFA20028 */ sw $v0, 0x28($sp) +/* C155C 8012A67C 240200EF */ addiu $v0, $zero, 0xEF +/* C1560 8012A680 AFA2002C */ sw $v0, 0x2C($sp) +/* C1564 8012A684 320200FF */ andi $v0, $s0, 0xFF +/* C1568 8012A688 AFA00020 */ sw $zero, 0x20($sp) +/* C156C 8012A68C AFA00024 */ sw $zero, 0x24($sp) +/* C1570 8012A690 AFA20030 */ sw $v0, 0x30($sp) +/* C1574 8012A694 AFA3001C */ sw $v1, 0x1C($sp) +/* C1578 8012A698 8E240000 */ lw $a0, 0x0($s1) +/* C157C 8012A69C 0C04B44C */ jal draw_ci_image_with_clipping +/* C1580 8012A6A0 8E27000C */ lw $a3, 0xC($s1) +.LIQUE_8012A6A4: +/* C1584 8012A6A4 3C02800A */ lui $v0, %hi(gMasterGfxPos) +/* C1588 8012A6A8 24429244 */ addiu $v0, $v0, %lo(gMasterGfxPos) +/* C158C 8012A6AC 8C430000 */ lw $v1, 0x0($v0) +/* C1590 8012A6B0 0060202D */ daddu $a0, $v1, $zero +/* C1594 8012A6B4 24630008 */ addiu $v1, $v1, 0x8 +/* C1598 8012A6B8 AC430000 */ sw $v1, 0x0($v0) +/* C159C 8012A6BC 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* C15A0 8012A6C0 AC820000 */ sw $v0, 0x0($a0) +/* C15A4 8012A6C4 AC800004 */ sw $zero, 0x4($a0) +/* C15A8 8012A6C8 8FBF0104 */ lw $ra, 0x104($sp) +/* C15AC 8012A6CC 8FBE0100 */ lw $fp, 0x100($sp) +/* C15B0 8012A6D0 8FB700FC */ lw $s7, 0xFC($sp) +/* C15B4 8012A6D4 8FB600F8 */ lw $s6, 0xF8($sp) +/* C15B8 8012A6D8 8FB500F4 */ lw $s5, 0xF4($sp) +/* C15BC 8012A6DC 8FB400F0 */ lw $s4, 0xF0($sp) +/* C15C0 8012A6E0 8FB300EC */ lw $s3, 0xEC($sp) +/* C15C4 8012A6E4 8FB200E8 */ lw $s2, 0xE8($sp) +/* C15C8 8012A6E8 8FB100E4 */ lw $s1, 0xE4($sp) +/* C15CC 8012A6EC 8FB000E0 */ lw $s0, 0xE0($sp) +/* C15D0 8012A6F0 D7BE0130 */ ldc1 $f30, 0x130($sp) +/* C15D4 8012A6F4 D7BC0128 */ ldc1 $f28, 0x128($sp) +/* C15D8 8012A6F8 D7BA0120 */ ldc1 $f26, 0x120($sp) +/* C15DC 8012A6FC D7B80118 */ ldc1 $f24, 0x118($sp) +/* C15E0 8012A700 D7B60110 */ ldc1 $f22, 0x110($sp) +/* C15E4 8012A704 D7B40108 */ ldc1 $f20, 0x108($sp) +/* C15E8 8012A708 3C018015 */ lui $at, %hi(D_80151338) +/* C15EC 8012A70C AC23FAC8 */ sw $v1, %lo(D_80151338)($at) +/* C15F0 8012A710 03E00008 */ jr $ra +/* C15F4 8012A714 27BD0138 */ addiu $sp, $sp, 0x138 diff --git a/ver/cn/asm/nonmatchings/msg/msg_copy_to_print_buffer.s b/ver/cn/asm/nonmatchings/msg/msg_copy_to_print_buffer.s new file mode 100644 index 0000000000..3927913f1b --- /dev/null +++ b/ver/cn/asm/nonmatchings/msg/msg_copy_to_print_buffer.s @@ -0,0 +1,1323 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +.section .rodata +.align 3 +glabel jtbl_IQUE_8014EB48 +/* E5A28 8014EB48 801229DC */ .word .LIQUE_801229DC +/* E5A2C 8014EB4C 80122A40 */ .word .LIQUE_80122A40 +/* E5A30 8014EB50 80122AA0 */ .word .LIQUE_80122AA0 +/* E5A34 8014EB54 80122AC8 */ .word .LIQUE_80122AC8 +/* E5A38 8014EB58 80122AC8 */ .word .LIQUE_80122AC8 +/* E5A3C 8014EB5C 80122AC8 */ .word .LIQUE_80122AC8 +/* E5A40 8014EB60 80122AC8 */ .word .LIQUE_80122AC8 +/* E5A44 8014EB64 80122AE0 */ .word .LIQUE_80122AE0 +/* E5A48 8014EB68 80122AE8 */ .word .LIQUE_80122AE8 +/* E5A4C 8014EB6C 80122AF0 */ .word .LIQUE_80122AF0 +/* E5A50 8014EB70 80122AF8 */ .word .LIQUE_80122AF8 +/* E5A54 8014EB74 80122B0C */ .word .LIQUE_80122B0C +/* E5A58 8014EB78 80122BA8 */ .word .LIQUE_80122BA8 +/* E5A5C 8014EB7C 80122EE4 */ .word .LIQUE_80122EE4 +/* E5A60 8014EB80 801238F0 */ .word .LIQUE_801238F0 +/* E5A64 8014EB84 80122F58 */ .word .LIQUE_80122F58 + +.align 3 +glabel jtbl_IQUE_8014EB88 +/* E5A68 8014EB88 80122BF4 */ .word .LIQUE_80122BF4 +/* E5A6C 8014EB8C 80122BF4 */ .word .LIQUE_80122BF4 +/* E5A70 8014EB90 80122BF4 */ .word .LIQUE_80122BF4 +/* E5A74 8014EB94 80122BF4 */ .word .LIQUE_80122BF4 +/* E5A78 8014EB98 80122C54 */ .word .LIQUE_80122C54 +/* E5A7C 8014EB9C 80122C98 */ .word .LIQUE_80122C98 +/* E5A80 8014EBA0 80122D6C */ .word .LIQUE_80122D6C +/* E5A84 8014EBA4 80122D60 */ .word .LIQUE_80122D60 +/* E5A88 8014EBA8 80122D94 */ .word .LIQUE_80122D94 +/* E5A8C 8014EBAC 80122E80 */ .word .LIQUE_80122E80 +/* E5A90 8014EBB0 80122E80 */ .word .LIQUE_80122E80 +/* E5A94 8014EBB4 80122CFC */ .word .LIQUE_80122CFC +/* E5A98 8014EBB8 80122C98 */ .word .LIQUE_80122C98 +/* E5A9C 8014EBBC 80122EC4 */ .word .LIQUE_80122EC4 +/* E5AA0 8014EBC0 80122C98 */ .word .LIQUE_80122C98 +/* E5AA4 8014EBC4 00000000 */ .word 0x00000000 + +.align 3 +glabel jtbl_IQUE_8014EBC8 +/* E5AA8 8014EBC8 80122F80 */ .word .LIQUE_80122F80 +/* E5AAC 8014EBCC 80122FA0 */ .word .LIQUE_80122FA0 +/* E5AB0 8014EBD0 8012396C */ .word .LIQUE_8012396C +/* E5AB4 8014EBD4 80123484 */ .word .LIQUE_80123484 +/* E5AB8 8014EBD8 80123494 */ .word .LIQUE_80123494 +/* E5ABC 8014EBDC 80122FC4 */ .word .LIQUE_80122FC4 +/* E5AC0 8014EBE0 80122FD4 */ .word .LIQUE_80122FD4 +/* E5AC4 8014EBE4 80122FE0 */ .word .LIQUE_80122FE0 +/* E5AC8 8014EBE8 80122FF4 */ .word .LIQUE_80122FF4 +/* E5ACC 8014EBEC 80123014 */ .word .LIQUE_80123014 +/* E5AD0 8014EBF0 80123024 */ .word .LIQUE_80123024 +/* E5AD4 8014EBF4 80123004 */ .word .LIQUE_80123004 +/* E5AD8 8014EBF8 80123030 */ .word .LIQUE_80123030 +/* E5ADC 8014EBFC 8012396C */ .word .LIQUE_8012396C +/* E5AE0 8014EC00 8012396C */ .word .LIQUE_8012396C +/* E5AE4 8014EC04 801230C4 */ .word .LIQUE_801230C4 +/* E5AE8 8014EC08 801230E0 */ .word .LIQUE_801230E0 +/* E5AEC 8014EC0C 80123100 */ .word .LIQUE_80123100 +/* E5AF0 8014EC10 80123110 */ .word .LIQUE_80123110 +/* E5AF4 8014EC14 80123120 */ .word .LIQUE_80123120 +/* E5AF8 8014EC18 80123130 */ .word .LIQUE_80123130 +/* E5AFC 8014EC1C 80123140 */ .word .LIQUE_80123140 +/* E5B00 8014EC20 80123174 */ .word .LIQUE_80123174 +/* E5B04 8014EC24 801231C8 */ .word .LIQUE_801231C8 +/* E5B08 8014EC28 80123264 */ .word .LIQUE_80123264 +/* E5B0C 8014EC2C 801232F4 */ .word .LIQUE_801232F4 +/* E5B10 8014EC30 80123318 */ .word .LIQUE_80123318 +/* E5B14 8014EC34 8012336C */ .word .LIQUE_8012336C +/* E5B18 8014EC38 8012338C */ .word .LIQUE_8012338C +/* E5B1C 8014EC3C 801233D0 */ .word .LIQUE_801233D0 +/* E5B20 8014EC40 80123410 */ .word .LIQUE_80123410 +/* E5B24 8014EC44 80123420 */ .word .LIQUE_80123420 +/* E5B28 8014EC48 80123464 */ .word .LIQUE_80123464 +/* E5B2C 8014EC4C 80123474 */ .word .LIQUE_80123474 +/* E5B30 8014EC50 801234D0 */ .word .LIQUE_801234D0 +/* E5B34 8014EC54 801234E0 */ .word .LIQUE_801234E0 +/* E5B38 8014EC58 801234F0 */ .word .LIQUE_801234F0 +/* E5B3C 8014EC5C 80123500 */ .word .LIQUE_80123500 +/* E5B40 8014EC60 80123510 */ .word .LIQUE_80123510 +/* E5B44 8014EC64 80123564 */ .word .LIQUE_80123564 +/* E5B48 8014EC68 80123590 */ .word .LIQUE_80123590 +/* E5B4C 8014EC6C 80123888 */ .word .LIQUE_80123888 +/* E5B50 8014EC70 801238B0 */ .word .LIQUE_801238B0 +/* E5B54 8014EC74 801238E0 */ .word .LIQUE_801238E0 +/* E5B58 8014EC78 8012380C */ .word .LIQUE_8012380C +/* E5B5C 8014EC7C 8012396C */ .word .LIQUE_8012396C +/* E5B60 8014EC80 801237FC */ .word .LIQUE_801237FC +/* E5B64 8014EC84 801237B8 */ .word .LIQUE_801237B8 + +.align 3 +glabel jtbl_IQUE_8014EC88 +/* E5B68 8014EC88 80123550 */ .word .LIQUE_80123550 +/* E5B6C 8014EC8C 80123550 */ .word .LIQUE_80123550 +/* E5B70 8014EC90 80123550 */ .word .LIQUE_80123550 +/* E5B74 8014EC94 8012355C */ .word .LIQUE_8012355C +/* E5B78 8014EC98 8012396C */ .word .LIQUE_8012396C +/* E5B7C 8014EC9C 8012355C */ .word .LIQUE_8012355C +/* E5B80 8014ECA0 80123550 */ .word .LIQUE_80123550 +/* E5B84 8014ECA4 8012355C */ .word .LIQUE_8012355C +/* E5B88 8014ECA8 80123550 */ .word .LIQUE_80123550 +/* E5B8C 8014ECAC 80123550 */ .word .LIQUE_80123550 +/* E5B90 8014ECB0 80123550 */ .word .LIQUE_80123550 +/* E5B94 8014ECB4 80123550 */ .word .LIQUE_80123550 +/* E5B98 8014ECB8 80123550 */ .word .LIQUE_80123550 +/* E5B9C 8014ECBC 80123550 */ .word .LIQUE_80123550 +/* E5BA0 8014ECC0 80123550 */ .word .LIQUE_80123550 +/* E5BA4 8014ECC4 00000000 */ .word 0x00000000 + +.align 3 +glabel jtbl_IQUE_8014ECC8 +/* E5BA8 8014ECC8 80123618 */ .word .LIQUE_80123618 +/* E5BAC 8014ECCC 80123720 */ .word .LIQUE_80123720 +/* E5BB0 8014ECD0 80123720 */ .word .LIQUE_80123720 +/* E5BB4 8014ECD4 8012364C */ .word .LIQUE_8012364C +/* E5BB8 8014ECD8 8012364C */ .word .LIQUE_8012364C +/* E5BBC 8014ECDC 8012364C */ .word .LIQUE_8012364C +/* E5BC0 8014ECE0 8012364C */ .word .LIQUE_8012364C +/* E5BC4 8014ECE4 80123660 */ .word .LIQUE_80123660 +/* E5BC8 8014ECE8 80123720 */ .word .LIQUE_80123720 +/* E5BCC 8014ECEC 80123720 */ .word .LIQUE_80123720 +/* E5BD0 8014ECF0 80123720 */ .word .LIQUE_80123720 +/* E5BD4 8014ECF4 80123720 */ .word .LIQUE_80123720 +/* E5BD8 8014ECF8 80123720 */ .word .LIQUE_80123720 +/* E5BDC 8014ECFC 80123720 */ .word .LIQUE_80123720 +/* E5BE0 8014ED00 80123720 */ .word .LIQUE_80123720 +/* E5BE4 8014ED04 8012366C */ .word .LIQUE_8012366C + + +.section .text +/* Generated by spimdisasm 1.11.1 */ + +glabel msg_copy_to_print_buffer +/* B982C 8012294C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* B9830 80122950 AFB40030 */ sw $s4, 0x30($sp) +/* B9834 80122954 0080A02D */ daddu $s4, $a0, $zero +/* B9838 80122958 AFB50034 */ sw $s5, 0x34($sp) +/* B983C 8012295C 00A0A82D */ daddu $s5, $a1, $zero +/* B9840 80122960 26880468 */ addiu $t0, $s4, 0x468 +/* B9844 80122964 AFB7003C */ sw $s7, 0x3C($sp) +/* B9848 80122968 24170002 */ addiu $s7, $zero, 0x2 +/* B984C 8012296C AFBE0040 */ sw $fp, 0x40($sp) +/* B9850 80122970 30DE0001 */ andi $fp, $a2, 0x1 +/* B9854 80122974 AFB60038 */ sw $s6, 0x38($sp) +/* B9858 80122978 241600FF */ addiu $s6, $zero, 0xFF +/* B985C 8012297C AFBF0044 */ sw $ra, 0x44($sp) +/* B9860 80122980 AFB3002C */ sw $s3, 0x2C($sp) +/* B9864 80122984 AFB20028 */ sw $s2, 0x28($sp) +/* B9868 80122988 AFB10024 */ sw $s1, 0x24($sp) +/* B986C 8012298C AFB00020 */ sw $s0, 0x20($sp) +/* B9870 80122990 AFA80018 */ sw $t0, 0x18($sp) +/* B9874 80122994 96820004 */ lhu $v0, 0x4($s4) +/* B9878 80122998 9684000C */ lhu $a0, 0xC($s4) +/* B987C 8012299C 8E830000 */ lw $v1, 0x0($s4) +/* B9880 801229A0 24420010 */ addiu $v0, $v0, 0x10 +/* B9884 801229A4 02829021 */ addu $s2, $s4, $v0 +/* B9888 801229A8 00649821 */ addu $s3, $v1, $a0 +.LIQUE_801229AC: +/* B988C 801229AC 92650000 */ lbu $a1, 0x0($s3) +/* B9890 801229B0 26730001 */ addiu $s3, $s3, 0x1 +/* B9894 801229B4 92660000 */ lbu $a2, 0x0($s3) +/* B9898 801229B8 24A3FF10 */ addiu $v1, $a1, -0xF0 +/* B989C 801229BC 2C620010 */ sltiu $v0, $v1, 0x10 +/* B98A0 801229C0 104003CB */ beqz $v0, .LIQUE_801238F0 +/* B98A4 801229C4 00031080 */ sll $v0, $v1, 2 +/* B98A8 801229C8 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EB48) +/* B98AC 801229CC 00220821 */ addu $at, $at, $v0 +/* B98B0 801229D0 8C22EB48 */ lw $v0, %lo(jtbl_IQUE_8014EB48)($at) +/* B98B4 801229D4 00400008 */ jr $v0 +/* B98B8 801229D8 00000000 */ nop +.LIQUE_801229DC: +/* B98BC 801229DC 240200F0 */ addiu $v0, $zero, 0xF0 +/* B98C0 801229E0 A2420000 */ sb $v0, 0x0($s2) +/* B98C4 801229E4 C6800540 */ lwc1 $f0, 0x540($s4) +/* B98C8 801229E8 3C014F00 */ lui $at, (0x4F000000 >> 16) +/* B98CC 801229EC 44811000 */ mtc1 $at, $f2 +/* B98D0 801229F0 00000000 */ nop +/* B98D4 801229F4 4600103E */ c.le.s $f2, $f0 +/* B98D8 801229F8 00000000 */ nop +/* B98DC 801229FC 45010005 */ bc1t .LIQUE_80122A14 +/* B98E0 80122A00 26520001 */ addiu $s2, $s2, 0x1 +/* B98E4 80122A04 4600010D */ trunc.w.s $f4, $f0 +/* B98E8 80122A08 44032000 */ mfc1 $v1, $f4 +/* B98EC 80122A0C 08048A8B */ j .LIQUE_80122A2C +/* B98F0 80122A10 00000000 */ nop +.LIQUE_80122A14: +/* B98F4 80122A14 46020001 */ sub.s $f0, $f0, $f2 +/* B98F8 80122A18 3C028000 */ lui $v0, (0x80000000 >> 16) +/* B98FC 80122A1C 4600010D */ trunc.w.s $f4, $f0 +/* B9900 80122A20 44032000 */ mfc1 $v1, $f4 +/* B9904 80122A24 00000000 */ nop +/* B9908 80122A28 00621825 */ or $v1, $v1, $v0 +.LIQUE_80122A2C: +/* B990C 80122A2C 8FA80018 */ lw $t0, 0x18($sp) +/* B9910 80122A30 91020000 */ lbu $v0, 0x0($t0) +/* B9914 80122A34 00431021 */ addu $v0, $v0, $v1 +/* B9918 80122A38 08048E5B */ j .LIQUE_8012396C +/* B991C 80122A3C A1020000 */ sb $v0, 0x0($t0) +.LIQUE_80122A40: +/* B9920 80122A40 96830500 */ lhu $v1, 0x500($s4) +/* B9924 80122A44 24020005 */ addiu $v0, $zero, 0x5 +/* B9928 80122A48 A28204F8 */ sb $v0, 0x4F8($s4) +/* B992C 80122A4C 34630001 */ ori $v1, $v1, 0x1 +/* B9930 80122A50 3063FFFD */ andi $v1, $v1, 0xFFFD +/* B9934 80122A54 A6830500 */ sh $v1, 0x500($s4) +/* B9938 80122A58 8E8304FC */ lw $v1, 0x4FC($s4) +/* B993C 80122A5C 2402FF7F */ addiu $v0, $zero, -0x81 +/* B9940 80122A60 A280047C */ sb $zero, 0x47C($s4) +/* B9944 80122A64 A680047E */ sh $zero, 0x47E($s4) +/* B9948 80122A68 00621824 */ and $v1, $v1, $v0 +/* B994C 80122A6C 2402FEFF */ addiu $v0, $zero, -0x101 +/* B9950 80122A70 00621824 */ and $v1, $v1, $v0 +/* B9954 80122A74 AE8304FC */ sw $v1, 0x4FC($s4) +/* B9958 80122A78 92830508 */ lbu $v1, 0x508($s4) +/* B995C 80122A7C 2402000F */ addiu $v0, $zero, 0xF +/* B9960 80122A80 106203BA */ beq $v1, $v0, .LIQUE_8012396C +/* B9964 80122A84 240400CB */ addiu $a0, $zero, 0xCB +/* B9968 80122A88 0000282D */ daddu $a1, $zero, $zero +/* B996C 80122A8C 00A0302D */ daddu $a2, $a1, $zero +/* B9970 80122A90 0C052092 */ jal sfx_play_sound_with_params +/* B9974 80122A94 00A0382D */ daddu $a3, $a1, $zero +/* B9978 80122A98 08048E5B */ j .LIQUE_8012396C +/* B997C 80122A9C 00000000 */ nop +.LIQUE_80122AA0: +/* B9980 80122AA0 96820500 */ lhu $v0, 0x500($s4) +/* B9984 80122AA4 92630000 */ lbu $v1, 0x0($s3) +/* B9988 80122AA8 34420001 */ ori $v0, $v0, 0x1 +/* B998C 80122AAC A6820500 */ sh $v0, 0x500($s4) +/* B9990 80122AB0 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9994 80122AB4 26730001 */ addiu $s3, $s3, 0x1 +/* B9998 80122AB8 A683000E */ sh $v1, 0xE($s4) +/* B999C 80122ABC 2403FF7F */ addiu $v1, $zero, -0x81 +/* B99A0 80122AC0 08048E5A */ j .LIQUE_80123968 +/* B99A4 80122AC4 00431024 */ and $v0, $v0, $v1 +.LIQUE_80122AC8: +/* B99A8 80122AC8 24A200FE */ addiu $v0, $a1, 0xFE +/* B99AC 80122ACC A2420000 */ sb $v0, 0x0($s2) +/* B99B0 80122AD0 26520001 */ addiu $s2, $s2, 0x1 +/* B99B4 80122AD4 24A2000D */ addiu $v0, $a1, 0xD +/* B99B8 80122AD8 08048E5B */ j .LIQUE_8012396C +/* B99BC 80122ADC A2820455 */ sb $v0, 0x455($s4) +.LIQUE_80122AE0: +/* B99C0 80122AE0 08048E29 */ j .LIQUE_801238A4 +/* B99C4 80122AE4 240200F5 */ addiu $v0, $zero, 0xF5 +.LIQUE_80122AE8: +/* B99C8 80122AE8 08048E29 */ j .LIQUE_801238A4 +/* B99CC 80122AEC 240200F6 */ addiu $v0, $zero, 0xF6 +.LIQUE_80122AF0: +/* B99D0 80122AF0 08048E29 */ j .LIQUE_801238A4 +/* B99D4 80122AF4 240200F7 */ addiu $v0, $zero, 0xF7 +.LIQUE_80122AF8: +/* B99D8 80122AF8 240200F9 */ addiu $v0, $zero, 0xF9 +/* B99DC 80122AFC A2420000 */ sb $v0, 0x0($s2) +/* B99E0 80122B00 26520001 */ addiu $s2, $s2, 0x1 +/* B99E4 80122B04 08048E5B */ j .LIQUE_8012396C +/* B99E8 80122B08 26B5FFFF */ addiu $s5, $s5, -0x1 +.LIQUE_80122B0C: +/* B99EC 80122B0C 92820468 */ lbu $v0, 0x468($s4) +/* B99F0 80122B10 50400396 */ beql $v0, $zero, .LIQUE_8012396C +/* B99F4 80122B14 A2800468 */ sb $zero, 0x468($s4) +/* B99F8 80122B18 92820486 */ lbu $v0, 0x486($s4) +/* B99FC 80122B1C 96830462 */ lhu $v1, 0x462($s4) +/* B9A00 80122B20 00021040 */ sll $v0, $v0, 1 +/* B9A04 80122B24 02821021 */ addu $v0, $s4, $v0 +/* B9A08 80122B28 A4430488 */ sh $v1, 0x488($v0) +/* B9A0C 80122B2C 92820486 */ lbu $v0, 0x486($s4) +/* B9A10 80122B30 24420001 */ addiu $v0, $v0, 0x1 +/* B9A14 80122B34 A2820486 */ sb $v0, 0x486($s4) +/* B9A18 80122B38 240200FA */ addiu $v0, $zero, 0xFA +/* B9A1C 80122B3C A2420000 */ sb $v0, 0x0($s2) +/* B9A20 80122B40 26520001 */ addiu $s2, $s2, 0x1 +/* B9A24 80122B44 92820454 */ lbu $v0, 0x454($s4) +/* B9A28 80122B48 92830508 */ lbu $v1, 0x508($s4) +/* B9A2C 80122B4C 00021080 */ sll $v0, $v0, 2 +/* B9A30 80122B50 00031840 */ sll $v1, $v1, 1 +/* B9A34 80122B54 3C01802F */ lui $at, %hi(gMsgCharsets) +/* B9A38 80122B58 00220821 */ addu $at, $at, $v0 +/* B9A3C 80122B5C 8C22B5A8 */ lw $v0, %lo(gMsgCharsets)($at) +/* B9A40 80122B60 3C01802F */ lui $at, %hi(D_802EB644) +/* B9A44 80122B64 00230821 */ addu $at, $at, $v1 +/* B9A48 80122B68 8423B644 */ lh $v1, %lo(D_802EB644)($at) +/* B9A4C 80122B6C 90440003 */ lbu $a0, 0x3($v0) +/* B9A50 80122B70 24020006 */ addiu $v0, $zero, 0x6 +/* B9A54 80122B74 A28204F8 */ sb $v0, 0x4F8($s4) +/* B9A58 80122B78 92820468 */ lbu $v0, 0x468($s4) +/* B9A5C 80122B7C 00832021 */ addu $a0, $a0, $v1 +/* B9A60 80122B80 00820018 */ mult $a0, $v0 +/* B9A64 80122B84 96820500 */ lhu $v0, 0x500($s4) +/* B9A68 80122B88 96830462 */ lhu $v1, 0x462($s4) +/* B9A6C 80122B8C 34420001 */ ori $v0, $v0, 0x1 +/* B9A70 80122B90 A6820500 */ sh $v0, 0x500($s4) +/* B9A74 80122B94 00004012 */ mflo $t0 +/* B9A78 80122B98 00681821 */ addu $v1, $v1, $t0 +/* B9A7C 80122B9C A6830466 */ sh $v1, 0x466($s4) +/* B9A80 80122BA0 08048E5B */ j .LIQUE_8012396C +/* B9A84 80122BA4 A2800468 */ sb $zero, 0x468($s4) +.LIQUE_80122BA8: +/* B9A88 80122BA8 240200F8 */ addiu $v0, $zero, 0xF8 +/* B9A8C 80122BAC A2420000 */ sb $v0, 0x0($s2) +/* B9A90 80122BB0 26520001 */ addiu $s2, $s2, 0x1 +/* B9A94 80122BB4 92700000 */ lbu $s0, 0x0($s3) +/* B9A98 80122BB8 26730001 */ addiu $s3, $s3, 0x1 +/* B9A9C 80122BBC A2900508 */ sb $s0, 0x508($s4) +/* B9AA0 80122BC0 A2500000 */ sb $s0, 0x0($s2) +/* B9AA4 80122BC4 26520001 */ addiu $s2, $s2, 0x1 +/* B9AA8 80122BC8 320200FF */ andi $v0, $s0, 0xFF +/* B9AAC 80122BCC 2443FFFF */ addiu $v1, $v0, -0x1 +/* B9AB0 80122BD0 2C62000F */ sltiu $v0, $v1, 0xF +/* B9AB4 80122BD4 104000BD */ beqz $v0, .LIQUE_80122ECC +/* B9AB8 80122BD8 A2800509 */ sb $zero, 0x509($s4) +/* B9ABC 80122BDC 00031080 */ sll $v0, $v1, 2 +/* B9AC0 80122BE0 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EB88) +/* B9AC4 80122BE4 00220821 */ addu $at, $at, $v0 +/* B9AC8 80122BE8 8C22EB88 */ lw $v0, %lo(jtbl_IQUE_8014EB88)($at) +/* B9ACC 80122BEC 00400008 */ jr $v0 +/* B9AD0 80122BF0 00000000 */ nop +.LIQUE_80122BF4: +/* B9AD4 80122BF4 2602FFFF */ addiu $v0, $s0, -0x1 +/* B9AD8 80122BF8 2C420003 */ sltiu $v0, $v0, 0x3 +/* B9ADC 80122BFC 10400002 */ beqz $v0, .LIQUE_80122C08 +/* B9AE0 80122C00 24020003 */ addiu $v0, $zero, 0x3 +/* B9AE4 80122C04 A282053C */ sb $v0, 0x53C($s4) +.LIQUE_80122C08: +/* B9AE8 80122C08 3C040080 */ lui $a0, (0x800800 >> 16) +/* B9AEC 80122C0C 34840800 */ ori $a0, $a0, (0x800800 & 0xFFFF) +/* B9AF0 80122C10 96820500 */ lhu $v0, 0x500($s4) +/* B9AF4 80122C14 8E8304FC */ lw $v1, 0x4FC($s4) +/* B9AF8 80122C18 34420001 */ ori $v0, $v0, 0x1 +/* B9AFC 80122C1C 00642025 */ or $a0, $v1, $a0 +/* B9B00 80122C20 30C300FF */ andi $v1, $a2, 0xFF +/* B9B04 80122C24 A6820500 */ sh $v0, 0x500($s4) +/* B9B08 80122C28 240200C3 */ addiu $v0, $zero, 0xC3 +/* B9B0C 80122C2C 10620003 */ beq $v1, $v0, .LIQUE_80122C3C +/* B9B10 80122C30 AE8404FC */ sw $a0, 0x4FC($s4) +/* B9B14 80122C34 34820080 */ ori $v0, $a0, 0x80 +/* B9B18 80122C38 AE8204FC */ sw $v0, 0x4FC($s4) +.LIQUE_80122C3C: +/* B9B1C 80122C3C 24020011 */ addiu $v0, $zero, 0x11 +/* B9B20 80122C40 AE820520 */ sw $v0, 0x520($s4) +/* B9B24 80122C44 24020012 */ addiu $v0, $zero, 0x12 +/* B9B28 80122C48 AE820524 */ sw $v0, 0x524($s4) +/* B9B2C 80122C4C 08048BB3 */ j .LIQUE_80122ECC +/* B9B30 80122C50 A29704F8 */ sb $s7, 0x4F8($s4) +.LIQUE_80122C54: +/* B9B34 80122C54 92620000 */ lbu $v0, 0x0($s3) +/* B9B38 80122C58 26730001 */ addiu $s3, $s3, 0x1 +/* B9B3C 80122C5C A682045A */ sh $v0, 0x45A($s4) +/* B9B40 80122C60 92620000 */ lbu $v0, 0x0($s3) +/* B9B44 80122C64 26730001 */ addiu $s3, $s3, 0x1 +/* B9B48 80122C68 A682045C */ sh $v0, 0x45C($s4) +/* B9B4C 80122C6C 92620000 */ lbu $v0, 0x0($s3) +/* B9B50 80122C70 26730001 */ addiu $s3, $s3, 0x1 +/* B9B54 80122C74 A6820514 */ sh $v0, 0x514($s4) +/* B9B58 80122C78 92630000 */ lbu $v1, 0x0($s3) +/* B9B5C 80122C7C 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9B60 80122C80 26730001 */ addiu $s3, $s3, 0x1 +/* B9B64 80122C84 A29704F8 */ sb $s7, 0x4F8($s4) +/* B9B68 80122C88 34420800 */ ori $v0, $v0, 0x800 +/* B9B6C 80122C8C AE8204FC */ sw $v0, 0x4FC($s4) +/* B9B70 80122C90 08048BB3 */ j .LIQUE_80122ECC +/* B9B74 80122C94 A6830516 */ sh $v1, 0x516($s4) +.LIQUE_80122C98: +/* B9B78 80122C98 17C0008C */ bnez $fp, .LIQUE_80122ECC +/* B9B7C 80122C9C 24020014 */ addiu $v0, $zero, 0x14 +/* B9B80 80122CA0 A682045A */ sh $v0, 0x45A($s4) +/* B9B84 80122CA4 2402001C */ addiu $v0, $zero, 0x1C +/* B9B88 80122CA8 A682045C */ sh $v0, 0x45C($s4) +/* B9B8C 80122CAC 2402003A */ addiu $v0, $zero, 0x3A +/* B9B90 80122CB0 A6820516 */ sh $v0, 0x516($s4) +/* B9B94 80122CB4 24020118 */ addiu $v0, $zero, 0x118 +/* B9B98 80122CB8 A6820514 */ sh $v0, 0x514($s4) +/* B9B9C 80122CBC 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9BA0 80122CC0 96830500 */ lhu $v1, 0x500($s4) +/* B9BA4 80122CC4 A29704F8 */ sb $s7, 0x4F8($s4) +/* B9BA8 80122CC8 34420800 */ ori $v0, $v0, 0x800 +/* B9BAC 80122CCC 34630001 */ ori $v1, $v1, 0x1 +/* B9BB0 80122CD0 AE8204FC */ sw $v0, 0x4FC($s4) +/* B9BB4 80122CD4 24020006 */ addiu $v0, $zero, 0x6 +/* B9BB8 80122CD8 1602007C */ bne $s0, $v0, .LIQUE_80122ECC +/* B9BBC 80122CDC A6830500 */ sh $v1, 0x500($s4) +/* B9BC0 80122CE0 2404021C */ addiu $a0, $zero, 0x21C +/* B9BC4 80122CE4 0000282D */ daddu $a1, $zero, $zero +/* B9BC8 80122CE8 00A0302D */ daddu $a2, $a1, $zero +/* B9BCC 80122CEC 0C052092 */ jal sfx_play_sound_with_params +/* B9BD0 80122CF0 00A0382D */ daddu $a3, $a1, $zero +/* B9BD4 80122CF4 08048BB3 */ j .LIQUE_80122ECC +/* B9BD8 80122CF8 00000000 */ nop +.LIQUE_80122CFC: +/* B9BDC 80122CFC 92620000 */ lbu $v0, 0x0($s3) +/* B9BE0 80122D00 26730001 */ addiu $s3, $s3, 0x1 +/* B9BE4 80122D04 2404021C */ addiu $a0, $zero, 0x21C +/* B9BE8 80122D08 0000282D */ daddu $a1, $zero, $zero +/* B9BEC 80122D0C 00A0302D */ daddu $a2, $a1, $zero +/* B9BF0 80122D10 A682045A */ sh $v0, 0x45A($s4) +/* B9BF4 80122D14 92620000 */ lbu $v0, 0x0($s3) +/* B9BF8 80122D18 26730001 */ addiu $s3, $s3, 0x1 +/* B9BFC 80122D1C A682045C */ sh $v0, 0x45C($s4) +/* B9C00 80122D20 92620000 */ lbu $v0, 0x0($s3) +/* B9C04 80122D24 26730001 */ addiu $s3, $s3, 0x1 +/* B9C08 80122D28 A6820514 */ sh $v0, 0x514($s4) +/* B9C0C 80122D2C 92620000 */ lbu $v0, 0x0($s3) +/* B9C10 80122D30 00A0382D */ daddu $a3, $a1, $zero +/* B9C14 80122D34 0C052092 */ jal sfx_play_sound_with_params +/* B9C18 80122D38 A6820516 */ sh $v0, 0x516($s4) +/* B9C1C 80122D3C 96820500 */ lhu $v0, 0x500($s4) +/* B9C20 80122D40 8E8304FC */ lw $v1, 0x4FC($s4) +/* B9C24 80122D44 26730001 */ addiu $s3, $s3, 0x1 +/* B9C28 80122D48 A29704F8 */ sb $s7, 0x4F8($s4) +/* B9C2C 80122D4C 34420001 */ ori $v0, $v0, 0x1 +/* B9C30 80122D50 34630800 */ ori $v1, $v1, 0x800 +/* B9C34 80122D54 A6820500 */ sh $v0, 0x500($s4) +/* B9C38 80122D58 08048BB3 */ j .LIQUE_80122ECC +/* B9C3C 80122D5C AE8304FC */ sw $v1, 0x4FC($s4) +.LIQUE_80122D60: +/* B9C40 80122D60 92620000 */ lbu $v0, 0x0($s3) +/* B9C44 80122D64 26730001 */ addiu $s3, $s3, 0x1 +/* B9C48 80122D68 A6820516 */ sh $v0, 0x516($s4) +.LIQUE_80122D6C: +/* B9C4C 80122D6C 17C00057 */ bnez $fp, .LIQUE_80122ECC +/* B9C50 80122D70 00000000 */ nop +/* B9C54 80122D74 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9C58 80122D78 96830500 */ lhu $v1, 0x500($s4) +/* B9C5C 80122D7C A29704F8 */ sb $s7, 0x4F8($s4) +/* B9C60 80122D80 34420800 */ ori $v0, $v0, 0x800 +/* B9C64 80122D84 34630001 */ ori $v1, $v1, 0x1 +/* B9C68 80122D88 AE8204FC */ sw $v0, 0x4FC($s4) +/* B9C6C 80122D8C 08048BB3 */ j .LIQUE_80122ECC +/* B9C70 80122D90 A6830500 */ sh $v1, 0x500($s4) +.LIQUE_80122D94: +/* B9C74 80122D94 92700000 */ lbu $s0, 0x0($s3) +/* B9C78 80122D98 26730001 */ addiu $s3, $s3, 0x1 +/* B9C7C 80122D9C 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9C80 80122DA0 96830500 */ lhu $v1, 0x500($s4) +/* B9C84 80122DA4 24041EC3 */ addiu $a0, $zero, 0x1EC3 +/* B9C88 80122DA8 A29704F8 */ sb $s7, 0x4F8($s4) +/* B9C8C 80122DAC 34420800 */ ori $v0, $v0, 0x800 +/* B9C90 80122DB0 34630001 */ ori $v1, $v1, 0x1 +/* B9C94 80122DB4 AE8204FC */ sw $v0, 0x4FC($s4) +/* B9C98 80122DB8 0C00AA6D */ jal heap_malloc +/* B9C9C 80122DBC A6830500 */ sh $v1, 0x500($s4) +/* B9CA0 80122DC0 3C030005 */ lui $v1, %hi(charset_postcard_png) +/* B9CA4 80122DC4 24634FA8 */ addiu $v1, $v1, %lo(charset_postcard_png) +/* B9CA8 80122DC8 3C080011 */ lui $t0, %hi(charset_ROM_START) +/* B9CAC 80122DCC 2508E120 */ addiu $t0, $t0, %lo(charset_ROM_START) +/* B9CB0 80122DD0 01032021 */ addu $a0, $t0, $v1 +/* B9CB4 80122DD4 24851EC3 */ addiu $a1, $a0, 0x1EC3 +/* B9CB8 80122DD8 0040302D */ daddu $a2, $v0, $zero +/* B9CBC 80122DDC 0C00A503 */ jal dma_copy +/* B9CC0 80122DE0 AE860544 */ sw $a2, 0x544($s4) +/* B9CC4 80122DE4 0C00AA6D */ jal heap_malloc +/* B9CC8 80122DE8 24040020 */ addiu $a0, $zero, 0x20 +/* B9CCC 80122DEC 3C030005 */ lui $v1, %hi(charset_postcard_pal + 5) +/* B9CD0 80122DF0 24636E70 */ addiu $v1, $v1, %lo(charset_postcard_pal + 5) +/* B9CD4 80122DF4 3C080011 */ lui $t0, %hi(charset_ROM_START) +/* B9CD8 80122DF8 2508E120 */ addiu $t0, $t0, %lo(charset_ROM_START) +/* B9CDC 80122DFC 01032021 */ addu $a0, $t0, $v1 +/* B9CE0 80122E00 24850020 */ addiu $a1, $a0, 0x20 +/* B9CE4 80122E04 0040302D */ daddu $a2, $v0, $zero +/* B9CE8 80122E08 0C00A503 */ jal dma_copy +/* B9CEC 80122E0C AE860548 */ sw $a2, 0x548($s4) +/* B9CF0 80122E10 0C00AA6D */ jal heap_malloc +/* B9CF4 80122E14 240419FA */ addiu $a0, $zero, 0x19FA +/* B9CF8 80122E18 321000FF */ andi $s0, $s0, 0xFF +/* B9CFC 80122E1C 00108080 */ sll $s0, $s0, 2 +/* B9D00 80122E20 0040302D */ daddu $a2, $v0, $zero +/* B9D04 80122E24 AE82054C */ sw $v0, 0x54C($s4) +/* B9D08 80122E28 3C03802F */ lui $v1, %hi(D_802EB5C0) +/* B9D0C 80122E2C 00701821 */ addu $v1, $v1, $s0 +/* B9D10 80122E30 8C63B5C0 */ lw $v1, %lo(D_802EB5C0)($v1) +/* B9D14 80122E34 3C080011 */ lui $t0, %hi(charset_ROM_START) +/* B9D18 80122E38 2508E120 */ addiu $t0, $t0, %lo(charset_ROM_START) +/* B9D1C 80122E3C 00682021 */ addu $a0, $v1, $t0 +/* B9D20 80122E40 0C00A503 */ jal dma_copy +/* B9D24 80122E44 248519FA */ addiu $a1, $a0, 0x19FA +/* B9D28 80122E48 0C00AA6D */ jal heap_malloc +/* B9D2C 80122E4C 24040200 */ addiu $a0, $zero, 0x200 +/* B9D30 80122E50 0040302D */ daddu $a2, $v0, $zero +/* B9D34 80122E54 AE820550 */ sw $v0, 0x550($s4) +/* B9D38 80122E58 3C03802F */ lui $v1, %hi(D_802EB5F0) +/* B9D3C 80122E5C 00701821 */ addu $v1, $v1, $s0 +/* B9D40 80122E60 8C63B5F0 */ lw $v1, %lo(D_802EB5F0)($v1) +/* B9D44 80122E64 3C080011 */ lui $t0, %hi(charset_ROM_START) +/* B9D48 80122E68 2508E120 */ addiu $t0, $t0, %lo(charset_ROM_START) +/* B9D4C 80122E6C 00682021 */ addu $a0, $v1, $t0 +/* B9D50 80122E70 0C00A503 */ jal dma_copy +/* B9D54 80122E74 24850200 */ addiu $a1, $a0, 0x200 +/* B9D58 80122E78 08048BB3 */ j .LIQUE_80122ECC +/* B9D5C 80122E7C 00000000 */ nop +.LIQUE_80122E80: +/* B9D60 80122E80 24020028 */ addiu $v0, $zero, 0x28 +/* B9D64 80122E84 A6820516 */ sh $v0, 0x516($s4) +/* B9D68 80122E88 96820538 */ lhu $v0, 0x538($s4) +/* B9D6C 80122E8C 8E8304FC */ lw $v1, 0x4FC($s4) +/* B9D70 80122E90 24420020 */ addiu $v0, $v0, 0x20 +/* B9D74 80122E94 A6820514 */ sh $v0, 0x514($s4) +/* B9D78 80122E98 34628000 */ ori $v0, $v1, 0x8000 +/* B9D7C 80122E9C 17C0000B */ bnez $fp, .LIQUE_80122ECC +/* B9D80 80122EA0 AE8204FC */ sw $v0, 0x4FC($s4) +/* B9D84 80122EA4 34628800 */ ori $v0, $v1, 0x8800 +/* B9D88 80122EA8 96830500 */ lhu $v1, 0x500($s4) +/* B9D8C 80122EAC AE8204FC */ sw $v0, 0x4FC($s4) +/* B9D90 80122EB0 2402000D */ addiu $v0, $zero, 0xD +/* B9D94 80122EB4 A28204F8 */ sb $v0, 0x4F8($s4) +/* B9D98 80122EB8 34630001 */ ori $v1, $v1, 0x1 +/* B9D9C 80122EBC 08048BB3 */ j .LIQUE_80122ECC +/* B9DA0 80122EC0 A6830500 */ sh $v1, 0x500($s4) +.LIQUE_80122EC4: +/* B9DA4 80122EC4 24020004 */ addiu $v0, $zero, 0x4 +/* B9DA8 80122EC8 A28204F8 */ sb $v0, 0x4F8($s4) +.LIQUE_80122ECC: +/* B9DAC 80122ECC 96830500 */ lhu $v1, 0x500($s4) +/* B9DB0 80122ED0 30620001 */ andi $v0, $v1, 0x1 +/* B9DB4 80122ED4 104002A5 */ beqz $v0, .LIQUE_8012396C +/* B9DB8 80122ED8 30620006 */ andi $v0, $v1, 0x6 +/* B9DBC 80122EDC 08048CB9 */ j .LIQUE_801232E4 +/* B9DC0 80122EE0 00000000 */ nop +.LIQUE_80122EE4: +/* B9DC4 80122EE4 240200FB */ addiu $v0, $zero, 0xFB +/* B9DC8 80122EE8 A2420000 */ sb $v0, 0x0($s2) +/* B9DCC 80122EEC 8E8304FC */ lw $v1, 0x4FC($s4) +/* B9DD0 80122EF0 30620800 */ andi $v0, $v1, 0x800 +/* B9DD4 80122EF4 10400011 */ beqz $v0, .LIQUE_80122F3C +/* B9DD8 80122EF8 26520001 */ addiu $s2, $s2, 0x1 +/* B9DDC 80122EFC 30621000 */ andi $v0, $v1, 0x1000 +/* B9DE0 80122F00 10400005 */ beqz $v0, .LIQUE_80122F18 +/* B9DE4 80122F04 00000000 */ nop +/* B9DE8 80122F08 8E830504 */ lw $v1, 0x504($s4) +/* B9DEC 80122F0C 10600002 */ beqz $v1, .LIQUE_80122F18 +/* B9DF0 80122F10 24020001 */ addiu $v0, $zero, 0x1 +/* B9DF4 80122F14 AC620000 */ sw $v0, 0x0($v1) +.LIQUE_80122F18: +/* B9DF8 80122F18 92820508 */ lbu $v0, 0x508($s4) +/* B9DFC 80122F1C 2442FFF6 */ addiu $v0, $v0, -0xA +/* B9E00 80122F20 2C420002 */ sltiu $v0, $v0, 0x2 +/* B9E04 80122F24 14400002 */ bnez $v0, .LIQUE_80122F30 +/* B9E08 80122F28 2402000E */ addiu $v0, $zero, 0xE +/* B9E0C 80122F2C 24020003 */ addiu $v0, $zero, 0x3 +.LIQUE_80122F30: +/* B9E10 80122F30 A28204F8 */ sb $v0, 0x4F8($s4) +/* B9E14 80122F34 08048BD1 */ j .LIQUE_80122F44 +/* B9E18 80122F38 A2800512 */ sb $zero, 0x512($s4) +.LIQUE_80122F3C: +/* B9E1C 80122F3C 34620001 */ ori $v0, $v1, 0x1 +/* B9E20 80122F40 AE8204FC */ sw $v0, 0x4FC($s4) +.LIQUE_80122F44: +/* B9E24 80122F44 96820500 */ lhu $v0, 0x500($s4) +/* B9E28 80122F48 34420001 */ ori $v0, $v0, 0x1 +/* B9E2C 80122F4C 3042FFFD */ andi $v0, $v0, 0xFFFD +/* B9E30 80122F50 08048E5B */ j .LIQUE_8012396C +/* B9E34 80122F54 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_80122F58: +/* B9E38 80122F58 92630000 */ lbu $v1, 0x0($s3) +/* B9E3C 80122F5C 2C620030 */ sltiu $v0, $v1, 0x30 +/* B9E40 80122F60 10400282 */ beqz $v0, .LIQUE_8012396C +/* B9E44 80122F64 26730001 */ addiu $s3, $s3, 0x1 +/* B9E48 80122F68 00031080 */ sll $v0, $v1, 2 +/* B9E4C 80122F6C 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EBC8) +/* B9E50 80122F70 00220821 */ addu $at, $at, $v0 +/* B9E54 80122F74 8C22EBC8 */ lw $v0, %lo(jtbl_IQUE_8014EBC8)($at) +/* B9E58 80122F78 00400008 */ jr $v0 +/* B9E5C 80122F7C 00000000 */ nop +.LIQUE_80122F80: +/* B9E60 80122F80 A2560000 */ sb $s6, 0x0($s2) +/* B9E64 80122F84 26520001 */ addiu $s2, $s2, 0x1 +/* B9E68 80122F88 A2400000 */ sb $zero, 0x0($s2) +/* B9E6C 80122F8C 26520001 */ addiu $s2, $s2, 0x1 +/* B9E70 80122F90 92620000 */ lbu $v0, 0x0($s3) +/* B9E74 80122F94 26730001 */ addiu $s3, $s3, 0x1 +/* B9E78 80122F98 08048E29 */ j .LIQUE_801238A4 +/* B9E7C 80122F9C A2820454 */ sb $v0, 0x454($s4) +.LIQUE_80122FA0: +/* B9E80 80122FA0 A2560000 */ sb $s6, 0x0($s2) +/* B9E84 80122FA4 26520001 */ addiu $s2, $s2, 0x1 +/* B9E88 80122FA8 24020001 */ addiu $v0, $zero, 0x1 +/* B9E8C 80122FAC A2420000 */ sb $v0, 0x0($s2) +/* B9E90 80122FB0 26520001 */ addiu $s2, $s2, 0x1 +/* B9E94 80122FB4 92620000 */ lbu $v0, 0x0($s3) +/* B9E98 80122FB8 26730001 */ addiu $s3, $s3, 0x1 +/* B9E9C 80122FBC 08048E29 */ j .LIQUE_801238A4 +/* B9EA0 80122FC0 A2820455 */ sb $v0, 0x455($s4) +.LIQUE_80122FC4: +/* B9EA4 80122FC4 A2560000 */ sb $s6, 0x0($s2) +/* B9EA8 80122FC8 26520001 */ addiu $s2, $s2, 0x1 +/* B9EAC 80122FCC 08048E25 */ j .LIQUE_80123894 +/* B9EB0 80122FD0 24020004 */ addiu $v0, $zero, 0x4 +.LIQUE_80122FD4: +/* B9EB4 80122FD4 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9EB8 80122FD8 08048E5A */ j .LIQUE_80123968 +/* B9EBC 80122FDC 34420010 */ ori $v0, $v0, 0x10 +.LIQUE_80122FE0: +/* B9EC0 80122FE0 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9EC4 80122FE4 2403FEFF */ addiu $v1, $zero, -0x101 +/* B9EC8 80122FE8 34420020 */ ori $v0, $v0, 0x20 +/* B9ECC 80122FEC 08048E5A */ j .LIQUE_80123968 +/* B9ED0 80122FF0 00431024 */ and $v0, $v0, $v1 +.LIQUE_80122FF4: +/* B9ED4 80122FF4 8E8204FC */ lw $v0, 0x4FC($s4) +/* B9ED8 80122FF8 2403FFDF */ addiu $v1, $zero, -0x21 +/* B9EDC 80122FFC 08048E5A */ j .LIQUE_80123968 +/* B9EE0 80123000 00431024 */ and $v0, $v0, $v1 +.LIQUE_80123004: +/* B9EE4 80123004 A2560000 */ sb $s6, 0x0($s2) +/* B9EE8 80123008 26520001 */ addiu $s2, $s2, 0x1 +/* B9EEC 8012300C 08048E25 */ j .LIQUE_80123894 +/* B9EF0 80123010 24020005 */ addiu $v0, $zero, 0x5 +.LIQUE_80123014: +/* B9EF4 80123014 96820500 */ lhu $v0, 0x500($s4) +/* B9EF8 80123018 34420002 */ ori $v0, $v0, 0x2 +/* B9EFC 8012301C 08048E5B */ j .LIQUE_8012396C +/* B9F00 80123020 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_80123024: +/* B9F04 80123024 96820500 */ lhu $v0, 0x500($s4) +/* B9F08 80123028 08048CF1 */ j .LIQUE_801233C4 +/* B9F0C 8012302C 3042FFFD */ andi $v0, $v0, 0xFFFD +.LIQUE_80123030: +/* B9F10 80123030 92820486 */ lbu $v0, 0x486($s4) +/* B9F14 80123034 96830462 */ lhu $v1, 0x462($s4) +/* B9F18 80123038 00021040 */ sll $v0, $v0, 1 +/* B9F1C 8012303C 02821021 */ addu $v0, $s4, $v0 +/* B9F20 80123040 A4430488 */ sh $v1, 0x488($v0) +/* B9F24 80123044 92820486 */ lbu $v0, 0x486($s4) +/* B9F28 80123048 24420001 */ addiu $v0, $v0, 0x1 +/* B9F2C 8012304C A2820486 */ sb $v0, 0x486($s4) +/* B9F30 80123050 240200FA */ addiu $v0, $zero, 0xFA +/* B9F34 80123054 A2420000 */ sb $v0, 0x0($s2) +/* B9F38 80123058 26520001 */ addiu $s2, $s2, 0x1 +/* B9F3C 8012305C 92700000 */ lbu $s0, 0x0($s3) +/* B9F40 80123060 26730001 */ addiu $s3, $s3, 0x1 +/* B9F44 80123064 92820454 */ lbu $v0, 0x454($s4) +/* B9F48 80123068 92830508 */ lbu $v1, 0x508($s4) +/* B9F4C 8012306C 00021080 */ sll $v0, $v0, 2 +/* B9F50 80123070 00031840 */ sll $v1, $v1, 1 +/* B9F54 80123074 3C01802F */ lui $at, %hi(gMsgCharsets) +/* B9F58 80123078 00220821 */ addu $at, $at, $v0 +/* B9F5C 8012307C 8C22B5A8 */ lw $v0, %lo(gMsgCharsets)($at) +/* B9F60 80123080 3C01802F */ lui $at, %hi(D_802EB644) +/* B9F64 80123084 00230821 */ addu $at, $at, $v1 +/* B9F68 80123088 8423B644 */ lh $v1, %lo(D_802EB644)($at) +/* B9F6C 8012308C 90440003 */ lbu $a0, 0x3($v0) +/* B9F70 80123090 24020006 */ addiu $v0, $zero, 0x6 +/* B9F74 80123094 A28204F8 */ sb $v0, 0x4F8($s4) +/* B9F78 80123098 96820500 */ lhu $v0, 0x500($s4) +/* B9F7C 8012309C 00832021 */ addu $a0, $a0, $v1 +/* B9F80 801230A0 02040018 */ mult $s0, $a0 +/* B9F84 801230A4 A2800468 */ sb $zero, 0x468($s4) +/* B9F88 801230A8 96830462 */ lhu $v1, 0x462($s4) +/* B9F8C 801230AC 34420001 */ ori $v0, $v0, 0x1 +/* B9F90 801230B0 A6820500 */ sh $v0, 0x500($s4) +/* B9F94 801230B4 00004012 */ mflo $t0 +/* B9F98 801230B8 00681821 */ addu $v1, $v1, $t0 +/* B9F9C 801230BC 08048E5B */ j .LIQUE_8012396C +/* B9FA0 801230C0 A6830466 */ sh $v1, 0x466($s4) +.LIQUE_801230C4: +/* B9FA4 801230C4 92620000 */ lbu $v0, 0x0($s3) +/* B9FA8 801230C8 26730001 */ addiu $s3, $s3, 0x1 +/* B9FAC 801230CC A282045E */ sb $v0, 0x45E($s4) +/* B9FB0 801230D0 92620000 */ lbu $v0, 0x0($s3) +/* B9FB4 801230D4 26730001 */ addiu $s3, $s3, 0x1 +/* B9FB8 801230D8 08048E5B */ j .LIQUE_8012396C +/* B9FBC 801230DC A282045F */ sb $v0, 0x45F($s4) +.LIQUE_801230E0: +/* B9FC0 801230E0 A2560000 */ sb $s6, 0x0($s2) +/* B9FC4 801230E4 26520001 */ addiu $s2, $s2, 0x1 +/* B9FC8 801230E8 24020008 */ addiu $v0, $zero, 0x8 +/* B9FCC 801230EC A2420000 */ sb $v0, 0x0($s2) +/* B9FD0 801230F0 26520001 */ addiu $s2, $s2, 0x1 +/* B9FD4 801230F4 92620000 */ lbu $v0, 0x0($s3) +/* B9FD8 801230F8 08048E25 */ j .LIQUE_80123894 +/* B9FDC 801230FC 26730001 */ addiu $s3, $s3, 0x1 +.LIQUE_80123100: +/* B9FE0 80123100 A2560000 */ sb $s6, 0x0($s2) +/* B9FE4 80123104 26520001 */ addiu $s2, $s2, 0x1 +/* B9FE8 80123108 08048E25 */ j .LIQUE_80123894 +/* B9FEC 8012310C 24020009 */ addiu $v0, $zero, 0x9 +.LIQUE_80123110: +/* B9FF0 80123110 A2560000 */ sb $s6, 0x0($s2) +/* B9FF4 80123114 26520001 */ addiu $s2, $s2, 0x1 +/* B9FF8 80123118 08048E25 */ j .LIQUE_80123894 +/* B9FFC 8012311C 2402000A */ addiu $v0, $zero, 0xA +.LIQUE_80123120: +/* BA000 80123120 A2560000 */ sb $s6, 0x0($s2) +/* BA004 80123124 26520001 */ addiu $s2, $s2, 0x1 +/* BA008 80123128 08048E25 */ j .LIQUE_80123894 +/* BA00C 8012312C 2402000B */ addiu $v0, $zero, 0xB +.LIQUE_80123130: +/* BA010 80123130 A2560000 */ sb $s6, 0x0($s2) +/* BA014 80123134 26520001 */ addiu $s2, $s2, 0x1 +/* BA018 80123138 08048E25 */ j .LIQUE_80123894 +/* BA01C 8012313C 2402000C */ addiu $v0, $zero, 0xC +.LIQUE_80123140: +/* BA020 80123140 A2560000 */ sb $s6, 0x0($s2) +/* BA024 80123144 26520001 */ addiu $s2, $s2, 0x1 +/* BA028 80123148 2402000E */ addiu $v0, $zero, 0xE +/* BA02C 8012314C A2420000 */ sb $v0, 0x0($s2) +/* BA030 80123150 26520001 */ addiu $s2, $s2, 0x1 +/* BA034 80123154 92620000 */ lbu $v0, 0x0($s3) +/* BA038 80123158 26730001 */ addiu $s3, $s3, 0x1 +/* BA03C 8012315C 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA040 80123160 A2420000 */ sb $v0, 0x0($s2) +/* BA044 80123164 9282045E */ lbu $v0, 0x45E($s4) +/* BA048 80123168 26520001 */ addiu $s2, $s2, 0x1 +/* BA04C 8012316C 08048CB2 */ j .LIQUE_801232C8 +/* BA050 80123170 A682000E */ sh $v0, 0xE($s4) +.LIQUE_80123174: +/* BA054 80123174 A2560000 */ sb $s6, 0x0($s2) +/* BA058 80123178 26520001 */ addiu $s2, $s2, 0x1 +/* BA05C 8012317C 2402000F */ addiu $v0, $zero, 0xF +/* BA060 80123180 A2420000 */ sb $v0, 0x0($s2) +/* BA064 80123184 26520001 */ addiu $s2, $s2, 0x1 +/* BA068 80123188 92620000 */ lbu $v0, 0x0($s3) +/* BA06C 8012318C 26730001 */ addiu $s3, $s3, 0x1 +/* BA070 80123190 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA074 80123194 A2420000 */ sb $v0, 0x0($s2) +/* BA078 80123198 26520001 */ addiu $s2, $s2, 0x1 +/* BA07C 8012319C 92620000 */ lbu $v0, 0x0($s3) +/* BA080 801231A0 26730001 */ addiu $s3, $s3, 0x1 +/* BA084 801231A4 A2420000 */ sb $v0, 0x0($s2) +/* BA088 801231A8 26520001 */ addiu $s2, $s2, 0x1 +/* BA08C 801231AC 92620000 */ lbu $v0, 0x0($s3) +/* BA090 801231B0 26730001 */ addiu $s3, $s3, 0x1 +/* BA094 801231B4 A2420000 */ sb $v0, 0x0($s2) +/* BA098 801231B8 9282045E */ lbu $v0, 0x45E($s4) +/* BA09C 801231BC 26520001 */ addiu $s2, $s2, 0x1 +/* BA0A0 801231C0 08048CB2 */ j .LIQUE_801232C8 +/* BA0A4 801231C4 A682000E */ sh $v0, 0xE($s4) +.LIQUE_801231C8: +/* BA0A8 801231C8 A2560000 */ sb $s6, 0x0($s2) +/* BA0AC 801231CC 26520001 */ addiu $s2, $s2, 0x1 +/* BA0B0 801231D0 24020010 */ addiu $v0, $zero, 0x10 +/* BA0B4 801231D4 A2420000 */ sb $v0, 0x0($s2) +/* BA0B8 801231D8 26520001 */ addiu $s2, $s2, 0x1 +/* BA0BC 801231DC 92700000 */ lbu $s0, 0x0($s3) +/* BA0C0 801231E0 26730001 */ addiu $s3, $s3, 0x1 +/* BA0C4 801231E4 92650000 */ lbu $a1, 0x0($s3) +/* BA0C8 801231E8 26730001 */ addiu $s3, $s3, 0x1 +/* BA0CC 801231EC 3C068016 */ lui $a2, %hi(D_80159B50) +/* BA0D0 801231F0 24C6BED0 */ addiu $a2, $a2, %lo(D_80159B50) +/* BA0D4 801231F4 3C110021 */ lui $s1, %hi(icon_present_ROM_START) +/* BA0D8 801231F8 26315390 */ addiu $s1, $s1, %lo(icon_present_ROM_START) +/* BA0DC 801231FC 3C018015 */ lui $at, %hi(D_8015131C) +/* BA0E0 80123200 AC26FAAC */ sw $a2, %lo(D_8015131C)($at) +/* BA0E4 80123204 00108200 */ sll $s0, $s0, 8 +/* BA0E8 80123208 00B08025 */ or $s0, $a1, $s0 +/* BA0EC 8012320C 00108400 */ sll $s0, $s0, 16 +/* BA0F0 80123210 00108383 */ sra $s0, $s0, 14 +/* BA0F4 80123214 3C028009 */ lui $v0, %hi(gItemIconRasterOffsets) +/* BA0F8 80123218 00501021 */ addu $v0, $v0, $s0 +/* BA0FC 8012321C 8C42D038 */ lw $v0, %lo(gItemIconRasterOffsets)($v0) +/* BA100 80123220 26250200 */ addiu $a1, $s1, 0x200 +/* BA104 80123224 00512021 */ addu $a0, $v0, $s1 +/* BA108 80123228 0C00A503 */ jal dma_copy +/* BA10C 8012322C 00452821 */ addu $a1, $v0, $a1 +/* BA110 80123230 3C058009 */ lui $a1, %hi(gItemIconPaletteOffsets) +/* BA114 80123234 00B02821 */ addu $a1, $a1, $s0 +/* BA118 80123238 8CA5D5AC */ lw $a1, %lo(gItemIconPaletteOffsets)($a1) +/* BA11C 8012323C 3C068016 */ lui $a2, %hi(D_8015C7E0) +/* BA120 80123240 24C6EB60 */ addiu $a2, $a2, %lo(D_8015C7E0) +/* BA124 80123244 00B12021 */ addu $a0, $a1, $s1 +/* BA128 80123248 26310020 */ addiu $s1, $s1, 0x20 +/* BA12C 8012324C 0C00A503 */ jal dma_copy +/* BA130 80123250 00B12821 */ addu $a1, $a1, $s1 +/* BA134 80123254 9282045E */ lbu $v0, 0x45E($s4) +/* BA138 80123258 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA13C 8012325C 08048CB2 */ j .LIQUE_801232C8 +/* BA140 80123260 A682000E */ sh $v0, 0xE($s4) +.LIQUE_80123264: +/* BA144 80123264 92620000 */ lbu $v0, 0x0($s3) +/* BA148 80123268 26730001 */ addiu $s3, $s3, 0x1 +/* BA14C 8012326C 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA150 80123270 A282052B */ sb $v0, 0x52B($s4) +/* BA154 80123274 92700000 */ lbu $s0, 0x0($s3) +/* BA158 80123278 26730001 */ addiu $s3, $s3, 0x1 +/* BA15C 8012327C 92650000 */ lbu $a1, 0x0($s3) +/* BA160 80123280 26730001 */ addiu $s3, $s3, 0x1 +/* BA164 80123284 00101200 */ sll $v0, $s0, 8 +/* BA168 80123288 00A21025 */ or $v0, $a1, $v0 +/* BA16C 8012328C A682052C */ sh $v0, 0x52C($s4) +/* BA170 80123290 92620000 */ lbu $v0, 0x0($s3) +/* BA174 80123294 26730001 */ addiu $s3, $s3, 0x1 +/* BA178 80123298 A682052E */ sh $v0, 0x52E($s4) +/* BA17C 8012329C 92620000 */ lbu $v0, 0x0($s3) +/* BA180 801232A0 26730001 */ addiu $s3, $s3, 0x1 +/* BA184 801232A4 A2820530 */ sb $v0, 0x530($s4) +/* BA188 801232A8 92620000 */ lbu $v0, 0x0($s3) +/* BA18C 801232AC 26730001 */ addiu $s3, $s3, 0x1 +/* BA190 801232B0 A2820531 */ sb $v0, 0x531($s4) +/* BA194 801232B4 92620000 */ lbu $v0, 0x0($s3) +/* BA198 801232B8 26730001 */ addiu $s3, $s3, 0x1 +/* BA19C 801232BC A2800533 */ sb $zero, 0x533($s4) +/* BA1A0 801232C0 A6800534 */ sh $zero, 0x534($s4) +/* BA1A4 801232C4 A2820532 */ sb $v0, 0x532($s4) +.LIQUE_801232C8: +/* BA1A8 801232C8 1EA00004 */ bgtz $s5, .LIQUE_801232DC +/* BA1AC 801232CC 00000000 */ nop +/* BA1B0 801232D0 96820500 */ lhu $v0, 0x500($s4) +/* BA1B4 801232D4 34420001 */ ori $v0, $v0, 0x1 +/* BA1B8 801232D8 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_801232DC: +/* BA1BC 801232DC 96830500 */ lhu $v1, 0x500($s4) +/* BA1C0 801232E0 30620006 */ andi $v0, $v1, 0x6 +.LIQUE_801232E4: +/* BA1C4 801232E4 104001A5 */ beqz $v0, .LIQUE_8012397C +/* BA1C8 801232E8 3062FFFE */ andi $v0, $v1, 0xFFFE +/* BA1CC 801232EC 08048E5B */ j .LIQUE_8012396C +/* BA1D0 801232F0 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_801232F4: +/* BA1D4 801232F4 92700000 */ lbu $s0, 0x0($s3) +/* BA1D8 801232F8 12000005 */ beqz $s0, .LIQUE_80123310 +/* BA1DC 801232FC 26730001 */ addiu $s3, $s3, 0x1 +/* BA1E0 80123300 A2970533 */ sb $s7, 0x533($s4) +/* BA1E4 80123304 A2900532 */ sb $s0, 0x532($s4) +/* BA1E8 80123308 08048E5B */ j .LIQUE_8012396C +/* BA1EC 8012330C A6800534 */ sh $zero, 0x534($s4) +.LIQUE_80123310: +/* BA1F0 80123310 08048E5B */ j .LIQUE_8012396C +/* BA1F4 80123314 A680052C */ sh $zero, 0x52C($s4) +.LIQUE_80123318: +/* BA1F8 80123318 A2560000 */ sb $s6, 0x0($s2) +/* BA1FC 8012331C 26520001 */ addiu $s2, $s2, 0x1 +/* BA200 80123320 24020011 */ addiu $v0, $zero, 0x11 +/* BA204 80123324 A2420000 */ sb $v0, 0x0($s2) +/* BA208 80123328 26520001 */ addiu $s2, $s2, 0x1 +/* BA20C 8012332C 92620000 */ lbu $v0, 0x0($s3) +/* BA210 80123330 26730001 */ addiu $s3, $s3, 0x1 +/* BA214 80123334 A2420000 */ sb $v0, 0x0($s2) +/* BA218 80123338 26520001 */ addiu $s2, $s2, 0x1 +/* BA21C 8012333C 92620000 */ lbu $v0, 0x0($s3) +/* BA220 80123340 26730001 */ addiu $s3, $s3, 0x1 +/* BA224 80123344 A2420000 */ sb $v0, 0x0($s2) +/* BA228 80123348 26520001 */ addiu $s2, $s2, 0x1 +/* BA22C 8012334C 92620000 */ lbu $v0, 0x0($s3) +/* BA230 80123350 26730001 */ addiu $s3, $s3, 0x1 +/* BA234 80123354 A2420000 */ sb $v0, 0x0($s2) +/* BA238 80123358 96820500 */ lhu $v0, 0x500($s4) +/* BA23C 8012335C 26520001 */ addiu $s2, $s2, 0x1 +/* BA240 80123360 34420004 */ ori $v0, $v0, 0x4 +/* BA244 80123364 08048E5B */ j .LIQUE_8012396C +/* BA248 80123368 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_8012336C: +/* BA24C 8012336C A2560000 */ sb $s6, 0x0($s2) +/* BA250 80123370 26520001 */ addiu $s2, $s2, 0x1 +/* BA254 80123374 24020012 */ addiu $v0, $zero, 0x12 +/* BA258 80123378 A2420000 */ sb $v0, 0x0($s2) +/* BA25C 8012337C 26520001 */ addiu $s2, $s2, 0x1 +/* BA260 80123380 92620000 */ lbu $v0, 0x0($s3) +/* BA264 80123384 08048E25 */ j .LIQUE_80123894 +/* BA268 80123388 26730001 */ addiu $s3, $s3, 0x1 +.LIQUE_8012338C: +/* BA26C 8012338C A2560000 */ sb $s6, 0x0($s2) +/* BA270 80123390 26520001 */ addiu $s2, $s2, 0x1 +/* BA274 80123394 24020013 */ addiu $v0, $zero, 0x13 +/* BA278 80123398 A2420000 */ sb $v0, 0x0($s2) +/* BA27C 8012339C 26520001 */ addiu $s2, $s2, 0x1 +/* BA280 801233A0 92620000 */ lbu $v0, 0x0($s3) +/* BA284 801233A4 26730001 */ addiu $s3, $s3, 0x1 +/* BA288 801233A8 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA28C 801233AC A2420000 */ sb $v0, 0x0($s2) +/* BA290 801233B0 96820500 */ lhu $v0, 0x500($s4) +/* BA294 801233B4 26520001 */ addiu $s2, $s2, 0x1 +/* BA298 801233B8 3042FFFB */ andi $v0, $v0, 0xFFFB +/* BA29C 801233BC 1EA0016B */ bgtz $s5, .LIQUE_8012396C +/* BA2A0 801233C0 A6820500 */ sh $v0, 0x500($s4) +.LIQUE_801233C4: +/* BA2A4 801233C4 34420001 */ ori $v0, $v0, 0x1 +/* BA2A8 801233C8 08048E5B */ j .LIQUE_8012396C +/* BA2AC 801233CC A6820500 */ sh $v0, 0x500($s4) +.LIQUE_801233D0: +/* BA2B0 801233D0 92700000 */ lbu $s0, 0x0($s3) +/* BA2B4 801233D4 26730001 */ addiu $s3, $s3, 0x1 +/* BA2B8 801233D8 92650000 */ lbu $a1, 0x0($s3) +/* BA2BC 801233DC 26730001 */ addiu $s3, $s3, 0x1 +/* BA2C0 801233E0 92640000 */ lbu $a0, 0x0($s3) +/* BA2C4 801233E4 26730001 */ addiu $s3, $s3, 0x1 +/* BA2C8 801233E8 92660000 */ lbu $a2, 0x0($s3) +/* BA2CC 801233EC 26730001 */ addiu $s3, $s3, 0x1 +/* BA2D0 801233F0 00101040 */ sll $v0, $s0, 1 +/* BA2D4 801233F4 02821021 */ addu $v0, $s4, $v0 +/* BA2D8 801233F8 00051A00 */ sll $v1, $a1, 8 +/* BA2DC 801233FC 00831825 */ or $v1, $a0, $v1 +/* BA2E0 80123400 A44304D0 */ sh $v1, 0x4D0($v0) +/* BA2E4 80123404 30C300FF */ andi $v1, $a2, 0xFF +/* BA2E8 80123408 08048E5B */ j .LIQUE_8012396C +/* BA2EC 8012340C A44304DC */ sh $v1, 0x4DC($v0) +.LIQUE_80123410: +/* BA2F0 80123410 A2560000 */ sb $s6, 0x0($s2) +/* BA2F4 80123414 26520001 */ addiu $s2, $s2, 0x1 +/* BA2F8 80123418 08048E25 */ j .LIQUE_80123894 +/* BA2FC 8012341C 24020014 */ addiu $v0, $zero, 0x14 +.LIQUE_80123420: +/* BA300 80123420 24040009 */ addiu $a0, $zero, 0x9 +/* BA304 80123424 0000282D */ daddu $a1, $zero, $zero +/* BA308 80123428 00A0302D */ daddu $a2, $a1, $zero +/* BA30C 8012342C 0C052092 */ jal sfx_play_sound_with_params +/* BA310 80123430 00A0382D */ daddu $a3, $a1, $zero +/* BA314 80123434 92640000 */ lbu $a0, 0x0($s3) +/* BA318 80123438 26730001 */ addiu $s3, $s3, 0x1 +/* BA31C 8012343C 96830500 */ lhu $v1, 0x500($s4) +/* BA320 80123440 24020007 */ addiu $v0, $zero, 0x7 +/* BA324 80123444 A28004E9 */ sb $zero, 0x4E9($s4) +/* BA328 80123448 A28004E8 */ sb $zero, 0x4E8($s4) +/* BA32C 8012344C A28004EE */ sb $zero, 0x4EE($s4) +/* BA330 80123450 A28204F8 */ sb $v0, 0x4F8($s4) +/* BA334 80123454 34630001 */ ori $v1, $v1, 0x1 +/* BA338 80123458 A28404CE */ sb $a0, 0x4CE($s4) +/* BA33C 8012345C 08048E5B */ j .LIQUE_8012396C +/* BA340 80123460 A6830500 */ sh $v1, 0x500($s4) +.LIQUE_80123464: +/* BA344 80123464 92620000 */ lbu $v0, 0x0($s3) +/* BA348 80123468 26730001 */ addiu $s3, $s3, 0x1 +/* BA34C 8012346C 08048E5B */ j .LIQUE_8012396C +/* BA350 80123470 A28204EA */ sb $v0, 0x4EA($s4) +.LIQUE_80123474: +/* BA354 80123474 A2560000 */ sb $s6, 0x0($s2) +/* BA358 80123478 26520001 */ addiu $s2, $s2, 0x1 +/* BA35C 8012347C 08048E25 */ j .LIQUE_80123894 +/* BA360 80123480 24020015 */ addiu $v0, $zero, 0x15 +.LIQUE_80123484: +/* BA364 80123484 A2560000 */ sb $s6, 0x0($s2) +/* BA368 80123488 26520001 */ addiu $s2, $s2, 0x1 +/* BA36C 8012348C 08048E29 */ j .LIQUE_801238A4 +/* BA370 80123490 24020017 */ addiu $v0, $zero, 0x17 +.LIQUE_80123494: +/* BA374 80123494 3C040010 */ lui $a0, (0x100040 >> 16) +/* BA378 80123498 34840040 */ ori $a0, $a0, (0x100040 & 0xFFFF) +/* BA37C 8012349C 8E8204FC */ lw $v0, 0x4FC($s4) +/* BA380 801234A0 96830500 */ lhu $v1, 0x500($s4) +/* BA384 801234A4 00441025 */ or $v0, $v0, $a0 +/* BA388 801234A8 34630001 */ ori $v1, $v1, 0x1 +/* BA38C 801234AC AE8204FC */ sw $v0, 0x4FC($s4) +/* BA390 801234B0 A6830500 */ sh $v1, 0x500($s4) +/* BA394 801234B4 0040182D */ daddu $v1, $v0, $zero +/* BA398 801234B8 2402FF7F */ addiu $v0, $zero, -0x81 +/* BA39C 801234BC 00621824 */ and $v1, $v1, $v0 +/* BA3A0 801234C0 2402FEFF */ addiu $v0, $zero, -0x101 +/* BA3A4 801234C4 00621824 */ and $v1, $v1, $v0 +/* BA3A8 801234C8 08048E5B */ j .LIQUE_8012396C +/* BA3AC 801234CC AE8304FC */ sw $v1, 0x4FC($s4) +.LIQUE_801234D0: +/* BA3B0 801234D0 A2560000 */ sb $s6, 0x0($s2) +/* BA3B4 801234D4 26520001 */ addiu $s2, $s2, 0x1 +/* BA3B8 801234D8 08048E29 */ j .LIQUE_801238A4 +/* BA3BC 801234DC 24020018 */ addiu $v0, $zero, 0x18 +.LIQUE_801234E0: +/* BA3C0 801234E0 A2560000 */ sb $s6, 0x0($s2) +/* BA3C4 801234E4 26520001 */ addiu $s2, $s2, 0x1 +/* BA3C8 801234E8 08048E29 */ j .LIQUE_801238A4 +/* BA3CC 801234EC 24020019 */ addiu $v0, $zero, 0x19 +.LIQUE_801234F0: +/* BA3D0 801234F0 A2560000 */ sb $s6, 0x0($s2) +/* BA3D4 801234F4 26520001 */ addiu $s2, $s2, 0x1 +/* BA3D8 801234F8 08048E29 */ j .LIQUE_801238A4 +/* BA3DC 801234FC 2402001A */ addiu $v0, $zero, 0x1A +.LIQUE_80123500: +/* BA3E0 80123500 A2560000 */ sb $s6, 0x0($s2) +/* BA3E4 80123504 26520001 */ addiu $s2, $s2, 0x1 +/* BA3E8 80123508 08048E29 */ j .LIQUE_801238A4 +/* BA3EC 8012350C 2402001B */ addiu $v0, $zero, 0x1B +.LIQUE_80123510: +/* BA3F0 80123510 A2560000 */ sb $s6, 0x0($s2) +/* BA3F4 80123514 26520001 */ addiu $s2, $s2, 0x1 +/* BA3F8 80123518 2402001C */ addiu $v0, $zero, 0x1C +/* BA3FC 8012351C A2420000 */ sb $v0, 0x0($s2) +/* BA400 80123520 26520001 */ addiu $s2, $s2, 0x1 +/* BA404 80123524 92700000 */ lbu $s0, 0x0($s3) +/* BA408 80123528 320300FF */ andi $v1, $s0, 0xFF +/* BA40C 8012352C 2C62000F */ sltiu $v0, $v1, 0xF +/* BA410 80123530 1040010E */ beqz $v0, .LIQUE_8012396C +/* BA414 80123534 26730001 */ addiu $s3, $s3, 0x1 +/* BA418 80123538 00031080 */ sll $v0, $v1, 2 +/* BA41C 8012353C 3C018015 */ lui $at, %hi(jtbl_IQUE_8014EC88) +/* BA420 80123540 00220821 */ addu $at, $at, $v0 +/* BA424 80123544 8C22EC88 */ lw $v0, %lo(jtbl_IQUE_8014EC88)($at) +/* BA428 80123548 00400008 */ jr $v0 +/* BA42C 8012354C 00000000 */ nop +.LIQUE_80123550: +/* BA430 80123550 A2500000 */ sb $s0, 0x0($s2) +/* BA434 80123554 08048E5B */ j .LIQUE_8012396C +/* BA438 80123558 26520001 */ addiu $s2, $s2, 0x1 +.LIQUE_8012355C: +/* BA43C 8012355C 08048E26 */ j .LIQUE_80123898 +/* BA440 80123560 A2500000 */ sb $s0, 0x0($s2) +.LIQUE_80123564: +/* BA444 80123564 A2560000 */ sb $s6, 0x0($s2) +/* BA448 80123568 26520001 */ addiu $s2, $s2, 0x1 +/* BA44C 8012356C 08048E25 */ j .LIQUE_80123894 +/* BA450 80123570 2402001D */ addiu $v0, $zero, 0x1D +.LIQUE_80123574: +/* BA454 80123574 9282052A */ lbu $v0, 0x52A($s4) +/* BA458 80123578 A6800528 */ sh $zero, 0x528($s4) +/* BA45C 8012357C A2820455 */ sb $v0, 0x455($s4) +/* BA460 80123580 244200F1 */ addiu $v0, $v0, 0xF1 +/* BA464 80123584 A2420000 */ sb $v0, 0x0($s2) +/* BA468 80123588 08048DE2 */ j .LIQUE_80123788 +/* BA46C 8012358C 26520001 */ addiu $s2, $s2, 0x1 +.LIQUE_80123590: +/* BA470 80123590 92700000 */ lbu $s0, 0x0($s3) +/* BA474 80123594 96820528 */ lhu $v0, 0x528($s4) +/* BA478 80123598 14400006 */ bnez $v0, .LIQUE_801235B4 +/* BA47C 8012359C 2673FFFE */ addiu $s3, $s3, -0x2 +/* BA480 801235A0 92820455 */ lbu $v0, 0x455($s4) +/* BA484 801235A4 A282052A */ sb $v0, 0x52A($s4) +/* BA488 801235A8 240200F1 */ addiu $v0, $zero, 0xF1 +/* BA48C 801235AC A2420000 */ sb $v0, 0x0($s2) +/* BA490 801235B0 26520001 */ addiu $s2, $s2, 0x1 +.LIQUE_801235B4: +/* BA494 801235B4 00108140 */ sll $s0, $s0, 5 +/* BA498 801235B8 27A60010 */ addiu $a2, $sp, 0x10 +.LIQUE_801235BC: +/* BA49C 801235BC 96820528 */ lhu $v0, 0x528($s4) +/* BA4A0 801235C0 3C088015 */ lui $t0, %hi(gMessageMsgVars) +/* BA4A4 801235C4 250843B8 */ addiu $t0, $t0, %lo(gMessageMsgVars) +/* BA4A8 801235C8 24430001 */ addiu $v1, $v0, 0x1 +/* BA4AC 801235CC 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BA4B0 801235D0 00501021 */ addu $v0, $v0, $s0 +/* BA4B4 801235D4 00481021 */ addu $v0, $v0, $t0 +/* BA4B8 801235D8 A6830528 */ sh $v1, 0x528($s4) +/* BA4BC 801235DC 90450000 */ lbu $a1, 0x0($v0) +/* BA4C0 801235E0 30A300FF */ andi $v1, $a1, 0xFF +/* BA4C4 801235E4 2C6200F0 */ sltiu $v0, $v1, 0xF0 +/* BA4C8 801235E8 1440004C */ bnez $v0, .LIQUE_8012371C +/* BA4CC 801235EC 24040001 */ addiu $a0, $zero, 0x1 +/* BA4D0 801235F0 2463FF10 */ addiu $v1, $v1, -0xF0 +/* BA4D4 801235F4 2C620010 */ sltiu $v0, $v1, 0x10 +/* BA4D8 801235F8 10400049 */ beqz $v0, .LIQUE_80123720 +/* BA4DC 801235FC 00031080 */ sll $v0, $v1, 2 +/* BA4E0 80123600 3C088015 */ lui $t0, %hi(jtbl_IQUE_8014ECC8) +/* BA4E4 80123604 2508ECC8 */ addiu $t0, $t0, %lo(jtbl_IQUE_8014ECC8) +/* BA4E8 80123608 00481021 */ addu $v0, $v0, $t0 +/* BA4EC 8012360C 8C420000 */ lw $v0, 0x0($v0) +/* BA4F0 80123610 00400008 */ jr $v0 +/* BA4F4 80123614 00000000 */ nop +.LIQUE_80123618: +/* BA4F8 80123618 96820528 */ lhu $v0, 0x528($s4) +/* BA4FC 8012361C 3C088015 */ lui $t0, %hi(gMessageMsgVars) +/* BA500 80123620 250843B8 */ addiu $t0, $t0, %lo(gMessageMsgVars) +/* BA504 80123624 00501021 */ addu $v0, $v0, $s0 +/* BA508 80123628 00481021 */ addu $v0, $v0, $t0 +/* BA50C 8012362C 90420000 */ lbu $v0, 0x0($v0) +/* BA510 80123630 240800FD */ addiu $t0, $zero, 0xFD +/* BA514 80123634 10480003 */ beq $v0, $t0, .LIQUE_80123644 +/* BA518 80123638 240200F0 */ addiu $v0, $zero, 0xF0 +/* BA51C 8012363C 08048DC8 */ j .LIQUE_80123720 +/* BA520 80123640 A3A20010 */ sb $v0, 0x10($sp) +.LIQUE_80123644: +/* BA524 80123644 08048DC8 */ j .LIQUE_80123720 +/* BA528 80123648 0000202D */ daddu $a0, $zero, $zero +.LIQUE_8012364C: +/* BA52C 8012364C 24A200FE */ addiu $v0, $a1, 0xFE +/* BA530 80123650 A3A20010 */ sb $v0, 0x10($sp) +/* BA534 80123654 24A2010D */ addiu $v0, $a1, 0x10D +/* BA538 80123658 08048DC8 */ j .LIQUE_80123720 +/* BA53C 8012365C A2820455 */ sb $v0, 0x455($s4) +.LIQUE_80123660: +/* BA540 80123660 240200F5 */ addiu $v0, $zero, 0xF5 +/* BA544 80123664 08048DC8 */ j .LIQUE_80123720 +/* BA548 80123668 A3A20010 */ sb $v0, 0x10($sp) +.LIQUE_8012366C: +/* BA54C 8012366C A3B60010 */ sb $s6, 0x10($sp) +/* BA550 80123670 96820528 */ lhu $v0, 0x528($s4) +/* BA554 80123674 3C088015 */ lui $t0, %hi(gMessageMsgVars) +/* BA558 80123678 250843B8 */ addiu $t0, $t0, %lo(gMessageMsgVars) +/* BA55C 8012367C 24430001 */ addiu $v1, $v0, 0x1 +/* BA560 80123680 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BA564 80123684 00501021 */ addu $v0, $v0, $s0 +/* BA568 80123688 00481021 */ addu $v0, $v0, $t0 +/* BA56C 8012368C A6830528 */ sh $v1, 0x528($s4) +/* BA570 80123690 90430000 */ lbu $v1, 0x0($v0) +/* BA574 80123694 24020024 */ addiu $v0, $zero, 0x24 +/* BA578 80123698 1062001A */ beq $v1, $v0, .LIQUE_80123704 +/* BA57C 8012369C 28620025 */ slti $v0, $v1, 0x25 +/* BA580 801236A0 10400005 */ beqz $v0, .LIQUE_801236B8 +/* BA584 801236A4 24020005 */ addiu $v0, $zero, 0x5 +/* BA588 801236A8 10620008 */ beq $v1, $v0, .LIQUE_801236CC +/* BA58C 801236AC 0000182D */ daddu $v1, $zero, $zero +/* BA590 801236B0 08048DC9 */ j .LIQUE_80123724 +/* BA594 801236B4 00000000 */ nop +.LIQUE_801236B8: +/* BA598 801236B8 24020025 */ addiu $v0, $zero, 0x25 +/* BA59C 801236BC 10620013 */ beq $v1, $v0, .LIQUE_8012370C +/* BA5A0 801236C0 0000182D */ daddu $v1, $zero, $zero +/* BA5A4 801236C4 08048DC9 */ j .LIQUE_80123724 +/* BA5A8 801236C8 00000000 */ nop +.LIQUE_801236CC: +/* BA5AC 801236CC 24020004 */ addiu $v0, $zero, 0x4 +/* BA5B0 801236D0 A3A20011 */ sb $v0, 0x11($sp) +/* BA5B4 801236D4 96820528 */ lhu $v0, 0x528($s4) +/* BA5B8 801236D8 3C088015 */ lui $t0, %hi(gMessageMsgVars) +/* BA5BC 801236DC 250843B8 */ addiu $t0, $t0, %lo(gMessageMsgVars) +/* BA5C0 801236E0 24430001 */ addiu $v1, $v0, 0x1 +/* BA5C4 801236E4 3042FFFF */ andi $v0, $v0, 0xFFFF +/* BA5C8 801236E8 00501021 */ addu $v0, $v0, $s0 +/* BA5CC 801236EC 00481021 */ addu $v0, $v0, $t0 +/* BA5D0 801236F0 A6830528 */ sh $v1, 0x528($s4) +/* BA5D4 801236F4 90420000 */ lbu $v0, 0x0($v0) +/* BA5D8 801236F8 24040003 */ addiu $a0, $zero, 0x3 +/* BA5DC 801236FC 08048DC8 */ j .LIQUE_80123720 +/* BA5E0 80123700 A3A20012 */ sb $v0, 0x12($sp) +.LIQUE_80123704: +/* BA5E4 80123704 08048DC4 */ j .LIQUE_80123710 +/* BA5E8 80123708 2402001A */ addiu $v0, $zero, 0x1A +.LIQUE_8012370C: +/* BA5EC 8012370C 2402001B */ addiu $v0, $zero, 0x1B +.LIQUE_80123710: +/* BA5F0 80123710 A3A20011 */ sb $v0, 0x11($sp) +/* BA5F4 80123714 08048DC8 */ j .LIQUE_80123720 +/* BA5F8 80123718 24040002 */ addiu $a0, $zero, 0x2 +.LIQUE_8012371C: +/* BA5FC 8012371C A3A50010 */ sb $a1, 0x10($sp) +.LIQUE_80123720: +/* BA600 80123720 0000182D */ daddu $v1, $zero, $zero +.LIQUE_80123724: +/* BA604 80123724 10800009 */ beqz $a0, .LIQUE_8012374C +/* BA608 80123728 00000000 */ nop +.LIQUE_8012372C: +/* BA60C 8012372C 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA610 80123730 00C31021 */ addu $v0, $a2, $v1 +/* BA614 80123734 90420000 */ lbu $v0, 0x0($v0) +/* BA618 80123738 24630001 */ addiu $v1, $v1, 0x1 +/* BA61C 8012373C A2420000 */ sb $v0, 0x0($s2) +/* BA620 80123740 0064102A */ slt $v0, $v1, $a0 +/* BA624 80123744 1440FFF9 */ bnez $v0, .LIQUE_8012372C +/* BA628 80123748 26520001 */ addiu $s2, $s2, 0x1 +.LIQUE_8012374C: +/* BA62C 8012374C 96820528 */ lhu $v0, 0x528($s4) +/* BA630 80123750 3C088015 */ lui $t0, %hi(gMessageMsgVars) +/* BA634 80123754 250843B8 */ addiu $t0, $t0, %lo(gMessageMsgVars) +/* BA638 80123758 00501021 */ addu $v0, $v0, $s0 +/* BA63C 8012375C 00481021 */ addu $v0, $v0, $t0 +/* BA640 80123760 90420000 */ lbu $v0, 0x0($v0) +/* BA644 80123764 240800FD */ addiu $t0, $zero, 0xFD +/* BA648 80123768 5048FF82 */ beql $v0, $t0, .LIQUE_80123574 +/* BA64C 8012376C 26730003 */ addiu $s3, $s3, 0x3 +/* BA650 80123770 96820500 */ lhu $v0, 0x500($s4) +/* BA654 80123774 30420006 */ andi $v0, $v0, 0x6 +/* BA658 80123778 1440FF90 */ bnez $v0, .LIQUE_801235BC +/* BA65C 8012377C 00000000 */ nop +/* BA660 80123780 1EA0FF8E */ bgtz $s5, .LIQUE_801235BC +/* BA664 80123784 00000000 */ nop +.LIQUE_80123788: +/* BA668 80123788 96840500 */ lhu $a0, 0x500($s4) +/* BA66C 8012378C 30820006 */ andi $v0, $a0, 0x6 +/* BA670 80123790 5440006E */ bnel $v0, $zero, .LIQUE_8012394C +/* BA674 80123794 0280202D */ daddu $a0, $s4, $zero +/* BA678 80123798 5EA0006C */ bgtzl $s5, .LIQUE_8012394C +/* BA67C 8012379C 0280202D */ daddu $a0, $s4, $zero +/* BA680 801237A0 9283045E */ lbu $v1, 0x45E($s4) +/* BA684 801237A4 34820001 */ ori $v0, $a0, 0x1 +/* BA688 801237A8 A6820500 */ sh $v0, 0x500($s4) +/* BA68C 801237AC A683000E */ sh $v1, 0xE($s4) +/* BA690 801237B0 08048E53 */ j .LIQUE_8012394C +/* BA694 801237B4 0280202D */ daddu $a0, $s4, $zero +.LIQUE_801237B8: +/* BA698 801237B8 92700000 */ lbu $s0, 0x0($s3) +/* BA69C 801237BC 3C04802F */ lui $a0, %hi(D_802EB620) +/* BA6A0 801237C0 2484B620 */ addiu $a0, $a0, %lo(D_802EB620) +/* BA6A4 801237C4 320300FF */ andi $v1, $s0, 0xFF +/* BA6A8 801237C8 00031040 */ sll $v0, $v1, 1 +/* BA6AC 801237CC 00431021 */ addu $v0, $v0, $v1 +/* BA6B0 801237D0 00021080 */ sll $v0, $v0, 2 +/* BA6B4 801237D4 00441021 */ addu $v0, $v0, $a0 +/* BA6B8 801237D8 A2900518 */ sb $s0, 0x518($s4) +/* BA6BC 801237DC 8C430000 */ lw $v1, 0x0($v0) +/* BA6C0 801237E0 AE830520 */ sw $v1, 0x520($s4) +/* BA6C4 801237E4 8C430004 */ lw $v1, 0x4($v0) +/* BA6C8 801237E8 AE830524 */ sw $v1, 0x524($s4) +/* BA6CC 801237EC 9442000A */ lhu $v0, 0xA($v0) +/* BA6D0 801237F0 26730001 */ addiu $s3, $s3, 0x1 +/* BA6D4 801237F4 08048E5B */ j .LIQUE_8012396C +/* BA6D8 801237F8 A682051C */ sh $v0, 0x51C($s4) +.LIQUE_801237FC: +/* BA6DC 801237FC 92620000 */ lbu $v0, 0x0($s3) +/* BA6E0 80123800 26730001 */ addiu $s3, $s3, 0x1 +/* BA6E4 80123804 08048E5B */ j .LIQUE_8012396C +/* BA6E8 80123808 A2820519 */ sb $v0, 0x519($s4) +.LIQUE_8012380C: +/* BA6EC 8012380C 92700000 */ lbu $s0, 0x0($s3) +/* BA6F0 80123810 26730001 */ addiu $s3, $s3, 0x1 +/* BA6F4 80123814 92650000 */ lbu $a1, 0x0($s3) +/* BA6F8 80123818 26730001 */ addiu $s3, $s3, 0x1 +/* BA6FC 8012381C 92640000 */ lbu $a0, 0x0($s3) +/* BA700 80123820 26730001 */ addiu $s3, $s3, 0x1 +/* BA704 80123824 92660000 */ lbu $a2, 0x0($s3) +/* BA708 80123828 26730001 */ addiu $s3, $s3, 0x1 +/* BA70C 8012382C 00101600 */ sll $v0, $s0, 24 +/* BA710 80123830 00051C00 */ sll $v1, $a1, 16 +/* BA714 80123834 00431021 */ addu $v0, $v0, $v1 +/* BA718 80123838 00041A00 */ sll $v1, $a0, 8 +/* BA71C 8012383C 00431021 */ addu $v0, $v0, $v1 +/* BA720 80123840 00C21025 */ or $v0, $a2, $v0 +/* BA724 80123844 AE820520 */ sw $v0, 0x520($s4) +/* BA728 80123848 92700000 */ lbu $s0, 0x0($s3) +/* BA72C 8012384C 26730001 */ addiu $s3, $s3, 0x1 +/* BA730 80123850 92650000 */ lbu $a1, 0x0($s3) +/* BA734 80123854 26730001 */ addiu $s3, $s3, 0x1 +/* BA738 80123858 92640000 */ lbu $a0, 0x0($s3) +/* BA73C 8012385C 26730001 */ addiu $s3, $s3, 0x1 +/* BA740 80123860 92660000 */ lbu $a2, 0x0($s3) +/* BA744 80123864 26730001 */ addiu $s3, $s3, 0x1 +/* BA748 80123868 00101600 */ sll $v0, $s0, 24 +/* BA74C 8012386C 00051C00 */ sll $v1, $a1, 16 +/* BA750 80123870 00431021 */ addu $v0, $v0, $v1 +/* BA754 80123874 00041A00 */ sll $v1, $a0, 8 +/* BA758 80123878 00431021 */ addu $v0, $v0, $v1 +/* BA75C 8012387C 00C21025 */ or $v0, $a2, $v0 +/* BA760 80123880 08048E5B */ j .LIQUE_8012396C +/* BA764 80123884 AE820524 */ sw $v0, 0x524($s4) +.LIQUE_80123888: +/* BA768 80123888 A2560000 */ sb $s6, 0x0($s2) +/* BA76C 8012388C 26520001 */ addiu $s2, $s2, 0x1 +/* BA770 80123890 2402001E */ addiu $v0, $zero, 0x1E +.LIQUE_80123894: +/* BA774 80123894 A2420000 */ sb $v0, 0x0($s2) +.LIQUE_80123898: +/* BA778 80123898 26520001 */ addiu $s2, $s2, 0x1 +/* BA77C 8012389C 92620000 */ lbu $v0, 0x0($s3) +/* BA780 801238A0 26730001 */ addiu $s3, $s3, 0x1 +.LIQUE_801238A4: +/* BA784 801238A4 A2420000 */ sb $v0, 0x0($s2) +/* BA788 801238A8 08048E5B */ j .LIQUE_8012396C +/* BA78C 801238AC 26520001 */ addiu $s2, $s2, 0x1 +.LIQUE_801238B0: +/* BA790 801238B0 92620000 */ lbu $v0, 0x0($s3) +/* BA794 801238B4 10400005 */ beqz $v0, .LIQUE_801238CC +/* BA798 801238B8 26730001 */ addiu $s3, $s3, 0x1 +/* BA79C 801238BC 8E8204FC */ lw $v0, 0x4FC($s4) +/* BA7A0 801238C0 3C030004 */ lui $v1, (0x40000 >> 16) +/* BA7A4 801238C4 08048E5A */ j .LIQUE_80123968 +/* BA7A8 801238C8 00431025 */ or $v0, $v0, $v1 +.LIQUE_801238CC: +/* BA7AC 801238CC 3C03FFFB */ lui $v1, (0xFFFBFFFF >> 16) +/* BA7B0 801238D0 8E8204FC */ lw $v0, 0x4FC($s4) +/* BA7B4 801238D4 3463FFFF */ ori $v1, $v1, (0xFFFBFFFF & 0xFFFF) +/* BA7B8 801238D8 08048E5A */ j .LIQUE_80123968 +/* BA7BC 801238DC 00431024 */ and $v0, $v0, $v1 +.LIQUE_801238E0: +/* BA7C0 801238E0 8E8204FC */ lw $v0, 0x4FC($s4) +/* BA7C4 801238E4 3C030008 */ lui $v1, (0x80000 >> 16) +/* BA7C8 801238E8 08048E5A */ j .LIQUE_80123968 +/* BA7CC 801238EC 00431025 */ or $v0, $v0, $v1 +.LIQUE_801238F0: +/* BA7D0 801238F0 A2450000 */ sb $a1, 0x0($s2) +/* BA7D4 801238F4 26520001 */ addiu $s2, $s2, 0x1 +/* BA7D8 801238F8 24A2FFA1 */ addiu $v0, $a1, -0x5F +/* BA7DC 801238FC 304200FF */ andi $v0, $v0, 0xFF +/* BA7E0 80123900 2C420031 */ sltiu $v0, $v0, 0x31 +/* BA7E4 80123904 10400005 */ beqz $v0, .LIQUE_8012391C +/* BA7E8 80123908 26B5FFFF */ addiu $s5, $s5, -0x1 +/* BA7EC 8012390C A2460000 */ sb $a2, 0x0($s2) +/* BA7F0 80123910 26520001 */ addiu $s2, $s2, 0x1 +/* BA7F4 80123914 26730001 */ addiu $s3, $s3, 0x1 +/* BA7F8 80123918 26B5FFFF */ addiu $s5, $s5, -0x1 +.LIQUE_8012391C: +/* BA7FC 8012391C 92820455 */ lbu $v0, 0x455($s4) +/* BA800 80123920 14400009 */ bnez $v0, .LIQUE_80123948 +/* BA804 80123924 0280202D */ daddu $a0, $s4, $zero +/* BA808 80123928 30A300FF */ andi $v1, $a1, 0xFF +/* BA80C 8012392C 240200C3 */ addiu $v0, $zero, 0xC3 +/* BA810 80123930 14620006 */ bne $v1, $v0, .LIQUE_8012394C +/* BA814 80123934 30A500FF */ andi $a1, $a1, 0xFF +/* BA818 80123938 8E8204FC */ lw $v0, 0x4FC($s4) +/* BA81C 8012393C 2403FF7F */ addiu $v1, $zero, -0x81 +/* BA820 80123940 08048E5A */ j .LIQUE_80123968 +/* BA824 80123944 00431024 */ and $v0, $v0, $v1 +.LIQUE_80123948: +/* BA828 80123948 30A500FF */ andi $a1, $a1, 0xFF +.LIQUE_8012394C: +/* BA82C 8012394C 0C048A04 */ jal msg_play_speech_sound +/* BA830 80123950 00000000 */ nop +/* BA834 80123954 8E8304FC */ lw $v1, 0x4FC($s4) +/* BA838 80123958 3C020080 */ lui $v0, (0x800000 >> 16) +/* BA83C 8012395C 00621024 */ and $v0, $v1, $v0 +/* BA840 80123960 10400002 */ beqz $v0, .LIQUE_8012396C +/* BA844 80123964 34620080 */ ori $v0, $v1, 0x80 +.LIQUE_80123968: +/* BA848 80123968 AE8204FC */ sw $v0, 0x4FC($s4) +.LIQUE_8012396C: +/* BA84C 8012396C 96820500 */ lhu $v0, 0x500($s4) +/* BA850 80123970 30420006 */ andi $v0, $v0, 0x6 +/* BA854 80123974 14400008 */ bnez $v0, .LIQUE_80123998 +/* BA858 80123978 00000000 */ nop +.LIQUE_8012397C: +/* BA85C 8012397C 1EA00006 */ bgtz $s5, .LIQUE_80123998 +/* BA860 80123980 00000000 */ nop +/* BA864 80123984 96820500 */ lhu $v0, 0x500($s4) +/* BA868 80123988 9283045E */ lbu $v1, 0x45E($s4) +/* BA86C 8012398C 34420001 */ ori $v0, $v0, 0x1 +/* BA870 80123990 A6820500 */ sh $v0, 0x500($s4) +/* BA874 80123994 A683000E */ sh $v1, 0xE($s4) +.LIQUE_80123998: +/* BA878 80123998 96820500 */ lhu $v0, 0x500($s4) +/* BA87C 8012399C 30420001 */ andi $v0, $v0, 0x1 +/* BA880 801239A0 1040FC02 */ beqz $v0, .LIQUE_801229AC +/* BA884 801239A4 00000000 */ nop +/* BA888 801239A8 13C00004 */ beqz $fp, .LIQUE_801239BC +/* BA88C 801239AC 240800FD */ addiu $t0, $zero, 0xFD +/* BA890 801239B0 9262FFFF */ lbu $v0, -0x1($s3) +/* BA894 801239B4 1448FBFD */ bne $v0, $t0, .LIQUE_801229AC +/* BA898 801239B8 24152710 */ addiu $s5, $zero, 0x2710 +.LIQUE_801239BC: +/* BA89C 801239BC 2642FFF0 */ addiu $v0, $s2, -0x10 +/* BA8A0 801239C0 8E830000 */ lw $v1, 0x0($s4) +/* BA8A4 801239C4 00541023 */ subu $v0, $v0, $s4 +/* BA8A8 801239C8 A6820004 */ sh $v0, 0x4($s4) +/* BA8AC 801239CC 240200FB */ addiu $v0, $zero, 0xFB +/* BA8B0 801239D0 A6800500 */ sh $zero, 0x500($s4) +/* BA8B4 801239D4 02631823 */ subu $v1, $s3, $v1 +/* BA8B8 801239D8 A683000C */ sh $v1, 0xC($s4) +/* BA8BC 801239DC A2420000 */ sb $v0, 0x0($s2) +/* BA8C0 801239E0 8FBF0044 */ lw $ra, 0x44($sp) +/* BA8C4 801239E4 8FBE0040 */ lw $fp, 0x40($sp) +/* BA8C8 801239E8 8FB7003C */ lw $s7, 0x3C($sp) +/* BA8CC 801239EC 8FB60038 */ lw $s6, 0x38($sp) +/* BA8D0 801239F0 8FB50034 */ lw $s5, 0x34($sp) +/* BA8D4 801239F4 8FB40030 */ lw $s4, 0x30($sp) +/* BA8D8 801239F8 8FB3002C */ lw $s3, 0x2C($sp) +/* BA8DC 801239FC 8FB20028 */ lw $s2, 0x28($sp) +/* BA8E0 80123A00 8FB10024 */ lw $s1, 0x24($sp) +/* BA8E4 80123A04 8FB00020 */ lw $s0, 0x20($sp) +/* BA8E8 80123A08 03E00008 */ jr $ra +/* BA8EC 80123A0C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/cn/asm/nonmatchings/msg/msg_draw_char.s b/ver/cn/asm/nonmatchings/msg/msg_draw_char.s new file mode 100644 index 0000000000..2a909a8c81 --- /dev/null +++ b/ver/cn/asm/nonmatchings/msg/msg_draw_char.s @@ -0,0 +1,670 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel msg_draw_char +/* C163C 8012A75C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* C1640 8012A760 AFB3001C */ sw $s3, 0x1C($sp) +/* C1644 8012A764 0080982D */ daddu $s3, $a0, $zero +/* C1648 8012A768 AFB00010 */ sw $s0, 0x10($sp) +/* C164C 8012A76C 00A0802D */ daddu $s0, $a1, $zero +/* C1650 8012A770 AFB20018 */ sw $s2, 0x18($sp) +/* C1654 8012A774 00C0902D */ daddu $s2, $a2, $zero +/* C1658 8012A778 AFB40020 */ sw $s4, 0x20($sp) +/* C165C 8012A77C 00E0A02D */ daddu $s4, $a3, $zero +/* C1660 8012A780 AFB10014 */ sw $s1, 0x14($sp) +/* C1664 8012A784 8FB10038 */ lw $s1, 0x38($sp) +/* C1668 8012A788 2402033F */ addiu $v0, $zero, 0x33F +/* C166C 8012A78C 16420007 */ bne $s2, $v0, .LIQUE_8012A7AC +/* C1670 8012A790 AFBF0024 */ sw $ra, 0x24($sp) +/* C1674 8012A794 3C040002 */ lui $a0, %hi(D_19F80) +/* C1678 8012A798 24849F80 */ addiu $a0, $a0, %lo(D_19F80) +/* C167C 8012A79C 3C068015 */ lui $a2, %hi(D_801544A0) +/* C1680 8012A7A0 24C644A0 */ addiu $a2, $a2, %lo(D_801544A0) +/* C1684 8012A7A4 0804AA00 */ j .LIQUE_8012A800 +/* C1688 8012A7A8 24050080 */ addiu $a1, $zero, 0x80 +.LIQUE_8012A7AC: +/* C168C 8012A7AC 24020340 */ addiu $v0, $zero, 0x340 +/* C1690 8012A7B0 16420007 */ bne $s2, $v0, .LIQUE_8012A7D0 +/* C1694 8012A7B4 2A4200A6 */ slti $v0, $s2, 0xA6 +/* C1698 8012A7B8 3C040002 */ lui $a0, %hi(D_1A000) +/* C169C 8012A7BC 2484A000 */ addiu $a0, $a0, %lo(D_1A000) +/* C16A0 8012A7C0 3C068015 */ lui $a2, %hi(D_80154520) +/* C16A4 8012A7C4 24C64520 */ addiu $a2, $a2, %lo(D_80154520) +/* C16A8 8012A7C8 0804AA00 */ j .LIQUE_8012A800 +/* C16AC 8012A7CC 24050080 */ addiu $a1, $zero, 0x80 +.LIQUE_8012A7D0: +/* C16B0 8012A7D0 1440000D */ bnez $v0, .LIQUE_8012A808 +/* C16B4 8012A7D4 001221C0 */ sll $a0, $s2, 7 +/* C16B8 8012A7D8 3C020000 */ lui $v0, (0x0 >> 16) +/* C16BC 8012A7DC 24420000 */ addiu $v0, $v0, 0x0 +/* C16C0 8012A7E0 00822021 */ addu $a0, $a0, $v0 +/* C16C4 8012A7E4 24050080 */ addiu $a1, $zero, 0x80 +/* C16C8 8012A7E8 3C068015 */ lui $a2, %hi(D_8014AD24) +/* C16CC 8012A7EC 8CC6AD24 */ lw $a2, %lo(D_8014AD24)($a2) +/* C16D0 8012A7F0 3C028015 */ lui $v0, %hi(D_801544A0) +/* C16D4 8012A7F4 244244A0 */ addiu $v0, $v0, %lo(D_801544A0) +/* C16D8 8012A7F8 000631C0 */ sll $a2, $a2, 7 +/* C16DC 8012A7FC 00C23021 */ addu $a2, $a2, $v0 +.LIQUE_8012A800: +/* C16E0 8012A800 0C0486BA */ jal load_font_data +/* C16E4 8012A804 00000000 */ nop +.LIQUE_8012A808: +/* C16E8 8012A808 9602003C */ lhu $v0, 0x3C($s0) +/* C16EC 8012A80C C6060018 */ lwc1 $f6, 0x18($s0) +/* C16F0 8012A810 C602001C */ lwc1 $f2, 0x1C($s0) +/* C16F4 8012A814 00021080 */ sll $v0, $v0, 2 +/* C16F8 8012A818 3C09802F */ lui $t1, %hi(gMsgCharsets) +/* C16FC 8012A81C 01224821 */ addu $t1, $t1, $v0 +/* C1700 8012A820 8D29B5A8 */ lw $t1, %lo(gMsgCharsets)($t1) +/* C1704 8012A824 8FA3003C */ lw $v1, 0x3C($sp) +/* C1708 8012A828 91220000 */ lbu $v0, 0x0($t1) +/* C170C 8012A82C 8E070004 */ lw $a3, 0x4($s0) +/* C1710 8012A830 44822000 */ mtc1 $v0, $f4 +/* C1714 8012A834 00000000 */ nop +/* C1718 8012A838 46802120 */ cvt.s.w $f4, $f4 +/* C171C 8012A83C 46043102 */ mul.s $f4, $f6, $f4 +/* C1720 8012A840 00000000 */ nop +/* C1724 8012A844 960A003E */ lhu $t2, 0x3E($s0) +/* C1728 8012A848 91220001 */ lbu $v0, 0x1($t1) +/* C172C 8012A84C 8E050008 */ lw $a1, 0x8($s0) +/* C1730 8012A850 44820000 */ mtc1 $v0, $f0 +/* C1734 8012A854 00000000 */ nop +/* C1738 8012A858 46800020 */ cvt.s.w $f0, $f0 +/* C173C 8012A85C 46001082 */ mul.s $f2, $f2, $f0 +/* C1740 8012A860 00000000 */ nop +/* C1744 8012A864 8E06000C */ lw $a2, 0xC($s0) +/* C1748 8012A868 8E040000 */ lw $a0, 0x0($s0) +/* C174C 8012A86C 4600220D */ trunc.w.s $f8, $f4 +/* C1750 8012A870 44024000 */ mfc1 $v0, $f8 +/* C1754 8012A874 00000000 */ nop +/* C1758 8012A878 02224021 */ addu $t0, $s1, $v0 +/* C175C 8012A87C 4600120D */ trunc.w.s $f8, $f2 +/* C1760 8012A880 44024000 */ mfc1 $v0, $f8 +/* C1764 8012A884 00000000 */ nop +/* C1768 8012A888 00625821 */ addu $t3, $v1, $v0 +/* C176C 8012A88C 0227102A */ slt $v0, $s1, $a3 +/* C1770 8012A890 1040021F */ beqz $v0, .LIQUE_8012B110 +/* C1774 8012A894 0066102A */ slt $v0, $v1, $a2 +/* C1778 8012A898 1040021D */ beqz $v0, .LIQUE_8012B110 +/* C177C 8012A89C 0088102A */ slt $v0, $a0, $t0 +/* C1780 8012A8A0 1040021B */ beqz $v0, .LIQUE_8012B110 +/* C1784 8012A8A4 00AB102A */ slt $v0, $a1, $t3 +/* C1788 8012A8A8 10400219 */ beqz $v0, .LIQUE_8012B110 +/* C178C 8012A8AC 0224102A */ slt $v0, $s1, $a0 +/* C1790 8012A8B0 10400017 */ beqz $v0, .LIQUE_8012A910 +/* C1794 8012A8B4 02241023 */ subu $v0, $s1, $a0 +/* C1798 8012A8B8 04420001 */ bltzl $v0, .LIQUE_8012A8C0 +/* C179C 8012A8BC 00021023 */ negu $v0, $v0 +.LIQUE_8012A8C0: +/* C17A0 8012A8C0 44820000 */ mtc1 $v0, $f0 +/* C17A4 8012A8C4 00000000 */ nop +/* C17A8 8012A8C8 46800020 */ cvt.s.w $f0, $f0 +/* C17AC 8012A8CC 46060103 */ div.s $f4, $f0, $f6 +/* C17B0 8012A8D0 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* C17B4 8012A8D4 44811800 */ mtc1 $at, $f3 +/* C17B8 8012A8D8 44801000 */ mtc1 $zero, $f2 +/* C17BC 8012A8DC 46002021 */ cvt.d.s $f0, $f4 +/* C17C0 8012A8E0 46220000 */ add.d $f0, $f0, $f2 +/* C17C4 8012A8E4 3C014040 */ lui $at, (0x40400000 >> 16) +/* C17C8 8012A8E8 44811800 */ mtc1 $at, $f3 +/* C17CC 8012A8EC 44801000 */ mtc1 $zero, $f2 +/* C17D0 8012A8F0 00000000 */ nop +/* C17D4 8012A8F4 46220002 */ mul.d $f0, $f0, $f2 +/* C17D8 8012A8F8 00000000 */ nop +/* C17DC 8012A8FC 46200020 */ cvt.s.d $f0, $f0 +/* C17E0 8012A900 4600020D */ trunc.w.s $f8, $f0 +/* C17E4 8012A904 44184000 */ mfc1 $t8, $f8 +/* C17E8 8012A908 0804AA46 */ j .LIQUE_8012A918 +/* C17EC 8012A90C 0080782D */ daddu $t7, $a0, $zero +.LIQUE_8012A910: +/* C17F0 8012A910 0000C02D */ daddu $t8, $zero, $zero +/* C17F4 8012A914 0220782D */ daddu $t7, $s1, $zero +.LIQUE_8012A918: +/* C17F8 8012A918 0065102A */ slt $v0, $v1, $a1 +/* C17FC 8012A91C 10400017 */ beqz $v0, .LIQUE_8012A97C +/* C1800 8012A920 0000702D */ daddu $t6, $zero, $zero +/* C1804 8012A924 8E6204FC */ lw $v0, 0x4FC($s3) +/* C1808 8012A928 30420400 */ andi $v0, $v0, 0x400 +/* C180C 8012A92C 10400004 */ beqz $v0, .LIQUE_8012A940 +/* C1810 8012A930 00651023 */ subu $v0, $v1, $a1 +/* C1814 8012A934 04610012 */ bgez $v1, .LIQUE_8012A980 +/* C1818 8012A938 0060682D */ daddu $t5, $v1, $zero +/* C181C 8012A93C 00651023 */ subu $v0, $v1, $a1 +.LIQUE_8012A940: +/* C1820 8012A940 04420001 */ bltzl $v0, .LIQUE_8012A948 +/* C1824 8012A944 00021023 */ negu $v0, $v0 +.LIQUE_8012A948: +/* C1828 8012A948 44822000 */ mtc1 $v0, $f4 +/* C182C 8012A94C 00000000 */ nop +/* C1830 8012A950 46802120 */ cvt.s.w $f4, $f4 +/* C1834 8012A954 C602001C */ lwc1 $f2, 0x1C($s0) +/* C1838 8012A958 3C014200 */ lui $at, (0x42000000 >> 16) +/* C183C 8012A95C 44810000 */ mtc1 $at, $f0 +/* C1840 8012A960 46022103 */ div.s $f4, $f4, $f2 +/* C1844 8012A964 46002002 */ mul.s $f0, $f4, $f0 +/* C1848 8012A968 00000000 */ nop +/* C184C 8012A96C 4600020D */ trunc.w.s $f8, $f0 +/* C1850 8012A970 440E4000 */ mfc1 $t6, $f8 +/* C1854 8012A974 0804AA60 */ j .LIQUE_8012A980 +/* C1858 8012A978 00A0682D */ daddu $t5, $a1, $zero +.LIQUE_8012A97C: +/* C185C 8012A97C 0060682D */ daddu $t5, $v1, $zero +.LIQUE_8012A980: +/* C1860 8012A980 0100602D */ daddu $t4, $t0, $zero +/* C1864 8012A984 0187102A */ slt $v0, $t4, $a3 +/* C1868 8012A988 50400001 */ beql $v0, $zero, .LIQUE_8012A990 +/* C186C 8012A98C 00E0602D */ daddu $t4, $a3, $zero +.LIQUE_8012A990: +/* C1870 8012A990 0166102A */ slt $v0, $t3, $a2 +/* C1874 8012A994 50400001 */ beql $v0, $zero, .LIQUE_8012A99C +/* C1878 8012A998 00C0582D */ daddu $t3, $a2, $zero +.LIQUE_8012A99C: +/* C187C 8012A99C C6040018 */ lwc1 $f4, 0x18($s0) +/* C1880 8012A9A0 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* C1884 8012A9A4 44811000 */ mtc1 $at, $f2 +/* C1888 8012A9A8 3C014480 */ lui $at, (0x44800000 >> 16) +/* C188C 8012A9AC 44813000 */ mtc1 $at, $f6 +/* C1890 8012A9B0 46041103 */ div.s $f4, $f2, $f4 +/* C1894 8012A9B4 46062102 */ mul.s $f4, $f4, $f6 +/* C1898 8012A9B8 00000000 */ nop +/* C189C 8012A9BC C600001C */ lwc1 $f0, 0x1C($s0) +/* C18A0 8012A9C0 46001083 */ div.s $f2, $f2, $f0 +/* C18A4 8012A9C4 46061082 */ mul.s $f2, $f2, $f6 +/* C18A8 8012A9C8 00000000 */ nop +/* C18AC 8012A9CC 96040034 */ lhu $a0, 0x34($s0) +/* C18B0 8012A9D0 30820011 */ andi $v0, $a0, 0x11 +/* C18B4 8012A9D4 4600220D */ trunc.w.s $f8, $f4 +/* C18B8 8012A9D8 44114000 */ mfc1 $s1, $f8 +/* C18BC 8012A9DC 4600120D */ trunc.w.s $f8, $f2 +/* C18C0 8012A9E0 44134000 */ mfc1 $s3, $f8 +/* C18C4 8012A9E4 1040002C */ beqz $v0, .LIQUE_8012AA98 +/* C18C8 8012A9E8 3082FFEE */ andi $v0, $a0, 0xFFEE +/* C18CC 8012A9EC 3C07F500 */ lui $a3, (0xF5000100 >> 16) +/* C18D0 8012A9F0 34E70100 */ ori $a3, $a3, (0xF5000100 & 0xFFFF) +/* C18D4 8012A9F4 3C080703 */ lui $t0, (0x703C000 >> 16) +/* C18D8 8012A9F8 3508C000 */ ori $t0, $t0, (0x703C000 & 0xFFFF) +/* C18DC 8012A9FC 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* C18E0 8012AA00 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* C18E4 8012AA04 8CA30000 */ lw $v1, 0x0($a1) +/* C18E8 8012AA08 A6020034 */ sh $v0, 0x34($s0) +/* C18EC 8012AA0C 3C02FD10 */ lui $v0, (0xFD100000 >> 16) +/* C18F0 8012AA10 3C04802F */ lui $a0, %hi(D_802F4560) +/* C18F4 8012AA14 24844558 */ addiu $a0, $a0, %lo(D_802F4560) +/* C18F8 8012AA18 0060302D */ daddu $a2, $v1, $zero +/* C18FC 8012AA1C 24630008 */ addiu $v1, $v1, 0x8 +/* C1900 8012AA20 ACA30000 */ sw $v1, 0x0($a1) +/* C1904 8012AA24 ACC20000 */ sw $v0, 0x0($a2) +/* C1908 8012AA28 00141100 */ sll $v0, $s4, 4 +/* C190C 8012AA2C 00441021 */ addu $v0, $v0, $a0 +/* C1910 8012AA30 ACC20004 */ sw $v0, 0x4($a2) +/* C1914 8012AA34 24620008 */ addiu $v0, $v1, 0x8 +/* C1918 8012AA38 ACA20000 */ sw $v0, 0x0($a1) +/* C191C 8012AA3C 3C02E800 */ lui $v0, (0xE8000000 >> 16) +/* C1920 8012AA40 AC620000 */ sw $v0, 0x0($v1) +/* C1924 8012AA44 24620010 */ addiu $v0, $v1, 0x10 +/* C1928 8012AA48 AC600004 */ sw $zero, 0x4($v1) +/* C192C 8012AA4C ACA20000 */ sw $v0, 0x0($a1) +/* C1930 8012AA50 3C020700 */ lui $v0, (0x7000000 >> 16) +/* C1934 8012AA54 AC62000C */ sw $v0, 0xC($v1) +/* C1938 8012AA58 24620018 */ addiu $v0, $v1, 0x18 +/* C193C 8012AA5C AC670008 */ sw $a3, 0x8($v1) +/* C1940 8012AA60 ACA20000 */ sw $v0, 0x0($a1) +/* C1944 8012AA64 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* C1948 8012AA68 AC620010 */ sw $v0, 0x10($v1) +/* C194C 8012AA6C 24620020 */ addiu $v0, $v1, 0x20 +/* C1950 8012AA70 AC600014 */ sw $zero, 0x14($v1) +/* C1954 8012AA74 ACA20000 */ sw $v0, 0x0($a1) +/* C1958 8012AA78 3C02F000 */ lui $v0, (0xF0000000 >> 16) +/* C195C 8012AA7C AC620018 */ sw $v0, 0x18($v1) +/* C1960 8012AA80 24620028 */ addiu $v0, $v1, 0x28 +/* C1964 8012AA84 AC68001C */ sw $t0, 0x1C($v1) +/* C1968 8012AA88 ACA20000 */ sw $v0, 0x0($a1) +/* C196C 8012AA8C 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* C1970 8012AA90 AC620020 */ sw $v0, 0x20($v1) +/* C1974 8012AA94 AC600024 */ sw $zero, 0x24($v1) +.LIQUE_8012AA98: +/* C1978 8012AA98 91220000 */ lbu $v0, 0x0($t1) +/* C197C 8012AA9C 2C420010 */ sltiu $v0, $v0, 0x10 +/* C1980 8012AAA0 144000D3 */ bnez $v0, .LIQUE_8012ADF0 +/* C1984 8012AAA4 2642FCC1 */ addiu $v0, $s2, -0x33F +/* C1988 8012AAA8 91220000 */ lbu $v0, 0x0($t1) +/* C198C 8012AAAC 3042000F */ andi $v0, $v0, 0xF +/* C1990 8012AAB0 144000CF */ bnez $v0, .LIQUE_8012ADF0 +/* C1994 8012AAB4 2642FCC1 */ addiu $v0, $s2, -0x33F +/* C1998 8012AAB8 2C420002 */ sltiu $v0, $v0, 0x2 +/* C199C 8012AABC 1040003B */ beqz $v0, .LIQUE_8012ABAC +/* C19A0 8012AAC0 3C02FD50 */ lui $v0, (0xFD500000 >> 16) +/* C19A4 8012AAC4 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* C19A8 8012AAC8 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* C19AC 8012AACC 3C038014 */ lui $v1, %hi(D_8013A520) +/* C19B0 8012AAD0 2463A520 */ addiu $v1, $v1, %lo(D_8013A520) +/* C19B4 8012AAD4 8CA40000 */ lw $a0, 0x0($a1) +/* C19B8 8012AAD8 3C080700 */ lui $t0, (0x7000000 >> 16) +/* C19BC 8012AADC 0080302D */ daddu $a2, $a0, $zero +/* C19C0 8012AAE0 24840008 */ addiu $a0, $a0, 0x8 +/* C19C4 8012AAE4 ACA40000 */ sw $a0, 0x0($a1) +/* C19C8 8012AAE8 ACC20000 */ sw $v0, 0x0($a2) +/* C19CC 8012AAEC 001211C0 */ sll $v0, $s2, 7 +/* C19D0 8012AAF0 00431021 */ addu $v0, $v0, $v1 +/* C19D4 8012AAF4 ACC20004 */ sw $v0, 0x4($a2) +/* C19D8 8012AAF8 24820008 */ addiu $v0, $a0, 0x8 +/* C19DC 8012AAFC ACA20000 */ sw $v0, 0x0($a1) +/* C19E0 8012AB00 3C02F550 */ lui $v0, (0xF5500000 >> 16) +/* C19E4 8012AB04 AC820000 */ sw $v0, 0x0($a0) +/* C19E8 8012AB08 24820010 */ addiu $v0, $a0, 0x10 +/* C19EC 8012AB0C AC880004 */ sw $t0, 0x4($a0) +/* C19F0 8012AB10 ACA20000 */ sw $v0, 0x0($a1) +/* C19F4 8012AB14 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* C19F8 8012AB18 AC820008 */ sw $v0, 0x8($a0) +/* C19FC 8012AB1C 24820018 */ addiu $v0, $a0, 0x18 +/* C1A00 8012AB20 AC80000C */ sw $zero, 0xC($a0) +/* C1A04 8012AB24 ACA20000 */ sw $v0, 0x0($a1) +/* C1A08 8012AB28 3C02F300 */ lui $v0, (0xF3000000 >> 16) +/* C1A0C 8012AB2C AC820010 */ sw $v0, 0x10($a0) +/* C1A10 8012AB30 91230000 */ lbu $v1, 0x0($t1) +/* C1A14 8012AB34 24860014 */ addiu $a2, $a0, 0x14 +/* C1A18 8012AB38 00032102 */ srl $a0, $v1, 4 +/* C1A1C 8012AB3C 10800002 */ beqz $a0, .LIQUE_8012AB48 +/* C1A20 8012AB40 24070800 */ addiu $a3, $zero, 0x800 +/* C1A24 8012AB44 248707FF */ addiu $a3, $a0, 0x7FF +.LIQUE_8012AB48: +/* C1A28 8012AB48 91220001 */ lbu $v0, 0x1($t1) +/* C1A2C 8012AB4C 00620018 */ mult $v1, $v0 +.LIQUE_8012AB50: +/* C1A30 8012AB50 0000C812 */ mflo $t9 +/* C1A34 8012AB54 27220003 */ addiu $v0, $t9, 0x3 +/* C1A38 8012AB58 00021083 */ sra $v0, $v0, 2 +/* C1A3C 8012AB5C 2443FFFF */ addiu $v1, $v0, -0x1 +/* C1A40 8012AB60 28620800 */ slti $v0, $v1, 0x800 +/* C1A44 8012AB64 50400001 */ beql $v0, $zero, .LIQUE_8012AB6C +/* C1A48 8012AB68 240307FF */ addiu $v1, $zero, 0x7FF +.LIQUE_8012AB6C: +/* C1A4C 8012AB6C 30620FFF */ andi $v0, $v1, 0xFFF +/* C1A50 8012AB70 00021300 */ sll $v0, $v0, 12 +/* C1A54 8012AB74 10800036 */ beqz $a0, .LIQUE_8012AC50 +/* C1A58 8012AB78 00482825 */ or $a1, $v0, $t0 +/* C1A5C 8012AB7C 14800002 */ bnez $a0, .LIQUE_8012AB88 +/* C1A60 8012AB80 00E4001A */ div $zero, $a3, $a0 +/* C1A64 8012AB84 0007000D */ break 7 +.LIQUE_8012AB88: +/* C1A68 8012AB88 2401FFFF */ addiu $at, $zero, -0x1 +/* C1A6C 8012AB8C 14810004 */ bne $a0, $at, .LIQUE_8012ABA0 +/* C1A70 8012AB90 3C018000 */ lui $at, (0x80000000 >> 16) +/* C1A74 8012AB94 14E10002 */ bne $a3, $at, .LIQUE_8012ABA0 +/* C1A78 8012AB98 00000000 */ nop +/* C1A7C 8012AB9C 0006000D */ break 6 +.LIQUE_8012ABA0: +/* C1A80 8012ABA0 00001012 */ mflo $v0 +/* C1A84 8012ABA4 0804AB57 */ j .LIQUE_8012AD5C +/* C1A88 8012ABA8 00A21025 */ or $v0, $a1, $v0 +.LIQUE_8012ABAC: +/* C1A8C 8012ABAC 2A4200A6 */ slti $v0, $s2, 0xA6 +/* C1A90 8012ABB0 14400029 */ bnez $v0, .LIQUE_8012AC58 +/* C1A94 8012ABB4 3C02FD50 */ lui $v0, (0xFD500000 >> 16) +/* C1A98 8012ABB8 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* C1A9C 8012ABBC 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* C1AA0 8012ABC0 24070800 */ addiu $a3, $zero, 0x800 +/* C1AA4 8012ABC4 8CA30000 */ lw $v1, 0x0($a1) +/* C1AA8 8012ABC8 3C048015 */ lui $a0, %hi(D_801544A0) +/* C1AAC 8012ABCC 248444A0 */ addiu $a0, $a0, %lo(D_801544A0) +/* C1AB0 8012ABD0 0060302D */ daddu $a2, $v1, $zero +/* C1AB4 8012ABD4 24630008 */ addiu $v1, $v1, 0x8 +/* C1AB8 8012ABD8 ACA30000 */ sw $v1, 0x0($a1) +/* C1ABC 8012ABDC ACC20000 */ sw $v0, 0x0($a2) +/* C1AC0 8012ABE0 3C028015 */ lui $v0, %hi(D_8014AD24) +/* C1AC4 8012ABE4 8C42AD24 */ lw $v0, %lo(D_8014AD24)($v0) +/* C1AC8 8012ABE8 3C080700 */ lui $t0, (0x7000000 >> 16) +/* C1ACC 8012ABEC 000211C0 */ sll $v0, $v0, 7 +/* C1AD0 8012ABF0 00441021 */ addu $v0, $v0, $a0 +/* C1AD4 8012ABF4 ACC20004 */ sw $v0, 0x4($a2) +/* C1AD8 8012ABF8 24620008 */ addiu $v0, $v1, 0x8 +/* C1ADC 8012ABFC ACA20000 */ sw $v0, 0x0($a1) +/* C1AE0 8012AC00 3C02F550 */ lui $v0, (0xF5500000 >> 16) +/* C1AE4 8012AC04 AC620000 */ sw $v0, 0x0($v1) +/* C1AE8 8012AC08 24620010 */ addiu $v0, $v1, 0x10 +/* C1AEC 8012AC0C AC680004 */ sw $t0, 0x4($v1) +/* C1AF0 8012AC10 ACA20000 */ sw $v0, 0x0($a1) +/* C1AF4 8012AC14 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* C1AF8 8012AC18 AC620008 */ sw $v0, 0x8($v1) +/* C1AFC 8012AC1C 24620018 */ addiu $v0, $v1, 0x18 +/* C1B00 8012AC20 AC60000C */ sw $zero, 0xC($v1) +/* C1B04 8012AC24 ACA20000 */ sw $v0, 0x0($a1) +/* C1B08 8012AC28 3C02F300 */ lui $v0, (0xF3000000 >> 16) +/* C1B0C 8012AC2C AC620010 */ sw $v0, 0x10($v1) +/* C1B10 8012AC30 91250000 */ lbu $a1, 0x0($t1) +/* C1B14 8012AC34 00052102 */ srl $a0, $a1, 4 +/* C1B18 8012AC38 10800002 */ beqz $a0, .LIQUE_8012AC44 +/* C1B1C 8012AC3C 24660014 */ addiu $a2, $v1, 0x14 +/* C1B20 8012AC40 248707FF */ addiu $a3, $a0, 0x7FF +.LIQUE_8012AC44: +/* C1B24 8012AC44 91220001 */ lbu $v0, 0x1($t1) +/* C1B28 8012AC48 0804AAD4 */ j .LIQUE_8012AB50 +/* C1B2C 8012AC4C 00A20018 */ mult $a1, $v0 +.LIQUE_8012AC50: +/* C1B30 8012AC50 0804AB57 */ j .LIQUE_8012AD5C +/* C1B34 8012AC54 00A71025 */ or $v0, $a1, $a3 +.LIQUE_8012AC58: +/* C1B38 8012AC58 3C06800A */ lui $a2, %hi(gMasterGfxPos) +/* C1B3C 8012AC5C 24C69244 */ addiu $a2, $a2, %lo(gMasterGfxPos) +/* C1B40 8012AC60 8CC40000 */ lw $a0, 0x0($a2) +/* C1B44 8012AC64 0080382D */ daddu $a3, $a0, $zero +/* C1B48 8012AC68 24840008 */ addiu $a0, $a0, 0x8 +/* C1B4C 8012AC6C ACC40000 */ sw $a0, 0x0($a2) +/* C1B50 8012AC70 ACE20000 */ sw $v0, 0x0($a3) +/* C1B54 8012AC74 24820008 */ addiu $v0, $a0, 0x8 +/* C1B58 8012AC78 ACC20000 */ sw $v0, 0x0($a2) +/* C1B5C 8012AC7C 24820010 */ addiu $v0, $a0, 0x10 +/* C1B60 8012AC80 ACC20000 */ sw $v0, 0x0($a2) +/* C1B64 8012AC84 000A1040 */ sll $v0, $t2, 1 +/* C1B68 8012AC88 004A1021 */ addu $v0, $v0, $t2 +/* C1B6C 8012AC8C 00021080 */ sll $v0, $v0, 2 +/* C1B70 8012AC90 8D250008 */ lw $a1, 0x8($t1) +/* C1B74 8012AC94 95230004 */ lhu $v1, 0x4($t1) +/* C1B78 8012AC98 00451021 */ addu $v0, $v0, $a1 +/* C1B7C 8012AC9C 00720018 */ mult $v1, $s2 +/* C1B80 8012ACA0 24830018 */ addiu $v1, $a0, 0x18 +/* C1B84 8012ACA4 8C420000 */ lw $v0, 0x0($v0) +/* C1B88 8012ACA8 3C050700 */ lui $a1, (0x7000000 >> 16) +/* C1B8C 8012ACAC ACC30000 */ sw $v1, 0x0($a2) +/* C1B90 8012ACB0 0000C812 */ mflo $t9 +/* C1B94 8012ACB4 00591021 */ addu $v0, $v0, $t9 +/* C1B98 8012ACB8 ACE20004 */ sw $v0, 0x4($a3) +/* C1B9C 8012ACBC 3C02F550 */ lui $v0, (0xF5500000 >> 16) +/* C1BA0 8012ACC0 AC820000 */ sw $v0, 0x0($a0) +/* C1BA4 8012ACC4 3C02E600 */ lui $v0, (0xE6000000 >> 16) +/* C1BA8 8012ACC8 AC820008 */ sw $v0, 0x8($a0) +/* C1BAC 8012ACCC 3C02F300 */ lui $v0, (0xF3000000 >> 16) +/* C1BB0 8012ACD0 AC850004 */ sw $a1, 0x4($a0) +/* C1BB4 8012ACD4 AC80000C */ sw $zero, 0xC($a0) +/* C1BB8 8012ACD8 AC820010 */ sw $v0, 0x10($a0) +/* C1BBC 8012ACDC 91230000 */ lbu $v1, 0x0($t1) +/* C1BC0 8012ACE0 24860014 */ addiu $a2, $a0, 0x14 +/* C1BC4 8012ACE4 00032102 */ srl $a0, $v1, 4 +/* C1BC8 8012ACE8 10800002 */ beqz $a0, .LIQUE_8012ACF4 +/* C1BCC 8012ACEC 24080800 */ addiu $t0, $zero, 0x800 +/* C1BD0 8012ACF0 248807FF */ addiu $t0, $a0, 0x7FF +.LIQUE_8012ACF4: +/* C1BD4 8012ACF4 91220001 */ lbu $v0, 0x1($t1) +/* C1BD8 8012ACF8 00620018 */ mult $v1, $v0 +/* C1BDC 8012ACFC 0000C812 */ mflo $t9 +/* C1BE0 8012AD00 27220003 */ addiu $v0, $t9, 0x3 +/* C1BE4 8012AD04 00021083 */ sra $v0, $v0, 2 +/* C1BE8 8012AD08 2443FFFF */ addiu $v1, $v0, -0x1 +/* C1BEC 8012AD0C 28620800 */ slti $v0, $v1, 0x800 +/* C1BF0 8012AD10 50400001 */ beql $v0, $zero, .LIQUE_8012AD18 +/* C1BF4 8012AD14 240307FF */ addiu $v1, $zero, 0x7FF +.LIQUE_8012AD18: +/* C1BF8 8012AD18 30620FFF */ andi $v0, $v1, 0xFFF +/* C1BFC 8012AD1C 00021300 */ sll $v0, $v0, 12 +/* C1C00 8012AD20 1080000D */ beqz $a0, .LIQUE_8012AD58 +/* C1C04 8012AD24 00452825 */ or $a1, $v0, $a1 +/* C1C08 8012AD28 14800002 */ bnez $a0, .LIQUE_8012AD34 +/* C1C0C 8012AD2C 0104001A */ div $zero, $t0, $a0 +/* C1C10 8012AD30 0007000D */ break 7 +.LIQUE_8012AD34: +/* C1C14 8012AD34 2401FFFF */ addiu $at, $zero, -0x1 +/* C1C18 8012AD38 14810004 */ bne $a0, $at, .LIQUE_8012AD4C +/* C1C1C 8012AD3C 3C018000 */ lui $at, (0x80000000 >> 16) +/* C1C20 8012AD40 15010002 */ bne $t0, $at, .LIQUE_8012AD4C +/* C1C24 8012AD44 00000000 */ nop +/* C1C28 8012AD48 0006000D */ break 6 +.LIQUE_8012AD4C: +/* C1C2C 8012AD4C 00001012 */ mflo $v0 +/* C1C30 8012AD50 0804AB57 */ j .LIQUE_8012AD5C +/* C1C34 8012AD54 00A21025 */ or $v0, $a1, $v0 +.LIQUE_8012AD58: +/* C1C38 8012AD58 00A81025 */ or $v0, $a1, $t0 +.LIQUE_8012AD5C: +/* C1C3C 8012AD5C 3C05800A */ lui $a1, %hi(gMasterGfxPos) +/* C1C40 8012AD60 24A59244 */ addiu $a1, $a1, %lo(gMasterGfxPos) +/* C1C44 8012AD64 8CA40000 */ lw $a0, 0x0($a1) +/* C1C48 8012AD68 ACC20000 */ sw $v0, 0x0($a2) +/* C1C4C 8012AD6C 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* C1C50 8012AD70 0080182D */ daddu $v1, $a0, $zero +/* C1C54 8012AD74 24840008 */ addiu $a0, $a0, 0x8 +/* C1C58 8012AD78 ACA40000 */ sw $a0, 0x0($a1) +/* C1C5C 8012AD7C AC620000 */ sw $v0, 0x0($v1) +/* C1C60 8012AD80 24820008 */ addiu $v0, $a0, 0x8 +/* C1C64 8012AD84 AC600004 */ sw $zero, 0x4($v1) +/* C1C68 8012AD88 ACA20000 */ sw $v0, 0x0($a1) +/* C1C6C 8012AD8C 91220000 */ lbu $v0, 0x0($t1) +/* C1C70 8012AD90 24830010 */ addiu $v1, $a0, 0x10 +/* C1C74 8012AD94 AC800004 */ sw $zero, 0x4($a0) +/* C1C78 8012AD98 ACA30000 */ sw $v1, 0x0($a1) +/* C1C7C 8012AD9C 3C03F200 */ lui $v1, (0xF2000000 >> 16) +/* C1C80 8012ADA0 AC830008 */ sw $v1, 0x8($a0) +/* C1C84 8012ADA4 3C03F540 */ lui $v1, (0xF5400000 >> 16) +/* C1C88 8012ADA8 00021042 */ srl $v0, $v0, 1 +/* C1C8C 8012ADAC 24420007 */ addiu $v0, $v0, 0x7 +/* C1C90 8012ADB0 000210C2 */ srl $v0, $v0, 3 +/* C1C94 8012ADB4 00021240 */ sll $v0, $v0, 9 +/* C1C98 8012ADB8 00431025 */ or $v0, $v0, $v1 +/* C1C9C 8012ADBC AC820000 */ sw $v0, 0x0($a0) +/* C1CA0 8012ADC0 91230000 */ lbu $v1, 0x0($t1) +/* C1CA4 8012ADC4 91220001 */ lbu $v0, 0x1($t1) +/* C1CA8 8012ADC8 2463FFFF */ addiu $v1, $v1, -0x1 +/* C1CAC 8012ADCC 00031880 */ sll $v1, $v1, 2 +/* C1CB0 8012ADD0 30630FFF */ andi $v1, $v1, 0xFFF +/* C1CB4 8012ADD4 00031B00 */ sll $v1, $v1, 12 +/* C1CB8 8012ADD8 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1CBC 8012ADDC 00021080 */ sll $v0, $v0, 2 +/* C1CC0 8012ADE0 30420FFF */ andi $v0, $v0, 0xFFF +/* C1CC4 8012ADE4 00621825 */ or $v1, $v1, $v0 +/* C1CC8 8012ADE8 0804AC0A */ j .LIQUE_8012B028 +/* C1CCC 8012ADEC AC83000C */ sw $v1, 0xC($a0) +.LIQUE_8012ADF0: +/* C1CD0 8012ADF0 2C420002 */ sltiu $v0, $v0, 0x2 +/* C1CD4 8012ADF4 10400018 */ beqz $v0, .LIQUE_8012AE58 +/* C1CD8 8012ADF8 001219C0 */ sll $v1, $s2, 7 +/* C1CDC 8012ADFC 3C06800A */ lui $a2, %hi(gMasterGfxPos) +/* C1CE0 8012AE00 24C69244 */ addiu $a2, $a2, %lo(gMasterGfxPos) +/* C1CE4 8012AE04 8CC50000 */ lw $a1, 0x0($a2) +/* C1CE8 8012AE08 3C048014 */ lui $a0, %hi(D_8013A520) +/* C1CEC 8012AE0C 2484A520 */ addiu $a0, $a0, %lo(D_8013A520) +/* C1CF0 8012AE10 00A0382D */ daddu $a3, $a1, $zero +/* C1CF4 8012AE14 24A50008 */ addiu $a1, $a1, 0x8 +/* C1CF8 8012AE18 ACC50000 */ sw $a1, 0x0($a2) +/* C1CFC 8012AE1C 91220000 */ lbu $v0, 0x0($t1) +/* C1D00 8012AE20 00641821 */ addu $v1, $v1, $a0 +/* C1D04 8012AE24 ACE30004 */ sw $v1, 0x4($a3) +/* C1D08 8012AE28 24A30008 */ addiu $v1, $a1, 0x8 +/* C1D0C 8012AE2C ACC30000 */ sw $v1, 0x0($a2) +/* C1D10 8012AE30 3C03FD48 */ lui $v1, (0xFD480000 >> 16) +/* C1D14 8012AE34 00021042 */ srl $v0, $v0, 1 +/* C1D18 8012AE38 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1D1C 8012AE3C 30420FFF */ andi $v0, $v0, 0xFFF +/* C1D20 8012AE40 00431025 */ or $v0, $v0, $v1 +/* C1D24 8012AE44 ACE20000 */ sw $v0, 0x0($a3) +/* C1D28 8012AE48 3C070700 */ lui $a3, (0x7000000 >> 16) +/* C1D2C 8012AE4C 91220000 */ lbu $v0, 0x0($t1) +/* C1D30 8012AE50 0804ABCF */ j .LIQUE_8012AF3C +/* C1D34 8012AE54 24A30010 */ addiu $v1, $a1, 0x10 +.LIQUE_8012AE58: +/* C1D38 8012AE58 2A4200A6 */ slti $v0, $s2, 0xA6 +/* C1D3C 8012AE5C 5440001B */ bnel $v0, $zero, .LIQUE_8012AECC +/* C1D40 8012AE60 3C03FD48 */ lui $v1, (0xFD480000 >> 16) +/* C1D44 8012AE64 3C06800A */ lui $a2, %hi(gMasterGfxPos) +/* C1D48 8012AE68 24C69244 */ addiu $a2, $a2, %lo(gMasterGfxPos) +/* C1D4C 8012AE6C 8CC50000 */ lw $a1, 0x0($a2) +/* C1D50 8012AE70 3C048015 */ lui $a0, %hi(D_801544A0) +/* C1D54 8012AE74 248444A0 */ addiu $a0, $a0, %lo(D_801544A0) +/* C1D58 8012AE78 00A0382D */ daddu $a3, $a1, $zero +/* C1D5C 8012AE7C 24A50008 */ addiu $a1, $a1, 0x8 +/* C1D60 8012AE80 ACC50000 */ sw $a1, 0x0($a2) +/* C1D64 8012AE84 3C038015 */ lui $v1, %hi(D_8014AD24) +/* C1D68 8012AE88 8C63AD24 */ lw $v1, %lo(D_8014AD24)($v1) +/* C1D6C 8012AE8C 91220000 */ lbu $v0, 0x0($t1) +/* C1D70 8012AE90 000319C0 */ sll $v1, $v1, 7 +/* C1D74 8012AE94 00641821 */ addu $v1, $v1, $a0 +/* C1D78 8012AE98 ACE30004 */ sw $v1, 0x4($a3) +/* C1D7C 8012AE9C 24A30008 */ addiu $v1, $a1, 0x8 +/* C1D80 8012AEA0 00021042 */ srl $v0, $v0, 1 +/* C1D84 8012AEA4 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1D88 8012AEA8 30420FFF */ andi $v0, $v0, 0xFFF +/* C1D8C 8012AEAC ACC30000 */ sw $v1, 0x0($a2) +/* C1D90 8012AEB0 3C03FD48 */ lui $v1, (0xFD480000 >> 16) +/* C1D94 8012AEB4 00431025 */ or $v0, $v0, $v1 +/* C1D98 8012AEB8 ACE20000 */ sw $v0, 0x0($a3) +/* C1D9C 8012AEBC 3C070700 */ lui $a3, (0x7000000 >> 16) +/* C1DA0 8012AEC0 91220000 */ lbu $v0, 0x0($t1) +/* C1DA4 8012AEC4 0804ABCF */ j .LIQUE_8012AF3C +/* C1DA8 8012AEC8 24A30010 */ addiu $v1, $a1, 0x10 +.LIQUE_8012AECC: +/* C1DAC 8012AECC 3C06800A */ lui $a2, %hi(gMasterGfxPos) +/* C1DB0 8012AED0 24C69244 */ addiu $a2, $a2, %lo(gMasterGfxPos) +/* C1DB4 8012AED4 8CC50000 */ lw $a1, 0x0($a2) +/* C1DB8 8012AED8 00A0382D */ daddu $a3, $a1, $zero +/* C1DBC 8012AEDC 24A50008 */ addiu $a1, $a1, 0x8 +/* C1DC0 8012AEE0 ACC50000 */ sw $a1, 0x0($a2) +/* C1DC4 8012AEE4 91220000 */ lbu $v0, 0x0($t1) +/* C1DC8 8012AEE8 00021042 */ srl $v0, $v0, 1 +/* C1DCC 8012AEEC 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1DD0 8012AEF0 30420FFF */ andi $v0, $v0, 0xFFF +/* C1DD4 8012AEF4 00431025 */ or $v0, $v0, $v1 +/* C1DD8 8012AEF8 ACE20000 */ sw $v0, 0x0($a3) +/* C1DDC 8012AEFC 000A1040 */ sll $v0, $t2, 1 +/* C1DE0 8012AF00 004A1021 */ addu $v0, $v0, $t2 +/* C1DE4 8012AF04 00021080 */ sll $v0, $v0, 2 +/* C1DE8 8012AF08 8D240008 */ lw $a0, 0x8($t1) +/* C1DEC 8012AF0C 95230004 */ lhu $v1, 0x4($t1) +/* C1DF0 8012AF10 00441021 */ addu $v0, $v0, $a0 +/* C1DF4 8012AF14 00720018 */ mult $v1, $s2 +/* C1DF8 8012AF18 8C420000 */ lw $v0, 0x0($v0) +/* C1DFC 8012AF1C 24A30008 */ addiu $v1, $a1, 0x8 +/* C1E00 8012AF20 ACC30000 */ sw $v1, 0x0($a2) +/* C1E04 8012AF24 24A30010 */ addiu $v1, $a1, 0x10 +/* C1E08 8012AF28 0000C812 */ mflo $t9 +/* C1E0C 8012AF2C 00591021 */ addu $v0, $v0, $t9 +/* C1E10 8012AF30 ACE20004 */ sw $v0, 0x4($a3) +/* C1E14 8012AF34 91220000 */ lbu $v0, 0x0($t1) +/* C1E18 8012AF38 3C070700 */ lui $a3, (0x7000000 >> 16) +.LIQUE_8012AF3C: +/* C1E1C 8012AF3C ACA70004 */ sw $a3, 0x4($a1) +/* C1E20 8012AF40 ACC30000 */ sw $v1, 0x0($a2) +/* C1E24 8012AF44 3C03E600 */ lui $v1, (0xE6000000 >> 16) +/* C1E28 8012AF48 ACA30008 */ sw $v1, 0x8($a1) +/* C1E2C 8012AF4C 24A30018 */ addiu $v1, $a1, 0x18 +/* C1E30 8012AF50 ACA0000C */ sw $zero, 0xC($a1) +/* C1E34 8012AF54 ACC30000 */ sw $v1, 0x0($a2) +/* C1E38 8012AF58 3C03F400 */ lui $v1, (0xF4000000 >> 16) +/* C1E3C 8012AF5C ACA30010 */ sw $v1, 0x10($a1) +/* C1E40 8012AF60 3C03F548 */ lui $v1, (0xF5480000 >> 16) +/* C1E44 8012AF64 00021042 */ srl $v0, $v0, 1 +/* C1E48 8012AF68 24420007 */ addiu $v0, $v0, 0x7 +/* C1E4C 8012AF6C 000210C2 */ srl $v0, $v0, 3 +/* C1E50 8012AF70 00021240 */ sll $v0, $v0, 9 +/* C1E54 8012AF74 00431025 */ or $v0, $v0, $v1 +/* C1E58 8012AF78 ACA20000 */ sw $v0, 0x0($a1) +/* C1E5C 8012AF7C 91220000 */ lbu $v0, 0x0($t1) +/* C1E60 8012AF80 91240001 */ lbu $a0, 0x1($t1) +/* C1E64 8012AF84 24A30020 */ addiu $v1, $a1, 0x20 +/* C1E68 8012AF88 ACC30000 */ sw $v1, 0x0($a2) +/* C1E6C 8012AF8C 3C03E700 */ lui $v1, (0xE7000000 >> 16) +/* C1E70 8012AF90 ACA30018 */ sw $v1, 0x18($a1) +/* C1E74 8012AF94 24A30028 */ addiu $v1, $a1, 0x28 +/* C1E78 8012AF98 ACA0001C */ sw $zero, 0x1C($a1) +/* C1E7C 8012AF9C ACC30000 */ sw $v1, 0x0($a2) +/* C1E80 8012AFA0 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1E84 8012AFA4 00021040 */ sll $v0, $v0, 1 +/* C1E88 8012AFA8 30420FFF */ andi $v0, $v0, 0xFFF +/* C1E8C 8012AFAC 00021300 */ sll $v0, $v0, 12 +/* C1E90 8012AFB0 2484FFFF */ addiu $a0, $a0, -0x1 +/* C1E94 8012AFB4 00042080 */ sll $a0, $a0, 2 +/* C1E98 8012AFB8 30840FFF */ andi $a0, $a0, 0xFFF +/* C1E9C 8012AFBC 00872025 */ or $a0, $a0, $a3 +/* C1EA0 8012AFC0 00441025 */ or $v0, $v0, $a0 +/* C1EA4 8012AFC4 ACA20014 */ sw $v0, 0x14($a1) +/* C1EA8 8012AFC8 91220000 */ lbu $v0, 0x0($t1) +/* C1EAC 8012AFCC 24A30030 */ addiu $v1, $a1, 0x30 +/* C1EB0 8012AFD0 ACA00024 */ sw $zero, 0x24($a1) +/* C1EB4 8012AFD4 ACC30000 */ sw $v1, 0x0($a2) +/* C1EB8 8012AFD8 3C03F200 */ lui $v1, (0xF2000000 >> 16) +/* C1EBC 8012AFDC ACA30028 */ sw $v1, 0x28($a1) +/* C1EC0 8012AFE0 3C03F540 */ lui $v1, (0xF5400000 >> 16) +/* C1EC4 8012AFE4 00021042 */ srl $v0, $v0, 1 +/* C1EC8 8012AFE8 24420007 */ addiu $v0, $v0, 0x7 +/* C1ECC 8012AFEC 000210C2 */ srl $v0, $v0, 3 +/* C1ED0 8012AFF0 00021240 */ sll $v0, $v0, 9 +/* C1ED4 8012AFF4 00431025 */ or $v0, $v0, $v1 +/* C1ED8 8012AFF8 ACA20020 */ sw $v0, 0x20($a1) +/* C1EDC 8012AFFC 91230000 */ lbu $v1, 0x0($t1) +/* C1EE0 8012B000 91220001 */ lbu $v0, 0x1($t1) +/* C1EE4 8012B004 2463FFFF */ addiu $v1, $v1, -0x1 +/* C1EE8 8012B008 00031880 */ sll $v1, $v1, 2 +/* C1EEC 8012B00C 30630FFF */ andi $v1, $v1, 0xFFF +/* C1EF0 8012B010 00031B00 */ sll $v1, $v1, 12 +/* C1EF4 8012B014 2442FFFF */ addiu $v0, $v0, -0x1 +/* C1EF8 8012B018 00021080 */ sll $v0, $v0, 2 +/* C1EFC 8012B01C 30420FFF */ andi $v0, $v0, 0xFFF +/* C1F00 8012B020 00621825 */ or $v1, $v1, $v0 +/* C1F04 8012B024 ACA3002C */ sw $v1, 0x2C($a1) +.LIQUE_8012B028: +/* C1F08 8012B028 3C06800A */ lui $a2, %hi(gMasterGfxPos) +/* C1F0C 8012B02C 24C69244 */ addiu $a2, $a2, %lo(gMasterGfxPos) +/* C1F10 8012B030 000C1080 */ sll $v0, $t4, 2 +/* C1F14 8012B034 30420FFF */ andi $v0, $v0, 0xFFF +/* C1F18 8012B038 00021300 */ sll $v0, $v0, 12 +/* C1F1C 8012B03C 000B1880 */ sll $v1, $t3, 2 +/* C1F20 8012B040 30630FFF */ andi $v1, $v1, 0xFFF +/* C1F24 8012B044 3C04E400 */ lui $a0, (0xE4000000 >> 16) +/* C1F28 8012B048 00641825 */ or $v1, $v1, $a0 +/* C1F2C 8012B04C 00431025 */ or $v0, $v0, $v1 +/* C1F30 8012B050 000D1880 */ sll $v1, $t5, 2 +/* C1F34 8012B054 8CC50000 */ lw $a1, 0x0($a2) +/* C1F38 8012B058 30630FFF */ andi $v1, $v1, 0xFFF +/* C1F3C 8012B05C 00A0382D */ daddu $a3, $a1, $zero +/* C1F40 8012B060 24A50008 */ addiu $a1, $a1, 0x8 +/* C1F44 8012B064 ACC50000 */ sw $a1, 0x0($a2) +/* C1F48 8012B068 ACE20000 */ sw $v0, 0x0($a3) +/* C1F4C 8012B06C 000F1080 */ sll $v0, $t7, 2 +/* C1F50 8012B070 30420FFF */ andi $v0, $v0, 0xFFF +/* C1F54 8012B074 00021300 */ sll $v0, $v0, 12 +/* C1F58 8012B078 00431025 */ or $v0, $v0, $v1 +/* C1F5C 8012B07C ACE20004 */ sw $v0, 0x4($a3) +/* C1F60 8012B080 24A20008 */ addiu $v0, $a1, 0x8 +/* C1F64 8012B084 ACC20000 */ sw $v0, 0x0($a2) +/* C1F68 8012B088 3C02E100 */ lui $v0, (0xE1000000 >> 16) +/* C1F6C 8012B08C ACA20000 */ sw $v0, 0x0($a1) +/* C1F70 8012B090 00181400 */ sll $v0, $t8, 16 +/* C1F74 8012B094 31C3FFFF */ andi $v1, $t6, 0xFFFF +/* C1F78 8012B098 00431025 */ or $v0, $v0, $v1 +/* C1F7C 8012B09C ACA20004 */ sw $v0, 0x4($a1) +/* C1F80 8012B0A0 24A20010 */ addiu $v0, $a1, 0x10 +/* C1F84 8012B0A4 ACC20000 */ sw $v0, 0x0($a2) +/* C1F88 8012B0A8 3C02F100 */ lui $v0, (0xF1000000 >> 16) +/* C1F8C 8012B0AC ACA20008 */ sw $v0, 0x8($a1) +/* C1F90 8012B0B0 00111400 */ sll $v0, $s1, 16 +/* C1F94 8012B0B4 3263FFFF */ andi $v1, $s3, 0xFFFF +/* C1F98 8012B0B8 00431025 */ or $v0, $v0, $v1 +/* C1F9C 8012B0BC ACA2000C */ sw $v0, 0xC($a1) +/* C1FA0 8012B0C0 2A4200A6 */ slti $v0, $s2, 0xA6 +/* C1FA4 8012B0C4 14400012 */ bnez $v0, .LIQUE_8012B110 +/* C1FA8 8012B0C8 00000000 */ nop +/* C1FAC 8012B0CC 3C058015 */ lui $a1, %hi(D_8014AD24) +/* C1FB0 8012B0D0 24A5AD24 */ addiu $a1, $a1, %lo(D_8014AD24) +/* C1FB4 8012B0D4 8CA30000 */ lw $v1, 0x0($a1) +/* C1FB8 8012B0D8 3C028888 */ lui $v0, (0x88888889 >> 16) +/* C1FBC 8012B0DC 34428889 */ ori $v0, $v0, (0x88888889 & 0xFFFF) +/* C1FC0 8012B0E0 24630001 */ addiu $v1, $v1, 0x1 +/* C1FC4 8012B0E4 00620019 */ multu $v1, $v0 +/* C1FC8 8012B0E8 0000C810 */ mfhi $t9 +/* C1FCC 8012B0EC 00192182 */ srl $a0, $t9, 6 +/* C1FD0 8012B0F0 00041100 */ sll $v0, $a0, 4 +/* C1FD4 8012B0F4 00441023 */ subu $v0, $v0, $a0 +/* C1FD8 8012B0F8 000210C0 */ sll $v0, $v0, 3 +/* C1FDC 8012B0FC 00621823 */ subu $v1, $v1, $v0 +/* C1FE0 8012B100 14600003 */ bnez $v1, .LIQUE_8012B110 +/* C1FE4 8012B104 ACA30000 */ sw $v1, 0x0($a1) +/* C1FE8 8012B108 24020002 */ addiu $v0, $zero, 0x2 +/* C1FEC 8012B10C ACA20000 */ sw $v0, 0x0($a1) +.LIQUE_8012B110: +/* C1FF0 8012B110 8FBF0024 */ lw $ra, 0x24($sp) +/* C1FF4 8012B114 8FB40020 */ lw $s4, 0x20($sp) +/* C1FF8 8012B118 8FB3001C */ lw $s3, 0x1C($sp) +/* C1FFC 8012B11C 8FB20018 */ lw $s2, 0x18($sp) +/* C2000 8012B120 8FB10014 */ lw $s1, 0x14($sp) +/* C2004 8012B124 8FB00010 */ lw $s0, 0x10($sp) +/* C2008 8012B128 03E00008 */ jr $ra +/* C200C 8012B12C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/cn/splat.yaml b/ver/cn/splat.yaml index e29d0478ba..89380a6e21 100644 --- a/ver/cn/splat.yaml +++ b/ver/cn/splat.yaml @@ -396,14 +396,69 @@ segments: - [0xa4990] - name: engine2 - dir: engine2 type: code start: 0xa4990 vram: 0x8010dab0 subsegments: - - [0xa4990, bin] - - [0xe6920] - + - [0xA4990, hasm, bss3] + - [0xA4990, c, a5dd0_len_114e0] + - [0xB3140, c, B4580] + - [0xB5E70, c, entity_model] + - [0xB8370, c, worker] + - [0xB8920, c, msg] + - [0xC4010, c, C50A0] + - [0xCC0F0, c, cd180_len_38f0] + - [0xCDDB0, c, CEE40] + - [0xCF9E0, c, d0a70_len_4fe0] + - [0xD49C0, c, hud_element] + - [0xDA990, c, dba20_len_350] + - [0xDACE0, c, trigger] + - [0xDB3E0, c, dc470_len_14c0] + - [0xDC8A0, c, audio/ambience] + - [0xDCA60, c, windows] + - [0xDD6B0, c, de740_len_23f0] + - [0xDE8C0, c, audio/sfx] + - [0xDFAA0, c, audio/e0b30_len_b80] + - [0xE0620, .data, a5dd0_len_114e0] + - [0xE18C0, .data, B4580] + - [0xE18D0, .data, entity_model] + - [0xE18F0, .data, msg] + - [0xE1C10, .data, C50A0] + - start: 0xE1D60 + type: .data + name: cd180_len_38f0 + subsegments: + - [0xE1D60] + - [0xE1D70, i4, ui/stencil/star, 32, 64] + - [0xE2170, i4, ui/stencil/mario, 64, 64] + - [0xE2970, i4, ui/stencil/sharp_circle, 32, 32] + - [0xE2B70, i8, ui/stencil/blurry_circle, 64, 64] + - [0xE3B70, vtx, vtx/stencil1] + - [0xE3C10] + - [0xE3DE0, vtx, vtx/stencil2] + - [0xE3F60] + - [0xE4400, .data, CEE40] + - [0xE4480, .data, d0a70_len_4fe0] + - [0xE4630, .data, hud_element] + - [0xE4790, .data, dc470_len_14c0] + - [0xE47B0, .data, audio/ambience] + - [0xE47C0, .data, windows] + - [0xE4940, .data, audio/sfx] + - [0xE4D60, .data, audio/e0b30_len_b80] + - [0xE4DB0, .rodata, a5dd0_len_114e0] + - [0xE54D0, .rodata, B4580] + - [0xE5720, .rodata, entity_model] + - [0xE59E0, .rodata, msg] + - [0xE60B0, .rodata, C50A0] + - [0xE6510, .rodata, cd180_len_38f0] + - [0xE65F0, .rodata, CEE40] + - [0xE6620, .rodata, d0a70_len_4fe0] + - [0xE67B0, .rodata, hud_element] + - [0xE6890, .rodata, dc470_len_14c0] + - [0xE68B0, .rodata, windows] + - [0xE68C0, .rodata, audio/sfx] + - [0xE6900, .rodata, audio/e0b30_len_b80] + - [0xE6920] - name: evt dir: evt type: code diff --git a/ver/cn/symbol_addrs.txt b/ver/cn/symbol_addrs.txt index 819547685f..3f809b31c0 100644 --- a/ver/cn/symbol_addrs.txt +++ b/ver/cn/symbol_addrs.txt @@ -539,3 +539,114 @@ gMsgCharsets = 0x802eb5a8; load_font_data = 0x80121ae8; D_802F4560 = 0x802f4558; +ui_stencil_star_png = 0x8014ae90; // segment:engine2 +ui_stencil_mario_png = 0x8014b290; // segment:engine2 +ui_stencil_sharp_circle_png = 0x8014ba90; // segment:engine2 +ui_stencil_blurry_circle_png = 0x8014bc90; // segment:engine2 +vtx_stencil1 = 0x8014cc90; // segment:engine2 +vtx_stencil2 = 0x8014cf00; // segment:engine2 + +test_item_player_collision = 0x8013229c; +item_entity_load = 0x8012f8b8; +draw_image_with_clipping = 0x8012d424; +appendGfx_animator_node = 0x8011de34; +appendGfx_shading_palette = 0x80147148; +mdl_project_tex_coords = 0x8011a70c; +msg_get_print_char_width = 0x80123ff0; +msg_copy_to_print_buffer = 0x8012294c; +render_hud_element = 0x8014138c; +get_model_from_list_index = 0x80119110; +mdl_get_vertex_count = 0x8011a408; +gMatrixListPos = 0x80072e60; +gDisplayContext = 0x8009924c; +gAnimModelFogEnabled = 0x801521c4; +D_801536C0 = 0x80151e40; +general_heap_malloc = 0x8002a8f8; +D_802EE8D0 = 0x802ee8d0; +D_802ED970 = 0x802ed970; +D_802F39D0 = 0x802f39d0; +sfx_play_sound_with_params = 0x80148248; +heap_malloc = 0x8002a9b4; +D_80159180 = 0x8015b500; +D_802ED970 = 0x802ed970; +D_802F39D0 = 0x802f39d0; +charset_postcard_png = 0x00054fa8; +charset_postcard_pal + 5 = 0x00056e70; +D_80159B50 = 0x8015bed0; +icon_present_ROM_START = 0x00215390; +gOverrideFlags = 0x80099228; +D_801565A6 = 0x80158926; +gHudElementCacheTableRaster = 0x8014fa58; +D_8015131C = 0x8014faac; +gItemIconRasterOffsets = 0x8008d038; +gItemIconPaletteOffsets = 0x8008d5ac; +D_8015C7E0 = 0x8015eb60; +item_entity_update = 0x80130564; +charset_ROM_START = 0x0010e120; +dma_copy = 0x8002940c; +animator_copy_vertices_to_buffer = 0x8011c260; +get_time_freeze_mode = 0x80026e60; +get_model_list_index_from_tree_index = 0x801193f0; +gMessageMsgVars = 0x801543b8; +msg_play_speech_sound = 0x80122810; +gItemEntityScripts = 0x8008ca34; +gHudElementCacheBuffer = 0x8014faa4; +gHudElementCacheSize = 0x8014facc; +gHudElementCacheTablePalette = 0x8014fa60; +gGameStatusPtr = 0x80072e0c; +gEncounterState = 0x800991cc; +fold_appendGfx_component = 0x80139700; +get_msg_properties = 0x801242f8; +appendGfx_message = 0x80126140; +msg_draw_char = 0x8012a75c; +D_8014AD24 = 0x8014ad24; +D_801544A0 = 0x801544a0; +D_8013A520 = 0x8013a520; +D_8014AD24 = 0x8014ad24; +draw_ci_image_with_clipping = 0x8012d130; +cosine = 0x800290a4; +rand_int = 0x800296cc; +update_lerp = 0x8002a084; +gEncounterState = 0x800991cc; +gCurrentEncounter = 0x800af950; +isPickingUpItem = 0x80158924; +msg_drawState = 0x801580f4; +msg_draw_prim_rect = 0x8012b130; +msg_draw_frame = 0x8012c2e0; +msg_reset_gfx_state = 0x8012a718; +ui_msg_sign_side_right_png = 0x802ecab0; +ui_msg_sign_side_left_png = 0x802ec970; +ui_msg_sign_side_top_png = 0x802ec870; +ui_msg_sign_corner_topright_png = 0x802ec670; +D_80151338 = 0x8014fac8; +gMsgGlobalWaveCounter = 0x8014fa74; +D_8014C500 = 0x8014ac90; +spr_get_npc_raster_info = 0x802de9d8; +ui_msg_sign_fill_png = 0x802eccf0; +ui_msg_sign_side_bottom_png = 0x802ecbf0; +ui_msg_sign_corner_bottomleft_png = 0x802ec6f0; +ui_msg_sign_corner_topleft_png = 0x802ec5f0; +ui_msg_lamppost_pal = 0x802ecd30; +ui_msg_lamppost_corner_bottomright_png = 0x802ec7f0; +ui_msg_sign_pal = 0x802ecd10; +msg_draw_speech_arrow = 0x8012bb64; +msg_draw_speech_bubble = 0x8012b390; +msg_get_draw_char_width = 0x80124184; +D_80151338 = 0x8014fac8; +gMsgVarImages = 0x8014fa84; +ui_msg_sign_corner_bottomright_png = 0x802ec770; +general_heap_free = 0x8002a948; +get_msg_width = 0x80124824; +D_80155D20 = 0x801580a0; +nuPiReadRom = 0x8005eb40; +gCurrentCameraID = 0x80076070; +clamp_angle = 0x800297f4; +add_vec2D_polar = 0x80029c6c; +gHudElementSizes = 0x8014d75c; +fold_update = 0x8013922c; +D_8014F0C8 = 0x8014d858; +nuGfxCfb_ptr = 0x80099224; +D_80159880 = 0x8015bc00; +gCameras = 0x800b07d0; +dma_load_msg = 0x80123b70; +D_80154520 = 0x80154520; diff --git a/ver/cn/undefined_syms.txt b/ver/cn/undefined_syms.txt index 7bc96329de..3ad921c104 100644 --- a/ver/cn/undefined_syms.txt +++ b/ver/cn/undefined_syms.txt @@ -689,118 +689,47 @@ b_area_dig_Stages = 0x8022A83C; // segment:battle_area_dig clear_script_list = 0x802c31dc; spr_init_sprites = 0x802dd8f8; -clear_animator_list = 0x8011c604; -clear_entity_models = 0x8011ef90; -hud_element_clear_cache = 0x8013f890; -clear_trigger_data = 0x80143e10; -clear_model_data = 0x80114124; -clear_sprite_shading_data = 0x801467d0; -reset_background_settings = 0x80144588; -clear_printers = 0x80121a54; gPlayerData = 0x8010d670; evt_set_variable = 0x802c8098; -set_screen_overlay_params_front = 0x80136518; -clear_item_entity_data = 0x8012f780; initialize_status_menu = 0x800e5d14; clear_player_data = 0x800e5780; -func_80138188 = 0x80136918; btl_set_state = 0x80241190; -clear_worker_list = 0x80121498; clear_player_status = 0x800de030; -clear_item_entity_data = 0x8012f780; -clear_entity_data = 0x8010f098; -update_workers = 0x801217e4; -update_triggers = 0x80143ff0; update_scripts = 0x802c3d74; -update_messages = 0x80121bb4; -update_hud_elements = 0x8013fda0; -step_current_game_mode = 0x80111258; -update_entities = 0x8010dab0; -func_80138198 = 0x80136928; -bgm_update_music_settings = 0x80148cd8; -update_ambient_sounds = 0x801459f4; -sfx_update_env_sound_params = 0x80147ec4; -update_windows = 0x80145ba4; disable_player_input = 0x800de558; -sfx_stop_env_sounds = 0x80147fc8; D_80164000 = 0x80162800; player_render_interact_prompts = 0x800de640; -render_screen_overlay_backUI = 0x801369b0; -render_workers_backUI = 0x80121930; -render_window_root = 0x80146254; -render_messages = 0x801225e0; -_render_transition_stencil = 0x80135210; -clear_character_set = 0x80121a40; -clear_game_modes = 0x80110f78; -bgm_reset_sequence_players = 0x80148c28; -reset_ambient_sounds = 0x801459c0; heap_battleHead = 0x803da800; heap_collisionHead = 0x80268000; evt_get_variable = 0x802c7abc; -render_entities = 0x8010e294; -render_models = 0x80114f70; render_player = 0x800df518; -render_workers_world = 0x80121850; -execute_render_tasks = 0x8011bd98; -render_hud_elements_world = 0x80141e44; -render_hud_elements_backUI = 0x801409a0; -state_render_backUI = 0x80111338; -render_workers_frontUI = 0x801218c0; -render_hud_elements_frontUI = 0x80140eac; -render_screen_overlay_frontUI = 0x80136930; -state_render_frontUI = 0x801113a4; -clear_render_tasks = 0x8011bc70; -clear_screen_overlays = 0x80136898; -clear_saved_variables = 0x80143ab0; -sfx_clear_sounds = 0x80147da8; -clear_windows = 0x80145b80; suspend_all_group = 0x802c45e8; heap_generalHead = 0x802fb800; -hud_element_set_render_pos = 0x80143114; -hud_element_draw_next = 0x80142f54; -hud_element_clear_flags = 0x801431bc; -sfx_clear_env_sounds = 0x80147e00; -init_model_data = 0x801143c8; -reset_animator_list = 0x8011c6f0; -init_hud_element_list = 0x8013fa90; init_script_list = 0x802c32ec; -init_entity_data = 0x8010f238; -init_trigger_list = 0x80143eb8; -sfx_set_reverb_mode = 0x80147f8c; -load_map_bg = 0x80144500; -read_background_size = 0x801445b8; -set_background_size = 0x80144600; gPlayerStatus = 0x8010d3a8; update_player = 0x800ddb20; D_802D9D70 = 0x802d9d70; D_802D9D71 = 0x802d9d71; gPlayerStatusPtr = 0x800f5f10; -hud_element_set_aux_cache = 0x80143a78; -bgm_init_music_players = 0x80149398; partner_initialize_data = 0x800e9960; -bgm_reset_volume = 0x80148cbc; -set_screen_overlay_color = 0x801365a0; reset_status_menu = 0x800e7f90; initialize_battle = 0x8023e130; btl_save_world_cameras = 0x802409f4; btl_update = 0x8023e438; -update_item_entities = 0x8013067c; -iterate_models = 0x80114a54; btl_draw_ui = 0x8023ea7c; btl_restore_world_cameras = 0x80240aa8; -set_windows_visible = 0x80146654; filemenu_ROM_START = 0x001ac100; filemenu_VRAM = 0x80242ba0; @@ -868,11 +797,7 @@ SetNpcPos = 0x802cdcb0; gPartnerActionStatus = 0x8010cf90; SetNpcAnimation = 0x802ce0f4; GetNpcPos = 0x802cf0f4; -get_entity_by_index = 0x8010e9c8; -get_model_from_list_index = 0x80119110; -sfx_reset_door_sounds = 0x80147d90; partner_reset_data = 0x800e9854; -clear_area_flags = 0x80143b20; HES_AsleepBegin = 0x801030a4; HES_ParalyzedBegin = 0x801038fc; HES_DizzyBegin = 0x80103ce0; @@ -883,13 +808,8 @@ HES_PoisonedBegin = 0x80104034; HES_ShrunkBegin = 0x80104d44; -gLastRenderTaskCount = 0x80149f80; -get_shadow_by_index = 0x8010e9e4; -make_item_entity = 0x8012fb84; is_ability_active = 0x800e8128; -set_global_flag = 0x80143be0; -get_global_flag = 0x80143c4c; SetNpcFlagBits = 0x802cf060; SetNpcRotation = 0x802cddb0; @@ -900,68 +820,31 @@ npc_raycast_down_sides = 0x800daf5c; HES_Surprise = 0x801059ec; HES_Peril = 0x80106da4; HES_Danger = 0x80106df4; -get_shadow_by_index = 0x8010e9e4; HES_BoostPartner = 0x801059c0; HES_BoostHammerBegin = 0x801056f4; HES_BoostJumpEnd = 0x8010555c; HES_WeakenedEnd = 0x8010483c; -func_80116698 = 0x80114a78; -render_item_entities = 0x801315e4; -init_entity_models = 0x8011f038; -init_worker_list = 0x801214f4; -init_item_entity_list = 0x8012f85c; partner_init_after_battle = 0x800e95e0; -_load_model_textures = 0x80113f24; -calculate_model_sizes = 0x8011450c; -sfx_get_reverb_mode = 0x80147fb8; -bgm_quiet_max_volume = 0x801493ec; -init_sprite_shading_data = 0x80146880; -init_entity_models = 0x8011f038; -init_worker_list = 0x801214f4; -init_item_entity_list = 0x8012f85c; -bgm_reset_max_volume = 0x80149400; -set_map_transition_effect = 0x80136a30; -bgm_set_song = 0x801490a8; status_menu_respond_to_changes = 0x800e7ca4; enable_player_input = 0x800de584; -update_exit_map_screen_overlay = 0x80136a3c; -update_enter_map_screen_overlay = 0x80136d64; gWindows = 0x8015c0d0; does_script_exist = 0x802c4164; -appendGfx_background_texture = 0x80144650; -bgm_pop_battle_song = 0x801495fc; -bgm_push_battle_song = 0x80149688; -bgm_set_battle_song = 0x8014971c; clear_script_flags = 0x802c4880; close_status_menu = 0x800e7b98; CreateNpc = 0x802cdba4; -create_shadow_type = 0x80110640; -create_worker_world = 0x80121538; DeleteNpc = 0x802cdc1c; draw_box = 0x800f36c0; -draw_msg = 0x8012489c; draw_status_ui = 0x800e7b1c; -entity_raycast_down = 0x801109c8; evt_get_float_variable = 0x802c842c; func_800E97E4 = 0x800e7bc4; func_800EF3D4 = 0x800ed7b4; -func_8011BAE8 = 0x80119ec8; -func_8013A6E8 = 0x80138e78; func_802DE894 = 0x802de894; func_802DDEC4 = 0x802ddec4; -game_mode_set_fpDrawAuxUI = 0x80111164; gBackgroundFogModePtr = 0x8014fa80; gBackgroundImage = 0x80200000; GetPlayerPos = 0x802d1dfc; -get_background_color_blend = 0x8011a260; -set_screen_overlay_params_back = 0x80136534; set_script_flags = 0x802c47e8; -set_window_properties = 0x80146458; -set_window_update = 0x8014660c; -sfx_play_sound = 0x80148444; -sfx_play_sound_at_position = 0x801484ec; -sfx_stop_sound = 0x801483fc; spr_draw_npc_sprite = 0x802de3d8; spr_draw_player_sprite = 0x802ddc40; spr_free_sprite = 0x802de5e8; @@ -982,24 +865,13 @@ partner_handle_before_battle = 0x800e9a38; partner_test_enemy_collision = 0x800e99c4; player_reset_data = 0x800de054; PlaySound = 0x802d6150; -queue_render_task = 0x8011bcf0; resolve_npc = 0x802cdac0; resume_all_group = 0x802c4648; resume_all_script = 0x802c448c; SetNpcYaw = 0x802cea84; set_action_state = 0x800e4184; -set_background_color_blend = 0x8011a23c; -set_game_mode_slot = 0x80111088; -set_npc_shadow_scale = 0x80110ce0; -set_screen_overlay_alpha = 0x80136864; -set_screen_overlay_center = 0x801365dc; AuHeapBase = 0x801aa000; -delete_shadow = 0x80110708; func_802C3EE4 = 0x802c3ee4; -get_entity_model = 0x801211bc; -get_hud_element = 0x80143064; -get_msg_lines = 0x80124860; -get_msg_width = 0x80124824; get_script_by_id = 0x802c47a8; HES_AsleepEnd = 0x80103244; HES_BoostHammerEnd = 0x80105854; @@ -1013,10 +885,6 @@ HES_PoisonedEnd = 0x801041d4; HES_ShrunkEnd = 0x80104ee4; kill_script = 0x802c3f3c; kill_script_by_ID = 0x802c40ac; -load_data_for_models = 0x80119128; -load_model_textures = 0x80114004; -make_item_entity_delayed = 0x80130258; -mdl_set_all_fog_mode = 0x8011bc0c; npc_raycast_down_around = 0x800dab58; npc_test_move_complex_with_slipping = 0x800dc174; npc_test_move_taller_with_slipping = 0x800dbec4; @@ -1024,11 +892,6 @@ HES_StoppedEnd = 0x80104b90; HES_TransparentBegin = 0x801050b8; HES_TransparentEnd = 0x80105278; HES_WeakenedBegin = 0x801046bc; -hud_element_create = 0x8013fc34; -hud_element_free = 0x80143084; -hud_element_set_flags = 0x80143190; -hud_element_set_script = 0x80142f8c; -is_picking_up_item = 0x80132978; partner_disable_input = 0x800eda08; partner_enable_input = 0x800ed9e0; @@ -1041,7 +904,6 @@ wPartnerNpc = 0x8010ad10; gPartnerActionStatus = 0x8010cf90; gPlayerStatus = 0x8010d3a8; -D_8014C248 = 0x8014a9d8; D_801A6000 = 0x801a6000; D_80197000 = 0x80197000; @@ -1100,10 +962,7 @@ gMapShapeData = 0x80210000; rspbootTextStart = rspboot_bin; rspbootTextEnd = rspboot_bin + 0xd0; -basic_window_update = 0x80145c04; -draw_number = 0x80125a4c; enforce_hpfp_limits = 0x800e5c4c; -get_msg_properties = 0x801242f8; get_player_data = 0x800e5944; HES_AnimatedCursorHand = 0x80241ecc; HES_Clock = 0x802429fc; @@ -1162,20 +1021,10 @@ HES_StatusStarEmpty = 0x801068d0; HES_StatusStarPoint = 0x80106a8c; HES_StickTapRight = 0x801075c4; HES_UnusedBadge = 0x80241e00; -hud_element_draw_without_clipping = 0x80142f70; -hud_element_set_alpha = 0x80143640; -hud_element_set_scale = 0x801433b0; -replace_window_update = 0x801465d8; -setup_pause_menu_tab = 0x801466c0; ui_box_bg_tile_png = 0x80109840; ui_box_corners4_png = 0x80109740; -update_window_hierarchy = 0x80146500; gCollisionStatus = 0x8015c8d0; evt_set_float_variable = 0x802c8640; -set_main_pan_u = 0x80119ffc; -set_main_pan_v = 0x8011a014; -set_aux_pan_u = 0x8011a02c; -set_aux_pan_v = 0x8011a044; DisablePlayerInput = 0x802d0e28; DisablePartnerAI = 0x802cf4e8; HidePlayerShadow = 0x802d0da0; @@ -1212,25 +1061,15 @@ SetPlayerFlagBits = 0x802d1d60; RandInt = 0x802d46b0; GetPlayerActionState = 0x802d1dd0; InterpNpcYaw = 0x802ceb04; -create_worker_frontUI = 0x8012161c; -dma_load_msg = 0x80123b70; -draw_ci_image_with_clipping = 0x8012d130; EnableModel = 0x802c9288; EnableStatusMenu = 0x802d5998; EnableTexPanning = 0x802c9208; FadeOutMusic = 0x802d5ce0; -fold_appendGfx_component = 0x80139700; -fold_update = 0x8013922c; -func_8011B950 = 0x80119d30; GetCamPosition = 0x802cc2a4; GetNextPathPos = 0x802d5524; -get_model_list_index_from_tree_index = 0x801193f0; GotoMap = 0x802ca400; LoadPath = 0x802d5430; -load_font = 0x80121b10; MakeLerp = 0x802d45b0; -msg_get_glyph = 0x8012d068; -msg_get_print_char_width = 0x80123ff0; NpcFaceNpc = 0x802cee80; NpcFlyTo = 0x802ce6fc; NpcJump0 = 0x802ce6c4; @@ -1250,9 +1089,6 @@ SetNpcRotationPivot = 0x802cde68; SetNpcScale = 0x802cded4; SetNpcSpeed = 0x802ce01c; SetTexPanOffset = 0x802c9364; -set_mdl_custom_gfx_set = 0x8011a05c; -set_model_env_color_parameters = 0x8011a378; -set_model_fog_color_parameters = 0x8011a294; ShowEmote = 0x802d78a0; ShowSweat = 0x802d7e08; spr_allocateBtlComponentsOnWorldHeap = 0x802df524; @@ -1261,8 +1097,6 @@ TranslateModel = 0x802c8b60; UpdateLerp = 0x802d462c; heap_spriteHead = 0x8034f800; -main_menu_window_update = 0x80145de0; -gWindowStyles = 0x8014d8e0; HES_Spirit1 = 0x802423dc; HES_Spirit1Missing = 0x80242408; HES_Spirit2 = 0x80242434; @@ -1289,6 +1123,80 @@ D_802F4560 = 0x802f4558; HES_134F60_135120 = 0x80242b74; HES_FilenameCaret = 0x80241f70; D_802F4560 = 0x802f4558; -load_font_data = 0x80121ae8; +get_current_partner_id = 0x800e3468; +entity_sbk_omo_ROM_END = 0x00e79f70; +CircularShadowA = 0x802e98bc; +CircularShadowB = 0x802e98e0; +SquareShadow = 0x802e9904; +evt_get_variable_index = 0x802c7da8; +D_802EE8D0 = 0x802ee8d0; +charset_postcard_png = 0x00054fa8; +ui_msg_star_silhouette_png = 0x802ed8d0; +ui_msg_rewind_arrow_png = 0x802ed550; +ui_msg_rewind_arrow_pal = 0x802ed670; +ui_point_right_png = 0x800f9f40; +BattleEntityHeapBottom = 0x801A7000; +func_800E06C0 = 0x800deaa0; +charset_standard_OFFSET = 0; +entity_jan_iwa_ROM_START = 0x00e76170; +entity_sbk_omo_ROM_START = 0x00e78190; +entity_jan_iwa_ROM_END = 0x00e78190; +entity_default_ROM_START = 0x00e73f70; +entity_default_ROM_END = 0x00e76170; +fold_gfx_data_ROM_START = 0x00294870; +sort_items = 0x800e5aac; +suggest_player_anim_always_forward = 0x800de358; +add_item = 0x800e5954; +destroy_popup_menu = 0x800ef918; +func_800DFCF4 = 0x800de0d4; +increment_status_menu_disabled = 0x800e7f34; +npc_raycast_up = 0x800db250; +SparkleScript_Coin = 0x80102ea0; +charset_ROM_START = 0x0010e120; charset_standard_OFFSET = 0x00000000; +charset_standard_pal_OFFSET = 0x0004f000; +charset_title_OFFSET = 0x0004f500; +charset_credits_pal_OFFSET = 0x00051000; +charset_subtitle_OFFSET = 0x00050460; +phys_can_player_interact = 0x800e36d8; +ui_msg_sign_corner_topleft_png = 0x802ec5f0; +ui_msg_sign_corner_topright_png = 0x802ec670; +ui_msg_sign_corner_bottomleft_png = 0x802ec6f0; +ui_msg_sign_corner_bottomright_png = 0x802ec770; +ui_msg_lamppost_corner_bottomright_png = 0x802ec7f0; +ui_msg_sign_side_top_png = 0x802ec870; +ui_msg_sign_side_left_png = 0x802ec970; +ui_msg_sign_side_right_png = 0x802ecab0; +ui_msg_sign_side_bottom_png = 0x802ecbf0; +ui_msg_sign_fill_png = 0x802eccf0; +ui_msg_lamppost_pal = 0x802ecd30; +ui_msg_sign_pal = 0x802ecd10; +ui_msg_sign_fill_png = 0x802eccf0; +D_802EB644 = 0x802eb644; +ui_msg_bubble_left_png = 0x802eb670; +ui_msg_bubble_mid_png = 0x802eba70; +ui_msg_bubble_right_png = 0x802ebb70; +ui_msg_arrow_png = 0x802ebf70; +mdl_clearRenderTasks = 0x802b7e00; +charset_postcard_pal = 0x00056e6b; +D_802ED970 = 0x802ed970; +D_802F39D0 = 0x802f39d0; +D_802EB5C0 = 0x802eb5c0; +D_802EB5F0 = 0x802eb5f0; +D_802EB620 = 0x802eb620; +ui_msg_star_png = 0x802ed690; +ui_point_right_pal = 0x800f9fc0; +spr_get_npc_raster_info = 0x802de9d8; +ui_msg_palettes = 0x802ec3f0; +ui_msg_background_png = 0x802ecd50; +create_standard_popup_menu = 0x800f3220; +hide_popup_menu = 0x800ef790; +decrement_status_menu_disabled = 0x800e7f10; +icon_present_ROM_START = 0x00215390; +MapTextureMemory = 0x8028E000; +D_8013A520 = 0x8013a520; +D_19F80 = 0x00019f80; +D_1A000 = 0x0001a000; +D_80154520 = 0x80154520; +