This file contains 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 __fastcall determineWeaponBonus(_DWORD *a1, WeaponModifierRanges *ranges) // 0x71002DFB9C | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
bonus = WeaponModifierRanges::getRandomBonus(ranges); | |
if ( bonus == WeaponBonus_None ) | |
return 0; | |
if ( ranges->field_31 ) | |
*a1 |= 0x80000000; | |
if ( (signed int)bonus <= 0x3F ) |
This file contains 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::isAmiiboAllowed(AmiiboMgr *this) | |
{ | |
GameDataMgr *gdm; // x20 | |
BOOL canUseAmiibo; // w0 | |
sead::SafeString a3; // [xsp+8h] [xbp-38h] | |
bool a2; // [xsp+1Ch] [xbp-24h] | |
gdm = GameDataMgr::sInstance; | |
if ( !GameDataMgr::sInstance ) | |
goto LABEL_14; |
This file has been truncated, but you can view the full file.
This file contains 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
root_heap_array: {addr: 0xa2dfa40, size: 1, capacity: 4} | |
root_heap: | |
name: RootHeap | |
addr: 0x10a000000 | |
parent: null | |
size: 3227516928 | |
type: ExpHeap | |
free_size: 0 | |
free_list_size: 0 | |
use_list_size: 10 |
This file contains 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
sead::SafeString action::ItemAmiiboCreateFromDropTable::getOneDrop(Bdrop *dropTable, const sead::SafeString& tableName) | |
{ | |
int idx = Bdrop::findTableIndex(dropTable, tableName); | |
bool gotCompleteArmorSetFromThisAmiibo = true; | |
if ( idx >= 0 ) | |
{ | |
auto* table = &dropTable->tables[dropTable->numTables <= idx ? 0 : idx]; | |
gotCompleteArmorSetFromThisAmiibo = all_of(table->columns, [](auto& column) { | |
if (!ActorInfoData::sInstance->hasTagByName(column->itemName, Tag_AmiiboArmorItem)) | |
return true; |
This file contains 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 action::ItemAmiiboCreateFromDropTable::doSpawn(const sead::SafeString& drop, BaseProcHandle* procHandle, const Vec3* additionalPosOffset) | |
{ | |
if (!drop) | |
return; | |
const bool isImportant = ActorInfoData::sInstance->hasTagByName(drop.c_str(), Tag_Important); | |
if (isImportant && GameDataMgr::sInstance && GameDataMgr::sInstance->getFlagBool("IsGet_" + drop)) | |
return; | |
if ( sead::SafeStringBase<char>::findIndex(drop, "GameRomHorse") != -1 ) |
This file contains 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
- Animal: | |
- {name: Animal_Wolf_C, num: 2.0} | |
Area: GerudoHighlands | |
AreaNumber: 0 | |
AutoCliffMaterial: | |
- {name: Item_Mushroom_D, num: 1.2000000476837158} | |
AutoPlacementMaterial: | |
- {name: BrokenSnowBall, num: 10.0} | |
- {name: Weapon_Sword_044, num: 1.0} | |
Bird: |
This file contains 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 ui::sellPictureBookDemo(int picturePack) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
if ( eui::ScreenMgr::sInstance ) | |
{ | |
v61 = eui::ScreenMgr::sInstance->screens; | |
if ( eui::ScreenMgr::sInstance->numScreens > (unsigned int)ScreenId_AppPictureBook_00 ) | |
v61 += 0x21; | |
pictureBookScreen = *v61; |
This file contains 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
.rodata:1025E71C 00000061 C D:\\home\\Cafe\\U-King\\trunk\\Game\\Lib\\sead\\engine\\library\\modules\\src\\basis\\cafe\\seadAssertCafe.cpp | |
.rodata:1027D640 00000055 C D:\\home\\Cafe\\U-King\\trunk\\KingSystem\\src\\ActorSystem\\actActorLinkConstDataAccess.cpp | |
.rodata:102C329C 00000043 C D:\\home\\Cafe\\U-King\\trunk\\KingSystem\\src\\Movie\\mp4dmxMP4Player.cpp | |
.dynstr:0000007101DA225C 0000005E C D:/home/Cafe/U-King/trunk/Game/Lib/NintendoSDK/Libraries/NX-NXFP2-a64/Release//multimedia.nss | |
.dynstr:0000007101DA22BA 00000058 C D:/home/Cafe/U-King/trunk/Game/Lib/NintendoSDK/Libraries/NX-NXFP2-a64/Release/nnSdk.nss | |
.rodata.2:0000007101DF1F3F 0000005F C D:/home/Cafe/U-King/trunk/Game/Lib/NintendoSDK-NEX/Include\\OnlineCore/src/Core/InstanceTable.h | |
.rodata.2:0000007101DF7ECB 00000061 C D:/home/Cafe/U-King/trunk/Game/Lib/sead/engine/library/modules/src/basis/nin/seadRawPrintNin.cpp | |
.rodata.2:0000007101E1FAA3 0000005A C D:/home/Cafe/U-King/trunk/KingSystem/src/Physics/NavMesh/physNavMeshCharacterBehavior.cpp | |
.rodata.2: |
This file contains 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
v28 = 0LL; | |
v29 = EventMgr::sInstance->actionCtxs; | |
while ( 1 ) | |
{ | |
if ( v29->status == evt::ActionContext::Status_Free ) | |
{ | |
actionCtx = &EventMgr::sInstance->actionCtxs[v28]; | |
goto LABEL_75; | |
} | |
if ( v29[1].status == evt::ActionContext::Status_Free ) |
This file contains 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 wm::TimeMgr::handleNewDay(bool skipBloodMoonCheck) | |
{ | |
auto* gdm = GameDataMgr::sInstance; | |
++this->numberOfDays; | |
if ( !skipBloodMoonCheck && WorldMgr::sInstance->getSkyMgr()->isBloodyMoon() ) | |
{ | |
if ( this->isBloodyMoonProhibited() || this->isInRelicBattle() ) | |
{ | |
this->bloodyMoonTimer = 2880.0; | |
} |