From 0f141c2a9ccf9b447fa7765c9b279685bdafdd60 Mon Sep 17 00:00:00 2001 From: Carco_21 <144170194+carter-ktb21@users.noreply.github.com> Date: Fri, 7 Mar 2025 12:41:36 -0500 Subject: [PATCH] d_a_npc_jagar - ~94% (#2309) * Began work on d_a_npc_jagar * Major work on daNpc_Jagar_c::create() * Jagar create() - 11% * Continued work on daNpc_Jagar_c * Jagar create() - 87% * Continues work on Jagar * Work on Jagar.checkChangeEvt() * Working on Jagar.talk() * Work on Jagar.changeBtp() * Jagar.checkChangeJoint() & checkRemoveJoint() * Jagar.chkAction() & setAction() * Jagar.chkChuMotion() * Jagar.chkSitMotion() & chkSitMotion2() * Jagar.chkToMotion() * Jagar.CreateHeap() * Jagar.createHeapCallBack() & ctrlJointCallBack() * Jagar.cuAnger() * Jagar.cutClimbUp() - 92% * Jagar.setAttnPos() - 85% * Jagar.cutConversationWithBou() - 48% * Jagar work and daNpcT_c::getActorDistance - 83% * Jagar setParam work and daNpcT_c::getActorDistance - 85% * Prep Jagar push to main * little cleanup * Fixed return type discrepancy * Fixed *other* return type issues & variable names for Jagar * Jagar talkWithBou work * Work on Jagar talk * Data & function cleanup * I dont remember what i added this time lol * Finished some functions * Reworking Jagar talk() * Finished some functions * Attempting to rework cutNeedYourHelp * Almost(ish) done with Jaggle * Almost done with Jaggle * Took out inline assembly in Jagar.chkToMotion() * Cleanup * Minor variable initialization change * Small cleanup * Hopefully fixed d_a_npc_bou compilation error --- include/d/actor/d_a_npc_bou.h | 85 +- include/d/actor/d_a_npc_jagar.h | 170 +- include/d/actor/d_a_player.h | 2 + src/d/actor/d_a_npc_bou.cpp | 34 +- src/d/actor/d_a_npc_jagar.cpp | 3327 ++++++++++++++++--------------- 5 files changed, 1890 insertions(+), 1728 deletions(-) diff --git a/include/d/actor/d_a_npc_bou.h b/include/d/actor/d_a_npc_bou.h index e6469b2cb76..d0bb47750ae 100644 --- a/include/d/actor/d_a_npc_bou.h +++ b/include/d/actor/d_a_npc_bou.h @@ -11,8 +11,70 @@ * @details * */ + class daNpc_Bou_Param_c { + public: + /* 809727F4 */ ~daNpc_Bou_Param_c(); + + struct Data { + /* 0x00 */ f32 field_0x00; // 255.0f + /* 0x04 */ f32 field_0x04; // 3.0f + /* 0x08 */ f32 field_0x08; // 1.0f + /* 0x0C */ f32 field_0x0c; // 600.0f + /* 0x10 */ f32 field_0x10; // 255.0f + /* 0x14 */ f32 field_0x14; // 200.0f + /* 0x18 */ f32 field_0x18; // 35.0f + /* 0x1C */ f32 field_0x1c; // 40.0f + /* 0x20 */ f32 field_0x20; // 0.0f + /* 0x24 */ f32 field_0x24; // 0.0f + /* 0x28 */ f32 field_0x28; // 10.0f + /* 0x2C */ f32 field_0x2c; // -10.0f + /* 0x30 */ f32 field_0x30; // 30.0f + /* 0x34 */ f32 field_0x34; // -10.0f + /* 0x38 */ f32 field_0x38; // 45.0f + /* 0x3C */ f32 field_0x3c; // -45.0f + /* 0x40 */ f32 field_0x40; // 0.6f + /* 0x44 */ f32 field_0x44; // 12.0f + /* 0x48 */ s16 field_0x48; // 3 + /* 0x4C */ s16 field_0x4c; // 6 + /* 0x50 */ s16 field_0x50; // 5 + /* 0x54 */ s16 field_0x54; // 6 + /* 0x58 */ f32 field_0x58; // 110.0f + /* 0x5C */ f32 field_0x5c; // 500.0f + /* 0x60 */ f32 field_0x60; // 300.0f + /* 0x64 */ f32 field_0x64; // -300.0f + /* 0x68 */ s16 field_0x68; // 60 + /* 0x6C */ s16 field_0x6c; // 8 + /* 0x70 */ f32 field_0x70; // 0.0f + /* 0x74 */ f32 field_0x74; // 0.0f + /* 0x78 */ f32 field_0x78; // 4.0f + /* 0x7C */ f32 field_0x7c; // 0.0f + /* 0x80 */ f32 field_0x80; // 0.0f + /* 0x84 */ f32 field_0x84; // 0.0f + /* 0x88 */ f32 field_0x88; // 0.0f + /* 0x8C */ f32 field_0x8c; // 0.0f + /* 0x90 */ f32 field_0x90; // 0.0f + /* 0x94 */ f32 field_0x94; // 0.0f + /* 0x98 */ f32 field_0x98; // 16.0f + /* 0x9C */ f32 field_0x9c; // 1000.0f + /* 0x100 */ f32 field_0x100; // 500.0f + /* 0x104 */ f32 field_0x104; // -500.0f + }; + + static const Data m; +}; + class daNpc_Bou_c : public daNpcT_c { public: + + enum Type { + TYPE_0, + TYPE_1, + TYPE_2, + TYPE_3, + TYPE_4, + TYPE_5, + }; + /* 8096CF8C */ ~daNpc_Bou_c(); /* 8096D0D8 */ void create(); /* 8096D38C */ void CreateHeap(); @@ -23,7 +85,7 @@ public: /* 8096D8C0 */ void ctrlJointCallBack(J3DJoint*, int); /* 8096D918 */ void srchCow(void*, void*); /* 8096D9B4 */ void getCowP(); - /* 8096DA78 */ void getType(); + /* 8096DA78 */ u8 getType(); /* 8096DADC */ void isDelete(); /* 8096DBBC */ void reset(); /* 8096E18C */ void srchActors(); @@ -69,6 +131,12 @@ public: static void* mCutNameList[9]; static u8 mCutList[108]; + BOOL chkFindWolf() { + int iVar1 = daNpcT_getDistTableIdx(field_0xfe0, field_0xfe4); + return daNpcT_c::chkFindWolf(mCurAngle.y, iVar1, field_0xfdc, daNpc_Bou_Param_c::m.field_0x5c, + daNpc_Bou_Param_c::m.field_0x58, daNpc_Bou_Param_c::m.field_0x60, daNpc_Bou_Param_c::m.field_0x100, 1); + } + BOOL speakTo() { if (field_0xf80 == 4) { if (current.pos.absXZ(daPy_getPlayerActorClass()->current.pos) < 1100.0f && strlen(mpEvtData[5].eventName) != 0) { @@ -88,22 +156,19 @@ public: } private: - /* 0xE40 */ u8 field_0xE40[0xE44 - 0xE40]; + /* 0xE40 */ int field_0xe40; /* 0xE44 */ dCcD_Cyl field_0xe44; /* 0xF80 */ u8 field_0xf80; /* 0xF84 */ daNpcT_ActorMngr_c field_0xf84[3]; /* 0xF9C */ daNpcT_Path_c field_0xf9c; - /* 0xFC4 */ u8 field_0xfc4[0xFFC - 0xFC4]; + /* 0xFC4 */ u8 field_0xfc4[0xFDC - 0xFC4]; + /* 0xFDC */ int field_0xfdc; + /* 0xFE0 */ int field_0xfe0; + /* 0xFE4 */ int field_0xfe4; + /* 0xFE8 */ u8 field_0xfe8[0xFFC - 0xFE8]; }; STATIC_ASSERT(sizeof(daNpc_Bou_c) == 0xffc); -class daNpc_Bou_Param_c { -public: - /* 809727F4 */ ~daNpc_Bou_Param_c(); - - static u8 const m[156]; -}; - #endif /* D_A_NPC_BOU_H */ diff --git a/include/d/actor/d_a_npc_jagar.h b/include/d/actor/d_a_npc_jagar.h index 38732a793b9..780cc2e862b 100644 --- a/include/d/actor/d_a_npc_jagar.h +++ b/include/d/actor/d_a_npc_jagar.h @@ -11,75 +11,161 @@ * @details * */ -class daNpc_Jagar_c : public fopAc_ac_c { + +class daNpc_Jagar_c : public daNpcT_c { public: + typedef int (daNpc_Jagar_c::*cutFunc)(int); + typedef int (daNpc_Jagar_c::*actionFunc)(void*); + + enum Type { + TYPE_0, + TYPE_1, + TYPE_2, + TYPE_3, + }; + /* 80A1470C */ ~daNpc_Jagar_c(); - /* 80A14858 */ void create(); - /* 80A14B20 */ void CreateHeap(); - /* 80A14F4C */ void Delete(); - /* 80A14F80 */ void Execute(); - /* 80A14FA0 */ void Draw(); - /* 80A15034 */ void createHeapCallBack(fopAc_ac_c*); - /* 80A15054 */ void ctrlJointCallBack(J3DJoint*, int); - /* 80A150AC */ void getType(); - /* 80A150F8 */ void isDelete(); + /* 80A14858 */ int create(); + /* 80A14B20 */ int CreateHeap(); + /* 80A14F4C */ int Delete(); + /* 80A14F80 */ int Execute(); + /* 80A14FA0 */ int Draw(); + /* 80A15034 */ static int createHeapCallBack(fopAc_ac_c*); + /* 80A15054 */ static int ctrlJointCallBack(J3DJoint*, int); + /* 80A150AC */ u8 getType(); + /* 80A150F8 */ int isDelete(); /* 80A15198 */ void reset(); /* 80A15364 */ void afterJntAnm(int); /* 80A153E8 */ void setParam(); - /* 80A155E4 */ void checkChangeEvt(); + /* 80A155E4 */ BOOL checkChangeEvt(); /* 80A15714 */ void setAfterTalkMotion(); /* 80A157B4 */ void srchActors(); - /* 80A158A0 */ void evtTalk(); - /* 80A15940 */ void evtCutProc(); + /* 80A158A0 */ BOOL evtTalk(); + /* 80A15940 */ BOOL evtCutProc(); /* 80A15A08 */ void action(); /* 80A15CA4 */ void beforeMove(); /* 80A15D68 */ void setAttnPos(); /* 80A1607C */ void setCollision(); - /* 80A161EC */ bool drawDbgInfo(); + /* 80A161EC */ int drawDbgInfo(); /* 80A161F4 */ void changeBtp(int*, int*); - /* 80A16234 */ void selectAction(); - /* 80A162B0 */ void chkAction(int (daNpc_Jagar_c::*)(void*)); - /* 80A162DC */ void setAction(int (daNpc_Jagar_c::*)(void*)); - /* 80A16384 */ void cutClimbUp(int); - /* 80A16544 */ void cutNeedYourHelp(int); - /* 80A16CD8 */ void cutAnger(int); - /* 80A16EFC */ void cutConversationWithBou(int); - /* 80A1705C */ void cutConfidentialConversation(int); - /* 80A173D8 */ void cutFindWolf(int); - /* 80A17898 */ void chkSitMotion(); - /* 80A17924 */ void chkSitMotion2(); - /* 80A17984 */ void chkChuMotion(); - /* 80A179F8 */ void chkToMotion(); - /* 80A17A2C */ void wait(void*); - /* 80A1856C */ void talkwithBou(void*); - /* 80A18B74 */ void talk(void*); - /* 80A1A194 */ daNpc_Jagar_c(daNpcT_faceMotionAnmData_c const*, daNpcT_motionAnmData_c const*, - daNpcT_MotionSeqMngr_c::sequenceStepData_c const*, int, - daNpcT_MotionSeqMngr_c::sequenceStepData_c const*, int, - daNpcT_evtData_c const*, char**); + /* 80A16234 */ int selectAction(); + /* 80A162B0 */ int chkAction(int (daNpc_Jagar_c::*)(void*)); + /* 80A162DC */ int setAction(int (daNpc_Jagar_c::*)(void*)); + /* 80A16384 */ int cutClimbUp(int); + /* 80A16544 */ int cutNeedYourHelp(int); + /* 80A16CD8 */ int cutAnger(int); + /* 80A16EFC */ int cutConversationWithBou(int); + /* 80A1705C */ int cutConfidentialConversation(int); + /* 80A173D8 */ int cutFindWolf(int); + /* 80A17898 */ int chkSitMotion(); + /* 80A17924 */ int chkSitMotion2(); + /* 80A17984 */ int chkChuMotion(); + /* 80A179F8 */ int chkToMotion(); + /* 80A17A2C */ int wait(void*); + /* 80A1856C */ int talkwithBou(void*); + /* 80A18B74 */ int talk(void*); + /* 80A1A194 */ daNpc_Jagar_c(daNpcT_faceMotionAnmData_c const* param_1, daNpcT_motionAnmData_c const* param_2, + daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_3, int param_4, + daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_5, int param_6, + daNpcT_evtData_c const* param_7, char** param_8) : + daNpcT_c(param_1, param_2, param_3, param_4, param_5, param_6, param_7, param_8) + {} /* 80A1A274 */ s32 getEyeballMaterialNo(); /* 80A1A27C */ s32 getHeadJointNo(); /* 80A1A284 */ s32 getNeckJointNo(); - /* 80A1A28C */ bool getBackboneJointNo(); - /* 80A1A294 */ void checkChangeJoint(int); - /* 80A1A2A4 */ void checkRemoveJoint(int); + /* 80A1A28C */ s32 getBackboneJointNo(); + /* 80A1A294 */ BOOL checkChangeJoint(int param_1) { return param_1 == 4; } + /* 80A1A2A4 */ BOOL checkRemoveJoint(int param_1) { return param_1 == 8; } /* 80A1A2B4 */ s32 getFootLJointNo(); /* 80A1A2BC */ s32 getFootRJointNo(); - static void* mCutNameList[7]; - static u8 mCutList[84]; + int getFlowNodeNo() { + u16 nodeNo = home.angle.x; + if (nodeNo == 0xffff) { + return -1; + } + return nodeNo; + } + u8 getPathID() { return (fopAcM_GetParam(this) & 0xff00) >> 8; } + + static char* mCutNameList[7]; + static cutFunc mCutList[7]; private: - /* 0x568 */ u8 field_0x568[0x100c - 0x568]; + /* 0x0E40 */ int field_0xe40; + /* 0x0E44 */ dCcD_Cyl mCyl1; + /* 0x0F80 */ u8 mType; + /* 0x0F84 */ daNpcT_ActorMngr_c mActorMngr[5]; + /* 0x0FAC */ daNpcT_Path_c field_0xfac; + /* 0x0FD4 */ actionFunc field_0xfd4; + /* 0x0FE0 */ actionFunc field_0xfe0; + /* 0x0FEC */ int field_0xfec; + /* 0x0FF0 */ int field_0xff0; + /* 0x0FF4 */ int field_0xff4; + /* 0x0FF8 */ int field_0xff8; + /* 0x0FFC */ u8 field_0xffc[0x1000 - 0xffc]; + /* 0x1000 */ u8 field_0x1000; + /* 0x1001 */ u8 field_0x1001; + /* 0x1002 */ u8 field_0x1002; + /* 0x1003 */ u8 field_0x1003; + /* 0x1004 */ u8 field_0x1004; + /* 0x1005 */ u8 field_0x1005; + /* 0x1008 */ int field_0x1008; }; STATIC_ASSERT(sizeof(daNpc_Jagar_c) == 0x100c); class daNpc_Jagar_Param_c { public: - /* 80A1A2C4 */ ~daNpc_Jagar_Param_c(); + /* 80A1A2C4 */ virtual ~daNpc_Jagar_Param_c() {} - static u8 const m[160]; + struct Data { + /* 0x00 */ f32 field_0x00; // 170.0f + /* 0x04 */ f32 field_0x04; // -3.0f + /* 0x08 */ f32 field_0x08; // 1.0f + /* 0x0C */ f32 field_0x0c; // 400.0f + /* 0x10 */ f32 field_0x10; // 255.0f + /* 0x14 */ f32 field_0x14; // 160.0f + /* 0x18 */ f32 field_0x18; // 35.0f + /* 0x1C */ f32 field_0x1c; // 30.0f + /* 0x20 */ f32 field_0x20; // 0.0f + /* 0x24 */ f32 field_0x24; // 0.0f + /* 0x28 */ f32 field_0x28; // 10.0f + /* 0x2C */ f32 field_0x2c; // -10.0f + /* 0x30 */ f32 field_0x30; // 30.0f + /* 0x34 */ f32 field_0x34; // -10.0f + /* 0x38 */ f32 field_0x38; // 45.0f + /* 0x3C */ f32 field_0x3c; // -45.0f + /* 0x40 */ f32 field_0x40; // 0.6f + /* 0x44 */ f32 field_0x44; // 12.0f + /* 0x48 */ s16 field_0x48; + /* 0x4A */ s16 field_0x4a; + /* 0x4C */ s16 field_0x4c; + /* 0x4E */ s16 field_0x4e; + /* 0x50 */ f32 field_0x50; // 110.0f + /* 0x54 */ f32 field_0x54; // 500.0f + /* 0x58 */ f32 field_0x58; // 300.0f + /* 0x5C */ f32 field_0x5c; // -300.0f + /* 0x60 */ s16 field_0x60; // 60 + /* 0x62 */ s16 field_0x62; // 8 + /* 0x64 */ f32 field_0x64; // 0.0f + /* 0x68 */ f32 field_0x68; // 0.0f + /* 0x6C */ f32 field_0x6c; // 4.0f + /* 0x70 */ f32 field_0x70; // 0.0f + /* 0x74 */ f32 field_0x74; // 0.0f + /* 0x78 */ f32 field_0x78; // 0.0f + /* 0x7C */ f32 field_0x7c; // 0.0f + /* 0x80 */ f32 field_0x80; // 0.0f + /* 0x84 */ f32 field_0x84; // 0.0f + /* 0x88 */ f32 field_0x88; // 0.0f + /* 0x8C */ f32 field_0x8c; // 1400.0f + /* 0x90 */ f32 field_0x90; // 200.0f + /* 0x94 */ f32 field_0x94; // -800.0f + /* 0x98 */ f32 field_0x98; // 16.0f + /* 0x9C */ f32 field_0x9c; // 1800.0f + }; + + static const Data m; }; #endif /* D_A_NPC_JAGAR_H */ diff --git a/include/d/actor/d_a_player.h b/include/d/actor/d_a_player.h index cb65bc2f5fa..f1be27ad5da 100644 --- a/include/d/actor/d_a_player.h +++ b/include/d/actor/d_a_player.h @@ -1102,6 +1102,8 @@ public: onNoResetFlg3(FLG3_UNK_200000); } + BOOL checkClimbEndHang() { return checkResetFlg0(RFLG0_UNK_40000); } + static daMidna_c* m_midnaActor; }; diff --git a/src/d/actor/d_a_npc_bou.cpp b/src/d/actor/d_a_npc_bou.cpp index 94de5146b8a..07e09480737 100644 --- a/src/d/actor/d_a_npc_bou.cpp +++ b/src/d/actor/d_a_npc_bou.cpp @@ -883,17 +883,12 @@ daNpc_Bou_c::~daNpc_Bou_c() { /* ############################################################################################## */ /* 80972860-809728FC 000000 009C+00 13/13 0/0 1/1 .rodata m__17daNpc_Bou_Param_c */ -SECTION_RODATA u8 const daNpc_Bou_Param_c::m[156] = { - 0x43, 0x52, 0x00, 0x00, 0xC0, 0x40, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00, 0x44, 0x16, 0x00, 0x00, - 0x43, 0x7F, 0x00, 0x00, 0x43, 0x48, 0x00, 0x00, 0x42, 0x0C, 0x00, 0x00, 0x42, 0x20, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x20, 0x00, 0x00, 0xC1, 0x20, 0x00, 0x00, - 0x41, 0xF0, 0x00, 0x00, 0xC1, 0x20, 0x00, 0x00, 0x42, 0x34, 0x00, 0x00, 0xC2, 0x34, 0x00, 0x00, - 0x3F, 0x19, 0x99, 0x9A, 0x41, 0x40, 0x00, 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x05, 0x00, 0x06, - 0x42, 0xDC, 0x00, 0x00, 0x43, 0xFA, 0x00, 0x00, 0x43, 0x96, 0x00, 0x00, 0xC3, 0x96, 0x00, 0x00, - 0x00, 0x3C, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x80, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x80, 0x00, 0x00, - 0x44, 0x7A, 0x00, 0x00, 0x43, 0xFA, 0x00, 0x00, 0xC3, 0xFA, 0x00, 0x00, +daNpc_Bou_Param_c::Data const daNpc_Bou_Param_c::m= { + 255.0f, -3.0f, 1.0f, 600.0f, 255.0f, 200.0f, 35.0f, 40.0f, + 0.0f, 0.0f, 10.0f, -10.0f, 30.0f, -10.0f, 45.0f, -45.0f, + 0.6f, 12.0f, 3, 6, 5, 6, 110.0f, 500.0f, 300.0f, -300.0f, + 60, 8, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, + 0.0f, 0.0f, 16.0f, 1000.0f, 500.0f, -500.0f, }; COMPILER_STRIP_GATE(0x80972860, &daNpc_Bou_Param_c::m); @@ -1088,8 +1083,21 @@ void daNpc_Bou_c::getCowP() { } /* 8096DA78-8096DADC 000BD8 0064+00 1/1 0/0 2/2 .text getType__11daNpc_Bou_cFv */ -void daNpc_Bou_c::getType() { - // NONMATCHING +u8 daNpc_Bou_c::getType() { + switch ((u8)fopAcM_GetParam(this)) { + case 0: + return TYPE_0; + case 1: + return TYPE_1; + case 2: + return TYPE_2; + case 3: + return TYPE_3; + case 4: + return TYPE_4; + default: + return TYPE_5; + } } /* 8096DADC-8096DBBC 000C3C 00E0+00 1/1 0/0 0/0 .text isDelete__11daNpc_Bou_cFv */ diff --git a/src/d/actor/d_a_npc_jagar.cpp b/src/d/actor/d_a_npc_jagar.cpp index 61bbcfe60eb..8eeeb9cc447 100644 --- a/src/d/actor/d_a_npc_jagar.cpp +++ b/src/d/actor/d_a_npc_jagar.cpp @@ -1,10 +1,14 @@ /** - * @file d_a_npc_jagar.cpp - * -*/ + * d_a_npc_jagar.cpp + * NPC - Jaggle + */ #include "d/actor/d_a_npc_jagar.h" +#include "Z2AudioLib/Z2Instances.h" +#include "d/actor/d_a_npc_bou.h" #include "dol2asm.h" +#include "d/d_meter2_info.h" +#include "d/actor/d_a_tag_push.h" // // Forward References: @@ -276,7 +280,6 @@ extern "C" extern void* __vt__14cCcD_ShapeAttr[22]; extern "C" extern void* __vt__9cCcD_Stts[8]; extern "C" extern void* __vt__14J3DMaterialAnm[4]; extern "C" u8 now__14mDoMtx_stack_c[48]; -extern "C" extern u8 g_meter2_info[248]; extern "C" void getType__11daNpc_Bou_cFv(); extern "C" u8 const m__17daNpc_Bou_Param_c[156]; extern "C" void __register_global_object(); @@ -286,23 +289,6 @@ extern "C" void __register_global_object(); // /* ############################################################################################## */ -/* 80A1A49C-80A1A49C 00016C 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ -#pragma push -#pragma force_active on -SECTION_DEAD static char const* const stringBase_80A1A49C = ""; -SECTION_DEAD static char const* const stringBase_80A1A49D = "NO_RESPONSE"; -SECTION_DEAD static char const* const stringBase_80A1A4A9 = "CLIMBUP"; -SECTION_DEAD static char const* const stringBase_80A1A4B1 = "NEED_YOUR_HELP"; -SECTION_DEAD static char const* const stringBase_80A1A4C0 = "ANGER"; -SECTION_DEAD static char const* const stringBase_80A1A4C6 = "CONVERSATION_WITH_BOU"; -SECTION_DEAD static char const* const stringBase_80A1A4DC = "CONFIDENTIAL_CONVERSATION"; -SECTION_DEAD static char const* const stringBase_80A1A4F6 = "FIND_WOLF"; -SECTION_DEAD static char const* const stringBase_80A1A500 = "FIND_WOLF_VER2"; -SECTION_DEAD static char const* const stringBase_80A1A50F = "Jagar"; -SECTION_DEAD static char const* const stringBase_80A1A515 = "Jagar1"; -SECTION_DEAD static char const* const stringBase_80A1A51C = "Jagar2"; -SECTION_DEAD static char const* const stringBase_80A1A523 = "Jagar3"; -#pragma pop /* 80A1A548-80A1A554 000000 000C+00 2/2 0/0 0/0 .data cNullVec__6Z2Calc */ SECTION_DATA static u8 cNullVec__6Z2Calc[12] = { @@ -323,331 +309,1702 @@ SECTION_DATA static u32 lit_1787[1 + 4 /* padding */] = { #pragma pop /* 80A1A568-80A1A570 000020 0008+00 1/1 0/0 0/0 .data l_bmdData */ -SECTION_DATA static u8 l_bmdData[8] = { - 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x01, +static int l_bmdData[1][2] = { + {13, 1}, }; /* 80A1A570-80A1A5B8 -00001 0048+00 0/1 0/0 0/0 .data l_evtList */ -#pragma push -#pragma force_active on -SECTION_DATA static void* l_evtList[18] = { - (void*)&d_a_npc_jagar__stringBase0, - (void*)NULL, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x1), - (void*)NULL, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0xD), - (void*)0x00000002, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x15), - (void*)0x00000002, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x24), - (void*)0x00000002, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x2A), - (void*)0x00000003, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x40), - (void*)0x00000003, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x5A), - (void*)0x00000003, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x64), - (void*)0x00000003, +SECTION_DATA static daNpcT_evtData_c l_evtList[9] = { + {"", 0}, + {"NO_RESPONSE", 0}, + {"CLIMBUP", 2}, + {"NEED_YOUR_HELP", 2}, + {"ANGER", 2}, + {"CONVERSATION_WITH_BOU", 3}, + {"CONFIDENTIAL_CONVERSATION", 3}, + {"FIND_WOLF", 3}, + {"FIND_WOLF_VER2", 3}, }; -#pragma pop /* 80A1A5B8-80A1A5CC -00001 0014+00 2/3 0/0 0/0 .data l_resNameList */ -SECTION_DATA static void* l_resNameList[5] = { - (void*)&d_a_npc_jagar__stringBase0, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x73), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x79), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x80), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x87), +static char* l_resNameList[5] = { + "", + "Jagar", + "Jagar1", + "Jagar2", + "Jagar3", }; /* 80A1A5CC-80A1A5D0 000084 0004+00 1/0 0/0 0/0 .data l_loadResPtrn0 */ -SECTION_DATA static u32 l_loadResPtrn0 = 0x010204FF; +// SECTION_DATA static u32 l_loadResPtrn0 = 0x010204FF; +static s8 l_loadResPtrn0[4] = { + 1, 2, 4, -1, +}; /* 80A1A5D0-80A1A5D4 000088 0003+01 1/0 0/0 0/0 .data l_loadResPtrn1 */ -SECTION_DATA static u8 l_loadResPtrn1[3 + 1 /* padding */] = { - 0x01, - 0x03, - 0xFF, - /* padding */ - 0x00, +static s8 l_loadResPtrn1[3] = { + 1, 3, -1 }; /* 80A1A5D4-80A1A5DC 00008C 0005+03 1/0 0/0 0/0 .data l_loadResPtrn9 */ -SECTION_DATA static u8 l_loadResPtrn9[5 + 3 /* padding */] = { - 0x01, - 0x02, - 0x03, - 0x04, - 0xFF, - /* padding */ - 0x00, - 0x00, - 0x00, +static s8 l_loadResPtrn9[5] = { + 1, 2, 3, 4, -1 }; /* 80A1A5DC-80A1A5EC -00001 0010+00 1/2 0/0 0/0 .data l_loadResPtrnList */ -SECTION_DATA static void* l_loadResPtrnList[4] = { - (void*)&l_loadResPtrn0, - (void*)&l_loadResPtrn1, - (void*)&l_loadResPtrn9, - (void*)&l_loadResPtrn9, +static s8* l_loadResPtrnList[4] = { + l_loadResPtrn0, + l_loadResPtrn1, + l_loadResPtrn9, + l_loadResPtrn9, }; /* 80A1A5EC-80A1A704 0000A4 0118+00 0/1 0/0 0/0 .data l_faceMotionAnmData */ -#pragma push -#pragma force_active on -SECTION_DATA static u8 l_faceMotionAnmData[280] = { - 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x13, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, - 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x14, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x12, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, +static daNpcT_faceMotionAnmData_c l_faceMotionAnmData[10] = { + {-1, 0, 0, 19, 2, 1, 1}, + {6, 0, 1, 20, 0, 1, 0}, + {6, 0, 2, 19, 2, 1, 1}, + {4, 0, 4, 9, 0, 4, 0}, + {7, 0, 3, 20, 0, 3, 0}, + {5, 2, 4, 10, 2, 4, 0}, + {-1, 0, 0, -1, 0, 0, 0}, + {7, 2, 1, 21, 2, 1, 0}, + {5, 0, 3, 18, 0, 3, 0}, + {6, 2, 3, 19, 2, 3, 0}, }; -#pragma pop /* 80A1A704-80A1A8FC 0001BC 01F8+00 0/1 0/0 0/0 .data l_motionAnmData */ -#pragma push -#pragma force_active on -SECTION_DATA static u8 l_motionAnmData[504] = { - 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x10, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x10, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x10, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, - 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x10, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x02, - 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, - 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x10, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, - 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, +daNpcT_motionAnmData_c l_motionAnmData[18] = { + {10, 2, 1, 16, 0, 1, 1, 0}, + {4, 2, 2, 16, 0, 1, 1, 0}, + {7, 2, 2, 16, 0, 1, 1, 0}, + {10, 2, 2, 16, 0, 1, 1, 0}, + {8, 0, 2, 16, 0, 1, 1, 0}, + {9, 0, 2, 16, 0, 1, 1, 0}, + {5, 0, 2, 16, 0, 1, 1, 0}, + {11, 0, 2, 16, 0, 1, 1, 0}, + {6, 0, 4, 16, 0, 1, 1, 0}, + {9, 0, 1, 16, 0, 1, 1, 0}, + {8, 0, 1, 16, 0, 1, 1, 0}, + {8, 2, 3, 16, 0, 1, 1, 0}, + {13, 2, 3, 16, 0, 1, 1, 0}, + {12, 0, 3, 16, 0, 1, 1, 0}, + {14, 2, 3, 16, 0, 1, 1, 0}, + {9, 0, 3, 16, 0, 1, 1, 0}, + {11, 0, 3, 16, 0, 1, 1, 0}, + {10, 2, 3, 16, 0, 1, 1, 0}, }; -#pragma pop /* 80A1A8FC-80A1A98C 0003B4 0090+00 0/1 0/0 0/0 .data l_faceMotionSequenceData */ -#pragma push -#pragma force_active on -SECTION_DATA static u8 l_faceMotionSequenceData[144] = { - 0x00, 0x01, 0xFF, 0x01, 0x00, 0x07, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x08, 0xFF, 0x01, 0x00, 0x09, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x02, 0xFF, 0x01, 0x00, 0x06, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x03, 0xFF, 0x01, 0x00, 0x05, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x04, 0xFF, 0x01, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x05, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x07, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x06, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x00, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, +static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[36] = { + {1, -1, 1}, {7, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, -1, 1}, {9, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {2, -1, 1}, {6, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {3, -1, 1}, {5, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {4, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {5, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {7, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {6, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, }; -#pragma pop /* 80A1A98C-80A1AABC 000444 0130+00 0/1 0/0 0/0 .data l_motionSequenceData */ -#pragma push -#pragma force_active on -SECTION_DATA static u8 l_motionSequenceData[304] = { - 0x00, 0x00, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x08, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x01, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x02, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x09, 0xFF, 0x01, 0x00, 0x03, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0C, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0D, 0xFF, 0x01, 0x00, 0x0C, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0F, 0xFF, 0x01, 0x00, 0x11, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x10, 0xFF, 0x01, 0x00, 0x0C, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x11, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x04, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x05, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x06, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x07, 0xFF, 0x01, 0x00, 0x02, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0A, 0x04, 0x01, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0B, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0E, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x03, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, - 0x00, 0x0D, 0xFF, 0x01, 0x00, 0x0C, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, +static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[76] = { + {0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {1, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {2, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {9, -1, 1}, {3, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {12, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {13, -1, 1}, {12, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {15, -1, 1}, {17, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {16, -1, 1}, {12, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {17, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {4, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {5, -1, 1}, {1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {6, -1, 1}, {2, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {7, -1, 1}, {2, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {10, 4, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {11, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {14, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {3, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, + {13, -1, 1}, {12, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, }; -#pragma pop /* 80A1AABC-80A1AAD8 -00001 001C+00 1/1 0/0 0/0 .data mCutNameList__13daNpc_Jagar_c */ -SECTION_DATA void* daNpc_Jagar_c::mCutNameList[7] = { - (void*)&d_a_npc_jagar__stringBase0, - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0xD), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x15), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x24), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x2A), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x40), - (void*)(((char*)&d_a_npc_jagar__stringBase0) + 0x5A), +SECTION_DATA char* daNpc_Jagar_c::mCutNameList[7] = { + "", + "CLIMBUP", + "NEED_YOUR_HELP", + "ANGER", + "CONVERSATION_WITH_BOU", + "CONFIDENTIAL_CONVERSATION", + "FIND_WOLF", }; -/* 80A1AAD8-80A1AAE4 -00001 000C+00 0/1 0/0 0/0 .data @3939 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3939[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutClimbUp__13daNpc_Jagar_cFi, -}; -#pragma pop - -/* 80A1AAE4-80A1AAF0 -00001 000C+00 0/1 0/0 0/0 .data @3940 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3940[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutNeedYourHelp__13daNpc_Jagar_cFi, -}; -#pragma pop - -/* 80A1AAF0-80A1AAFC -00001 000C+00 0/1 0/0 0/0 .data @3941 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3941[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutAnger__13daNpc_Jagar_cFi, -}; -#pragma pop - -/* 80A1AAFC-80A1AB08 -00001 000C+00 0/1 0/0 0/0 .data @3942 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3942[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutConversationWithBou__13daNpc_Jagar_cFi, -}; -#pragma pop - -/* 80A1AB08-80A1AB14 -00001 000C+00 0/1 0/0 0/0 .data @3943 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3943[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutConfidentialConversation__13daNpc_Jagar_cFi, -}; -#pragma pop - -/* 80A1AB14-80A1AB20 -00001 000C+00 0/1 0/0 0/0 .data @3944 */ -#pragma push -#pragma force_active on -SECTION_DATA static void* lit_3944[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)cutFindWolf__13daNpc_Jagar_cFi, -}; -#pragma pop - /* 80A1AB20-80A1AB74 0005D8 0054+00 1/2 0/0 0/0 .data mCutList__13daNpc_Jagar_c */ -SECTION_DATA u8 daNpc_Jagar_c::mCutList[84] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +daNpc_Jagar_c::cutFunc daNpc_Jagar_c::mCutList[7] = { + &daNpc_Jagar_c::cutClimbUp, + &daNpc_Jagar_c::cutNeedYourHelp, + &daNpc_Jagar_c::cutAnger, + &daNpc_Jagar_c::cutConversationWithBou, + &daNpc_Jagar_c::cutConfidentialConversation, + &daNpc_Jagar_c::cutFindWolf, + NULL, }; -/* 80A1AB74-80A1AB80 -00001 000C+00 1/1 0/0 0/0 .data @4674 */ -SECTION_DATA static void* lit_4674[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)talk__13daNpc_Jagar_cFPv, -}; - -/* 80A1AB80-80A1AB8C -00001 000C+00 1/1 0/0 0/0 .data @4739 */ -SECTION_DATA static void* lit_4739[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)talk__13daNpc_Jagar_cFPv, -}; - -/* 80A1AB8C-80A1AB98 -00001 000C+00 1/1 0/0 0/0 .data @4744 */ -SECTION_DATA static void* lit_4744[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)talk__13daNpc_Jagar_cFPv, -}; - -/* 80A1AB98-80A1ABA4 -00001 000C+00 1/1 0/0 0/0 .data @5061 */ -SECTION_DATA static void* lit_5061[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)talkwithBou__13daNpc_Jagar_cFPv, -}; - -/* 80A1ABA4-80A1ABB0 -00001 000C+00 1/1 0/0 0/0 .data @5063 */ -SECTION_DATA static void* lit_5063[3] = { - (void*)NULL, - (void*)0xFFFFFFFF, - (void*)wait__13daNpc_Jagar_cFPv, -}; - -/* 80A1ABB0-80A1ABE0 -00001 0030+00 1/1 0/0 0/0 .data @5661 */ -SECTION_DATA static void* lit_5661[12] = { - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x304), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x370), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x3B0), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x440), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x47C), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x490), -}; +// /* 80A1ABB0-80A1ABE0 -00001 0030+00 1/1 0/0 0/0 .data @5661 */ +// SECTION_DATA static void* lit_5661[12] = { +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x304), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x370), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x3B0), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x440), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x4A4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x47C), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x490), +// }; /* 80A1ABE0-80A1AC10 -00001 0030+00 1/1 0/0 0/0 .data @5660 */ -SECTION_DATA static void* lit_5660[12] = { - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0xBC), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x194), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x22C), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), - (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E0), +// SECTION_DATA static void* lit_5660[12] = { +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0xBC), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x194), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x22C), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E4), +// (void*)(((char*)cutFindWolf__13daNpc_Jagar_cFi) + 0x2E0), +// }; + +/* 80A1470C-80A14858 0000EC 014C+00 1/0 0/0 0/0 .text __dt__13daNpc_Jagar_cFv */ +daNpc_Jagar_c::~daNpc_Jagar_c() { + if (mpMorf[0] != 0) { + mpMorf[0]->stopZelAnime(); + } + deleteRes(l_loadResPtrnList[mType], (char const**)l_resNameList); +} + +/* ############################################################################################## */ +/* 80A1A330-80A1A3D0 000000 00A0+00 13/13 0/0 1/1 .rodata m__19daNpc_Jagar_Param_c */ +daNpc_Jagar_Param_c::Data const daNpc_Jagar_Param_c::m = { + 170.0f, -3.0f, 1.0f, 400.0f, 255.0f, 160.0f, + 35.0f, 30.0f, 0.0f, 0.0f, 10.0f, -10.0f, + 30.0f, -10.0f, 45.0f, -45.0f, 0.6f, 12.0f, + 3, 6, 5, 6, 110.0f, 500.0f, 300.0f, -300.0f, + 60, 8, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, + 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1400.0f, + 200.0f, -800.0f, 16.0f, 1800.0f, }; +/* 80A14858-80A14B20 000238 02C8+00 1/1 0/0 0/0 .text create__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::create() { + static int const heapSize[4] = {14416, 14448, 14448, 0}; + fopAcM_SetupActor2(this, daNpc_Jagar_c, l_faceMotionAnmData, + (const daNpcT_motionAnmData_c *)l_motionAnmData, (const daNpcT_MotionSeqMngr_c::sequenceStepData_c *) l_faceMotionSequenceData, 4, + (const daNpcT_MotionSeqMngr_c::sequenceStepData_c *)l_motionSequenceData, 4, (const daNpcT_evtData_c *)l_evtList, (char **)l_resNameList + ); + mType = getType(); + mFlowNodeNo = getFlowNodeNo(); + mTwilight = 0; + int rv = loadRes(l_loadResPtrnList[mType], (const char**)l_resNameList); + if (rv == cPhs_COMPLEATE_e) { + if (isDelete()) { + return cPhs_ERROR_e; + } + if (!fopAcM_entrySolidHeap(this, createHeapCallBack, heapSize[mType])) { + return cPhs_ERROR_e; + } + J3DModelData* modelData = mpMorf[0]->getModel()->getModelData(); + fopAcM_SetMtx(this, mpMorf[0]->getModel()->getBaseTRMtx()); + fopAcM_setCullSizeBox(this, -200.0f, -100.0f, -200.0f, 200.0f, 300.0f, 200.0f); + mSound.init(¤t.pos, &eyePos, 3, 1); + field_0x9c0.init(&mAcch, 0.0f, 0.0f); + reset(); + mAcch.Set(fopAcM_GetPosition_p(this), fopAcM_GetOldPosition_p(this), this, 1, + &mAcchCir, fopAcM_GetSpeed_p(this), fopAcM_GetAngle_p(this), + fopAcM_GetShapeAngle_p(this)); + mCcStts.Init(daNpc_Jagar_Param_c::m.field_0x10, 0, this); + mCyl1.Set(mCcDCyl); + mCyl1.SetStts(&mCcStts); + mCyl1.SetTgHitCallback(tgHitCallBack); + mAcch.CrrPos(dComIfG_Bgsp()); + mGndChk = mAcch.m_gnd; + mGroundH = mAcch.GetGroundH(); + if (mGroundH != -1000000000.0f) { + setEnvTevColor(); + setRoomNo(); + } + mCreating = 1; + Execute(); + mCreating = 0; + } + return rv; +} + +/* 80A14B20-80A14D90 000500 0270+00 1/1 0/0 0/0 .text CreateHeap__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::CreateHeap() { + J3DModelData* modelData = static_cast(dComIfG_getObjectRes( + l_resNameList[l_bmdData[0][1]], l_bmdData[0][0])); + if (modelData == NULL) { + return 0; + } + mpMorf[0] = new mDoExt_McaMorfSO(modelData, NULL, NULL, NULL, -1, 1.0f, 0, -1, &mSound, + 0x80000, 0x11020284); + if (mpMorf[0] == NULL || mpMorf[0]->getModel() == NULL) { + return 0; + } + J3DModel* model = mpMorf[0]->getModel(); + for (u16 i = 0; i < modelData->getJointNum(); i++) { + modelData->getJointNodePointer(i)->setCallBack(ctrlJointCallBack); + } + model->setUserArea((u32)this); + mpMatAnm = new daNpcT_MatAnm_c(); + if (mpMatAnm == NULL) { + return 0; + } + + if (setFaceMotionAnm(1, false) && setMotionAnm(0, 0.0f, 0)) + { + return 1; + } + return 0; +} + +/* 80A14F4C-80A14F80 00092C 0034+00 1/1 0/0 0/0 .text Delete__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::Delete() { + fopAcM_GetID(this); + this->~daNpc_Jagar_c(); + return 1; +} + +/* 80A14F80-80A14FA0 000960 0020+00 2/2 0/0 0/0 .text Execute__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::Execute() { + return daNpcT_c::execute(); +} + +/* 80A14FA0-80A15034 000980 0094+00 1/1 0/0 0/0 .text Draw__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::Draw() { + if (mpMatAnm != NULL) { + J3DModelData* modelData = mpMorf[0]->getModel()->getModelData(); + modelData->getMaterialNodePointer(getEyeballMaterialNo())->setMaterialAnm(mpMatAnm); + } + return daNpcT_c::draw(0, 0, field_0xde8, NULL, 100.0f, 0, 0, 0); +} + +/* 80A15034-80A15054 000A14 0020+00 1/1 0/0 0/0 .text + * createHeapCallBack__13daNpc_Jagar_cFP10fopAc_ac_c */ +int daNpc_Jagar_c::createHeapCallBack(fopAc_ac_c* i_this) { + return static_cast(i_this)->CreateHeap(); +} + +/* 80A15054-80A150AC 000A34 0058+00 1/1 0/0 0/0 .text + * ctrlJointCallBack__13daNpc_Jagar_cFP8J3DJointi */ +int daNpc_Jagar_c::ctrlJointCallBack(J3DJoint* param_0, int param_1) { + if (param_1 == 0) { + J3DModel* model = j3dSys.getModel(); + daNpc_Jagar_c* i_this = reinterpret_cast(model->getUserArea()); + if (i_this != 0) { + i_this->ctrlJoint(param_0, model); + } + } + return 1; +} + +/* 80A150AC-80A150F8 000A8C 004C+00 1/1 0/0 2/2 .text getType__13daNpc_Jagar_cFv */ +u8 daNpc_Jagar_c::getType() { + switch ((u8)fopAcM_GetParam(this)) { + case 0: + return TYPE_0; + case 1: + return TYPE_1; + case 2: + return TYPE_2; + default: + return TYPE_3; + } +} + +/* 80A150F8-80A15198 000AD8 00A0+00 1/1 0/0 0/0 .text isDelete__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::isDelete() { + switch (mType) { + case TYPE_0: + return FALSE; + case TYPE_1: { + bool rv = true; + if (!daNpcT_chkEvtBit(0xd3) && !dComIfGs_isCollectShield(0)) { + rv = false; + } + return rv; + } + case TYPE_2: + return FALSE; + default: + return FALSE; + } +} + +/* 80A15198-80A15364 000B78 01CC+00 1/1 0/0 0/0 .text reset__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::reset() { + csXyz acStack_20; + int iVar1 = (u8*)&field_0x1008 - (u8*)&field_0xfd4; + if (mpMatAnm != NULL) { + mpMatAnm->initialize(); + } + + initialize(); + for (int i = 0; i < 5; i++) { + mActorMngr[i].initialize(); + } + + memset(&field_0xfd4, 0, iVar1); + acStack_20.setall(0); + acStack_20.y = home.angle.y; + switch (mType) { + case TYPE_0: + if (daNpcT_chkEvtBit(0x1c) != 0) { + if (daNpcT_chkEvtBit(0x86) == 0) { + daNpcT_onEvtBit(0x86); + } + field_0x1001 = 1; + } + case TYPE_1: + case TYPE_2: + default: + daNpcT_offTmpBit(0x1b); + daNpcT_offTmpBit(0x10); + setAngle(acStack_20); + } +} + +/* 80A15364-80A153E8 000D44 0084+00 1/0 0/0 0/0 .text afterJntAnm__13daNpc_Jagar_cFi */ +void daNpc_Jagar_c::afterJntAnm(int param_1) { + if (param_1 == 1) { + mDoMtx_stack_c::YrotM(mStagger.getAngleZ(1)); + mDoMtx_stack_c::ZrotM(-mStagger.getAngleX(1)); + } else if (param_1 == 4) { + mDoMtx_stack_c::YrotM(mStagger.getAngleZ(0)); + mDoMtx_stack_c::ZrotM(mStagger.getAngleX(0)); + } +} + +/* 80A153E8-80A155E4 000DC8 01FC+00 1/0 0/0 0/0 .text setParam__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::setParam() { + selectAction(); + srchActors(); + u32 uVar7 = 10; + s16 sVar10 = daNpc_Jagar_Param_c::m.field_0x48; + s16 sVar9 = daNpc_Jagar_Param_c::m.field_0x4a; + s16 sVar8 = daNpc_Jagar_Param_c::m.field_0x4c; + s16 sVar7 = daNpc_Jagar_Param_c::m.field_0x4e; + switch (mType) { + case TYPE_0: + sVar10 = 4; + sVar9 = 6; + sVar8 = 5; + sVar7 = 6; + break; + case TYPE_1: + field_0xff0 = 3; + field_0xff4 = 6; + sVar10 = 19; + sVar9 = 6; + sVar8 = 19; + sVar7 = 6; + break; + case TYPE_2: + sVar10 = 3; + sVar9 = 6; + sVar8 = 5; + sVar7 = 6; + break; + } + attention_info.distances[0] = daNpcT_getDistTableIdx(sVar8, sVar7); + attention_info.distances[1] = attention_info.distances[0]; + attention_info.distances[3] = daNpcT_getDistTableIdx(sVar10, sVar9); + if (mType == TYPE_1) { + uVar7 |= (0x80 << 16); + field_0xfec = getActorDistance(daPy_getPlayerActorClass(), + daNpcT_getDistTableIdx(field_0xff0, field_0xff4), + attention_info.distances[1]); + if (field_0xfec < 4) { + g_meter2_info.mBlinkButton |= 1; + } + } else { + if (chkChuMotion() != 0) { + attention_info.distances[0] = 20; + attention_info.distances[1] = 20; + attention_info.distances[3] = 20; + uVar7 = 2; + } + } + attention_info.flags = uVar7; + scale.set(daNpc_Jagar_Param_c::m.field_0x08, daNpc_Jagar_Param_c::m.field_0x08, + daNpc_Jagar_Param_c::m.field_0x08); + mCcStts.SetWeight(daNpc_Jagar_Param_c::m.field_0x10); + mCylH = daNpc_Jagar_Param_c::m.field_0x14; + mWallR = daNpc_Jagar_Param_c::m.field_0x1c; + mAttnFovY = daNpc_Jagar_Param_c::m.field_0x50; + mAcchCir.SetWallR(mWallR); + mAcchCir.SetWallH(daNpc_Jagar_Param_c::m.field_0x18); + field_0xde8 = daNpc_Jagar_Param_c::m.field_0x0c; + field_0xa80 = daNpc_Jagar_Param_c::m.field_0x6c; + mMorfFrames = daNpc_Jagar_Param_c::m.field_0x44; + gravity = daNpc_Jagar_Param_c::m.field_0x04; +} + +/* 80A155E4-80A15714 000FC4 0130+00 1/0 0/0 0/0 .text checkChangeEvt__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::checkChangeEvt() { + if (!chkAction(&daNpc_Jagar_c::talk)) { + mPreItemNo = 0; + if (dComIfGp_event_chkTalkXY()) { + if (dComIfGp_evmng_ChkPresentEnd()) { + mEvtNo = 1; + evtChange(); + } + return true; + } + switch (mType) { + case TYPE_0: + if (daNpcT_chkEvtBit(0x1c) && chkChuMotion()) { + mEvtNo = 2; + evtChange(); + return true; + } + break; + case TYPE_1: + if (field_0xfec < 4) { + mEvtNo = 6; + evtChange(); + return true; + } + case TYPE_2: + break; + } + } + return false; +} + +/* 80A15714-80A157B4 0010F4 00A0+00 1/0 0/0 0/0 .text setAfterTalkMotion__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::setAfterTalkMotion() { + int iVar2 = 8; + switch(mFaceMotionSeqMngr.getNo()) { + case 0: + iVar2 = 6; + break; + case 1: + break; + case 2: + iVar2 = 7; + break; + case 3: + iVar2 = 5; + break; + } + mFaceMotionSeqMngr.setNo(iVar2, -1.0f, 0, 0); +} + +/* 80A157B4-80A158A0 001194 00EC+00 1/1 0/0 0/0 .text srchActors__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::srchActors() { + switch(mType) { + case TYPE_0: + if (!mActorMngr[1].getActorP()) { + mActorMngr[1].entry(getNearestActorP(0x15a)); + } + + if (!mActorMngr[0].getActorP()) { + mActorMngr[0].entry(getNearestActorP(0x10d)); + } + break; + case TYPE_1: + if (!mActorMngr[1].getActorP()) { + mActorMngr[1].entry(getNearestActorP(0x15a)); + } + + if (!mActorMngr[2].getActorP()) { + mActorMngr[2].entry(getNearestActorP(0x246)); + } + case TYPE_2: + break; + } +} + +/* 80A158A0-80A15940 001280 00A0+00 1/0 0/0 0/0 .text evtTalk__13daNpc_Jagar_cFv */ +BOOL daNpc_Jagar_c::evtTalk() { + if (chkAction(&daNpc_Jagar_c::talk)) { + (this->*field_0xfe0)(NULL); + } else { + setAction(&daNpc_Jagar_c::talk); + } + return 1; +} + +/* 80A15940-80A15A08 001320 00C8+00 1/0 0/0 0/0 .text evtCutProc__13daNpc_Jagar_cFv */ +BOOL daNpc_Jagar_c::evtCutProc() { + int staffId = dComIfGp_getEventManager().getMyStaffId("Jagar", this, -1); + if (staffId != -1) { + mStaffId = staffId; + int actIdx = dComIfGp_getEventManager().getMyActIdx(mStaffId, (char**)mCutNameList, 7, 0, 0); + if ((this->*(mCutList[actIdx]))(mStaffId) != 0) { + dComIfGp_getEventManager().cutEnd(mStaffId); + } + return true; + } + return false; +} + +/* 80A15A08-80A15CA4 0013E8 029C+00 1/0 0/0 0/0 .text action__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::action() { + fopAc_ac_c* hitActor = hitChk(&mCyl1, 0xffffffff); + if (hitActor && mCyl1.GetTgHitObj()->ChkAtType(AT_TYPE_THROW_OBJ)) { + if (mType == TYPE_1) { + daNpc_Bou_c *bo = (daNpc_Bou_c *)mActorMngr[2].getActorP(); + if (bo && bo->getType() == TYPE_1) { + if (bo->mStagger.checkStagger() ? 0 : 1) { + bo->mFaceMotionSeqMngr.setNo(1, -1, 0, 0); + bo->mMotionSeqMngr.setNo(3, -1, 0, 0); + field_0xff8 = 0; + field_0x1000 = 1; + } + } + } + + if (field_0x1003 != 2 && field_0x1004 != 2) { + mStagger.setParam(this, hitActor, mCurAngle.y); + setDamage(0, 8, 0); + mDamageTimerStart = 0; + mJntAnm.setMode(0, 0); + mJntAnm.setDirect(1); + } + } + + if (mStagger.checkRebirth()) { + mStagger.initialize(); + field_0x1003 = 0; + mMode = 1; + } + + if (field_0xfd4) { + if (field_0xfe0 == field_0xfd4) { + (this->*field_0xfe0)(NULL); + } else { + setAction(field_0xfd4); + } + } + daTag_Push_c *uVar4 = (daTag_Push_c *)field_0xba0.getActorP(); + if (uVar4) { + switch ((int)uVar4->getId()) { + case 2: + mEvtNo = 5; + break; + default: + break; + } + } +} + +/* 80A15CA4-80A15D68 001684 00C4+00 1/0 0/0 0/0 .text beforeMove__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::beforeMove() { + fopAcM_OffStatus(this, 0x8000000); + if (checkHide()) { + fopAcM_OnStatus(this, 0x8000000); + } + + if (checkHide() || mNoDraw != 0) { + attention_info.flags = 0; + } +} + +UNK_REL_BSS; +/* ############################################################################################## */ +// /* 80A1ADE0-80A1ADE4 000008 0001+03 1/1 0/0 0/0 .bss @1109 */ +// static u8 lit_1109[1 + 3 /* padding */]; + +/* 80A1ADE4-80A1ADE8 00000C 0001+03 0/0 0/0 0/0 .bss @1107 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1107[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADE8-80A1ADEC 000010 0001+03 0/0 0/0 0/0 .bss @1105 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1105[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADEC-80A1ADF0 000014 0001+03 0/0 0/0 0/0 .bss @1104 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1104[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADF0-80A1ADF4 000018 0001+03 0/0 0/0 0/0 .bss @1099 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1099[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADF4-80A1ADF8 00001C 0001+03 0/0 0/0 0/0 .bss @1097 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1097[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADF8-80A1ADFC 000020 0001+03 0/0 0/0 0/0 .bss @1095 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1095[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1ADFC-80A1AE00 000024 0001+03 0/0 0/0 0/0 .bss @1094 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1094[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE00-80A1AE04 000028 0001+03 0/0 0/0 0/0 .bss @1057 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1057[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE04-80A1AE08 00002C 0001+03 0/0 0/0 0/0 .bss @1055 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1055[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE08-80A1AE0C 000030 0001+03 0/0 0/0 0/0 .bss @1053 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1053[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE0C-80A1AE10 000034 0001+03 0/0 0/0 0/0 .bss @1052 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1052[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE10-80A1AE14 000038 0001+03 0/0 0/0 0/0 .bss @1014 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1014[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE14-80A1AE18 00003C 0001+03 0/0 0/0 0/0 .bss @1012 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1012[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE18-80A1AE1C 000040 0001+03 0/0 0/0 0/0 .bss @1010 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1010[1 + 3 /* padding */]; +// #pragma pop + +// /* 80A1AE1C-80A1AE20 000044 0001+03 0/0 0/0 0/0 .bss @1009 */ +// #pragma push +// #pragma force_active on +// static u8 lit_1009[1 + 3 /* padding */]; +// #pragma pop + +/* 80A1AE20-80A1AE2C 000048 000C+00 1/1 0/0 0/0 .bss @3945 */ +static u8 lit_3945[12]; + +/* 80A1AE2C-80A1AE30 000054 0004+00 1/1 0/0 0/0 .bss l_HIO */ +static u8 l_HIO[4]; + +/* 80A1AE30-80A1AE40 000058 000C+04 0/1 0/0 0/0 .bss @4873 */ +// #pragma push +// #pragma force_active on +// static u8 lit_4873[12 + 4 /* padding */]; +// #pragma pop + +// /* 80A1AE40-80A1AE4C 000068 000C+00 0/1 0/0 0/0 .bss prtclScl$4872 */ +// #pragma push +// #pragma force_active on +// static u8 prtclScl[12]; +// #pragma pop + +/* 80A15D68-80A1607C 001748 0314+00 1/0 0/0 0/0 .text setAttnPos__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::setAttnPos() { + cXyz cStack_3c(-10.0f, 10.0f, 0.0f); + mStagger.calc(0); + f32 dVar8 = cM_s2rad(mCurAngle.y - field_0xd7e.y); + J3DModel* model = mpMorf[0]->getModel(); + mJntAnm.setParam(this, model, &cStack_3c, getBackboneJointNo(), getNeckJointNo(), + getHeadJointNo(), daNpc_Jagar_Param_c::m.field_0x24, daNpc_Jagar_Param_c::m.field_0x20, + daNpc_Jagar_Param_c::m.field_0x2c, daNpc_Jagar_Param_c::m.field_0x28, + daNpc_Jagar_Param_c::m.field_0x34, daNpc_Jagar_Param_c::m.field_0x30, + daNpc_Jagar_Param_c::m.field_0x3c, daNpc_Jagar_Param_c::m.field_0x38, + daNpc_Jagar_Param_c::m.field_0x40, dVar8, NULL); + mJntAnm.calcJntRad(0.2f, 1.0f, dVar8); + setMtx(); + mDoMtx_stack_c::copy(mpMorf[0]->getModel()->getAnmMtx(getHeadJointNo())); + mDoMtx_stack_c::multVec(&cStack_3c, &eyePos); + mJntAnm.setEyeAngleX(eyePos, 1.0f, -0x2800); + mJntAnm.setEyeAngleY(eyePos, mCurAngle.y, 1, 1.0f, 0); + cStack_3c.set(0.0f, 0.0f, 10.0f); + cStack_3c.y = daNpc_Jagar_Param_c::m.field_0x00; + if (field_0x1004 == 2) { + cStack_3c.set(0.0f, 100.0f, -60.0f); + } + mDoMtx_stack_c::YrotS(mCurAngle.y); + mDoMtx_stack_c::multVec(&cStack_3c, &cStack_3c); + attention_info.position = current.pos + cStack_3c; + static cXyz prtclScl(1.0f, 1.0f, 1.0f); + setFootPos(); + if (3.0f < speedF) { + setFootPrtcl(&prtclScl, 11.0f, 0); + } +} + +/* 80A1607C-80A161EC 001A5C 0170+00 1/0 0/0 0/0 .text setCollision__13daNpc_Jagar_cFv */ +void daNpc_Jagar_c::setCollision() { + cXyz cStack_48; + if (mHide == 0) { + u32 tgType = -0x27040201; + u32 tgSPrm = 0x1f; + if (mTwilight) { + tgType = 0; + tgSPrm = 0; + } else { + if (mStagger.checkStagger()) { + tgType = 0; + tgSPrm = 0; + } + } + mCyl1.SetCoSPrm(0x79); + mCyl1.SetTgType(tgType); + mCyl1.SetTgSPrm(tgSPrm); + mCyl1.OnTgNoHitMark(); + cStack_48.set(0.0f, 0.0f, 0.0f); + f32 cylHeight = mCylH; + f32 cylRadius = mWallR; + if (field_0x1004 == 2) { + cylHeight = 70.0f; + cylRadius = 90.0f; + } + mDoMtx_stack_c::YrotS(mCurAngle.y); + mDoMtx_stack_c::multVec(&cStack_48, &cStack_48); + cStack_48 += current.pos; + mCyl1.SetH(cylHeight); + mCyl1.SetR(cylRadius); + mCyl1.SetC(cStack_48); + dComIfG_Ccsp()->Set(&mCyl1); + } + mCyl1.ClrCoHit(); + mCyl1.ClrTgHit(); +} + +/* 80A161EC-80A161F4 001BCC 0008+00 1/0 0/0 0/0 .text drawDbgInfo__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::drawDbgInfo() { + return 0; +} + +/* 80A161F4-80A16234 001BD4 0040+00 1/0 0/0 0/0 .text changeBtp__13daNpc_Jagar_cFPiPi */ +void daNpc_Jagar_c::changeBtp(int* param_0, int* param_1) { + if (((mType == TYPE_1 || mType == TYPE_2) && *param_0 == 19) && *param_1 == 1) { + *param_0 = 17; + *param_1 = 3; + } + return; +} + +/* 80A16234-80A162B0 001C14 007C+00 1/1 0/0 0/0 .text selectAction__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::selectAction() { + field_0xfd4 = NULL; + switch (mType) { + case TYPE_1: + field_0xfd4 = &daNpc_Jagar_c::talkwithBou; + break; + default: + field_0xfd4 = &daNpc_Jagar_c::wait; + break; + } + return 1; +} + +/* 80A162B0-80A162DC 001C90 002C+00 2/2 0/0 0/0 .text + * chkAction__13daNpc_Jagar_cFM13daNpc_Jagar_cFPCvPvPv_i */ +int daNpc_Jagar_c::chkAction(int (daNpc_Jagar_c::*action)(void*)) { + return field_0xfe0 == action; +} + +/* 80A162DC-80A16384 001CBC 00A8+00 2/2 0/0 0/0 .text + * setAction__13daNpc_Jagar_cFM13daNpc_Jagar_cFPCvPvPv_i */ +int daNpc_Jagar_c::setAction(int (daNpc_Jagar_c::*action)(void*)) { + mMode = 3; + if (field_0xfe0 != NULL) { + (this->*field_0xfe0)(NULL); + } + mMode = 0; + field_0xfe0 = action; + if (field_0xfe0 != NULL) { + (this->*field_0xfe0)(NULL); + } + return 1; +} + +/* 80A16384-80A16544 001D64 01C0+00 1/0 0/0 0/0 .text cutClimbUp__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutClimbUp(int param_0) { + int rv = 0; + int iVar4 = -1; + int* piVar1 = dComIfGp_evmng_getMyIntegerP(param_0, "prm"); + if (piVar1) { + iVar4 = *piVar1; + } + + if (dComIfGp_getEventManager().getIsAddvance(param_0)) { + switch (iVar4) { + case 0: + mFaceMotionSeqMngr.setNo(8, 0.0f, 0, 0); + mMotionSeqMngr.setNo(2, 0.0f, 0, 0); + mJntAnm.lookNone(1); + field_0x1003 = 1; + setAngle(home.angle.y); + initTalk(mFlowNodeNo, NULL); + break; + case 2: + break; + } + } + switch (iVar4) { + case 0: + if (talkProc(NULL, 0, NULL, 0) && mFlow.checkEndFlow()) { + rv = 1; + } + break; + case 2: + rv = 1; + break; + } + return rv; +} + +/* 80A16544-80A16CD8 001F24 0794+00 1/0 0/0 0/0 .text cutNeedYourHelp__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutNeedYourHelp(int param_1) { + // NONMATCHING + int rv = 0; + int iVar12 = -1; + int local_30 = 0; + int local_34 = 0; + int local_38 = 0; + fopAc_ac_c* actor_p; + int* piVar5 = dComIfGp_evmng_getMyIntegerP(param_1, "prm"); + if (piVar5) { + iVar12 = *piVar5; + } + piVar5 = dComIfGp_evmng_getMyIntegerP(param_1, "msgNo"); + if (piVar5) { + local_30 = *piVar5; + } + piVar5 = dComIfGp_evmng_getMyIntegerP(param_1, "msgNo2"); + if (piVar5) { + local_34 = *piVar5; + } + piVar5 = dComIfGp_evmng_getMyIntegerP(param_1, "send"); + if (piVar5) { + local_38 = *piVar5; + } + if (dComIfGp_getEventManager().getIsAddvance(param_1)) { + switch(iVar12) { + case 0: + dComIfGp_getEvent().setPt2(mActorMngr[0].getActorP()); + break; + case 1: + initTalk(mFlowNodeNo, NULL); + break; + case 7: + fopAc_ac_c* iVar6 = mActorMngr[1].getActorP(); + if (iVar6) { + dComIfGp_getEvent().setPt2(iVar6); + } + break; + case 8: + field_0x1002 = 0; + field_0x1003 = 0; + } + } + int local_2c[3] = {-1, -1, -1}; + switch (iVar12) { + case 0: + mJntAnm.lookNone(0); + if (mMotionSeqMngr.getNo() == 10) { + if (mMotionSeqMngr.getStepNo() <= 0) { + break; + } + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(0, -1.0f, 0, 0); + return 1; + } + if (!mMotionSeqMngr.getNo()) { + rv = 1; + return rv; + } + case 1: + mJntAnm.lookPlayer(0); + if (mPlayerAngle == mCurAngle.y) { + return 1; + } + step(mPlayerAngle,8,0xe,0xf,0); + break; + case 8: + break; + default: + switch (iVar12) { + case 3: + case 4: + case 5: + actor_p = mActorMngr[0].getActorP(); + if (actor_p) { + field_0xd6c.setall(0.0f); + field_0xd6c.z = current.pos.absXZ(actor_p->current.pos); + mDoMtx_stack_c::YrotS(mCurAngle.y + 0x4000); + mDoMtx_stack_c::multVec(&field_0xd6c, &field_0xd6c); + field_0xd6c += current.pos; + mJntAnm.lookPos(&field_0xd6c, 0); + } + break; + case 7: + fopAc_ac_c* iVar6 = mActorMngr[1].getActorP(); + if (iVar6) { + field_0xd6c.setall(0.0f); + field_0xd6c.z = current.pos.absXZ(actor_p->current.pos); + mDoMtx_stack_c::YrotS(mCurAngle.y + -0x4000); + mDoMtx_stack_c::multVec(&field_0xd6c, &field_0xd6c); + field_0xd6c += current.pos; + mJntAnm.lookPos(&field_0xd6c, 0); + } + break; + default: + mJntAnm.lookPlayer(0); + } + local_2c[0] = local_30; + local_2c[1] = local_34; + if (talkProc(local_2c, local_38, NULL, 0)) { + if (!local_30 && !local_34) { + if (mFlow.checkEndFlow() == 1) { + rv = 1; + } + } else { + rv = 1; + } + } + if (iVar12 == 4) { + rv = 1; + } + } + + return rv; +} + +/* 80A16CD8-80A16EFC 0026B8 0224+00 1/0 0/0 0/0 .text cutAnger__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutAnger(int param_0) { + int rv = 0; + int local_b4 = -1; + s16 sVar3; + int* piVar1 = dComIfGp_evmng_getMyIntegerP(param_0, "prm"); + if (piVar1 != NULL) { + local_b4 = *piVar1; + } + if (dComIfGp_getEventManager().getIsAddvance(param_0)) { + switch (local_b4) { + case 0: + mFaceMotionSeqMngr.setNo(8, 0.0f, 0, 0); + mMotionSeqMngr.setNo(0, 0.0, 0, 0); + field_0x1003 = 0; + sVar3 = fopAcM_searchActorAngleY(this, dComIfGp_getPlayer(0)); + setAngle(sVar3); + initTalk(mFlowNodeNo, NULL); + case 1: + break; + } + } + switch (local_b4) { + case 0: + mJntAnm.lookPlayer(0); + if (talkProc(NULL, 0, NULL, 0) && mFlow.checkEndFlow() == 1) { + rv = 1; + } + break; + case 1: + mJntAnm.lookNone(0); + if (home.angle.y == mCurAngle.y) { + rv = 1; + } else { + step(home.angle.y, 8, 14, 15, 0); + } + break; + default: + break; + } + return rv; +} + +/* 80A16EFC-80A1705C 0028DC 0160+00 1/0 0/0 0/0 .text cutConversationWithBou__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutConversationWithBou(int param_0) { + daTag_Push_c* this_00 = (daTag_Push_c*)field_0xba0.getActorP(); + int rv = 0; + int iVar5 = -1; + int* piVar2 = (int*)dComIfGp_evmng_getMyIntegerP(param_0, "prm"); + if (piVar2) { + iVar5 = *piVar2; + } + fopAc_ac_c* actors[2] = {(fopAc_ac_c *) this, mActorMngr[2].getActorP()}; + dComIfGp_setMesgCameraInfoActor(actors[0], actors[1], 0, 0, 0, 0, 0, 0, 0, 0); + if (dComIfGp_getEventManager().getIsAddvance(param_0)) { + switch (iVar5) { + case 0: + initTalk(this_00->getFlowNodeNo(), &actors[0]); + } + } + switch (iVar5) { + case 0: + iVar5 = talkProc(NULL, 0, &actors[0], 0); + if (iVar5 && mFlow.checkEndFlow() == 1) { + rv = 1; + } + } + return rv; +} + +/* 80A1705C-80A173D8 002A3C 037C+00 1/0 0/0 0/0 .text + * cutConfidentialConversation__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutConfidentialConversation(int param_0) { + // NONMATCHING + int iVar7 = 0; + int iVar8 = -1; + int rv = 0; + int* piVar2 = dComIfGp_evmng_getMyIntegerP(param_0, "prm"); + if(piVar2) { + iVar8 = *piVar2; + } + piVar2 = dComIfGp_evmng_getMyIntegerP(param_0, "msgNo"); + if(piVar2) { + iVar7 = *piVar2; + } + fopAc_ac_c* actors[2] = {(fopAc_ac_c *) this, mActorMngr[2].getActorP()}; + dComIfGp_setMesgCameraInfoActor(actors[0], actors[1], 0, 0, 0, 0, 0, 0, 0, 0); + if (dComIfGp_getEventManager().getIsAddvance(param_0)) { + switch (iVar8) { + case 0: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(5, -1.0f, 0, 0); + initTalk(0xd7, &actors[0]); + break; + case 1: + dComIfGp_getEvent().setPt2(mActorMngr[1].getActorP()); + case 2: + break; + } + } + int local_30[3] = {-1, -1, -1}; + if (iVar8 == 0 || iVar8 == 2) { + mJntAnm.lookActor(mActorMngr[2].getActorP(), -40.0f, 0); + } else if (iVar8 == 1) { + fopAc_ac_c* pfVar3 = mActorMngr[1].getActorP(); + mJntAnm.lookActor(pfVar3, 0.0f, 0); + } + local_30[0] = iVar7; + if (talkProc(&local_30[0], 0, &actors[0], 0)) { + if (iVar7 == 0) { + if (mFlow.checkEndFlow()) { + rv = 1; + } + } else { + rv = 1; + } + } else { + mEvtNo = 7; + evtChange(); + } + return rv; +} + +/* 80A173D8-80A17898 002DB8 04C0+00 3/0 0/0 0/0 .text cutFindWolf__13daNpc_Jagar_cFi */ +int daNpc_Jagar_c::cutFindWolf(int param_0) { + // NONMATCHING + int rv = 0; + int uVar6 = -1; + int iVar4 = 0; + int* piVar1 = dComIfGp_evmng_getMyIntegerP(param_0, "prm"); + if (piVar1 != NULL) { + uVar6 = *piVar1; + } + int* puVar2 = dComIfGp_evmng_getMyIntegerP(param_0, "timer"); + if (puVar2 != NULL) { + iVar4 = *puVar2; + } + + if (dComIfGp_getEventManager().getIsAddvance(param_0)) { + switch (uVar6) { + case 0: + mFaceMotionSeqMngr.setNo(1, -1.0f, 0, 0); + mMotionSeqMngr.setNo(7, -1.0f, 0, 0); + mSound.startCreatureVoice(Z2SE_JAGA_V_SURPRISE, -1); + mPlayerAngle = fopAcM_searchActorAngleY(this, daPy_getPlayerActorClass()); + if (checkStep()) { + mStepMode = 0; + } + dComIfGp_getVibration().StartShock(9, 15, cXyz(0.0f, 1.0f, 0.0f)); + break; + case 2: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(15, -1.0f, 0, 0); + current.angle.y = home.angle.y; + if (home.angle.y - mPlayerAngle > 1) { + current.angle.y = current.angle.y + -0x4000; + } else { + current.angle.y = current.angle.y + 0x4000; + + } + mEventTimer = iVar4; + break; + case 3: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(5, -1.0f, 0, 0); + setPos(cXyz(home.pos.x, home.pos.y, home.pos.z)); + setAngle(home.angle.y); + speedF = 0; + speed.setall(0.0f); + mAcch.ClrWallNone(); + mHide = 1; + break; + case 11: + mEventTimer = iVar4; + } + } + switch (uVar6) { + case 0: + mJntAnm.lookPlayer(0); + if (mPlayerAngle == mCurAngle.y) { + rv = 1; + } else { + step(mPlayerAngle, -1, -1, 15, 0); + } + break; + case 1: + mJntAnm.lookPlayer(0); + rv = 1; + break; + case 2: + mJntAnm.lookPlayer(0); + cLib_chaseS(&shape_angle.y, current.angle.y, 0x800); + mCurAngle.y = shape_angle.y; + field_0xd7e.y = mCurAngle.y; + cLib_chaseF(&speedF, daNpc_Jagar_Param_c::m.field_0x98, 0.5f); + mAcch.SetWallNone(); + if (cLib_calcTimer(&mEventTimer) == 0) { + rv = 1; + } + break; + case 3: + mJntAnm.lookNone(0); + rv = 1; + break; + case 10: + if (mMotionSeqMngr.getStepNo() > 0) { + rv = 1; + } + break; + case 11: + if (cLib_calcTimer(&mEventTimer) == 0) { + rv = 1; + } + } + return rv; +} + +/* 80A17898-80A17924 003278 008C+00 1/1 0/0 0/0 .text chkSitMotion__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::chkSitMotion() { + if ((daNpcT_chkEvtBit(0x235) != 0)) { + if (field_0x1002) { + return 0; + } + } else if (daNpcT_chkEvtBit(0x1c) != 0) { + if (daNpcT_chkEvtBit(0x87) != 0) { + return 0; + } else if (field_0x1002) { + return 0; + } + } + return 1; +} + +/* 80A17924-80A17984 003304 0060+00 1/1 0/0 0/0 .text chkSitMotion2__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::chkSitMotion2() { + if (daNpcT_chkEvtBit(0x235) != 0) { + if (daNpcT_chkEvtBit(0x224) != 0) { + return 1; + } + } else { + if (daNpcT_chkEvtBit(0x8a) != 0) { + return 1; + } + } + return 0; +} + +/* 80A17984-80A179F8 003364 0074+00 3/3 0/0 0/0 .text chkChuMotion__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::chkChuMotion() { + if (daNpcT_chkEvtBit(0x235) == 0 && daNpcT_chkEvtBit(0x1c) != 0) { + if (daNpcT_chkEvtBit(0x87) != 0) { + return false; + } else { + return field_0x1001 == 0 ? 1 : 0; + } + } + return false; +} + +/* 80A179F8-80A17A2C 0033D8 0034+00 1/1 0/0 0/0 .text chkToMotion__13daNpc_Jagar_cFv */ +int daNpc_Jagar_c::chkToMotion() { + // NONMATCHING + int rv = 0; + if (mMotionSeqMngr.getNo() == 10 || mMotionSeqMngr.getNo() == 11 || mMotionSeqMngr.getNo() == 12 || mMotionSeqMngr.getNo() == 13) { + rv = 1; + } + return rv & ((1U << 8) - 1); +} + +/* 80A17A2C-80A1856C 00340C 0B40+00 1/0 0/0 0/0 .text wait__13daNpc_Jagar_cFPv */ +int daNpc_Jagar_c::wait(void* param_0) { + cXyz cStack_24; + field_0x1004 = 0; + if (mType == TYPE_0) { + if(chkSitMotion2()) { + field_0x1004 = 2; + } else if (chkSitMotion()) { + if (chkChuMotion()) { + field_0x1004 = 1; + }else { + field_0x1004 = 2; + } + } + } + + if (field_0x1004 != field_0x1003) { + mMode = 1; + } + + switch(mMode) { + case 0: + case 1: + if (mCreating) { + switch (field_0x1004) { + case 0: + if (mType == TYPE_2) { + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(17, -1.0, 0, 0); + } else { + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(0, -1.0, 0, 0); + } + field_0x1003 = 0; + break; + case 1: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(2, -1.0, 0, 0); + field_0x1003 = 1; + break; + case 2: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(3, -1.0, 0, 0); + field_0x1003 = 2; + } + mMode = 2; + + } else { + if (!mStagger.checkStagger()) { + switch (field_0x1004) { + case 0: + switch (field_0x1003) { + case 2: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(10, -1.0, 0, 0); + break; + default: + if (mType == TYPE_2) { + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(17, -1.0, 0, 0); + } else { + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(0, -1.0, 0, 0); + } + field_0x1003 = 0; + } + break; + case 1: + switch (field_0x1003) { + case 2: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(11, -1.0, 0, 0); + break; + default: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(2, -1.0, 0, 0); + field_0x1003 = 1; + } + break; + case 2: + if (home.angle.y == mCurAngle.y) { + switch (field_0x1003) { + case 0: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(13, -1.0, 0, 0); + break; + case 1: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(12, -1.0, 0, 0); + } + } + } + mMode = 2; + } + } + case 2: + switch (mType) { + case TYPE_0: + daNpcT_offTmpBit(0x10); + cStack_24.set(daNpc_Jagar_Param_c::m.field_0x54, 10.0f, daNpc_Jagar_Param_c::m.field_0x54); + if (chkPointInArea(daPy_getPlayerActorClass()->current.pos, current.pos, + cStack_24, 0)) { + if (daPy_getPlayerActorClass()->checkPlayerFly()) { + if (daPy_getPlayerActorClass()->checkClimbEndHang()) { + field_0x1002 = 1; + } + } + daNpcT_onTmpBit(0x10); + } + if (!daNpcT_chkEvtBit(0x235)) { + if (!daNpcT_chkEvtBit(0xae) && daNpcT_chkTmpBit(0x1b)) { + mEvtNo = 4; + } else { + if (chkSitMotion() || field_0x1002 != 0) { + if (!daNpcT_chkEvtBit(0x235) && !daNpcT_chkEvtBit(0x87) && + daNpcT_chkTmpBit(0x10)) { + if (daPy_getPlayerActorClass()->eventInfo.chkCondition(1) != 0 ? 1 : 0) { + mEvtNo = 3; + } + } + } + } + } + break; + case TYPE_2: + if (!mHide) { + if (chkFindWolf(mCurAngle.y, daNpcT_getDistTableIdx(field_0xff0, field_0xff4), + field_0xfec, daNpc_Jagar_Param_c::m.field_0x54, + 180.0f, daNpc_Jagar_Param_c::m.field_0x58, daNpc_Jagar_Param_c::m.field_0x5c, 1)) { + mEvtNo = 8; + } + } + } + + if (!mStagger.checkStagger()) { + if (chkToMotion()) { + if (mMotionSeqMngr.getStepNo() > 0) { + switch (field_0x1004) { + case 0: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(0, -1.0f, 0, 0); + field_0x1003 = 0; + break; + case 1: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(2, -1.0f, 0, 0); + field_0x1003 = 1; + break; + case 2: + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(3, -1.0f, 0, 0); + field_0x1003 = 2; + } + } else { + if (mMotionSeqMngr.getNo() != 11) { + attention_info.flags = 0; + } + } + mJntAnm.lookNone(0); + break; + } + if (field_0x1004 == 2) { + mPlayerActorMngr.remove(); + } else if (field_0x1004 == 1) { + mPlayerActorMngr.entry((fopAc_ac_c*)daPy_getPlayerActorClass()); + } + + if (mPlayerActorMngr.getActorP()) { + mJntAnm.lookPlayer(0); + if (!chkActorInSight(mPlayerActorMngr.getActorP(), mAttnFovY, mCurAngle.y)) { + mJntAnm.lookNone(0); + } + + if (!srchPlayerActor()) { + if (home.angle.y == mCurAngle.y) { + mMode = 1; + } + + if (field_0x1003 == 1) { + if (!daNpcT_chkEvtBit(0x86)) { + daNpcT_onEvtBit(0x86); + } + field_0x1001 = 1; + } + } + } else { + mJntAnm.lookNone(0); + if (home.angle.y != mCurAngle.y) { + if (field_0xe34) { + if (step(home.angle.y, 8, 14, 15, 0)) { + mMode = 1; + } + } else { + setAngle(home.angle.y); + mMode = 1; + } + attention_info.flags = 0; + } else { + srchPlayerActor(); + } + } + } + break; + case 3: + break; + } + return 1; +} + +/* 80A1856C-80A18B74 003F4C 0608+00 1/0 0/0 0/0 .text talkwithBou__13daNpc_Jagar_cFPv */ +int daNpc_Jagar_c::talkwithBou(void* param_0) { + // NONMATCHING + bool bVar2; + int uVar3; + daNpc_Bou_c *bo = (daNpc_Bou_c *)mActorMngr[2].getActorP(); + u16 uVar1 = mMode; + switch (mMode) { + case 0: + case 1: + if (mStagger.checkStagger() == 0) { + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(5, -1.0f, 0, 0); + mMode = 2; + } + case 2: + default: + break; + } + if (mHide != 0 && daNpcT_chkEvtBit(0xd3) == 0 && + (fopAcM_searchActorDistanceXZ(this, daPy_getPlayerActorClass()) > daNpc_Jagar_Param_c::m.field_0x9c) && field_0xe34 != NULL) { + if (bo) { + bo->mHide = 0; + } + mHide = 0; + } + if (mHide != 0) { + fopAcM_setCullSizeBox((fopAc_ac_c *)this, -300.0f, -50.0f, -200.0f, 300.0f, 300.0f, 400.0f); + goto LAB_80a18a8c; // Fakematch + } + uVar3 = (int)daNpcT_getDistTableIdx(field_0xff0, field_0xff4); + if (!chkFindWolf(mCurAngle.y, uVar3, field_0xfec, daNpc_Jagar_Param_c::m.field_0x54, daNpc_Jagar_Param_c::m.field_0x50, + daNpc_Jagar_Param_c::m.field_0x58, daNpc_Jagar_Param_c::m.field_0x5c, 1)) { + if (bo) { + if (bo->chkFindWolf()) { + goto LAB_80a18744; // Fakematch + } + } + } else { +LAB_80a18744: // Fakematch + mEvtNo = 7; + } + if (bo) { + if (field_0x1005 == 0) { + if (cLib_calcTimer(&field_0xff8) == 0) { + if (mStagger.checkStagger()) { + if (mMotionSeqMngr.getNo() == 7 || + mMotionSeqMngr.getNo() == 6 || + mMotionSeqMngr.getNo() == 8) { + if(mMotionSeqMngr.getStepNo() <= 1) goto LAB_80a187c4; + bVar2 = true; + } else if (mMotionSeqMngr.getNo() == 5) { + bVar2 = true; + } else { +LAB_80a187c4: // Fakematch + bVar2 = false; + } + } else { + bVar2 = false; + } + if (bVar2) { + if (mStagger.checkStagger()) { + if (mMotionSeqMngr.getNo() == 3 || + mMotionSeqMngr.getNo() == 2 || + mMotionSeqMngr.getNo() == 4) { + if(mMotionSeqMngr.getStepNo() <= 1) goto LAB_80a18824; + bVar2 = true; + } else if (mMotionSeqMngr.getNo() == 1) { + bVar2 = true; + } else { +LAB_80a18824: // Fakematch + bVar2 = false; + } + } + if (bVar2) { + field_0xff8 = cLib_getRndValue(45.0f, 135.0f); + if ((field_0x1000 ^ 1) & (1 == 1)) { + bo->mFaceMotionSeqMngr.setNo(10, -1.0f, 0, 0); + if (0.0f < 0.0f + (cM_rnd() - 0.5f)) { + bo->mMotionSeqMngr.setNo(1, -1.0f, 0, 0); + } else { + bo->mMotionSeqMngr.setNo(4, -1.0f, 0, 0); + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + mMotionSeqMngr.setNo(6, -1.0f, 0, 0); + } + } else { + bo->mFaceMotionSeqMngr.setNo(10, -1.0f, 0, 0); + bo->mMotionSeqMngr.setNo(2, -1.0f, 0, 0); + mFaceMotionSeqMngr.setNo(8, -1.0f, 0, 0); + if ((cM_rnd() - 0.5f) + 0.0f < 0.0f) { + mMotionSeqMngr.setNo(8, -1.0f, 0, 0); + } else { + mMotionSeqMngr.setNo(5, -1.0f, 0, 0); + } + } + } + } + } + } else { + field_0xff8 = 0; + } + } + fopAcM_setCullSizeBox((fopAc_ac_c *)this,-300.0f,-50.0f,-300.0f,300.0f,450.0f,300.0f); +LAB_80a18a8c: // Fakematch + if (bo) { + mJntAnm.lookActor((fopAc_ac_c *)bo, -50.0f, 0); + } else { + mJntAnm.lookNone(0); + } + return 1; +} + +/* REGALLOC ISSUE */ +/* 80A18B74-80A18F28 004554 03B4+00 3/0 0/0 0/0 .text talk__13daNpc_Jagar_cFPv */ +int daNpc_Jagar_c::talk(void* param_0) { + // NONMATCHING + switch(mMode) { + case 0: + case 1: + if (!mStagger.checkStagger()) { + if (mType == TYPE_1) { + daNpc_Bou_c *bo = (daNpc_Bou_c *)mActorMngr[2].getActorP(); + if (bo && bo->getType() == TYPE_1 && ((bo->mStagger.checkStagger()) ? 0 : 1)) { + mFaceMotionSeqMngr.setNo(10, -1.0f, 0, 0); + if (0.0f < -10.0f + (cM_rnd() - 0.5f)) { + mMotionSeqMngr.setNo(4, -1.0f, 0, 0); + } else { + mMotionSeqMngr.setNo(1, -1.0f, 0, 0); + } + } + switch (field_0xfec) { + case 4: + initTalk(0xd6, NULL); + break; + default: + initTalk(0xd5, NULL); + } + } else { + initTalk(mFlowNodeNo, NULL); + } + mMode = 2; + } + case 2: + if (!mStagger.checkStagger()) { + if (mTwilight != 0 || mPlayerAngle == mCurAngle.y || mType == TYPE_1 || field_0x1003 != 0) { + if (talkProc(NULL, 0, NULL, 0) && mFlow.checkEndFlow()) { + mPlayerActorMngr.entry(daPy_getPlayerActorClass()); + dComIfGp_event_reset(); + mMode = 3; + } + + if (mType == TYPE_1) { + mJntAnm.lookActor(mActorMngr[2].getActorP(), -50.0f, 0); + } else { + mJntAnm.lookPlayer(0); + if (mTwilight != 0 || field_0x1003 == 2) { + mJntAnm.lookNone(0); + } + } + } else { + mJntAnm.lookPlayer(0); + step(mPlayerAngle, 8, 14, 15, 0); + } + } + break; + case 3: + default: + break; + } + return 0; +} + +/* 80A18F28-80A18F48 004908 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Create__FPv */ +static int daNpc_Jagar_Create(void* i_this) { + return static_cast(i_this)->create(); +} + +/* 80A18F48-80A18F68 004928 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Delete__FPv */ +static int daNpc_Jagar_Delete(void* i_this) { + return static_cast(i_this)->Delete(); +} + +/* 80A18F68-80A18F88 004948 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Execute__FPv */ +static int daNpc_Jagar_Execute(void* i_this) { + return static_cast(i_this)->Execute(); +} + +/* 80A18F88-80A18FA8 004968 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Draw__FPv */ +static int daNpc_Jagar_Draw(void* i_this) { + return static_cast(i_this)->Draw(); +} + +/* 80A18FA8-80A18FB0 004988 0008+00 1/0 0/0 0/0 .text daNpc_Jagar_IsDelete__FPv */ +static int daNpc_Jagar_IsDelete(void* i_this) { + return 1; +} + +/* 80A1A274-80A1A27C 005C54 0008+00 1/0 0/0 0/0 .text getEyeballMaterialNo__13daNpc_Jagar_cFv */ +s32 daNpc_Jagar_c::getEyeballMaterialNo() { + return true; +} + +/* 80A1A27C-80A1A284 005C5C 0008+00 1/0 0/0 0/0 .text getHeadJointNo__13daNpc_Jagar_cFv + */ +s32 daNpc_Jagar_c::getHeadJointNo() { + return 4; +} + +/* 80A1A284-80A1A28C 005C64 0008+00 1/0 0/0 0/0 .text getNeckJointNo__13daNpc_Jagar_cFv + */ +s32 daNpc_Jagar_c::getNeckJointNo() { + return 3; +} + +/* 80A1A28C-80A1A294 005C6C 0008+00 1/0 0/0 0/0 .text getBackboneJointNo__13daNpc_Jagar_cFv */ +long daNpc_Jagar_c::getBackboneJointNo() { + return 1; +} + +/* 80A1A2B4-80A1A2BC 005C94 0008+00 1/0 0/0 0/0 .text getFootLJointNo__13daNpc_Jagar_cFv + */ +s32 daNpc_Jagar_c::getFootLJointNo() { + return 22; +} + +/* 80A1A2BC-80A1A2C4 005C9C 0008+00 1/0 0/0 0/0 .text getFootRJointNo__13daNpc_Jagar_cFv + */ +s32 daNpc_Jagar_c::getFootRJointNo() { + return 26; +} + /* 80A1AC10-80A1AC30 -00001 0020+00 1/0 0/0 0/0 .data daNpc_Jagar_MethodTable */ static actor_method_class daNpc_Jagar_MethodTable = { (process_method_func)daNpc_Jagar_Create__FPv, @@ -675,1367 +2032,11 @@ extern actor_process_profile_definition g_profile_NPC_JAGAR = { fopAc_CULLBOX_CUSTOM_e, // cullType }; -/* 80A1AC60-80A1AC6C 000718 000C+00 2/2 0/0 0/0 .data __vt__11J3DTexNoAnm */ -SECTION_DATA extern void* __vt__11J3DTexNoAnm[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)calc__11J3DTexNoAnmCFPUs, -}; - -/* 80A1AC6C-80A1AC78 000724 000C+00 3/3 0/0 0/0 .data __vt__12J3DFrameCtrl */ -SECTION_DATA extern void* __vt__12J3DFrameCtrl[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__12J3DFrameCtrlFv, -}; - -/* 80A1AC78-80A1AC9C 000730 0024+00 3/3 0/0 0/0 .data __vt__12dBgS_ObjAcch */ -SECTION_DATA extern void* __vt__12dBgS_ObjAcch[9] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__12dBgS_ObjAcchFv, - (void*)NULL, - (void*)NULL, - (void*)func_80A1A314, - (void*)NULL, - (void*)NULL, - (void*)func_80A1A30C, -}; - -/* 80A1AC9C-80A1ACA8 000754 000C+00 2/2 0/0 0/0 .data __vt__12dBgS_AcchCir */ -SECTION_DATA extern void* __vt__12dBgS_AcchCir[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__12dBgS_AcchCirFv, -}; - -/* 80A1ACA8-80A1ACB4 000760 000C+00 3/3 0/0 0/0 .data __vt__10cCcD_GStts */ -SECTION_DATA extern void* __vt__10cCcD_GStts[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__10cCcD_GSttsFv, -}; - -/* 80A1ACB4-80A1ACC0 00076C 000C+00 2/2 0/0 0/0 .data __vt__10dCcD_GStts */ -SECTION_DATA extern void* __vt__10dCcD_GStts[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__10dCcD_GSttsFv, -}; - -/* 80A1ACC0-80A1ACCC 000778 000C+00 3/3 0/0 0/0 .data __vt__22daNpcT_MotionSeqMngr_c */ -SECTION_DATA extern void* __vt__22daNpcT_MotionSeqMngr_c[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__22daNpcT_MotionSeqMngr_cFv, -}; - -/* 80A1ACCC-80A1ACD8 000784 000C+00 5/5 0/0 0/0 .data __vt__18daNpcT_ActorMngr_c */ -SECTION_DATA extern void* __vt__18daNpcT_ActorMngr_c[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__18daNpcT_ActorMngr_cFv, -}; - -/* 80A1ACD8-80A1ACE4 000790 000C+00 3/3 0/0 0/0 .data __vt__15daNpcT_JntAnm_c */ -SECTION_DATA extern void* __vt__15daNpcT_JntAnm_c[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__15daNpcT_JntAnm_cFv, -}; - -/* 80A1ACE4-80A1ACF0 00079C 000C+00 3/3 0/0 0/0 .data __vt__8cM3dGAab */ -SECTION_DATA extern void* __vt__8cM3dGAab[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__8cM3dGAabFv, -}; - -/* 80A1ACF0-80A1ACFC 0007A8 000C+00 3/3 0/0 0/0 .data __vt__8cM3dGCyl */ -SECTION_DATA extern void* __vt__8cM3dGCyl[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__8cM3dGCylFv, -}; - -/* 80A1ACFC-80A1AD08 0007B4 000C+00 3/3 0/0 0/0 .data __vt__13daNpcT_Path_c */ +// /* 80A1ACFC-80A1AD08 0007B4 000C+00 3/3 0/0 0/0 .data __vt__13daNpcT_Path_c */ SECTION_DATA extern void* __vt__13daNpcT_Path_c[3] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__13daNpcT_Path_cFv, }; -/* 80A1AD08-80A1ADCC 0007C0 00C4+00 2/2 0/0 0/0 .data __vt__13daNpc_Jagar_c */ -SECTION_DATA extern void* __vt__13daNpc_Jagar_c[49] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__13daNpc_Jagar_cFv, - (void*)ctrlBtk__8daNpcT_cFv, - (void*)ctrlSubFaceMotion__8daNpcT_cFi, - (void*)checkChangeJoint__13daNpc_Jagar_cFi, - (void*)checkRemoveJoint__13daNpc_Jagar_cFi, - (void*)getBackboneJointNo__13daNpc_Jagar_cFv, - (void*)getNeckJointNo__13daNpc_Jagar_cFv, - (void*)getHeadJointNo__13daNpc_Jagar_cFv, - (void*)getFootLJointNo__13daNpc_Jagar_cFv, - (void*)getFootRJointNo__13daNpc_Jagar_cFv, - (void*)getEyeballLMaterialNo__8daNpcT_cFv, - (void*)getEyeballRMaterialNo__8daNpcT_cFv, - (void*)getEyeballMaterialNo__13daNpc_Jagar_cFv, - (void*)ctrlJoint__8daNpcT_cFP8J3DJointP8J3DModel, - (void*)afterJntAnm__13daNpc_Jagar_cFi, - (void*)setParam__13daNpc_Jagar_cFv, - (void*)checkChangeEvt__13daNpc_Jagar_cFv, - (void*)evtTalk__13daNpc_Jagar_cFv, - (void*)evtEndProc__8daNpcT_cFv, - (void*)evtCutProc__13daNpc_Jagar_cFv, - (void*)setAfterTalkMotion__13daNpc_Jagar_cFv, - (void*)evtProc__8daNpcT_cFv, - (void*)action__13daNpc_Jagar_cFv, - (void*)beforeMove__13daNpc_Jagar_cFv, - (void*)afterMoved__8daNpcT_cFv, - (void*)setAttnPos__13daNpc_Jagar_cFv, - (void*)setFootPos__8daNpcT_cFv, - (void*)setCollision__13daNpc_Jagar_cFv, - (void*)setFootPrtcl__8daNpcT_cFP4cXyzff, - (void*)checkCullDraw__8daNpcT_cFv, - (void*)twilight__8daNpcT_cFv, - (void*)chkXYItems__8daNpcT_cFv, - (void*)evtOrder__8daNpcT_cFv, - (void*)decTmr__8daNpcT_cFv, - (void*)clrParam__8daNpcT_cFv, - (void*)drawDbgInfo__13daNpc_Jagar_cFv, - (void*)drawOtherMdl__8daNpcT_cFv, - (void*)drawGhost__8daNpcT_cFv, - (void*)afterSetFaceMotionAnm__8daNpcT_cFiifi, - (void*)afterSetMotionAnm__8daNpcT_cFiifi, - (void*)getFaceMotionAnm__8daNpcT_cF26daNpcT_faceMotionAnmData_c, - (void*)getMotionAnm__8daNpcT_cF22daNpcT_motionAnmData_c, - (void*)changeAnm__8daNpcT_cFPiPi, - (void*)changeBck__8daNpcT_cFPiPi, - (void*)changeBtp__13daNpc_Jagar_cFPiPi, - (void*)changeBtk__8daNpcT_cFPiPi, - (void*)setMotionAnm__8daNpcT_cFifi, -}; - -/* 80A1470C-80A14858 0000EC 014C+00 1/0 0/0 0/0 .text __dt__13daNpc_Jagar_cFv */ -daNpc_Jagar_c::~daNpc_Jagar_c() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A330-80A1A3D0 000000 00A0+00 13/13 0/0 1/1 .rodata m__19daNpc_Jagar_Param_c */ -SECTION_RODATA u8 const daNpc_Jagar_Param_c::m[160] = { - 0x43, 0x2A, 0x00, 0x00, 0xC0, 0x40, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00, 0x43, 0xC8, 0x00, 0x00, - 0x43, 0x7F, 0x00, 0x00, 0x43, 0x20, 0x00, 0x00, 0x42, 0x0C, 0x00, 0x00, 0x41, 0xF0, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x20, 0x00, 0x00, 0xC1, 0x20, 0x00, 0x00, - 0x41, 0xF0, 0x00, 0x00, 0xC1, 0x20, 0x00, 0x00, 0x42, 0x34, 0x00, 0x00, 0xC2, 0x34, 0x00, 0x00, - 0x3F, 0x19, 0x99, 0x9A, 0x41, 0x40, 0x00, 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x05, 0x00, 0x06, - 0x42, 0xDC, 0x00, 0x00, 0x43, 0xFA, 0x00, 0x00, 0x43, 0x96, 0x00, 0x00, 0xC3, 0x96, 0x00, 0x00, - 0x00, 0x3C, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x80, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0xAF, 0x00, 0x00, - 0x43, 0x48, 0x00, 0x00, 0xC4, 0x48, 0x00, 0x00, 0x41, 0x80, 0x00, 0x00, 0x44, 0xE1, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A330, &daNpc_Jagar_Param_c::m); - -/* 80A1A3D0-80A1A3E0 0000A0 0010+00 0/1 0/0 0/0 .rodata heapSize$4099 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const heapSize[16] = { - 0x00, 0x00, 0x38, 0x50, 0x00, 0x00, 0x38, 0x70, 0x00, 0x00, 0x38, 0x70, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A3D0, &heapSize); -#pragma pop - -/* 80A1A3E0-80A1A3E4 0000B0 0004+00 0/2 0/0 0/0 .rodata @4165 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4165 = -200.0f; -COMPILER_STRIP_GATE(0x80A1A3E0, &lit_4165); -#pragma pop - -/* 80A1A3E4-80A1A3E8 0000B4 0004+00 0/1 0/0 0/0 .rodata @4166 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4166 = -100.0f; -COMPILER_STRIP_GATE(0x80A1A3E4, &lit_4166); -#pragma pop - -/* 80A1A3E8-80A1A3EC 0000B8 0004+00 0/1 0/0 0/0 .rodata @4167 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4167 = 200.0f; -COMPILER_STRIP_GATE(0x80A1A3E8, &lit_4167); -#pragma pop - -/* 80A1A3EC-80A1A3F0 0000BC 0004+00 0/2 0/0 0/0 .rodata @4168 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4168 = 300.0f; -COMPILER_STRIP_GATE(0x80A1A3EC, &lit_4168); -#pragma pop - -/* 80A1A3F0-80A1A3F4 0000C0 0004+00 4/15 0/0 0/0 .rodata @4169 */ -SECTION_RODATA static u8 const lit_4169[4] = { - 0x00, - 0x00, - 0x00, - 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A3F0, &lit_4169); - -/* 80A1A3F4-80A1A3F8 0000C4 0004+00 0/1 0/0 0/0 .rodata @4170 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4170 = -1000000000.0f; -COMPILER_STRIP_GATE(0x80A1A3F4, &lit_4170); -#pragma pop - -/* 80A14858-80A14B20 000238 02C8+00 1/1 0/0 0/0 .text create__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::create() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A3F8-80A1A3FC 0000C8 0004+00 0/2 0/0 0/0 .rodata @4332 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4332 = 65536.0f; -COMPILER_STRIP_GATE(0x80A1A3F8, &lit_4332); -#pragma pop - -/* 80A1A3FC-80A1A400 0000CC 0004+00 0/3 0/0 0/0 .rodata @4333 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4333 = 1.0f / 5.0f; -COMPILER_STRIP_GATE(0x80A1A3FC, &lit_4333); -#pragma pop - -/* 80A1A400-80A1A404 0000D0 0004+00 2/5 0/0 0/0 .rodata @4475 */ -SECTION_RODATA static f32 const lit_4475 = 1.0f; -COMPILER_STRIP_GATE(0x80A1A400, &lit_4475); - -/* 80A14B20-80A14D90 000500 0270+00 1/1 0/0 0/0 .text CreateHeap__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::CreateHeap() { - // NONMATCHING -} - -/* 80A14D90-80A14DCC 000770 003C+00 1/1 0/0 0/0 .text __dt__15J3DTevKColorAnmFv */ -// J3DTevKColorAnm::~J3DTevKColorAnm() { -extern "C" void __dt__15J3DTevKColorAnmFv() { - // NONMATCHING -} - -/* 80A14DCC-80A14DE4 0007AC 0018+00 1/1 0/0 0/0 .text __ct__15J3DTevKColorAnmFv */ -// J3DTevKColorAnm::J3DTevKColorAnm() { -extern "C" void __ct__15J3DTevKColorAnmFv() { - // NONMATCHING -} - -/* 80A14DE4-80A14E20 0007C4 003C+00 1/1 0/0 0/0 .text __dt__14J3DTevColorAnmFv */ -// J3DTevColorAnm::~J3DTevColorAnm() { -extern "C" void __dt__14J3DTevColorAnmFv() { - // NONMATCHING -} - -/* 80A14E20-80A14E38 000800 0018+00 1/1 0/0 0/0 .text __ct__14J3DTevColorAnmFv */ -// J3DTevColorAnm::J3DTevColorAnm() { -extern "C" void __ct__14J3DTevColorAnmFv() { - // NONMATCHING -} - -/* 80A14E38-80A14E80 000818 0048+00 1/1 0/0 0/0 .text __dt__11J3DTexNoAnmFv */ -// J3DTexNoAnm::~J3DTexNoAnm() { -extern "C" void __dt__11J3DTexNoAnmFv() { - // NONMATCHING -} - -/* 80A14E80-80A14EA4 000860 0024+00 1/1 0/0 0/0 .text __ct__11J3DTexNoAnmFv */ -// J3DTexNoAnm::J3DTexNoAnm() { -extern "C" void __ct__11J3DTexNoAnmFv() { - // NONMATCHING -} - -/* 80A14EA4-80A14EE0 000884 003C+00 1/1 0/0 0/0 .text __dt__12J3DTexMtxAnmFv */ -// J3DTexMtxAnm::~J3DTexMtxAnm() { -extern "C" void __dt__12J3DTexMtxAnmFv() { - // NONMATCHING -} - -/* 80A14EE0-80A14EF8 0008C0 0018+00 1/1 0/0 0/0 .text __ct__12J3DTexMtxAnmFv */ -// J3DTexMtxAnm::J3DTexMtxAnm() { -extern "C" void __ct__12J3DTexMtxAnmFv() { - // NONMATCHING -} - -/* 80A14EF8-80A14F34 0008D8 003C+00 1/1 0/0 0/0 .text __dt__14J3DMatColorAnmFv */ -// J3DMatColorAnm::~J3DMatColorAnm() { -extern "C" void __dt__14J3DMatColorAnmFv() { - // NONMATCHING -} - -/* 80A14F34-80A14F4C 000914 0018+00 1/1 0/0 0/0 .text __ct__14J3DMatColorAnmFv */ -// J3DMatColorAnm::J3DMatColorAnm() { -extern "C" void __ct__14J3DMatColorAnmFv() { - // NONMATCHING -} - -/* 80A14F4C-80A14F80 00092C 0034+00 1/1 0/0 0/0 .text Delete__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::Delete() { - // NONMATCHING -} - -/* 80A14F80-80A14FA0 000960 0020+00 2/2 0/0 0/0 .text Execute__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::Execute() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A404-80A1A408 0000D4 0004+00 1/2 0/0 0/0 .rodata @4524 */ -SECTION_RODATA static f32 const lit_4524 = 100.0f; -COMPILER_STRIP_GATE(0x80A1A404, &lit_4524); - -/* 80A14FA0-80A15034 000980 0094+00 1/1 0/0 0/0 .text Draw__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::Draw() { - // NONMATCHING -} - -/* 80A15034-80A15054 000A14 0020+00 1/1 0/0 0/0 .text - * createHeapCallBack__13daNpc_Jagar_cFP10fopAc_ac_c */ -void daNpc_Jagar_c::createHeapCallBack(fopAc_ac_c* param_0) { - // NONMATCHING -} - -/* 80A15054-80A150AC 000A34 0058+00 1/1 0/0 0/0 .text - * ctrlJointCallBack__13daNpc_Jagar_cFP8J3DJointi */ -void daNpc_Jagar_c::ctrlJointCallBack(J3DJoint* param_0, int param_1) { - // NONMATCHING -} - -/* 80A150AC-80A150F8 000A8C 004C+00 1/1 0/0 2/2 .text getType__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::getType() { - // NONMATCHING -} - -/* 80A150F8-80A15198 000AD8 00A0+00 1/1 0/0 0/0 .text isDelete__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::isDelete() { - // NONMATCHING -} - -/* 80A15198-80A15364 000B78 01CC+00 1/1 0/0 0/0 .text reset__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::reset() { - // NONMATCHING -} - -/* 80A15364-80A153E8 000D44 0084+00 1/0 0/0 0/0 .text afterJntAnm__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::afterJntAnm(int param_0) { - // NONMATCHING -} - -/* 80A153E8-80A155E4 000DC8 01FC+00 1/0 0/0 0/0 .text setParam__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::setParam() { - // NONMATCHING -} - -/* 80A155E4-80A15714 000FC4 0130+00 1/0 0/0 0/0 .text checkChangeEvt__13daNpc_Jagar_cFv - */ -void daNpc_Jagar_c::checkChangeEvt() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A408-80A1A40C 0000D8 0004+00 2/8 0/0 0/0 .rodata @4718 */ -SECTION_RODATA static f32 const lit_4718 = -1.0f; -COMPILER_STRIP_GATE(0x80A1A408, &lit_4718); - -/* 80A15714-80A157B4 0010F4 00A0+00 1/0 0/0 0/0 .text setAfterTalkMotion__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::setAfterTalkMotion() { - // NONMATCHING -} - -/* 80A157B4-80A158A0 001194 00EC+00 1/1 0/0 0/0 .text srchActors__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::srchActors() { - // NONMATCHING -} - -/* 80A158A0-80A15940 001280 00A0+00 1/0 0/0 0/0 .text evtTalk__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::evtTalk() { - // NONMATCHING -} - -/* 80A15940-80A15A08 001320 00C8+00 1/0 0/0 0/0 .text evtCutProc__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::evtCutProc() { - // NONMATCHING -} - -/* 80A15A08-80A15CA4 0013E8 029C+00 1/0 0/0 0/0 .text action__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::action() { - // NONMATCHING -} - -/* 80A15CA4-80A15D68 001684 00C4+00 1/0 0/0 0/0 .text beforeMove__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::beforeMove() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A40C-80A1A410 0000DC 0004+00 0/2 0/0 0/0 .rodata @4932 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4932 = -10.0f; -COMPILER_STRIP_GATE(0x80A1A40C, &lit_4932); -#pragma pop - -/* 80A1A410-80A1A414 0000E0 0004+00 0/2 0/0 0/0 .rodata @4933 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4933 = 10.0f; -COMPILER_STRIP_GATE(0x80A1A410, &lit_4933); -#pragma pop - -/* 80A1A414-80A1A418 0000E4 0004+00 0/1 0/0 0/0 .rodata @4934 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u32 const lit_4934 = 0x38C90FDB; -COMPILER_STRIP_GATE(0x80A1A414, &lit_4934); -#pragma pop - -/* 80A1A418-80A1A41C 0000E8 0004+00 0/1 0/0 0/0 .rodata @4935 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4935 = -60.0f; -COMPILER_STRIP_GATE(0x80A1A418, &lit_4935); -#pragma pop - -/* 80A1A41C-80A1A420 0000EC 0004+00 0/1 0/0 0/0 .rodata @4936 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4936 = 3.0f; -COMPILER_STRIP_GATE(0x80A1A41C, &lit_4936); -#pragma pop - -/* 80A1A420-80A1A428 0000F0 0004+04 0/1 0/0 0/0 .rodata @4937 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_4937[1 + 1 /* padding */] = { - 11.0f, - /* padding */ - 0.0f, -}; -COMPILER_STRIP_GATE(0x80A1A420, &lit_4937); -#pragma pop - -/* 80A1A428-80A1A430 0000F8 0008+00 1/3 0/0 0/0 .rodata @4939 */ -SECTION_RODATA static u8 const lit_4939[8] = { - 0x43, 0x30, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A428, &lit_4939); - -/* 80A1ADE0-80A1ADE4 000008 0001+03 1/1 0/0 0/0 .bss @1109 */ -static u8 lit_1109[1 + 3 /* padding */]; - -/* 80A1ADE4-80A1ADE8 00000C 0001+03 0/0 0/0 0/0 .bss @1107 */ -#pragma push -#pragma force_active on -static u8 lit_1107[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADE8-80A1ADEC 000010 0001+03 0/0 0/0 0/0 .bss @1105 */ -#pragma push -#pragma force_active on -static u8 lit_1105[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADEC-80A1ADF0 000014 0001+03 0/0 0/0 0/0 .bss @1104 */ -#pragma push -#pragma force_active on -static u8 lit_1104[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADF0-80A1ADF4 000018 0001+03 0/0 0/0 0/0 .bss @1099 */ -#pragma push -#pragma force_active on -static u8 lit_1099[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADF4-80A1ADF8 00001C 0001+03 0/0 0/0 0/0 .bss @1097 */ -#pragma push -#pragma force_active on -static u8 lit_1097[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADF8-80A1ADFC 000020 0001+03 0/0 0/0 0/0 .bss @1095 */ -#pragma push -#pragma force_active on -static u8 lit_1095[1 + 3 /* padding */]; -#pragma pop - -/* 80A1ADFC-80A1AE00 000024 0001+03 0/0 0/0 0/0 .bss @1094 */ -#pragma push -#pragma force_active on -static u8 lit_1094[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE00-80A1AE04 000028 0001+03 0/0 0/0 0/0 .bss @1057 */ -#pragma push -#pragma force_active on -static u8 lit_1057[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE04-80A1AE08 00002C 0001+03 0/0 0/0 0/0 .bss @1055 */ -#pragma push -#pragma force_active on -static u8 lit_1055[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE08-80A1AE0C 000030 0001+03 0/0 0/0 0/0 .bss @1053 */ -#pragma push -#pragma force_active on -static u8 lit_1053[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE0C-80A1AE10 000034 0001+03 0/0 0/0 0/0 .bss @1052 */ -#pragma push -#pragma force_active on -static u8 lit_1052[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE10-80A1AE14 000038 0001+03 0/0 0/0 0/0 .bss @1014 */ -#pragma push -#pragma force_active on -static u8 lit_1014[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE14-80A1AE18 00003C 0001+03 0/0 0/0 0/0 .bss @1012 */ -#pragma push -#pragma force_active on -static u8 lit_1012[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE18-80A1AE1C 000040 0001+03 0/0 0/0 0/0 .bss @1010 */ -#pragma push -#pragma force_active on -static u8 lit_1010[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE1C-80A1AE20 000044 0001+03 0/0 0/0 0/0 .bss @1009 */ -#pragma push -#pragma force_active on -static u8 lit_1009[1 + 3 /* padding */]; -#pragma pop - -/* 80A1AE20-80A1AE2C 000048 000C+00 1/1 0/0 0/0 .bss @3945 */ -static u8 lit_3945[12]; - -/* 80A1AE2C-80A1AE30 000054 0004+00 1/1 0/0 0/0 .bss l_HIO */ -static u8 l_HIO[4]; - -/* 80A1AE30-80A1AE40 000058 000C+04 0/1 0/0 0/0 .bss @4873 */ -#pragma push -#pragma force_active on -static u8 lit_4873[12 + 4 /* padding */]; -#pragma pop - -/* 80A1AE40-80A1AE4C 000068 000C+00 0/1 0/0 0/0 .bss prtclScl$4872 */ -#pragma push -#pragma force_active on -static u8 prtclScl[12]; -#pragma pop - -/* 80A15D68-80A1607C 001748 0314+00 1/0 0/0 0/0 .text setAttnPos__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::setAttnPos() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A430-80A1A438 000100 0008+00 0/2 0/0 0/0 .rodata @4997 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_4997[8] = { - 0x3F, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A430, &lit_4997); -#pragma pop - -/* 80A1A438-80A1A440 000108 0008+00 0/2 0/0 0/0 .rodata @4998 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_4998[8] = { - 0x40, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A438, &lit_4998); -#pragma pop - -/* 80A1A440-80A1A448 000110 0008+00 0/2 0/0 0/0 .rodata @4999 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_4999[8] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A440, &lit_4999); -#pragma pop - -/* 80A1A448-80A1A44C 000118 0004+00 0/1 0/0 0/0 .rodata @5039 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_5039 = 70.0f; -COMPILER_STRIP_GATE(0x80A1A448, &lit_5039); -#pragma pop - -/* 80A1A44C-80A1A450 00011C 0004+00 0/1 0/0 0/0 .rodata @5040 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_5040 = 90.0f; -COMPILER_STRIP_GATE(0x80A1A44C, &lit_5040); -#pragma pop - -/* 80A1607C-80A161EC 001A5C 0170+00 1/0 0/0 0/0 .text setCollision__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::setCollision() { - // NONMATCHING -} - -/* 80A161EC-80A161F4 001BCC 0008+00 1/0 0/0 0/0 .text drawDbgInfo__13daNpc_Jagar_cFv */ -bool daNpc_Jagar_c::drawDbgInfo() { - return false; -} - -/* 80A161F4-80A16234 001BD4 0040+00 1/0 0/0 0/0 .text changeBtp__13daNpc_Jagar_cFPiPi */ -void daNpc_Jagar_c::changeBtp(int* param_0, int* param_1) { - // NONMATCHING -} - -/* 80A16234-80A162B0 001C14 007C+00 1/1 0/0 0/0 .text selectAction__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::selectAction() { - // NONMATCHING -} - -/* 80A162B0-80A162DC 001C90 002C+00 2/2 0/0 0/0 .text - * chkAction__13daNpc_Jagar_cFM13daNpc_Jagar_cFPCvPvPv_i */ -void daNpc_Jagar_c::chkAction(int (daNpc_Jagar_c::*param_0)(void*)) { - // NONMATCHING -} - -/* 80A162DC-80A16384 001CBC 00A8+00 2/2 0/0 0/0 .text - * setAction__13daNpc_Jagar_cFM13daNpc_Jagar_cFPCvPvPv_i */ -void daNpc_Jagar_c::setAction(int (daNpc_Jagar_c::*param_0)(void*)) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A49C-80A1A49C 00016C 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ -#pragma push -#pragma force_active on -SECTION_DEAD static char const* const stringBase_80A1A52A = "prm"; -#pragma pop - -/* 80A16384-80A16544 001D64 01C0+00 1/0 0/0 0/0 .text cutClimbUp__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::cutClimbUp(int param_0) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A450-80A1A45C 000120 000C+00 0/1 0/0 0/0 .rodata @5148 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_5148[12] = { - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, -}; -COMPILER_STRIP_GATE(0x80A1A450, &lit_5148); -#pragma pop - -/* 80A1A49C-80A1A49C 00016C 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ -#pragma push -#pragma force_active on -SECTION_DEAD static char const* const stringBase_80A1A52E = "msgNo"; -SECTION_DEAD static char const* const stringBase_80A1A534 = "msgNo2"; -SECTION_DEAD static char const* const stringBase_80A1A53B = "send"; -#pragma pop - -/* 80A16544-80A16CD8 001F24 0794+00 1/0 0/0 0/0 .text cutNeedYourHelp__13daNpc_Jagar_cFi - */ -void daNpc_Jagar_c::cutNeedYourHelp(int param_0) { - // NONMATCHING -} - -/* 80A16CD8-80A16EFC 0026B8 0224+00 1/0 0/0 0/0 .text cutAnger__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::cutAnger(int param_0) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A45C-80A1A464 00012C 0008+00 1/1 0/0 0/0 .rodata @5412 */ -SECTION_RODATA static u8 const lit_5412[8] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A45C, &lit_5412); - -/* 80A16EFC-80A1705C 0028DC 0160+00 1/0 0/0 0/0 .text cutConversationWithBou__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::cutConversationWithBou(int param_0) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A464-80A1A46C 000134 0008+00 0/1 0/0 0/0 .rodata @5445 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_5445[8] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; -COMPILER_STRIP_GATE(0x80A1A464, &lit_5445); -#pragma pop - -/* 80A1A46C-80A1A478 00013C 000C+00 0/1 0/0 0/0 .rodata @5455 */ -#pragma push -#pragma force_active on -SECTION_RODATA static u8 const lit_5455[12] = { - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, -}; -COMPILER_STRIP_GATE(0x80A1A46C, &lit_5455); -#pragma pop - -/* 80A1705C-80A173D8 002A3C 037C+00 1/0 0/0 0/0 .text - * cutConfidentialConversation__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::cutConfidentialConversation(int param_0) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A49C-80A1A49C 00016C 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ -#pragma push -#pragma force_active on -SECTION_DEAD static char const* const stringBase_80A1A540 = "timer"; -#pragma pop - -/* 80A173D8-80A17898 002DB8 04C0+00 3/0 0/0 0/0 .text cutFindWolf__13daNpc_Jagar_cFi */ -void daNpc_Jagar_c::cutFindWolf(int param_0) { - // NONMATCHING -} - -/* 80A17898-80A17924 003278 008C+00 1/1 0/0 0/0 .text chkSitMotion__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::chkSitMotion() { - // NONMATCHING -} - -/* 80A17924-80A17984 003304 0060+00 1/1 0/0 0/0 .text chkSitMotion2__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::chkSitMotion2() { - // NONMATCHING -} - -/* 80A17984-80A179F8 003364 0074+00 3/3 0/0 0/0 .text chkChuMotion__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::chkChuMotion() { - // NONMATCHING -} - -/* 80A179F8-80A17A2C 0033D8 0034+00 1/1 0/0 0/0 .text chkToMotion__13daNpc_Jagar_cFv */ -void daNpc_Jagar_c::chkToMotion() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A478-80A1A47C 000148 0004+00 0/2 0/0 0/0 .rodata @5527 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_5527 = -40.0f; -COMPILER_STRIP_GATE(0x80A1A478, &lit_5527); -#pragma pop - -/* 80A1A47C-80A1A480 00014C 0004+00 0/2 0/0 0/0 .rodata @5659 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_5659 = 0.5f; -COMPILER_STRIP_GATE(0x80A1A47C, &lit_5659); -#pragma pop - -/* 80A1A480-80A1A484 000150 0004+00 0/1 0/0 0/0 .rodata @6101 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6101 = 180.0f; -COMPILER_STRIP_GATE(0x80A1A480, &lit_6101); -#pragma pop - -/* 80A17A2C-80A1856C 00340C 0B40+00 1/0 0/0 0/0 .text wait__13daNpc_Jagar_cFPv */ -void daNpc_Jagar_c::wait(void* param_0) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1A484-80A1A488 000154 0004+00 0/1 0/0 0/0 .rodata @6301 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6301 = -300.0f; -COMPILER_STRIP_GATE(0x80A1A484, &lit_6301); -#pragma pop - -/* 80A1A488-80A1A48C 000158 0004+00 0/1 0/0 0/0 .rodata @6302 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6302 = -50.0f; -COMPILER_STRIP_GATE(0x80A1A488, &lit_6302); -#pragma pop - -/* 80A1A48C-80A1A490 00015C 0004+00 0/1 0/0 0/0 .rodata @6303 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6303 = 400.0f; -COMPILER_STRIP_GATE(0x80A1A48C, &lit_6303); -#pragma pop - -/* 80A1A490-80A1A494 000160 0004+00 0/1 0/0 0/0 .rodata @6304 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6304 = 45.0f; -COMPILER_STRIP_GATE(0x80A1A490, &lit_6304); -#pragma pop - -/* 80A1A494-80A1A498 000164 0004+00 0/1 0/0 0/0 .rodata @6305 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6305 = 135.0f; -COMPILER_STRIP_GATE(0x80A1A494, &lit_6305); -#pragma pop - -/* 80A1A498-80A1A49C 000168 0004+00 0/1 0/0 0/0 .rodata @6306 */ -#pragma push -#pragma force_active on -SECTION_RODATA static f32 const lit_6306 = 450.0f; -COMPILER_STRIP_GATE(0x80A1A498, &lit_6306); -#pragma pop - -/* 80A1856C-80A18B74 003F4C 0608+00 1/0 0/0 0/0 .text talkwithBou__13daNpc_Jagar_cFPv */ -void daNpc_Jagar_c::talkwithBou(void* param_0) { - // NONMATCHING -} - -/* 80A18B74-80A18F28 004554 03B4+00 3/0 0/0 0/0 .text talk__13daNpc_Jagar_cFPv */ -void daNpc_Jagar_c::talk(void* param_0) { - // NONMATCHING -} - -/* 80A18F28-80A18F48 004908 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Create__FPv */ -static void daNpc_Jagar_Create(void* param_0) { - // NONMATCHING -} - -/* 80A18F48-80A18F68 004928 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Delete__FPv */ -static void daNpc_Jagar_Delete(void* param_0) { - // NONMATCHING -} - -/* 80A18F68-80A18F88 004948 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Execute__FPv */ -static void daNpc_Jagar_Execute(void* param_0) { - // NONMATCHING -} - -/* 80A18F88-80A18FA8 004968 0020+00 1/0 0/0 0/0 .text daNpc_Jagar_Draw__FPv */ -static void daNpc_Jagar_Draw(void* param_0) { - // NONMATCHING -} - -/* 80A18FA8-80A18FB0 004988 0008+00 1/0 0/0 0/0 .text daNpc_Jagar_IsDelete__FPv */ -static bool daNpc_Jagar_IsDelete(void* param_0) { - return true; -} - -/* 80A18FB0-80A18FE0 004990 0030+00 1/0 0/0 0/0 .text calc__11J3DTexNoAnmCFPUs */ -// void J3DTexNoAnm::calc(u16* param_0) const { -extern "C" void calc__11J3DTexNoAnmCFPUs() { - // NONMATCHING -} - -/* 80A18FE0-80A19028 0049C0 0048+00 1/0 0/0 0/0 .text __dt__10cCcD_GSttsFv */ -// cCcD_GStts::~cCcD_GStts() { -extern "C" void __dt__10cCcD_GSttsFv() { - // NONMATCHING -} - -/* 80A19028-80A193B0 004A08 0388+00 1/1 0/0 0/0 .text __dt__8daNpcT_cFv */ -// daNpcT_c::~daNpcT_c() { -extern "C" void __dt__8daNpcT_cFv() { - // NONMATCHING -} - -/* 80A193B0-80A193EC 004D90 003C+00 4/4 0/0 0/0 .text __dt__4cXyzFv */ -// cXyz::~cXyz() { -extern "C" void __dt__4cXyzFv() { - // NONMATCHING -} - -/* 80A193EC-80A19428 004DCC 003C+00 2/2 0/0 0/0 .text __dt__5csXyzFv */ -// csXyz::~csXyz() { -extern "C" void __dt__5csXyzFv() { - // NONMATCHING -} - -/* 80A19428-80A19470 004E08 0048+00 3/2 0/0 0/0 .text __dt__18daNpcT_ActorMngr_cFv */ -// daNpcT_ActorMngr_c::~daNpcT_ActorMngr_c() { -extern "C" void __dt__18daNpcT_ActorMngr_cFv() { - // NONMATCHING -} - -/* 80A19470-80A194B8 004E50 0048+00 1/0 0/0 0/0 .text __dt__13daNpcT_Path_cFv */ -// daNpcT_Path_c::~daNpcT_Path_c() { -extern "C" void __dt__13daNpcT_Path_cFv() { - // NONMATCHING -} - -/* 80A194B8-80A194F4 004E98 003C+00 1/1 0/0 0/0 .text __ct__18daNpcT_ActorMngr_cFv */ -// daNpcT_ActorMngr_c::daNpcT_ActorMngr_c() { -extern "C" void __ct__18daNpcT_ActorMngr_cFv() { - // NONMATCHING -} - -/* 80A194F4-80A1953C 004ED4 0048+00 1/0 0/0 0/0 .text __dt__8cM3dGCylFv */ -// cM3dGCyl::~cM3dGCyl() { -extern "C" void __dt__8cM3dGCylFv() { - // NONMATCHING -} - -/* 80A1953C-80A19584 004F1C 0048+00 1/0 0/0 0/0 .text __dt__8cM3dGAabFv */ -// cM3dGAab::~cM3dGAab() { -extern "C" void __dt__8cM3dGAabFv() { - // NONMATCHING -} - -/* 80A19584-80A19988 004F64 0404+00 1/1 0/0 0/0 .text - * __ct__8daNpcT_cFPC26daNpcT_faceMotionAnmData_cPC22daNpcT_motionAnmData_cPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPC16daNpcT_evtData_cPPc - */ -// daNpcT_c::daNpcT_c(daNpcT_faceMotionAnmData_c const* param_0, -// daNpcT_motionAnmData_c const* param_1, -// daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_2, int param_3, -// daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_4, int param_5, -// daNpcT_evtData_c const* param_6, char** param_7) { -extern "C" void __ct__8daNpcT_cFPC26daNpcT_faceMotionAnmData_cPC22daNpcT_motionAnmData_cPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPC16daNpcT_evtData_cPPc() { - // NONMATCHING -} - -/* 80A19988-80A1998C 005368 0004+00 1/1 0/0 0/0 .text __ct__5csXyzFv */ -// csXyz::csXyz() { -extern "C" void __ct__5csXyzFv() { - /* empty function */ -} - -/* 80A1998C-80A19A88 00536C 00FC+00 1/0 0/0 0/0 .text __dt__15daNpcT_JntAnm_cFv */ -// daNpcT_JntAnm_c::~daNpcT_JntAnm_c() { -extern "C" void __dt__15daNpcT_JntAnm_cFv() { - // NONMATCHING -} - -/* 80A19A88-80A19A8C 005468 0004+00 1/1 0/0 0/0 .text __ct__4cXyzFv */ -// cXyz::cXyz() { -extern "C" void __ct__4cXyzFv() { - /* empty function */ -} - -/* 80A19A8C-80A19AD4 00546C 0048+00 1/0 0/0 0/0 .text __dt__22daNpcT_MotionSeqMngr_cFv */ -// daNpcT_MotionSeqMngr_c::~daNpcT_MotionSeqMngr_c() { -extern "C" void __dt__22daNpcT_MotionSeqMngr_cFv() { - // NONMATCHING -} - -/* 80A19AD4-80A19B44 0054B4 0070+00 1/0 0/0 0/0 .text __dt__12dBgS_AcchCirFv */ -// dBgS_AcchCir::~dBgS_AcchCir() { -extern "C" void __dt__12dBgS_AcchCirFv() { - // NONMATCHING -} - -/* 80A19B44-80A19BA0 005524 005C+00 1/0 0/0 0/0 .text __dt__10dCcD_GSttsFv */ -// dCcD_GStts::~dCcD_GStts() { -extern "C" void __dt__10dCcD_GSttsFv() { - // NONMATCHING -} - -/* 80A19BA0-80A19C10 005580 0070+00 3/2 0/0 0/0 .text __dt__12dBgS_ObjAcchFv */ -// dBgS_ObjAcch::~dBgS_ObjAcch() { -extern "C" void __dt__12dBgS_ObjAcchFv() { - // NONMATCHING -} - -/* 80A19C10-80A19C58 0055F0 0048+00 1/0 0/0 0/0 .text __dt__12J3DFrameCtrlFv */ -// J3DFrameCtrl::~J3DFrameCtrl() { -extern "C" void __dt__12J3DFrameCtrlFv() { - // NONMATCHING -} - -/* 80A19C58-80A19D74 005638 011C+00 1/1 0/0 0/0 .text setEyeAngleY__15daNpcT_JntAnm_cF4cXyzsifs */ -// void daNpcT_JntAnm_c::setEyeAngleY(cXyz param_0, s16 param_1, int param_2, f32 param_3, -// s16 param_4) { -extern "C" void setEyeAngleY__15daNpcT_JntAnm_cF4cXyzsifs() { - // NONMATCHING -} - -/* 80A19D74-80A19F7C 005754 0208+00 1/1 0/0 0/0 .text setEyeAngleX__15daNpcT_JntAnm_cF4cXyzfs */ -// void daNpcT_JntAnm_c::setEyeAngleX(cXyz param_0, f32 param_1, s16 param_2) { -extern "C" void setEyeAngleX__15daNpcT_JntAnm_cF4cXyzfs() { - // NONMATCHING -} - -/* 80A19F7C-80A19F80 00595C 0004+00 1/0 0/0 0/0 .text ctrlSubFaceMotion__8daNpcT_cFi */ -// void daNpcT_c::ctrlSubFaceMotion(int param_0) { -extern "C" void ctrlSubFaceMotion__8daNpcT_cFi() { - /* empty function */ -} - -/* 80A19F80-80A19F88 005960 0008+00 1/0 0/0 0/0 .text getEyeballLMaterialNo__8daNpcT_cFv - */ -// bool daNpcT_c::getEyeballLMaterialNo() { -extern "C" bool getEyeballLMaterialNo__8daNpcT_cFv() { - return false; -} - -/* 80A19F88-80A19F90 005968 0008+00 1/0 0/0 0/0 .text getEyeballRMaterialNo__8daNpcT_cFv - */ -// bool daNpcT_c::getEyeballRMaterialNo() { -extern "C" bool getEyeballRMaterialNo__8daNpcT_cFv() { - return false; -} - -/* 80A19F90-80A19F98 005970 0008+00 1/0 0/0 0/0 .text evtEndProc__8daNpcT_cFv */ -// bool daNpcT_c::evtEndProc() { -extern "C" bool evtEndProc__8daNpcT_cFv() { - return true; -} - -/* 80A19F9C-80A19FA4 00597C 0008+00 1/0 0/0 0/0 .text chkXYItems__8daNpcT_cFv */ -// bool daNpcT_c::chkXYItems() { -extern "C" bool chkXYItems__8daNpcT_cFv() { - return false; -} - -/* 80A19FA4-80A19FBC 005984 0018+00 1/0 0/0 0/0 .text decTmr__8daNpcT_cFv */ -// void daNpcT_c::decTmr() { -extern "C" void decTmr__8daNpcT_cFv() { - // NONMATCHING -} - -/* 80A19FBC-80A19FC0 00599C 0004+00 1/0 0/0 0/0 .text drawOtherMdl__8daNpcT_cFv */ -// void daNpcT_c::drawOtherMdl() { -extern "C" void drawOtherMdl__8daNpcT_cFv() { - /* empty function */ -} - -/* 80A19FC0-80A19FC4 0059A0 0004+00 1/0 0/0 0/0 .text drawGhost__8daNpcT_cFv */ -// void daNpcT_c::drawGhost() { -extern "C" void drawGhost__8daNpcT_cFv() { - /* empty function */ -} - -/* 80A19FC4-80A19FCC 0059A4 0008+00 1/0 0/0 0/0 .text afterSetFaceMotionAnm__8daNpcT_cFiifi */ -// bool daNpcT_c::afterSetFaceMotionAnm(int param_0, int param_1, f32 param_2, int param_3) { -extern "C" bool afterSetFaceMotionAnm__8daNpcT_cFiifi() { - return true; -} - -/* 80A19FCC-80A19FD4 0059AC 0008+00 1/0 0/0 0/0 .text afterSetMotionAnm__8daNpcT_cFiifi - */ -// bool daNpcT_c::afterSetMotionAnm(int param_0, int param_1, f32 param_2, int param_3) { -extern "C" bool afterSetMotionAnm__8daNpcT_cFiifi() { - return true; -} - -/* 80A19FD4-80A1A004 0059B4 0030+00 1/0 0/0 0/0 .text - * getFaceMotionAnm__8daNpcT_cF26daNpcT_faceMotionAnmData_c */ -// void daNpcT_c::getFaceMotionAnm(daNpcT_faceMotionAnmData_c param_0) { -extern "C" void getFaceMotionAnm__8daNpcT_cF26daNpcT_faceMotionAnmData_c() { - // NONMATCHING -} - -/* 80A1A004-80A1A034 0059E4 0030+00 1/0 0/0 0/0 .text - * getMotionAnm__8daNpcT_cF22daNpcT_motionAnmData_c */ -// void daNpcT_c::getMotionAnm(daNpcT_motionAnmData_c param_0) { -extern "C" void getMotionAnm__8daNpcT_cF22daNpcT_motionAnmData_c() { - // NONMATCHING -} - -/* 80A1A034-80A1A038 005A14 0004+00 1/0 0/0 0/0 .text changeAnm__8daNpcT_cFPiPi */ -// void daNpcT_c::changeAnm(int* param_0, int* param_1) { -extern "C" void changeAnm__8daNpcT_cFPiPi() { - /* empty function */ -} - -/* 80A1A038-80A1A03C 005A18 0004+00 1/0 0/0 0/0 .text changeBck__8daNpcT_cFPiPi */ -// void daNpcT_c::changeBck(int* param_0, int* param_1) { -extern "C" void changeBck__8daNpcT_cFPiPi() { - /* empty function */ -} - -/* 80A1A03C-80A1A040 005A1C 0004+00 1/0 0/0 0/0 .text changeBtk__8daNpcT_cFPiPi */ -// void daNpcT_c::changeBtk(int* param_0, int* param_1) { -extern "C" void changeBtk__8daNpcT_cFPiPi() { - /* empty function */ -} - -/* 80A1A040-80A1A05C 005A20 001C+00 2/2 0/0 0/0 .text cLib_calcTimer__FPi */ -extern "C" void func_80A1A040(void* _this, int* param_0) { - // NONMATCHING -} - -/* 80A1A05C-80A1A098 005A3C 003C+00 1/1 0/0 0/0 .text cLib_getRndValue__Fff */ -extern "C" void func_80A1A05C(void* _this, f32 param_0, f32 param_1) { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1ADCC-80A1ADD8 000884 000C+00 2/2 0/0 0/0 .data __vt__19daNpc_Jagar_Param_c */ -SECTION_DATA extern void* __vt__19daNpc_Jagar_Param_c[3] = { - (void*)NULL /* RTTI */, - (void*)NULL, - (void*)__dt__19daNpc_Jagar_Param_cFv, -}; - -/* 80A1A098-80A1A194 005A78 00FC+00 0/0 1/0 0/0 .text __sinit_d_a_npc_jagar_cpp */ -void __sinit_d_a_npc_jagar_cpp() { - // NONMATCHING -} - -#pragma push -#pragma force_active on -REGISTER_CTORS(0x80A1A098, __sinit_d_a_npc_jagar_cpp); -#pragma pop - -/* 80A1A194-80A1A274 005B74 00E0+00 1/1 0/0 0/0 .text - * __ct__13daNpc_Jagar_cFPC26daNpcT_faceMotionAnmData_cPC22daNpcT_motionAnmData_cPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPCQ222daNpcT_MotionSeqMngr_c18sequenceStepData_ciPC16daNpcT_evtData_cPPc - */ -daNpc_Jagar_c::daNpc_Jagar_c(daNpcT_faceMotionAnmData_c const* param_0, - daNpcT_motionAnmData_c const* param_1, - daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_2, - int param_3, - daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_4, - int param_5, daNpcT_evtData_c const* param_6, char** param_7) { - // NONMATCHING -} - -/* 80A1A274-80A1A27C 005C54 0008+00 1/0 0/0 0/0 .text getEyeballMaterialNo__13daNpc_Jagar_cFv */ -s32 daNpc_Jagar_c::getEyeballMaterialNo() { - return true; -} - -/* 80A1A27C-80A1A284 005C5C 0008+00 1/0 0/0 0/0 .text getHeadJointNo__13daNpc_Jagar_cFv - */ -s32 daNpc_Jagar_c::getHeadJointNo() { - return 4; -} - -/* 80A1A284-80A1A28C 005C64 0008+00 1/0 0/0 0/0 .text getNeckJointNo__13daNpc_Jagar_cFv - */ -s32 daNpc_Jagar_c::getNeckJointNo() { - return 3; -} - -/* 80A1A28C-80A1A294 005C6C 0008+00 1/0 0/0 0/0 .text getBackboneJointNo__13daNpc_Jagar_cFv */ -bool daNpc_Jagar_c::getBackboneJointNo() { - return true; -} - -/* 80A1A294-80A1A2A4 005C74 0010+00 1/0 0/0 0/0 .text checkChangeJoint__13daNpc_Jagar_cFi - */ -void daNpc_Jagar_c::checkChangeJoint(int param_0) { - // NONMATCHING -} - -/* 80A1A2A4-80A1A2B4 005C84 0010+00 1/0 0/0 0/0 .text checkRemoveJoint__13daNpc_Jagar_cFi - */ -void daNpc_Jagar_c::checkRemoveJoint(int param_0) { - // NONMATCHING -} - -/* 80A1A2B4-80A1A2BC 005C94 0008+00 1/0 0/0 0/0 .text getFootLJointNo__13daNpc_Jagar_cFv - */ -s32 daNpc_Jagar_c::getFootLJointNo() { - return 22; -} - -/* 80A1A2BC-80A1A2C4 005C9C 0008+00 1/0 0/0 0/0 .text getFootRJointNo__13daNpc_Jagar_cFv - */ -s32 daNpc_Jagar_c::getFootRJointNo() { - return 26; -} - -/* 80A1A2C4-80A1A30C 005CA4 0048+00 2/1 0/0 0/0 .text __dt__19daNpc_Jagar_Param_cFv */ -daNpc_Jagar_Param_c::~daNpc_Jagar_Param_c() { - // NONMATCHING -} - -/* 80A1A30C-80A1A314 005CEC 0008+00 1/0 0/0 0/0 .text @36@__dt__12dBgS_ObjAcchFv */ -static void func_80A1A30C() { - // NONMATCHING -} - -/* 80A1A314-80A1A31C 005CF4 0008+00 1/0 0/0 0/0 .text @20@__dt__12dBgS_ObjAcchFv */ -static void func_80A1A314() { - // NONMATCHING -} - -/* ############################################################################################## */ -/* 80A1AE4C-80A1AE50 000074 0004+00 0/0 0/0 0/0 .bss - * sInstance__40JASGlobalInstance<19JASDefaultBankTable> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE4C[4]; -#pragma pop - -/* 80A1AE50-80A1AE54 000078 0004+00 0/0 0/0 0/0 .bss - * sInstance__35JASGlobalInstance<14JASAudioThread> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE50[4]; -#pragma pop - -/* 80A1AE54-80A1AE58 00007C 0004+00 0/0 0/0 0/0 .bss sInstance__27JASGlobalInstance<7Z2SeMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE54[4]; -#pragma pop - -/* 80A1AE58-80A1AE5C 000080 0004+00 0/0 0/0 0/0 .bss sInstance__28JASGlobalInstance<8Z2SeqMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE58[4]; -#pragma pop - -/* 80A1AE5C-80A1AE60 000084 0004+00 0/0 0/0 0/0 .bss sInstance__31JASGlobalInstance<10Z2SceneMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE5C[4]; -#pragma pop - -/* 80A1AE60-80A1AE64 000088 0004+00 0/0 0/0 0/0 .bss sInstance__32JASGlobalInstance<11Z2StatusMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE60[4]; -#pragma pop - -/* 80A1AE64-80A1AE68 00008C 0004+00 0/0 0/0 0/0 .bss sInstance__31JASGlobalInstance<10Z2DebugSys> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE64[4]; -#pragma pop - -/* 80A1AE68-80A1AE6C 000090 0004+00 0/0 0/0 0/0 .bss - * sInstance__36JASGlobalInstance<15JAISoundStarter> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE68[4]; -#pragma pop - -/* 80A1AE6C-80A1AE70 000094 0004+00 0/0 0/0 0/0 .bss - * sInstance__35JASGlobalInstance<14Z2SoundStarter> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE6C[4]; -#pragma pop - -/* 80A1AE70-80A1AE74 000098 0004+00 0/0 0/0 0/0 .bss - * sInstance__33JASGlobalInstance<12Z2SpeechMgr2> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE70[4]; -#pragma pop - -/* 80A1AE74-80A1AE78 00009C 0004+00 0/0 0/0 0/0 .bss sInstance__28JASGlobalInstance<8JAISeMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE74[4]; -#pragma pop - -/* 80A1AE78-80A1AE7C 0000A0 0004+00 0/0 0/0 0/0 .bss sInstance__29JASGlobalInstance<9JAISeqMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE78[4]; -#pragma pop - -/* 80A1AE7C-80A1AE80 0000A4 0004+00 0/0 0/0 0/0 .bss - * sInstance__33JASGlobalInstance<12JAIStreamMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE7C[4]; -#pragma pop - -/* 80A1AE80-80A1AE84 0000A8 0004+00 0/0 0/0 0/0 .bss sInstance__31JASGlobalInstance<10Z2SoundMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE80[4]; -#pragma pop - -/* 80A1AE84-80A1AE88 0000AC 0004+00 0/0 0/0 0/0 .bss - * sInstance__33JASGlobalInstance<12JAISoundInfo> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE84[4]; -#pragma pop - -/* 80A1AE88-80A1AE8C 0000B0 0004+00 0/0 0/0 0/0 .bss - * sInstance__34JASGlobalInstance<13JAUSoundTable> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE88[4]; -#pragma pop - -/* 80A1AE8C-80A1AE90 0000B4 0004+00 0/0 0/0 0/0 .bss - * sInstance__38JASGlobalInstance<17JAUSoundNameTable> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE8C[4]; -#pragma pop - -/* 80A1AE90-80A1AE94 0000B8 0004+00 0/0 0/0 0/0 .bss - * sInstance__33JASGlobalInstance<12JAUSoundInfo> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE90[4]; -#pragma pop - -/* 80A1AE94-80A1AE98 0000BC 0004+00 0/0 0/0 0/0 .bss sInstance__32JASGlobalInstance<11Z2SoundInfo> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE94[4]; -#pragma pop - -/* 80A1AE98-80A1AE9C 0000C0 0004+00 0/0 0/0 0/0 .bss - * sInstance__34JASGlobalInstance<13Z2SoundObjMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AE98[4]; -#pragma pop - -/* 80A1AE9C-80A1AEA0 0000C4 0004+00 0/0 0/0 0/0 .bss sInstance__31JASGlobalInstance<10Z2Audience> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AE9C[4]; -#pragma pop - -/* 80A1AEA0-80A1AEA4 0000C8 0004+00 0/0 0/0 0/0 .bss sInstance__32JASGlobalInstance<11Z2FxLineMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AEA0[4]; -#pragma pop - -/* 80A1AEA4-80A1AEA8 0000CC 0004+00 0/0 0/0 0/0 .bss sInstance__31JASGlobalInstance<10Z2EnvSeMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AEA4[4]; -#pragma pop - -/* 80A1AEA8-80A1AEAC 0000D0 0004+00 0/0 0/0 0/0 .bss sInstance__32JASGlobalInstance<11Z2SpeechMgr> - */ -#pragma push -#pragma force_active on -static u8 data_80A1AEA8[4]; -#pragma pop - -/* 80A1AEAC-80A1AEB0 0000D4 0004+00 0/0 0/0 0/0 .bss - * sInstance__34JASGlobalInstance<13Z2WolfHowlMgr> */ -#pragma push -#pragma force_active on -static u8 data_80A1AEAC[4]; -#pragma pop - -/* 80A1A49C-80A1A49C 00016C 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ +AUDIO_INSTANCES;