SuperMarioOdysseyOnline/patches/codehook.slpatch

140 lines
4.6 KiB
Text
Raw Normal View History

2022-06-16 21:33:18 +00:00
[version=100, target=main]
2024-06-14 09:21:27 +00:00
// StageScene::control+18 BL stageSceneHook
2022-06-16 21:33:18 +00:00
4C8DD0 BL stageInitHook // hook to the init of a stage to modify certain conditions (we also have access to SceneInitInfo)
50F928 BL hakoniwaSequenceHook
// hooks to start logger
2024-06-14 09:21:27 +00:00
5359D8 BL tryInitSocket // GameSystem::init
B59E28 B seadPrintHook // sead::system::print
2022-06-16 21:33:18 +00:00
// Debug Stuff
5359DC:
MOV X0, X19 // move GameSystem to arg register
BL setupDebugMenu
2024-06-14 09:21:27 +00:00
50F258: // HakoniwaSequence::drawMain+80
2022-06-16 21:33:18 +00:00
MOV X0, X19 // HakoniwaSequence
2024-06-14 09:21:27 +00:00
MOV X1, SP // viewport
2022-06-16 21:33:18 +00:00
MOV X2, X20 // drawContext
BL drawMainHook
// Main Stuff
50E89C BL constructHook // HakoniwaSequence::init+1F4
2024-06-14 09:21:27 +00:00
50EF2C: // HakoniwaSequence::init+884
MOV X0, X19 // move HakoniwaSequence ptr to arg register
2022-06-16 21:33:18 +00:00
BL threadInit
41B4E4 BL setPlayerModel
new: Freeze-Tag game mode Similar to Hide & Seek with two teams: chasers (seekers) and runners (hiders). The chasers try to catch all runners in a given round time. When all runners are catched the chasers win and the round ends immediately (wipe out). When the round time runs out, the runners win the round. Instead of joining the chasers runners are frozen when touching a chaser or dying. (Frozen at the last safe position when falling off the map.) In the frozen state they can spectate other players. Frozen runners are unfrozen when they are touched by other runners. Players gain points instead of accumulating time based on their performance: - Chasers receive points by catching runners or if they freeze themselves. - Runners receive points over time by not being frozen or by unfreezing other runners. - The team that wins gets extra points. A round is limited to the current stage, so checkpoint warps and stage changes are disabled. To be able to start a new round (with R + Up) a player first needs to become a "host". The host status can be activated in the freeze-tag config menu. --- Changes compared to the original cherry-picked version: - fix: try to not mix legacy update types between freeze-tag and other game modes - (see GameModeInf.h) - fix: change the player we spectate if they disconnect even if they aren't at the end of the list - fix: don't add players to an already started round (they missed the round start) - fix: don't start rounds w/ survival events when the round length decreases - fix: a round can end w/ wipeout if there is only one runner (cancelled for legacy clients) - fix: don't score a rescue event after a wipeout - fix: cancel the round when deactivating freeze-tag - change: combined freeze-tag config menu buttons to single toggle buttons - change: not closing the freeze-tag config menu after changing an option - change: split host mode & round length into two distinct options - change: possibility to always change settings in the FT config menu - change: send gamemode NONE when Freeze-Tag is selected but not active - change: improved distance calculations in squared distance space - change: short invulnerability at round start - add: toggle options to control mario/cappy collision/bounciness - add: show freeze-tag specific controls in the debug menu - depending on the current state: host, frozen, debug mode - add: can only start a round with at least one runner and one chaser - add: automatically cancel a round after 5s if there are not enough chasers/runners - add: show who manually started/cancelled a round - add: UI for players in other game modes outside of rounds - remove: custom boot screen, because it directly loads into the game - not seeing the main menu is an issue for empty save files - this is added again separately w/ the next commit (cherry picked from commit 782d0bd0831348c5ae327d50d0ab98f16f6111e3) (cherry picked from commit 6525060e108a604636bd8f952ce1910a8050ee9a) (cherry picked from commit 918f61fbfd619d781d88dc74878d392c48cfa480) (cherry picked from commit db8331b158d3277388dcb8d0df2da43d78988c7d) (cherry picked from commit 991aadb0f22ed0c745c218fdaae6ec43bb243e15) (cherry picked from commit fe17cff52b4241418b37cd30ac3fa0af40d3b9f6) (cherry picked from commit c5d6d428c6b25a5cdb0ff76c474b584a65b4bc60) (cherry picked from commit b00088f08fa489b35c439987780bff718bb21417) (cherry picked from commit 42c89927db611c662d9c01ff00c0e657e999e583) (cherry picked from commit 4818a24d12caa2af64ca6378a5a5f33b53c0b59a) (cherry picked from commit d707f2cf7dbeeb96602f9e45fa431fdd0ed476c3) (cherry picked from commit c1791080f1aa3ef2e49bee7703cc4b365d122922) (cherry picked from commit 96aff7dd7167d8244acef7884fa3503d4c3f868a) (cherry picked from commit 1d774cc6ad884de571148ca77d212b55140699a5) (cherry picked from commit bafca58e3906a6cd1046d7e7aed9512ab648c95d) (cherry picked from commit 5cd4319c20417f317f75338ad61222fd7bee3ec7) (cherry picked from commit a1575998c0835180a795a2a909a0b2c0942902d5) (cherry picked from commit a14e813da77c2d6d4c4b6f82fd52d22c4a9ffb55) (cherry picked from commit 1cd6c1f9443621ca0cd85fb277763cf5a6f10244) (cherry picked from commit 7e5f16a3b8b4696c934a4acf3ccc544ac93af9ca) (cherry picked from commit d022dde1de568b50e36ec809ff37d8ef42c81afa) (cherry picked from commit c09456bd1d6efa8ba2471c507654bedbbe062b0d) (cherry picked from commit 0fb6413ec91bbf679e9f8cea1aa512159101fa46) (cherry picked from commit dcac5dfe120177df0cfe7bf9a6ef1bfac5d67afc) (cherry picked from commit 6a412903aa34cd8fd740e0f898c75f2e01fe39c8) (cherry picked from commit 794b06c50a004dd258344592a4521f5d9a85db60) (cherry picked from commit e76e669074a671130ef453402033c65fdd004066) (cherry picked from commit bfc14c15bb4ad5a517783c13d8f61a7cb5c40d4f) (cherry picked from commit d888e3b71b519b214a693df92ced9fe5ce05101b) (cherry picked from commit 8db6e28cf42499e95f2924c22acb026926c09be5) (cherry picked from commit 784d9e6de300d13f761a4f3b21e1ec803f762b72) (cherry picked from commit 43ee8bfecf5abb090aa98089730e79e93713ebfd) (cherry picked from commit ab78a812fd18781655ccf38e803f619ea427d1ac) (cherry picked from commit d2d37d0879a4e4959862d9dbc2256456c45df7cf) (cherry picked from commit 8cb299bbaeb3c35498558a23f2a5c4925b87e7d7) (cherry picked from commit d3622c7c53077da0858e617d13d51588ba529164) (cherry picked from commit e46f73576380569c200fad5248f88cc845c3ee3b) (cherry picked from commit 8364cd18bc9acd4ffa554c8cc4df9e5c9432ff0c) (cherry picked from commit e383c7700eb68345773eafbed3fd1cd86cfb37f2) (cherry picked from commit 32895eaa17d8f58f8f838f143ec204eb39b69509) (cherry picked from commit dd9a98c02f4b8761d30d1bbb5a6604324ee721df) (cherry picked from commit 63937fa7c5e316859e0a57188a803dbf57fcb202) (cherry picked from commit eac79954958a591a0deb244d9b564f9c01a7fe41) (cherry picked from commit f46e6a1e426a4c14708ee48f91348294877e7f8e) (cherry picked from commit 8b15d09d2f093e7c9960f4395bf54478122e0273) (cherry picked from commit b56e0b5bcb2cde4f0723252ee6f00b55af47e6b2) Co-authored-by: Robin C. Ladiges <rcl.git@blackpinguin.de>
2022-12-06 21:02:41 +00:00
1B3F0C NOP // disables call to open HTML viewer during first time odyssey flight
1F2998 B freezeIsCheckpointWarpAllowed // Patches checkpoint system to always allow warping, disable in freeze tag
216FAC MOV W0, #0 // disables AppearSwitchTimer's camera switch
2022-06-16 21:33:18 +00:00
// Puppet Actor Setup
4B5E30 B ProjectActorFactory // patches actor factory ctor with custom matching factory
4CA0E4 BL initPuppetActors
// Shine Syncing
// 1CF470 BL shineHook
2024-06-14 09:21:27 +00:00
// Shine::get
2022-06-16 21:33:18 +00:00
1D03EC MOV X1, X19
1D03F4 BL sendShinePacket
2024-06-14 09:21:27 +00:00
// Shine::getWithDemo
2022-06-16 21:33:18 +00:00
1D1378 MOV X1, X19
1D1380 BL sendShinePacket
2024-06-14 09:21:27 +00:00
// Shine::exeWaitRequestDemo
2022-06-16 21:33:18 +00:00
1D14C8 MOV X1, X19
1D14D0 BL sendShinePacket
2024-06-14 09:21:27 +00:00
// Shine::receiveMsg
2022-06-16 21:33:18 +00:00
1D0188 MOV X1, X19
1D0190 BL sendShinePacket
2024-06-14 09:21:27 +00:00
// Shine::getDirect
2022-06-16 21:33:18 +00:00
1CF124 MOV X1, X19
1CF12C BL sendShinePacket
1CEEDC BL registerShineToList
// Amiibo Button Disabling
577078: // rs::isHoldAmiiboMode
MOV X0, #0
RET
577018: // rs::isTriggerAmiiboMode
MOV X0, #0
RET
new: Freeze-Tag game mode Similar to Hide & Seek with two teams: chasers (seekers) and runners (hiders). The chasers try to catch all runners in a given round time. When all runners are catched the chasers win and the round ends immediately (wipe out). When the round time runs out, the runners win the round. Instead of joining the chasers runners are frozen when touching a chaser or dying. (Frozen at the last safe position when falling off the map.) In the frozen state they can spectate other players. Frozen runners are unfrozen when they are touched by other runners. Players gain points instead of accumulating time based on their performance: - Chasers receive points by catching runners or if they freeze themselves. - Runners receive points over time by not being frozen or by unfreezing other runners. - The team that wins gets extra points. A round is limited to the current stage, so checkpoint warps and stage changes are disabled. To be able to start a new round (with R + Up) a player first needs to become a "host". The host status can be activated in the freeze-tag config menu. --- Changes compared to the original cherry-picked version: - fix: try to not mix legacy update types between freeze-tag and other game modes - (see GameModeInf.h) - fix: change the player we spectate if they disconnect even if they aren't at the end of the list - fix: don't add players to an already started round (they missed the round start) - fix: don't start rounds w/ survival events when the round length decreases - fix: a round can end w/ wipeout if there is only one runner (cancelled for legacy clients) - fix: don't score a rescue event after a wipeout - fix: cancel the round when deactivating freeze-tag - change: combined freeze-tag config menu buttons to single toggle buttons - change: not closing the freeze-tag config menu after changing an option - change: split host mode & round length into two distinct options - change: possibility to always change settings in the FT config menu - change: send gamemode NONE when Freeze-Tag is selected but not active - change: improved distance calculations in squared distance space - change: short invulnerability at round start - add: toggle options to control mario/cappy collision/bounciness - add: show freeze-tag specific controls in the debug menu - depending on the current state: host, frozen, debug mode - add: can only start a round with at least one runner and one chaser - add: automatically cancel a round after 5s if there are not enough chasers/runners - add: show who manually started/cancelled a round - add: UI for players in other game modes outside of rounds - remove: custom boot screen, because it directly loads into the game - not seeing the main menu is an issue for empty save files - this is added again separately w/ the next commit (cherry picked from commit 782d0bd0831348c5ae327d50d0ab98f16f6111e3) (cherry picked from commit 6525060e108a604636bd8f952ce1910a8050ee9a) (cherry picked from commit 918f61fbfd619d781d88dc74878d392c48cfa480) (cherry picked from commit db8331b158d3277388dcb8d0df2da43d78988c7d) (cherry picked from commit 991aadb0f22ed0c745c218fdaae6ec43bb243e15) (cherry picked from commit fe17cff52b4241418b37cd30ac3fa0af40d3b9f6) (cherry picked from commit c5d6d428c6b25a5cdb0ff76c474b584a65b4bc60) (cherry picked from commit b00088f08fa489b35c439987780bff718bb21417) (cherry picked from commit 42c89927db611c662d9c01ff00c0e657e999e583) (cherry picked from commit 4818a24d12caa2af64ca6378a5a5f33b53c0b59a) (cherry picked from commit d707f2cf7dbeeb96602f9e45fa431fdd0ed476c3) (cherry picked from commit c1791080f1aa3ef2e49bee7703cc4b365d122922) (cherry picked from commit 96aff7dd7167d8244acef7884fa3503d4c3f868a) (cherry picked from commit 1d774cc6ad884de571148ca77d212b55140699a5) (cherry picked from commit bafca58e3906a6cd1046d7e7aed9512ab648c95d) (cherry picked from commit 5cd4319c20417f317f75338ad61222fd7bee3ec7) (cherry picked from commit a1575998c0835180a795a2a909a0b2c0942902d5) (cherry picked from commit a14e813da77c2d6d4c4b6f82fd52d22c4a9ffb55) (cherry picked from commit 1cd6c1f9443621ca0cd85fb277763cf5a6f10244) (cherry picked from commit 7e5f16a3b8b4696c934a4acf3ccc544ac93af9ca) (cherry picked from commit d022dde1de568b50e36ec809ff37d8ef42c81afa) (cherry picked from commit c09456bd1d6efa8ba2471c507654bedbbe062b0d) (cherry picked from commit 0fb6413ec91bbf679e9f8cea1aa512159101fa46) (cherry picked from commit dcac5dfe120177df0cfe7bf9a6ef1bfac5d67afc) (cherry picked from commit 6a412903aa34cd8fd740e0f898c75f2e01fe39c8) (cherry picked from commit 794b06c50a004dd258344592a4521f5d9a85db60) (cherry picked from commit e76e669074a671130ef453402033c65fdd004066) (cherry picked from commit bfc14c15bb4ad5a517783c13d8f61a7cb5c40d4f) (cherry picked from commit d888e3b71b519b214a693df92ced9fe5ce05101b) (cherry picked from commit 8db6e28cf42499e95f2924c22acb026926c09be5) (cherry picked from commit 784d9e6de300d13f761a4f3b21e1ec803f762b72) (cherry picked from commit 43ee8bfecf5abb090aa98089730e79e93713ebfd) (cherry picked from commit ab78a812fd18781655ccf38e803f619ea427d1ac) (cherry picked from commit d2d37d0879a4e4959862d9dbc2256456c45df7cf) (cherry picked from commit 8cb299bbaeb3c35498558a23f2a5c4925b87e7d7) (cherry picked from commit d3622c7c53077da0858e617d13d51588ba529164) (cherry picked from commit e46f73576380569c200fad5248f88cc845c3ee3b) (cherry picked from commit 8364cd18bc9acd4ffa554c8cc4df9e5c9432ff0c) (cherry picked from commit e383c7700eb68345773eafbed3fd1cd86cfb37f2) (cherry picked from commit 32895eaa17d8f58f8f838f143ec204eb39b69509) (cherry picked from commit dd9a98c02f4b8761d30d1bbb5a6604324ee721df) (cherry picked from commit 63937fa7c5e316859e0a57188a803dbf57fcb202) (cherry picked from commit eac79954958a591a0deb244d9b564f9c01a7fe41) (cherry picked from commit f46e6a1e426a4c14708ee48f91348294877e7f8e) (cherry picked from commit 8b15d09d2f093e7c9960f4395bf54478122e0273) (cherry picked from commit b56e0b5bcb2cde4f0723252ee6f00b55af47e6b2) Co-authored-by: Robin C. Ladiges <rcl.git@blackpinguin.de>
2022-12-06 21:02:41 +00:00
// Remap Snapshot to !L + Down, disables snapshot mode in freeze tag
2022-06-16 21:33:18 +00:00
577014 B comboBtnHook
// Capture Syncing
9CFB84 BL initObjHook
// Save Data Edits
5167D0: GameConfigData::write+D0
B saveWriteHook
5168F8: GameConfigData::read+124
BL saveReadHook
// WindowConfirm Edits
99C758: // WindowConfirmWait:tryEnd+1C (Forces logic to ignore current nerve)
NOP
NOP
// Coin Counter Changes
20CA78 BL startCounterHook // starts coin counter if a gamemode is not active
20CAA8 BL startCounterHook // starts purple coin counter if gamemode is not active
// Other HUD Changes
20CB4C BL modeE3Hook // PlayGuideMenuLyt at StageSceneStateLayout::start+140
20CA5C BL modeE3Hook // MapMini::appearSlideIn at StageSceneStateLayout::start+50
20D160 BL modeE3Hook // MapMini::end at StageSceneStateLayout::exeEnd+8C
20D154 BL playGuideEndHook
2022-06-16 21:33:18 +00:00
// Pause Menu Changes
// 4EAEC4 B overrideNerveHook // makes any button on pause menu run a specific nerve
2024-06-14 09:21:27 +00:00
4EA104 MOV W2, #5 // update state count to account for new custom state
4EA1F0 BL initNerveStateHook // inits options nerve state and server config state
4EA174 MOV X0, X20 // moves StageSceneStatePauseMenu to first arg
4EA17C NOP // prevents first new of StageSceneStateOption
4EA1A8 BL initStateHook // inits StageSceneStateOption and StageSceneStateServerConfig
4EA1C0 NOP // prevents mStateOption ptr from being overriden
4EAFA4 B overrideHelpFadeNerve
2022-06-16 21:33:18 +00:00
// Gravity hooks
2024-06-14 09:21:27 +00:00
455230 NOP // PlayerJointControlKeeper::update+C0 prevents PlayerJointControlGroundPose from updating
4B5E30 B ProjectActorFactory // patches actor factory ctor with custom matching factory
2022-06-16 21:33:18 +00:00
4BE628 B ProjectCameraPoserFactory // patches camera poser factory with custom matching factory
4463D8 BL initHackCapHook
4C9080 BL createTicketHook // hook to the init of a stage to create custom gravity camera ticket
5C00B0 BL borderPullBackHook // hooks over isFirstStep in WorldEndBorderKeeper::exePullBack so we can kill the player if they reach the border of the map
// 4E46BC NOP // removes call to setEnableData for one of the commonverticallists in the options menu, which makes all entries in the menu look the same
8912B8 B drawTableHook
// 891394 BL drawInitHook
new: Freeze-Tag game mode Similar to Hide & Seek with two teams: chasers (seekers) and runners (hiders). The chasers try to catch all runners in a given round time. When all runners are catched the chasers win and the round ends immediately (wipe out). When the round time runs out, the runners win the round. Instead of joining the chasers runners are frozen when touching a chaser or dying. (Frozen at the last safe position when falling off the map.) In the frozen state they can spectate other players. Frozen runners are unfrozen when they are touched by other runners. Players gain points instead of accumulating time based on their performance: - Chasers receive points by catching runners or if they freeze themselves. - Runners receive points over time by not being frozen or by unfreezing other runners. - The team that wins gets extra points. A round is limited to the current stage, so checkpoint warps and stage changes are disabled. To be able to start a new round (with R + Up) a player first needs to become a "host". The host status can be activated in the freeze-tag config menu. --- Changes compared to the original cherry-picked version: - fix: try to not mix legacy update types between freeze-tag and other game modes - (see GameModeInf.h) - fix: change the player we spectate if they disconnect even if they aren't at the end of the list - fix: don't add players to an already started round (they missed the round start) - fix: don't start rounds w/ survival events when the round length decreases - fix: a round can end w/ wipeout if there is only one runner (cancelled for legacy clients) - fix: don't score a rescue event after a wipeout - fix: cancel the round when deactivating freeze-tag - change: combined freeze-tag config menu buttons to single toggle buttons - change: not closing the freeze-tag config menu after changing an option - change: split host mode & round length into two distinct options - change: possibility to always change settings in the FT config menu - change: send gamemode NONE when Freeze-Tag is selected but not active - change: improved distance calculations in squared distance space - change: short invulnerability at round start - add: toggle options to control mario/cappy collision/bounciness - add: show freeze-tag specific controls in the debug menu - depending on the current state: host, frozen, debug mode - add: can only start a round with at least one runner and one chaser - add: automatically cancel a round after 5s if there are not enough chasers/runners - add: show who manually started/cancelled a round - add: UI for players in other game modes outside of rounds - remove: custom boot screen, because it directly loads into the game - not seeing the main menu is an issue for empty save files - this is added again separately w/ the next commit (cherry picked from commit 782d0bd0831348c5ae327d50d0ab98f16f6111e3) (cherry picked from commit 6525060e108a604636bd8f952ce1910a8050ee9a) (cherry picked from commit 918f61fbfd619d781d88dc74878d392c48cfa480) (cherry picked from commit db8331b158d3277388dcb8d0df2da43d78988c7d) (cherry picked from commit 991aadb0f22ed0c745c218fdaae6ec43bb243e15) (cherry picked from commit fe17cff52b4241418b37cd30ac3fa0af40d3b9f6) (cherry picked from commit c5d6d428c6b25a5cdb0ff76c474b584a65b4bc60) (cherry picked from commit b00088f08fa489b35c439987780bff718bb21417) (cherry picked from commit 42c89927db611c662d9c01ff00c0e657e999e583) (cherry picked from commit 4818a24d12caa2af64ca6378a5a5f33b53c0b59a) (cherry picked from commit d707f2cf7dbeeb96602f9e45fa431fdd0ed476c3) (cherry picked from commit c1791080f1aa3ef2e49bee7703cc4b365d122922) (cherry picked from commit 96aff7dd7167d8244acef7884fa3503d4c3f868a) (cherry picked from commit 1d774cc6ad884de571148ca77d212b55140699a5) (cherry picked from commit bafca58e3906a6cd1046d7e7aed9512ab648c95d) (cherry picked from commit 5cd4319c20417f317f75338ad61222fd7bee3ec7) (cherry picked from commit a1575998c0835180a795a2a909a0b2c0942902d5) (cherry picked from commit a14e813da77c2d6d4c4b6f82fd52d22c4a9ffb55) (cherry picked from commit 1cd6c1f9443621ca0cd85fb277763cf5a6f10244) (cherry picked from commit 7e5f16a3b8b4696c934a4acf3ccc544ac93af9ca) (cherry picked from commit d022dde1de568b50e36ec809ff37d8ef42c81afa) (cherry picked from commit c09456bd1d6efa8ba2471c507654bedbbe062b0d) (cherry picked from commit 0fb6413ec91bbf679e9f8cea1aa512159101fa46) (cherry picked from commit dcac5dfe120177df0cfe7bf9a6ef1bfac5d67afc) (cherry picked from commit 6a412903aa34cd8fd740e0f898c75f2e01fe39c8) (cherry picked from commit 794b06c50a004dd258344592a4521f5d9a85db60) (cherry picked from commit e76e669074a671130ef453402033c65fdd004066) (cherry picked from commit bfc14c15bb4ad5a517783c13d8f61a7cb5c40d4f) (cherry picked from commit d888e3b71b519b214a693df92ced9fe5ce05101b) (cherry picked from commit 8db6e28cf42499e95f2924c22acb026926c09be5) (cherry picked from commit 784d9e6de300d13f761a4f3b21e1ec803f762b72) (cherry picked from commit 43ee8bfecf5abb090aa98089730e79e93713ebfd) (cherry picked from commit ab78a812fd18781655ccf38e803f619ea427d1ac) (cherry picked from commit d2d37d0879a4e4959862d9dbc2256456c45df7cf) (cherry picked from commit 8cb299bbaeb3c35498558a23f2a5c4925b87e7d7) (cherry picked from commit d3622c7c53077da0858e617d13d51588ba529164) (cherry picked from commit e46f73576380569c200fad5248f88cc845c3ee3b) (cherry picked from commit 8364cd18bc9acd4ffa554c8cc4df9e5c9432ff0c) (cherry picked from commit e383c7700eb68345773eafbed3fd1cd86cfb37f2) (cherry picked from commit 32895eaa17d8f58f8f838f143ec204eb39b69509) (cherry picked from commit dd9a98c02f4b8761d30d1bbb5a6604324ee721df) (cherry picked from commit 63937fa7c5e316859e0a57188a803dbf57fcb202) (cherry picked from commit eac79954958a591a0deb244d9b564f9c01a7fe41) (cherry picked from commit f46e6a1e426a4c14708ee48f91348294877e7f8e) (cherry picked from commit 8b15d09d2f093e7c9960f4395bf54478122e0273) (cherry picked from commit b56e0b5bcb2cde4f0723252ee6f00b55af47e6b2) Co-authored-by: Robin C. Ladiges <rcl.git@blackpinguin.de>
2022-12-06 21:02:41 +00:00
// 91328 BL updateInitHook
// Freeze tag hooks
4272F0 BL freezeDeathArea // Replaces functionality of death areas in freeze tag
538A94 B freezePlayerHitPointDamage // Reimplements the damage function, disabling it's functionality in Freeze Tag
51B280 B freezeKidsMode // Forces kids mode to be enabled during Freeze Tag
1CFBA0 BL freezeMoonHitboxDisable // When mode enabled, disable hitboxes with moons to avoid softlocks
// custom bootscreen hooks
50EF28 BL speedboot::hakoniwaSetNerveSetup
50EB88 ORR w2, wzr, #0x1f // nerve state count
50EB64 BL speedboot::prepareLayoutInitInfo