mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-31 17:31:50 -04:00
1351 lines
44 KiB
C++
1351 lines
44 KiB
C++
//
|
|
// Generated by dtk
|
|
// Translation Unit: f_op_msg_mng.cpp
|
|
//
|
|
|
|
#include "f_op/f_op_msg_mng.h"
|
|
#include "JSystem/JKernel/JKRArchive.h"
|
|
#include "JSystem/JUtility/JUTDataHeader.h"
|
|
#if VERSION == VERSION_JPN
|
|
#include "d/d_s_play.h"
|
|
#endif
|
|
#include "f_op/f_op_scene_mng.h"
|
|
#include "f_pc/f_pc_manager.h"
|
|
#include "f_pc/f_pc_layer_iter.h"
|
|
#include "f_pc/f_pc_searcher.h"
|
|
#include "d/d_com_inf_game.h"
|
|
#include "JSystem/J2DGraph/J2DPicture.h"
|
|
#include "JSystem/J2DGraph/J2DScreen.h"
|
|
#include "JSystem/JKernel/JKRExpHeap.h"
|
|
#include "SSystem/SComponent/c_malloc.h"
|
|
#include <stdio.h>
|
|
|
|
#include "global.h"
|
|
|
|
struct mesg_header : JUTDataFileHeader {
|
|
// first block is mesg_info
|
|
};
|
|
|
|
struct mesg_entry {
|
|
/* 0x00 */ u32 mDataOffs;
|
|
/* 0x04 */ u16 mMesgID;
|
|
/* 0x06 */ u16 mItemPrice;
|
|
/* 0x08 */ u16 mNextMessageID;
|
|
/* 0x0A */ u16 field_0x0a;
|
|
/* 0x0C */ u8 mTextboxType;
|
|
/* 0x0D */ u8 mDrawType;
|
|
/* 0x0E */ u8 mTextboxPosition;
|
|
/* 0x0F */ u8 mItemImage;
|
|
/* 0x10 */ u8 field_0x10;
|
|
/* 0x11 */ u8 mInitialSound;
|
|
/* 0x12 */ u8 mInitialCamera;
|
|
/* 0x13 */ u8 mInitialAnimation;
|
|
/* 0x14 */ u8 field_0x14[4];
|
|
};
|
|
|
|
struct mesg_info : JUTDataBlockHeader {
|
|
/* 0x08 */ u16 mNumEntry;
|
|
/* 0x0A */ u16 mEntrySize;
|
|
/* 0x0C */ u16 mGroupID;
|
|
/* 0x10 */ u8 mColor;
|
|
/* 0x14 */ mesg_entry mEntries[1]; // variable-length array
|
|
};
|
|
|
|
struct mesg_data : JUTDataBlockHeader {
|
|
char mData[1]; // variable-length array
|
|
};
|
|
|
|
static bool pushButton;
|
|
static bool pushButton2;
|
|
static bool demoFlag;
|
|
static bool tactFlag;
|
|
static bool nextMsg;
|
|
|
|
static struct {
|
|
u8 itemNo;
|
|
const char* filename;
|
|
} itemicon[] = {
|
|
/* 0x00 */ {dItem_TELESCOPE_e, "telescope.bti"},
|
|
/* 0x01 */ {NORMAL_SAIL, "sail_00.bti"},
|
|
/* 0x02 */ {dItem_WIND_WAKER_e, "baton.bti"},
|
|
/* 0x03 */ {dItem_GRAPPLING_HOOK_e, "rope.bti"},
|
|
/* 0x04 */ {dItem_SPOILS_BAG_e, "coverofbeast.bti"},
|
|
/* 0x05 */ {dItem_BOOMERANG_e, "boomerang.bti"},
|
|
/* 0x06 */ {dItem_DEKU_LEAF_e, "fan.bti"},
|
|
/* 0x07 */ {dItem_TINGLE_TUNER_e, "whistle.bti"},
|
|
/* 0x08 */ {CAMERA, "camera.bti"},
|
|
/* 0x09 */ {dItem_IRON_BOOTS_e, "boots_00.bti"},
|
|
/* 0x0A */ {dItem_MAGIC_ARMOR_e, "shield_02.bti"},
|
|
/* 0x0B */ {dItem_BAIT_BAG_e, "coverofbait.bti"},
|
|
/* 0x0C */ {dItem_BOW_e, "bow_01.bti"},
|
|
/* 0x0D */ {dItem_BOMB_BAG_e, "bomb_00.bti"},
|
|
/* 0x0E */ {dItem_EMPTY_BOTTLE_e, "bottle_00.bti"},
|
|
/* 0x0F */ {dItem_RED_POTION_e, "bottle_01.bti"},
|
|
/* 0x10 */ {dItem_GREEN_POTION_e, "bottle_02.bti"},
|
|
/* 0x11 */ {dItem_BLUE_POTION_e, "bottle_03.bti"},
|
|
/* 0x12 */ {dItem_DELIVERY_BAG_e, "delivery.bti"},
|
|
/* 0x13 */ {dItem_HOOKSHOT_e, "hookshot.bti"},
|
|
/* 0x14 */ {dItem_SKULL_HAMMER_e, "hammer_01.bti"},
|
|
|
|
/* 0x15 */ {dItem_MAGIC_ARMOR_e, "shield_02.bti"},
|
|
/* 0x16 */ {dItem_MAGIC_ARMOR_e, "shield_02.bti"},
|
|
/* 0x17 */ {dItem_MAGIC_ARMOR_e, "shield_02.bti"},
|
|
|
|
/* 0x18 */ {dItem_SKULL_NECKLACE_e, "beast_01.bti"},
|
|
/* 0x19 */ {dItem_BOKOBABA_SEED_e, "beast_02.bti"},
|
|
/* 0x1A */ {dItem_GOLDEN_FEATHER_e, "beast_03.bti"},
|
|
/* 0x1B */ {BOKO_BELT, "beast_04.bti"},
|
|
/* 0x1C */ {dItem_RED_JELLY_e, "beast_05.bti"},
|
|
/* 0x1D */ {dItem_GREEN_JELLY_e, "beast_06.bti"},
|
|
/* 0x1E */ {dItem_BLUE_JELLY_e, "beast_07.bti"},
|
|
/* 0x1F */ {dItem_JOY_PENDANT_e, "beast_08.bti"},
|
|
|
|
/* 0x20 */ {dItem_NONE_e, "beast_09.bti"},
|
|
/* 0x21 */ {dItem_NONE_e, "beast_10.bti"},
|
|
/* 0x22 */ {dItem_NONE_e, "beast_11.bti"},
|
|
/* 0x23 */ {dItem_NONE_e, "beast_12.bti"},
|
|
|
|
/* 0x24 */ {dItem_HYOI_PEAR_e, "beast_02.bti"},
|
|
/* 0x25 */ {dItem_BIRD_BAIT_5_e, "beast_02.bti"},
|
|
/* 0x26 */ {dItem_NONE_e, "beast_03.bti"},
|
|
/* 0x27 */ {dItem_NONE_e, "beast_04.bti"},
|
|
/* 0x28 */ {dItem_NONE_e, "beast_05.bti"},
|
|
/* 0x29 */ {dItem_NONE_e, "beast_06.bti"},
|
|
/* 0x2A */ {dItem_NONE_e, "beast_07.bti"},
|
|
/* 0x2B */ {dItem_NONE_e, "beast_08.bti"},
|
|
|
|
/* 0x2C */ {dItem_NONE_e, "beast_09.bti"},
|
|
/* 0x2D */ {dItem_NONE_e, "beast_10.bti"},
|
|
/* 0x2E */ {dItem_NONE_e, "beast_11.bti"},
|
|
/* 0x2F */ {dItem_NONE_e, "beast_12.bti"},
|
|
|
|
/* 0x30 */ {FLOWER_1, "beast_02.bti"},
|
|
/* 0x31 */ {FLOWER_2, "beast_02.bti"},
|
|
/* 0x32 */ {FLOWER_3, "beast_03.bti"},
|
|
/* 0x33 */ {HEROS_FLAG, "beast_04.bti"},
|
|
/* 0x34 */ {TAIRYO_FLAG, "beast_05.bti"},
|
|
/* 0x35 */ {SALES_FLAG, "beast_06.bti"},
|
|
/* 0x36 */ {WIND_FLAG, "beast_07.bti"},
|
|
/* 0x37 */ {RED_FLAG, "beast_08.bti"},
|
|
|
|
/* 0x38 */ {FOSSIL_HEAD, "beast_09.bti"},
|
|
/* 0x39 */ {WATER_STATUE, "beast_10.bti"},
|
|
/* 0x3A */ {POSTMAN_STATUE, "beast_11.bti"},
|
|
/* 0x3B */ {PRESIDENT_STATUE, "beast_12.bti"},
|
|
};
|
|
|
|
class mesg_header;
|
|
class fopMsgM_pane_alpha_class;
|
|
|
|
class fopMsgM_f2d_class {
|
|
};
|
|
|
|
class MyPicture : public J2DPicture {
|
|
public:
|
|
virtual ~MyPicture() {}
|
|
virtual void drawSelf(f32, f32);
|
|
virtual void drawSelf(f32, f32, Mtx*);
|
|
void drawFullSet2(f32, f32, f32, f32, J2DBinding, J2DMirror, bool, Mtx*);
|
|
};
|
|
|
|
/* 8002ABB4-8002AC1C .text drawSelf__9MyPictureFff */
|
|
void MyPicture::drawSelf(f32 x, f32 y) {
|
|
/* Nonmatching */
|
|
Mtx mtx;
|
|
MTXIdentity(mtx);
|
|
drawSelf(x, y, &mtx);
|
|
}
|
|
|
|
/* 8002AC1C-8002AC90 .text drawSelf__9MyPictureFffPA3_A4_f */
|
|
void MyPicture::drawSelf(f32, f32, Mtx*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002AC90-8002AD4C .text drawFullSet2__9MyPictureFffff10J2DBinding9J2DMirrorbPA3_A4_f */
|
|
void MyPicture::drawFullSet2(f32, f32, f32, f32, J2DBinding, J2DMirror, bool, Mtx*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002AD4C-8002AE28 .text fopMsgM_hyrule_language_check__FUl */
|
|
bool fopMsgM_hyrule_language_check(u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002AE28-8002AED4 .text fopMsgM_setStageLayer__FPv */
|
|
s32 fopMsgM_setStageLayer(void* proc) {
|
|
scene_class* stageProc = fopScnM_SearchByID(dStage_roomControl_c::getProcID());
|
|
JUT_ASSERT(0x189, stageProc != NULL);
|
|
u32 layer = fpcM_LayerID(stageProc);
|
|
return fpcM_ChangeLayerID(proc, layer);
|
|
}
|
|
|
|
/* 8002AED4-8002AEF4 .text fopMsgM_SearchByID__FUi */
|
|
msg_class* fopMsgM_SearchByID(fpc_ProcID pid) {
|
|
return (msg_class*)fpcEx_SearchByID(pid);
|
|
}
|
|
|
|
/* 8002AEF4-8002AF24 .text fopMsgM_SearchByName__Fs */
|
|
msg_class* fopMsgM_SearchByName(s16 proc_name) {
|
|
return (msg_class*)fpcLyIt_AllJudge(fpcSch_JudgeForPName, &proc_name);
|
|
}
|
|
|
|
/* 8002AF24-8002AF44 .text fopMsgM_IsExecuting__FUi */
|
|
BOOL fopMsgM_IsExecuting(fpc_ProcID pid) {
|
|
return fpcEx_IsExist(pid);
|
|
}
|
|
|
|
/* 8002AF44-8002AF4C .text fopMsgM_GetAppend__FPv */
|
|
fopMsg_prm_class* fopMsgM_GetAppend(void* i_this) {
|
|
return (fopMsg_prm_class*) fpcM_GetAppend(i_this);
|
|
}
|
|
|
|
/* 8002AF4C-8002AF6C .text fopMsgM_Delete__FPv */
|
|
void fopMsgM_Delete(void* i_this) {
|
|
fpcM_Delete(i_this);
|
|
}
|
|
|
|
/* 8002AF6C-8002B030 .text createAppend__FP10fopAc_ac_cP4cXyzPUlPUlUi */
|
|
fopMsg_prm_class* createAppend(fopAc_ac_c* actor, cXyz* pos, u32* msg_no, u32* p4, uint p5) {
|
|
fopMsg_prm_class* params = (fopMsg_prm_class*) cMl::memalignB(-4, sizeof(fopMsg_prm_class));
|
|
if (params == NULL)
|
|
return NULL;
|
|
|
|
params->mpActor = actor;
|
|
if (msg_no != NULL)
|
|
params->mMsgNo = *msg_no;
|
|
if (p4 != NULL)
|
|
params->field_0x14 = *p4;
|
|
|
|
if (pos != NULL) {
|
|
params->mPos = *pos;
|
|
} else {
|
|
cXyz zero;
|
|
zero.setall(0.0f);
|
|
params->mPos = zero;
|
|
}
|
|
params->field_0x18 = p5;
|
|
|
|
return params;
|
|
}
|
|
|
|
/* 8002B030-8002B0CC .text createMGameTermAppend__FssiiUi */
|
|
void createMGameTermAppend(s16, s16, int, int, uint) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B0CC-8002B1C8 .text createTimerAppend__FiUsUcUcffffUi */
|
|
void createTimerAppend(int, u16, u8, u8, f32, f32, f32, f32, uint) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B1C8-8002B23C .text fopMsgM_create__FsP10fopAc_ac_cP4cXyzPUlPUlPFPv_i */
|
|
fpc_ProcID fopMsgM_create(s16, fopAc_ac_c*, cXyz*, u32*, u32*, fopMsgCreateFunc) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B23C-8002B2B0 .text fop_MGameTerm_create__FsssiiPFPv_i */
|
|
void fop_MGameTerm_create(s16, s16, s16, int, int, fopMsgCreateFunc) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B2B0-8002B324 .text fop_Timer_create__FsUcUsUcUcffffPFPv_i */
|
|
fpc_ProcID fop_Timer_create(s16, u8, u16, u8, u8, f32, f32, f32, f32, fopMsgCreateFunc) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B324-8002B520 .text fopMsgM_messageTypeSelect__FP10fopAc_ac_cP4cXyzPUlPUl */
|
|
void fopMsgM_messageTypeSelect(fopAc_ac_c*, cXyz*, u32*, u32*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B568-8002B634 .text fopMsgM_searchMessageNumber__FUl */
|
|
u32 fopMsgM_searchMessageNumber(u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B634-8002B778 .text fopMsgM_messageSet__FUlP10fopAc_ac_c */
|
|
fpc_ProcID fopMsgM_messageSet(u32, fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B778-8002B8A4 .text fopMsgM_messageSet__FUlP4cXyz */
|
|
fpc_ProcID fopMsgM_messageSet(u32, cXyz*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B8A4-8002B9C4 .text fopMsgM_messageSet__FUl */
|
|
fpc_ProcID fopMsgM_messageSet(u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002B9C4-8002BA4C .text fopMsgM_scopeMessageSet__FUl */
|
|
fpc_ProcID fopMsgM_scopeMessageSet(u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002BA4C-8002BB78 .text fopMsgM_tactMessageSet__Fv */
|
|
u32 fopMsgM_tactMessageSet() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002BB78-8002BDBC .text fopMsgM_messageGet__FPcUl */
|
|
char* fopMsgM_messageGet(char*, u32) {
|
|
/* Nonmatching */
|
|
OSReport("head_p");
|
|
OSReport("");
|
|
}
|
|
|
|
/* 8002BE04-8002C02C .text fopMsgM_passwordGet__FPcUl */
|
|
void fopMsgM_passwordGet(char*, u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002C02C-8002C568 .text fopMsgM_selectMessageGet__FP7J2DPaneP7J2DPanePcPcPcPcUl */
|
|
void fopMsgM_selectMessageGet(J2DPane*, J2DPane*, char*, char*, char*, char*, u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002C568-8002C574 .text fopMsgM_demoMsgFlagOn__Fv */
|
|
void fopMsgM_demoMsgFlagOn() {
|
|
demoFlag = true;
|
|
}
|
|
|
|
/* 8002C574-8002C580 .text fopMsgM_demoMsgFlagOff__Fv */
|
|
void fopMsgM_demoMsgFlagOff() {
|
|
demoFlag = false;
|
|
}
|
|
|
|
/* 8002C580-8002C588 .text fopMsgM_demoMsgFlagCheck__Fv */
|
|
bool fopMsgM_demoMsgFlagCheck() {
|
|
return demoFlag;
|
|
}
|
|
|
|
|
|
/* 8002C588-8002C594 .text fopMsgM_tactMsgFlagOn__Fv */
|
|
void fopMsgM_tactMsgFlagOn() {
|
|
tactFlag = true;
|
|
}
|
|
|
|
/* 8002C594-8002C5A0 .text fopMsgM_tactMsgFlagOff__Fv */
|
|
void fopMsgM_tactMsgFlagOff() {
|
|
tactFlag = false;
|
|
}
|
|
|
|
/* 8002C5A0-8002C5A8 .text fopMsgM_tactMsgFlagCheck__Fv */
|
|
bool fopMsgM_tactMsgFlagCheck() {
|
|
return tactFlag;
|
|
}
|
|
|
|
/* 8002C5A8-8002C5B4 .text fopMsgM_nextMsgFlagOff__Fv */
|
|
void fopMsgM_nextMsgFlagOff() {
|
|
nextMsg = false;
|
|
}
|
|
|
|
/* 8002C5B4-8002C5BC .text fopMsgM_nextMsgFlagCheck__Fv */
|
|
bool fopMsgM_nextMsgFlagCheck() {
|
|
return nextMsg;
|
|
}
|
|
|
|
/* 8002C5BC-8002C624 .text fopMsgM_getScopeMode__Fv */
|
|
void fopMsgM_getScopeMode() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002C624-8002C650 .text fopMsgM_forceSendOn__Fv */
|
|
bool fopMsgM_forceSendOn() {
|
|
if (dComIfGp_getScopeMesgStatus() == 10) {
|
|
pushButton = true;
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
/* 8002C650-8002C65C .text fopMsgM_forceSendOff__Fv */
|
|
void fopMsgM_forceSendOff() {
|
|
pushButton = false;
|
|
}
|
|
|
|
/* 8002C65C-8002C664 .text fopMsgM_checkForceSend__Fv */
|
|
bool fopMsgM_checkForceSend() {
|
|
return pushButton;
|
|
}
|
|
|
|
/* 8002C664-8002C670 .text fopMsgM_messageSendOn__Fv */
|
|
void fopMsgM_messageSendOn() {
|
|
pushButton2 = true;
|
|
}
|
|
|
|
/* 8002C670-8002C67C .text fopMsgM_messageSendOff__Fv */
|
|
void fopMsgM_messageSendOff() {
|
|
pushButton2 = false;
|
|
}
|
|
|
|
/* 8002C67C-8002C684 .text fopMsgM_checkMessageSend__Fv */
|
|
bool fopMsgM_checkMessageSend() {
|
|
return pushButton2;
|
|
}
|
|
|
|
/* 8002C684-8002C6B0 .text fopMsgM_releaseScopeMode__Fv */
|
|
bool fopMsgM_releaseScopeMode() {
|
|
if (dComIfGp_getScopeMesgStatus() == 13) {
|
|
dComIfGp_setScopeMesgStatus(11);
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
static const char* fopMsgM_buttonTex[] = {
|
|
/* 0x00 */ "font_00.bti",
|
|
/* 0x01 */ "font_01.bti",
|
|
/* 0x02 */ "font_09.bti",
|
|
/* 0x03 */ "font_04.bti",
|
|
/* 0x04 */ "font_05.bti",
|
|
/* 0x05 */ "font_02.bti",
|
|
/* 0x06 */ "font_03.bti",
|
|
/* 0x07 */ "font_06.bti",
|
|
/* 0x08 */ "font_08.bti",
|
|
/* 0x09 */ "font_07_01.bti",
|
|
/* 0x0A */ "font_10.bti",
|
|
/* 0x0B */ "font_10.bti",
|
|
/* 0x0C */ "font_10.bti",
|
|
/* 0x0D */ "font_10.bti",
|
|
/* 0x0E */ "font_07_01.bti",
|
|
/* 0x0F */ "font_07_01.bti",
|
|
/* 0x10 */ "font_07_01.bti",
|
|
/* 0x11 */ "font_07_01.bti",
|
|
/* 0x12 */ "font_07_01.bti",
|
|
/* 0x13 */ "font_07_01.bti",
|
|
/* 0x14 */ "font_12.bti",
|
|
/* 0x15 */ "font_13.bti",
|
|
/* 0x16 */ "font_14.bti",
|
|
/* 0x17 */ "font_15.bti",
|
|
};
|
|
|
|
static GXColor fopMsgM_buttonW[] = {
|
|
/* 0x00 */ {0x00, 0xFF, 0xB4, 0xFF},
|
|
/* 0x01 */ {0xFF, 0x32, 0x32, 0xFF},
|
|
/* 0x02 */ {0xFF, 0xC8, 0x32, 0xFF},
|
|
/* 0x03 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x04 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x05 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x06 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x07 */ {0xC8, 0x96, 0xFF, 0xFF},
|
|
/* 0x08 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x09 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x0A */ {0xFF, 0xC8, 0x32, 0xFF},
|
|
/* 0x0B */ {0xFF, 0xC8, 0x32, 0xFF},
|
|
/* 0x0C */ {0xFF, 0xC8, 0x32, 0xFF},
|
|
/* 0x0D */ {0xFF, 0xC8, 0x32, 0xFF},
|
|
/* 0x0E */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x0F */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x10 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x11 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x12 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x13 */ {0xC8, 0xC8, 0xC8, 0xFF},
|
|
/* 0x14 */ {0x00, 0xFF, 0xB4, 0xFF},
|
|
/* 0x15 */ {0xFF, 0x32, 0x32, 0xFF},
|
|
/* 0x16 */ {0xFF, 0xFF, 0xFF, 0xFF},
|
|
/* 0x17 */ {0xFF, 0xFF, 0xFF, 0xFF},
|
|
};
|
|
|
|
/* 8002C6B0-8002C6C4 .text fopMsgM_outFontTex__Fi */
|
|
const char* fopMsgM_outFontTex(int i) {
|
|
return fopMsgM_buttonTex[i];
|
|
}
|
|
|
|
/* 8002C6C4-8002C6D8 .text fopMsgM_outFontColorWhite__Fi */
|
|
GXColor fopMsgM_outFontColorWhite(int i) {
|
|
return fopMsgM_buttonW[i];
|
|
}
|
|
|
|
/* 8002C6D8-8002C9B0 .text fopMsgM_outFontSet__FP10J2DPictureP10J2DPicturePsUlUc */
|
|
void fopMsgM_outFontSet(J2DPicture*, J2DPicture*, s16*, u32, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002C9B0-8002CBDC .text fopMsgM_outFontSet__FP10J2DPicturePsUlUc */
|
|
void fopMsgM_outFontSet(J2DPicture*, s16*, u32, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002CBDC-8002CEB0 .text fopMsgM_outFontStickAnimePiece__FP10J2DPictureP10J2DPicturess */
|
|
void fopMsgM_outFontStickAnimePiece(J2DPicture*, J2DPicture*, s16, s16) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002CEB0-8002D088 .text fopMsgM_outFontStickAnimePiece__FP10J2DPicturess */
|
|
void fopMsgM_outFontStickAnimePiece(J2DPicture*, s16, s16) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D0E4-8002D2B8 .text fopMsgM_outFontStickAnime__FP10J2DPictureP10J2DPicturePiPiiPs */
|
|
void fopMsgM_outFontStickAnime(J2DPicture*, J2DPicture*, int*, int*, int, s16*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D2B8-8002D464 .text fopMsgM_outFontStickAnime__FP10J2DPicturePiPiPiPiPs */
|
|
void fopMsgM_outFontStickAnime(J2DPicture*, int*, int*, int*, int*, s16*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D464-8002D620 .text fopMsgM_outFontStickAnime2__FP10J2DPictureP10J2DPicturePiPiiPsUc */
|
|
void fopMsgM_outFontStickAnime2(J2DPicture*, J2DPicture*, int*, int*, int, s16*, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D620-8002D7D0 .text fopMsgM_outFontStickAnime2__FP10J2DPicturePiPiPiPiPsUc */
|
|
void fopMsgM_outFontStickAnime2(J2DPicture*, int*, int*, int*, int*, s16*, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D7D0-8002D95C .text fopMsgM_outFontStickAnime__FP10J2DPictureP10J2DPicturePiPiiPsUc */
|
|
void fopMsgM_outFontStickAnime(J2DPicture*, J2DPicture*, int*, int*, int, s16*, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002D95C-8002DAE4 .text fopMsgM_outFontStickAnime__FP10J2DPicturePiPiPiPiPsUc */
|
|
void fopMsgM_outFontStickAnime(J2DPicture*, int*, int*, int*, int*, s16*, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002DAE4-8002DC74 .text fopMsgM_outFontArrow__FP10J2DPictureP10J2DPicturePiPiiUc */
|
|
void fopMsgM_outFontArrow(J2DPicture*, J2DPicture*, int*, int*, int, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002DC74-8002DD98 .text fopMsgM_outFontArrow__FP10J2DPicturePiPiPiPiUc */
|
|
void fopMsgM_outFontArrow(J2DPicture*, int*, int*, int*, int*, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002DD98-8002DFB4 .text fopMsgM_outFontDraw__FP10J2DPictureP10J2DPictureiiiPsUcUc */
|
|
void fopMsgM_outFontDraw(J2DPicture*, J2DPicture*, int, int, int, s16*, u8, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002DFB4-8002E204 .text fopMsgM_outFontDraw2__FP10J2DPictureP10J2DPictureiiiiPsUcUc */
|
|
void fopMsgM_outFontDraw2(J2DPicture*, J2DPicture*, int, int, int, int, s16*, u8, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002E204-8002E254 .text fopMsgM_Create__FsPFPv_iPv */
|
|
fpc_ProcID fopMsgM_Create(s16, fopMsgCreateFunc, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002E254-8002E2D8 .text getMesgHeader__16fopMsgM_msgGet_cFUl */
|
|
mesg_header* fopMsgM_msgGet_c::getMesgHeader(u32 msg) {
|
|
mGroupID = (msg >> 16);
|
|
mMsgID = msg;
|
|
|
|
#if VERSION == VERSION_JPN
|
|
char path[12];
|
|
if (g_msgDHIO.field_0x08 == 0) {
|
|
sprintf(path, "zel_%02d.bmg", mGroupID);
|
|
} else {
|
|
sprintf(path, "zel_e%02d.bmg", mGroupID);
|
|
}
|
|
JKRArchive* arc = dComIfGp_getMsgDtArchive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', path, arc);
|
|
#else
|
|
if (fopMsgM_hyrule_language_check(msg)) {
|
|
JKRArchive* arc = dComIfGp_getMsgDt2Archive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', "zel_01.bmg", arc);
|
|
} else {
|
|
JKRArchive* arc = dComIfGp_getMsgDtArchive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', "zel_00.bmg", arc);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
/* 8002E2D8-8002E2E0 .text getMesgInfo__16fopMsgM_msgGet_cFP11mesg_header */
|
|
mesg_info* fopMsgM_msgGet_c::getMesgInfo(mesg_header* msg) {
|
|
return (mesg_info*)&msg->mFirstBlock;
|
|
}
|
|
|
|
/* 8002E2E0-8002E308 .text getMesgData__16fopMsgM_msgGet_cFP11mesg_header */
|
|
mesg_data* fopMsgM_msgGet_c::getMesgData(mesg_header* msg) {
|
|
return (mesg_data*)getMesgInfo(msg)->getNext();
|
|
}
|
|
|
|
/* 8002E308-8002E378 .text getMesgEntry__16fopMsgM_msgGet_cFP11mesg_header */
|
|
mesg_entry fopMsgM_msgGet_c::getMesgEntry(mesg_header* msg) {
|
|
return getMesgInfo(msg)->mEntries[mMsgIdx];
|
|
}
|
|
|
|
/* 8002E378-8002E430 .text getMessage__16fopMsgM_msgGet_cFP11mesg_header */
|
|
const char* fopMsgM_msgGet_c::getMessage(mesg_header* msg) {
|
|
mesg_info* info = getMesgInfo(msg);
|
|
const char* data = getMesgData(msg)->mData;
|
|
|
|
const char* ret = NULL;
|
|
|
|
for (u16 i = 0; i < info->mNumEntry; i++) {
|
|
if (info->mEntries[i].mDataOffs == 0)
|
|
continue;
|
|
|
|
mMsgIdx = i;
|
|
if (mMsgID == info->mEntries[i].mMesgID) {
|
|
mesg_entry* entry = &info->mEntries[mMsgIdx];
|
|
mResMsgIdx = entry->mMesgID;
|
|
ret = &data[entry->mDataOffs];
|
|
break;
|
|
}
|
|
}
|
|
|
|
return ret;
|
|
}
|
|
|
|
/* 8002E430-8002E4AC .text getMesgHeader__20fopMsgM_itemMsgGet_cFUl */
|
|
mesg_header* fopMsgM_itemMsgGet_c::getMesgHeader(u32 msg) {
|
|
#if VERSION == VERSION_JPN
|
|
u16 groupID = msg >> 16;
|
|
#endif
|
|
mMsgID = msg;
|
|
|
|
#if VERSION == VERSION_JPN
|
|
char path[12];
|
|
if (g_msgDHIO.field_0x08 == 0) {
|
|
sprintf(path, "zel_%02d.bmg", groupID);
|
|
} else {
|
|
sprintf(path, "zel_e%02d.bmg", groupID);
|
|
}
|
|
JKRArchive* arc = dComIfGp_getMsgDtArchive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', path, arc);
|
|
#else
|
|
if (fopMsgM_hyrule_language_check(msg)) {
|
|
JKRArchive* arc = dComIfGp_getMsgDt2Archive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', "zel_01.bmg", arc);
|
|
} else {
|
|
JKRArchive* arc = dComIfGp_getMsgDtArchive();
|
|
return (mesg_header*)JKRArchive::getGlbResource('ROOT', "zel_00.bmg", arc);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
/* 8002E4AC-8002E4B4 .text getMesgInfo__20fopMsgM_itemMsgGet_cFP11mesg_header */
|
|
mesg_info* fopMsgM_itemMsgGet_c::getMesgInfo(mesg_header* msg) {
|
|
return (mesg_info*)&msg->mFirstBlock;
|
|
}
|
|
|
|
/* 8002E4B4-8002E4DC .text getMesgData__20fopMsgM_itemMsgGet_cFP11mesg_header */
|
|
mesg_data* fopMsgM_itemMsgGet_c::getMesgData(mesg_header* msg) {
|
|
return (mesg_data*)getMesgInfo(msg)->getNext();
|
|
}
|
|
|
|
/* 8002E4DC-8002E54C .text getMesgEntry__20fopMsgM_itemMsgGet_cFP11mesg_header */
|
|
mesg_entry fopMsgM_itemMsgGet_c::getMesgEntry(mesg_header* msg) {
|
|
return getMesgInfo(msg)->mEntries[mMsgIdx];
|
|
}
|
|
|
|
/* 8002E54C-8002E5FC .text getMessage__20fopMsgM_itemMsgGet_cFP11mesg_header */
|
|
const char* fopMsgM_itemMsgGet_c::getMessage(mesg_header* msg) {
|
|
mesg_info* info = getMesgInfo(msg);
|
|
const char* data = getMesgData(msg)->mData;
|
|
|
|
for (u16 i = 0; i < info->mNumEntry; i++) {
|
|
if (info->mEntries[i].mDataOffs == 0)
|
|
continue;
|
|
|
|
mMsgIdx = i;
|
|
if (mMsgID == info->mEntries[i].mMesgID) {
|
|
mesg_entry* entry = &info->mEntries[i];
|
|
mResMsgIdx = entry->mMesgID;
|
|
return &data[entry->mDataOffs];
|
|
}
|
|
}
|
|
|
|
return NULL;
|
|
}
|
|
|
|
/* 8002E7DC-8002E95C .text dataInit__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::dataInit() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002E95C-8002EA58 .text charLength__21fopMsgM_msgDataProc_cFiib */
|
|
f32 fopMsgM_msgDataProc_c::charLength(int scale, int charNo, bool mode) {
|
|
/* Nonmatching */
|
|
JUTFont::TWidth width;
|
|
font[0]->getWidthEntry(charNo, &width);
|
|
f32 charWidth = (f32)(int)width.field_0x1;
|
|
f32 cellWidth = (f32)scale / (f32)font[0]->getCellWidth();
|
|
|
|
if (mode) {
|
|
return charWidth * cellWidth;
|
|
} else {
|
|
// This should be field_0x11c
|
|
return field_0x010 + (charWidth * cellWidth);
|
|
}
|
|
}
|
|
|
|
/* 8002EA58-8002EB4C .text rubyLength__21fopMsgM_msgDataProc_cFib */
|
|
void fopMsgM_msgDataProc_c::rubyLength(int, bool) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8002EB4C-80031064 .text stringLength__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::stringLength() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800310E4-800312B4 .text stringShift__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::stringShift() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800312B4-80031420 .text iconSelect__21fopMsgM_msgDataProc_cFiUc */
|
|
void fopMsgM_msgDataProc_c::iconSelect(int, u8) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80031420-8003144C .text iconIdxRefresh__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::iconIdxRefresh() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003144C-80031808 .text fopMsgM_arrowAnime__FP10J2DPicturePs */
|
|
void fopMsgM_arrowAnime(J2DPicture*, s16*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80031808-800319D8 .text selectCheck2__21fopMsgM_msgDataProc_cFP7J2DPaneiii */
|
|
void fopMsgM_msgDataProc_c::selectCheck2(J2DPane*, int, int, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800319D8-80031C38 .text selectCheck3__21fopMsgM_msgDataProc_cFP7J2DPaneiii */
|
|
void fopMsgM_msgDataProc_c::selectCheck3(J2DPane*, int, int, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80031C38-80031E04 .text selectCheckYoko__21fopMsgM_msgDataProc_cFP7J2DPaneiii */
|
|
void fopMsgM_msgDataProc_c::selectCheckYoko(J2DPane*, int, int, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80031E04-800320E0 .text inputNumber__21fopMsgM_msgDataProc_cFi */
|
|
void fopMsgM_msgDataProc_c::inputNumber(int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800320E0-800321CC .text selectArrow__21fopMsgM_msgDataProc_cFP10J2DPictureffff */
|
|
void fopMsgM_msgDataProc_c::selectArrow(J2DPicture*, f32, f32, f32, f32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800321CC-80032288 .text selectArrow__21fopMsgM_msgDataProc_cFP10J2DPictureff */
|
|
void fopMsgM_msgDataProc_c::selectArrow(J2DPicture*, f32, f32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80032288-800322B4 .text colorAnime__21fopMsgM_msgDataProc_cFP10J2DPicture */
|
|
void fopMsgM_msgDataProc_c::colorAnime(J2DPicture* pic) {
|
|
/* Nonmatching */
|
|
// fopMsgM_arrowAnime(pane, &field_0x260);
|
|
}
|
|
|
|
/* 800322B4-80034F3C .text stringSet__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::stringSet() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F5C-80034F68 .text setSelectFlagYokoOn__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::setSelectFlagYokoOn() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F68-80034F74 .text setSelectFlagOn__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::setSelectFlagOn() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F74-80034F80 .text setHandSendFlagOn__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::setHandSendFlagOn() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F80-80034F8C .text setAutoSendFlagOn__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::setAutoSendFlagOn() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F8C-80034F94 .text getHandSendFlag__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::getHandSendFlag() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034F94-80034F9C .text getAutoSendFlag__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::getAutoSendFlag() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80034FE0-80034FF4 .text fopMsgM_itemNumIdx__FUc */
|
|
u8 fopMsgM_itemNumIdx(u8 i) {
|
|
return itemicon[i].itemNo;
|
|
}
|
|
|
|
/* 80034FF4-80035060 .text fopMsgM_itemNum__FUc */
|
|
u8 fopMsgM_itemNum(u8 itemNo) {
|
|
u8 invIdx = 0;
|
|
for (u8 i = 0; i < ARRAY_SIZE(itemicon); i++) {
|
|
if (itemNo == fopMsgM_itemNumIdx(i)) {
|
|
invIdx = i;
|
|
break;
|
|
}
|
|
}
|
|
return invIdx;
|
|
}
|
|
|
|
/* 80035060-800350B8 .text fopMsgM_getColorTable__FUs */
|
|
void fopMsgM_getColorTable(u16) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800350B8-80035170 .text fopMsgM_int_to_char__FPcib */
|
|
void fopMsgM_int_to_char(char*, int, bool) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035170-800351E8 .text fopMsgM_int_to_char2__FPci */
|
|
void fopMsgM_int_to_char2(char*, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800351E8-80035408 .text getString__21fopMsgM_msgDataProc_cFPcUl */
|
|
void fopMsgM_msgDataProc_c::getString(char*, u32) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035408-80035A24 .text getString__21fopMsgM_msgDataProc_cFPcPcPcPcUlPfPfPi */
|
|
void fopMsgM_msgDataProc_c::getString(char*, char*, char*, char*, u32, f32*, f32*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035A24-80035D28 .text getRubyString__21fopMsgM_msgDataProc_cFPcPcPcPcPcPcPfPfPi */
|
|
void fopMsgM_msgDataProc_c::getRubyString(char*, char*, char*, char*, char*, char*, f32*, f32*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035D28-80035E40 .text tag_len_kaisen_game__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_kaisen_game(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035E40-80035F68 .text tag_len_rupee__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_rupee(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80035F68-80036068 .text tag_len_num_input__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_num_input(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036068-80036190 .text tag_len_sword_game__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_sword_game(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036190-80036280 .text tag_len_letter_game__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_letter_game(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036280-80036384 .text tag_len_letter_game_max__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_letter_game_max(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036384-80036474 .text tag_len_fish__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_fish(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036474-800365A0 .text tag_len_fish_rupee__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_fish_rupee(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800365A0-800366C8 .text tag_len_letter__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_letter(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800366C8-800367CC .text tag_len_rescue__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_rescue(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800367CC-8003693C .text tag_len_forest_timer__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_forest_timer(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003693C-80036A64 .text tag_len_birdman__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_birdman(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036A64-80036B9C .text tag_len_point__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_point(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036B9C-80036CC4 .text tag_len_get_pendant__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_get_pendant(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036CC4-80036E18 .text tag_len_rev_pendant__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_rev_pendant(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036E18-80036F74 .text tag_len_pig_timer__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_pig_timer(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80036F74-8003709C .text tag_len_get_bomb__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_get_bomb(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003709C-800371C4 .text tag_len_get_arrow__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_get_arrow(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800371C4-800372E4 .text tag_len_stock_bokobaba__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_bokobaba(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800372E4-80037404 .text tag_len_stock_dokuro__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_dokuro(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037404-80037500 .text tag_len_stock_chuchu__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_chuchu(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037500-80037620 .text tag_len_stock_pendant__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_pendant(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037620-80037740 .text tag_len_stock_hane__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_hane(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037740-80037860 .text tag_len_stock_kenshi__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_stock_kenshi(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037860-80037980 .text tag_len_terry_rupee__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_terry_rupee(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037980-80037A80 .text tag_len_input_bokobaba__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_bokobaba(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037A80-80037B80 .text tag_len_input_dokuro__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_dokuro(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037B80-80037C80 .text tag_len_input_chuchu__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_chuchu(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037C80-80037D80 .text tag_len_input_pendant__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_pendant(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037D80-80037E80 .text tag_len_input_hane__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_hane(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037E80-80037F80 .text tag_len_input_kenshi__21fopMsgM_msgDataProc_cFPiPfPiPiPi */
|
|
void fopMsgM_msgDataProc_c::tag_len_input_kenshi(int*, f32*, int*, int*, int*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80037F80-80038178 .text tag_kaisen_game__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_kaisen_game() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038178-80038330 .text tag_rupee__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_rupee() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038330-80038538 .text tag_num_input__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_num_input() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038538-8003872C .text tag_sword_game__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_sword_game() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003872C-800388AC .text tag_letter_game__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_letter_game() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800388AC-80038A40 .text tag_letter_game_max__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_letter_game_max() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038A40-80038BC0 .text tag_fish__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_fish() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038BC0-80038D7C .text tag_fish_rupee__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_fish_rupee() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038D7C-80038F70 .text tag_letter__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_letter() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80038F70-8003912C .text tag_rescue__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_rescue() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003912C-800394B4 .text tag_forest_timer__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_forest_timer() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 800394B4-8003966C .text tag_birdman__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_birdman() {
|
|
/* Nonmatching */
|
|
u16 num = dComIfGp_getMessageCountNumber();
|
|
|
|
char buf[16];
|
|
fopMsgM_int_to_char(buf, num, false);
|
|
if (num == 1) {
|
|
strcat(buf, " yard");
|
|
} else {
|
|
strcat(buf, " yards");
|
|
}
|
|
}
|
|
|
|
/* 8003966C-80039834 .text tag_point__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_point() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80039834-80039A28 .text tag_get_pendant__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_get_pendant() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80039A28-80039C2C .text tag_rev_pendant__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_rev_pendant() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80039C2C-80039FA0 .text tag_pig_timer__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_pig_timer() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 80039FA0-8003A194 .text tag_get_bomb__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_get_bomb() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003A194-8003A388 .text tag_get_arrow__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_get_arrow() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003A388-8003A574 .text tag_stock_bokobaba__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_bokobaba() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003A574-8003A760 .text tag_stock_dokuro__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_dokuro() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003A760-8003A914 .text tag_stock_chuchu__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_chuchu() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003A914-8003AB00 .text tag_stock_pendant__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_pendant() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003AB00-8003ACEC .text tag_stock_hane__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_hane() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003ACEC-8003AED8 .text tag_stock_kenshi__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_stock_kenshi() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003AED8-8003B088 .text tag_terry_rupee__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_terry_rupee() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B088-8003B21C .text tag_input_bokobaba__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_bokobaba() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B21C-8003B3B0 .text tag_input_dokuro__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_dokuro() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B3B0-8003B544 .text tag_input_chuchu__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_chuchu() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B544-8003B6D8 .text tag_input_pendant__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_pendant() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B6D8-8003B86C .text tag_input_hane__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_hane() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003B86C-8003BA00 .text tag_input_kenshi__21fopMsgM_msgDataProc_cFv */
|
|
void fopMsgM_msgDataProc_c::tag_input_kenshi() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003BA00-8003BA40 .text fopMsgM_centerPosCalc__F17fopMsgM_f2d_class17fopMsgM_f2d_class */
|
|
void fopMsgM_centerPosCalc(fopMsgM_f2d_class, fopMsgM_f2d_class) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003BA40-8003BB34 .text fopMsgM_pane_parts_set__FP18fopMsgM_pane_class */
|
|
void fopMsgM_pane_parts_set(fopMsgM_pane_class* i_this) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003BB34-8003BB4C .text fopMsgM_pane_parts_set__FP24fopMsgM_pane_alpha_class */
|
|
void fopMsgM_pane_parts_set(fopMsgM_pane_alpha_class* i_this) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003BB4C-8003BB78 .text fopMsgM_setPaneData__FP18fopMsgM_pane_classP7J2DPane */
|
|
void fopMsgM_setPaneData(fopMsgM_pane_class* i_this, J2DPane* pane) {
|
|
if (pane != NULL) {
|
|
i_this->pane = pane;
|
|
fopMsgM_pane_parts_set(i_this);
|
|
}
|
|
}
|
|
|
|
/* 8003BB78-8003BBCC .text fopMsgM_setPaneData__FP18fopMsgM_pane_classP9J2DScreenUl */
|
|
void fopMsgM_setPaneData(fopMsgM_pane_class* i_this, J2DScreen* scrn, u32 id) {
|
|
J2DPane * pane = scrn->search(id);
|
|
if (pane != NULL) {
|
|
i_this->pane = pane;
|
|
fopMsgM_pane_parts_set(i_this);
|
|
}
|
|
}
|
|
|
|
/* 8003BBCC-8003BBF8 .text fopMsgM_setPaneData__FP24fopMsgM_pane_alpha_classP7J2DPane */
|
|
void fopMsgM_setPaneData(fopMsgM_pane_alpha_class* i_this, J2DPane* pane) {
|
|
if (pane != NULL) {
|
|
i_this->pane = pane;
|
|
fopMsgM_pane_parts_set(i_this);
|
|
}
|
|
}
|
|
|
|
/* 8003BBF8-8003BC88 .text fopMsgM_setPaneData__FP24fopMsgM_pane_alpha_classP9J2DScreenUl */
|
|
void fopMsgM_setPaneData(fopMsgM_pane_alpha_class* i_this, J2DScreen* scrn, u32 id) {
|
|
J2DPane * pane = scrn->search(id);
|
|
if (pane != NULL) {
|
|
i_this->pane = pane;
|
|
fopMsgM_pane_parts_set(i_this);
|
|
} else {
|
|
JUT_ASSERT(0x398d, FALSE);
|
|
}
|
|
}
|
|
|
|
/* 8003BC88-8003BCC0 .text fopMsgM_paneTrans__FP18fopMsgM_pane_classff */
|
|
void fopMsgM_paneTrans(fopMsgM_pane_class* i_this, f32 x, f32 y) {
|
|
i_this->mPosCenter.x = i_this->mPosCenterOrig.x + x;
|
|
i_this->mPosCenter.y = i_this->mPosCenterOrig.y + y;
|
|
fopMsgM_cposMove(i_this);
|
|
}
|
|
|
|
/* 8003BCC0-8003BCEC .text fopMsgM_paneScaleX__FP18fopMsgM_pane_classf */
|
|
void fopMsgM_paneScaleX(fopMsgM_pane_class* i_this, f32 s) {
|
|
i_this->mSize.x = i_this->mSizeOrig.x * s;
|
|
fopMsgM_cposMove(i_this);
|
|
}
|
|
|
|
/* 8003BCEC-8003BD18 .text fopMsgM_paneScaleY__FP18fopMsgM_pane_classf */
|
|
void fopMsgM_paneScaleY(fopMsgM_pane_class* i_this, f32 s) {
|
|
i_this->mSize.y = i_this->mSizeOrig.y * s;
|
|
fopMsgM_cposMove(i_this);
|
|
}
|
|
|
|
/* 8003BD18-8003BD50 .text fopMsgM_paneScale__FP18fopMsgM_pane_classff */
|
|
void fopMsgM_paneScale(fopMsgM_pane_class* i_this, f32 sx, f32 sy) {
|
|
i_this->mSize.x = i_this->mSizeOrig.x * sx;
|
|
i_this->mSize.y = i_this->mSizeOrig.y * sy;
|
|
fopMsgM_cposMove(i_this);
|
|
}
|
|
|
|
/* 8003BD50-8003BD88 .text fopMsgM_paneScaleXY__FP18fopMsgM_pane_classf */
|
|
void fopMsgM_paneScaleXY(fopMsgM_pane_class* i_this, f32 s) {
|
|
i_this->mSize.x = i_this->mSizeOrig.x * s;
|
|
i_this->mSize.y = i_this->mSizeOrig.y * s;
|
|
fopMsgM_cposMove(i_this);
|
|
}
|
|
|
|
/* 8003BD88-8003BE14 .text fopMsgM_cposMove__FP18fopMsgM_pane_class */
|
|
void fopMsgM_cposMove(fopMsgM_pane_class* i_this) {
|
|
i_this->mPosTopLeft.x = i_this->mPosCenter.x - i_this->mSize.x / 2.0f;
|
|
i_this->mPosTopLeft.y = i_this->mPosCenter.y - i_this->mSize.y / 2.0f;
|
|
i_this->pane->move(i_this->mPosTopLeft.x, i_this->mPosTopLeft.y);
|
|
i_this->pane->resize(i_this->mSize.x, i_this->mSize.y);
|
|
}
|
|
|
|
/* 8003BE14-8003BE24 .text fopMsgM_setAlpha__FP18fopMsgM_pane_class */
|
|
void fopMsgM_setAlpha(fopMsgM_pane_class* i_this) {
|
|
i_this->pane->setAlpha(i_this->mNowAlpha);
|
|
}
|
|
|
|
/* 8003BE24-8003BE30 .text fopMsgM_setInitAlpha__FP18fopMsgM_pane_class */
|
|
void fopMsgM_setInitAlpha(fopMsgM_pane_class* i_this) {
|
|
i_this->mNowAlpha = i_this->mInitAlpha;
|
|
}
|
|
|
|
/* 8003BE30-8003BE6C .text fopMsgM_setNowAlpha__FP18fopMsgM_pane_classf */
|
|
void fopMsgM_setNowAlpha(fopMsgM_pane_class* i_this, f32 v) {
|
|
i_this->mNowAlpha = i_this->mInitAlpha * v;
|
|
}
|
|
|
|
/* 8003BE6C-8003BE78 .text fopMsgM_setNowAlphaZero__FP18fopMsgM_pane_class */
|
|
void fopMsgM_setNowAlphaZero(fopMsgM_pane_class* i_this) {
|
|
i_this->mNowAlpha = 0;
|
|
}
|
|
|
|
/* 8003BE78-8003BE88 .text fopMsgM_setAlpha__FP24fopMsgM_pane_alpha_class */
|
|
void fopMsgM_setAlpha(fopMsgM_pane_alpha_class* i_this) {
|
|
i_this->pane->setAlpha(i_this->mNowAlpha);
|
|
}
|
|
|
|
/* 8003BE88-8003BEC4 .text fopMsgM_setNowAlpha__FP24fopMsgM_pane_alpha_classf */
|
|
void fopMsgM_setNowAlpha(fopMsgM_pane_alpha_class* i_this, f32 v) {
|
|
i_this->mNowAlpha = i_this->mInitAlpha * v;
|
|
}
|
|
|
|
/* 8003BEC4-8003C07C .text fopMsgM_valueIncrease__FiiUc */
|
|
f32 fopMsgM_valueIncrease(int max, int value, u8 mode) {
|
|
if (max <= 0)
|
|
return 1.0f;
|
|
|
|
if (value < 0)
|
|
value = 0;
|
|
else if (value > max)
|
|
value = max;
|
|
|
|
f32 ret;
|
|
f32 v = ((f32)value) / ((f32)max);
|
|
switch (mode) {
|
|
case 0: ret = v * v; break;
|
|
case 1: ret = std::sqrtf(v); break;
|
|
case 2: default: ret = v; break;
|
|
case 3: ret = (v * 2.0f - 1.0f) * 2.0f - 1.0f; break;
|
|
case 4: ret = JMASSin(v * 32768.0f * 0.5f) * JMASSin(v * 32768.0f * 0.5f); break;
|
|
case 5: ret = JMASSin(v * 65535.0f * 0.5f) * JMASSin(v * 65535.0f * 0.5f); break;
|
|
}
|
|
return ret;
|
|
}
|
|
|
|
/* 8003C07C-8003C0F8 .text fopMsgM_blendInit__FP18fopMsgM_pane_classPCc */
|
|
void fopMsgM_blendInit(fopMsgM_pane_class* i_this, const char* data) {
|
|
((J2DPicture*)i_this->pane)->insert(data, ((J2DPicture*)i_this->pane)->getNumTexture(), 1.0f);
|
|
J2DPicture* pic = (J2DPicture*)i_this->pane;
|
|
pic->setBlendColorRatio(0.0f, 1.0f, 1.0f, 1.0f);
|
|
pic->setBlendAlphaRatio(0.0f, 1.0f, 1.0f, 1.0f);
|
|
}
|
|
|
|
/* 8003C0F8-8003C16C .text fopMsgM_blendInit__FP10J2DPicturePCc */
|
|
void fopMsgM_blendInit(J2DPicture* pic, const char* data) {
|
|
pic->insert(data, pic->getNumTexture(), 1.0f);
|
|
pic->setBlendColorRatio(0.0f, 1.0f, 1.0f, 1.0f);
|
|
pic->setBlendAlphaRatio(0.0f, 1.0f, 1.0f, 1.0f);
|
|
}
|
|
|
|
/* 8003C16C-8003C1D4 .text fopMsgM_blendDraw__FP18fopMsgM_pane_classPCc */
|
|
void fopMsgM_blendDraw(fopMsgM_pane_class* i_this, const char* data) {
|
|
J2DPicture* pic = (J2DPicture*)i_this->pane;
|
|
pic->show();
|
|
pic->remove(pic->getNumTexture() - 1);
|
|
pic->insert(data, pic->getNumTexture(), 1.0f);
|
|
}
|
|
|
|
/* 8003C1D4-8003C234 .text fopMsgM_blendDraw__FP10J2DPicturePCc */
|
|
void fopMsgM_blendDraw(J2DPicture* pic, const char* data) {
|
|
pic->show();
|
|
pic->remove(pic->getNumTexture() - 1);
|
|
pic->insert(data, pic->getNumTexture(), 1.0f);
|
|
}
|
|
|
|
/* 8003C234-8003C380 .text fopMsgM_setFontsizeCenter__FPcPcPcPcii */
|
|
void fopMsgM_setFontsizeCenter(char*, char*, char*, char*, int, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 8003C380-8003C414 .text fopMsgM_setFontsizeCenter2__FPcPcPcPciiii */
|
|
void fopMsgM_setFontsizeCenter2(char* a, char* b, char* c, char* d, int, int size, int, int) {
|
|
char buf1[32], buf2[12];
|
|
sprintf(buf1, "\eFX[%d]\eFY[%d]", size, size);
|
|
buf2[0] = '\0';
|
|
strcat(a, buf1);
|
|
strcat(b, buf1);
|
|
strcat(c, buf2);
|
|
strcat(d, buf2);
|
|
}
|
|
|
|
/* 8003C414-8003C450 .text fopMsgM_createExpHeap__FUl */
|
|
JKRExpHeap* fopMsgM_createExpHeap(u32 size) {
|
|
return JKRExpHeap::create(size, mDoExt_getGameHeap(), FALSE);
|
|
}
|
|
|
|
/* 8003C450-8003C470 .text fopMsgM_destroyExpHeap__FP10JKRExpHeap */
|
|
void fopMsgM_destroyExpHeap(JKRExpHeap* heap) {
|
|
heap->destroy();
|
|
}
|