This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // utility functions (inlined in the actual executable) | |
| void GameDataMgr::setFlag(const sead::SafeString& flagName, bool value) | |
| { | |
| if (this->paramB.changeOnlyOnce) | |
| return; | |
| if (!TriggerParam::setBoolByKey(*this->paramB.param1, value, flag_name, this->paramB.x, 1LL, 1)) | |
| return; | |
| if (!this->paramB.propagateParam1Changes) | |
| return; | |
| TriggerParam::setBoolByKey(*this->paramB.param, value, flag_name, this->paramB.x, 1LL, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void __fastcall AI_AI_PlayerNormal::m32(AI_AI_PlayerNormal *this) | |
| { | |
| // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
| sub_710088BCEC(this->_._.actor); | |
| sub_710088B7BC(this->_._.actor); | |
| if ( sub_71011DE4BC(this) & 1 ) | |
| return; | |
| v2 = Actor::x_23(this->_._.actor); | |
| if ( !v2 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void genStageUpdateMapTypeFlags(sead::SafeString *newTypeName, sead::SafeString *newMapName, sead::SafeString *a3) | |
| { | |
| setCurrentMapTypeAndName(newTypeName, newMapName); | |
| const sead::SafeString currentMapType = getCurrentMapType(); | |
| const sead::SafeString currentMapName = getCurrentMapName(); | |
| const bool isCDungeon = (currentMapType == "CDungeon"); | |
| const bool isGameTestDungeon = (currentMapType == "GameTestDungeon"); | |
| const bool isActorViewer = (currentMapName == "ActorViewer"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void __fastcall AI_Action_ItemAmiiboCreateFromDropTable::init(AI_Action_ItemAmiiboCreateFromDropTable *this) | |
| { | |
| // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
| this->field_1F8 = 0; | |
| this->field_A78 = 0; | |
| memset_0(&amiiboData, 0, 0x10CuLL); | |
| v93._.vptr = (sead::SafeStringBase::vtable *)&v94; | |
| v93._.vptr = &`vtable for'sead::BufferedSafeStringBase<char>; | |
| v93.length = 0x30; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __int64 __fastcall Enemy::getMaxHp(Enemy *this) | |
| { | |
| // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
| v2 = this->_._.g.a.actorParam->_.gParamList; | |
| v3 = v2->res.numObjects; | |
| v4 = (BgparamlistObjectEnemy **)v2->res.objects; | |
| if ( v3 > GParamObj_Enemy ) | |
| v4 += 2; | |
| v5 = *v4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| float __cdecl wm::TempMgr::calcTemperature(wm::TempMgr *this) | |
| { | |
| // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
| worldMgr = WorldMgr::sInstance; | |
| height = WorldMgr::sInstance->cameraPos.y; | |
| this->height = height; | |
| tempDay = WorldMgr::calcTempDay(worldMgr, height); | |
| tempNight = WorldMgr::calcTempNight(WorldMgr::sInstance, this->height); | |
| if ( WorldMgr::sInstance->mgrs.size ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bool __cdecl AmiiboMgr::isMotorcycleAllowed(AmiiboMgr *this) | |
| { | |
| GameDataMgr *v1; // x21 | |
| BOOL v3; // w20 | |
| sead::SafeString v5; // [xsp+0h] [xbp-40h] | |
| bool a2; // [xsp+1Ch] [xbp-24h] | |
| v1 = GameDataMgr::sInstance; | |
| if ( !GameDataMgr::sInstance ) | |
| goto LABEL_10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bool AmiiboMgr::isAmiiboAllowed() { | |
| auto* gdm = GameDataMgr::sInstance; | |
| if (gdm) { | |
| if (gdm->getBool("IsPlayed_Demo146_0") || | |
| gdm->getBool("IsPlayed_Demo142_0") || | |
| gdm->getBool("IsPlayed_Demo141_0") || | |
| gdm->getBool("IsPlayed_Demo141_1") || | |
| gdm->getBool("IsPlayed_Demo141_2") || | |
| gdm->getBool("IsPlayed_Demo141_3") || | |
| gdm->getBool("NakedIsland_ProhibitAmiibo")) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /home/leo/botw/strings_100c.txt 2018-11-26 23:18:16.025567279 +0100 | |
| +++ /home/leo/botw/strings_150c.txt 2018-11-26 23:18:21.037373982 +0100 | |
| @@ -1,143 +1,224 @@ | |
| -讏 | |
| -詩 | |
| -仩 | |
| - © | |
| -衰 | |
| -褰 | |
| -衰 |