From 566766a05c717f07cbaca45a735beb86847c80ea Mon Sep 17 00:00:00 2001 From: kotijekriv Date: Fri, 20 Nov 2026 18:09:49 +0100 Subject: [PATCH 1/2] reimplement: SHC_3BB0A8C1_0x004559B0 100.0% Reimplemented TextureRenderCore::loadGMFile. gynt's drafts: 071726ec2 at 77.8% on sourcehold's reimpl/UI-Rendering, and 84.5% in the status line of his fork's reimpl/UI-Rendering-development (63cc49fb3); the newest commit on the file, 15e57122d, is on his fork's reimpl/UI-MenuItems-development. Our draft d29d51d29 (93.1%, in the draft PR #363) was written from the original's instructions with his draft for the reads. What was left was the loop's test whether a picture shares another one's data. The original tests the flag first (0x00455B70). With the flag set it reads the colour byte once, into cl, and tests it twice: zero copies the picture, bit 2 (value 4) takes the previous picture's offset, anything else the alternative picture's (0x00455B82 to 0x00455B9A). Without the flag it tests bit 2 in memory and runs on into the same blocks (0x00455B9C). The draft had one condition, (flag && colour != 0) || (colour & 4): with it the compiler tested bit 2 again behind the zero test and based the header pointer on the colour byte. Written as the listing has it: - The flag's two arms, each with its own sharing and its own copying. The compiler merges the two copies of the copying and lets the second arm run into the first arm's stores, as the original does. With the copying written once the match is lost: behind the draft's one test quick_diff reads 0.9326, behind a flag variable or a continue 0.70 to 0.77. - The colour byte in a local in the flag's arm. Without it the rest is the same, but the copying adds its source address the other way round (0.9610 against 0.9714). Measured: quick_diff 0.9714 with 192 instructions against 193, also with the stack slots kept. What still differs there is not in the code: four calls through the import table, the jmp over the padding in front of the loop (0x00455B66), and the previous offset's address, which the original's listing shows folded (0x00D0BA0C). reccmp 100.0% (normalized 100.0%) alone, data resolvers and its own resolver on. Not run in game. Co-authored-by: Gynt Co-Authored-By: Claude Fable 5.2 --- .../TextureRenderCore/loadGMFile.cpp | 125 ++++++++++++++++++ status/addresses-SHC-3BB0A8C1.txt | 2 +- 2 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 src/OpenSHC/UI/Rendering/TextureRenderCore/loadGMFile.cpp diff --git a/src/OpenSHC/UI/Rendering/TextureRenderCore/loadGMFile.cpp b/src/OpenSHC/UI/Rendering/TextureRenderCore/loadGMFile.cpp new file mode 100644 index 0000000000..95da22b6d9 --- /dev/null +++ b/src/OpenSHC/UI/Rendering/TextureRenderCore/loadGMFile.cpp @@ -0,0 +1,125 @@ +#include "../TextureRenderCore.func.hpp" + +#include "OpenSHC/IO/LowLevelMemory.func.hpp" +#include "OpenSHC/IO/ResourceManager.func.hpp" +#include "OpenSHC/IO/FileResourceType.hpp" +#include "OpenSHC/IO/Graphics/GmImageType.hpp" +#include "OpenSHC/string-literals.hpp" + +#include "OpenSHC/Globals/DAT_GMImageHeaders.hpp" +#include "OpenSHC/Globals/DAT_GMImageOffsets.hpp" +#include "OpenSHC/Globals/DAT_GMImageSizes.hpp" +#include "OpenSHC/Globals/DAT_LoadingBarProgress.hpp" +#include "OpenSHC/Globals/DAT_LowLevelMemory.hpp" +#include "OpenSHC/Globals/DAT_PictureNumToGmIDArray_UNUSED.hpp" +#include "OpenSHC/Globals/DAT_ResourceManager.hpp" + +namespace OpenSHC { +namespace UI { + namespace Rendering { + + // FUNCTION: STRONGHOLDCRUSADER 0x004559B0 + void TextureRenderCore::loadGMFile(GmID gmID, char* gmFileName) + { + // keep the window responsive while the files load + MSG message; + if (PeekMessageA(&message, NULL, 0, 0, 0) && GetMessageA(&message, NULL, 0, 0)) { + TranslateMessage(&message); + DispatchMessageA(&message); + } + BOOLEnum const flag = this->unknownSfxAndGmRelatedFlag; + int totalSize = 0; + MACRO_CALL_MEMBER(OpenSHC::IO::LowLevelMemory_Func::fillMemory_ByteValue, DAT_LowLevelMemory::ptr)( + sizeof(this->gmFileHeaderColorpaletteArray[gmID]), 0, &this->gmFileHeaderColorpaletteArray[gmID]); + MACRO_CALL_MEMBER(OpenSHC::IO::LowLevelMemory_Func::fillMemory_ByteValue, DAT_LowLevelMemory::ptr)( + 1000, 0, this->gmFileNameArray_UNUSEDUnk_0x13179c[gmID]); + MACRO_CALL_MEMBER(OpenSHC::IO::LowLevelMemory_Func::copyData, DAT_LowLevelMemory::ptr)( + strlen(gmFileName), gmFileName, this->gmFileNameArray_UNUSEDUnk_0x13179c[gmID]); + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::resolveResourceFileName, DAT_ResourceManager::ptr)( + OpenSHC::IO::FRT_GM, this->gmFileNameArray_UNUSEDUnk_0x13179c[gmID]); + + // "gm1" names each read: the file's header + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::readFirstPartOfCurrentResourceIntoMemory, + DAT_ResourceManager::ptr)(&this->gmFileHeaderColorpaletteArray[gmID], + sizeof(this->gmFileHeaderColorpaletteArray[gmID]), (char*)s_gm1_005a5068); + // "gm1": its pictures' offsets + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::readNextPartOfCurrentResourceIntoMemory, + DAT_ResourceManager::ptr)(&DAT_GMImageOffsets::instance[this->gmNumberOfProcessedPictures], + this->gmFileHeaderColorpaletteArray[gmID].numberOfPicturesInFile * 4, (char*)s_gm1_005a5068); + // "gm1": their sizes + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::readNextPartOfCurrentResourceIntoMemory, + DAT_ResourceManager::ptr)(&DAT_GMImageSizes::instance[this->gmNumberOfProcessedPictures], + this->gmFileHeaderColorpaletteArray[gmID].numberOfPicturesInFile * 4, (char*)s_gm1_005a5068); + // "gm1": their headers + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::readNextPartOfCurrentResourceIntoMemory, + DAT_ResourceManager::ptr)(&DAT_GMImageHeaders::instance.imh[this->gmNumberOfProcessedPictures], + this->gmFileHeaderColorpaletteArray[gmID].numberOfPicturesInFile * 16, (char*)s_gm1_005a5068); + // "gm1": their data + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::readNextPartOfCurrentResourceIntoMemory, + DAT_ResourceManager::ptr)(this->gmAndGfxImageDataBuffer, + this->gmFileHeaderColorpaletteArray[gmID].dataSize, (char*)s_gm1_005a5068); + if (this->gmFileHeaderColorpaletteArray[gmID].ImageType == OpenSHC::IO::Graphics::GIT_Animation) { + MACRO_CALL_MEMBER( + OpenSHC::UI::Rendering::TextureRenderCore_Func::transformGmColorTableFromRGB555To565IfRequired, + this)(gmID); + } + + // copy each picture's data behind the ones processed so far; a picture that shares another one's data + // points at it instead + int offset = DAT_GMImageOffsets::instance[this->gmNumberOfProcessedPictures]; + for (int picture = this->gmNumberOfProcessedPictures; picture + < this->gmFileHeaderColorpaletteArray[gmID].numberOfPicturesInFile + this->gmNumberOfProcessedPictures; + ++picture) { + DAT_PictureNumToGmIDArray_UNUSED::instance[picture] = gmID; + // a picture shares when its colour byte is set (flag set) or has bit 2 (flag clear); each arm has + // the copying of its own (written once, the match is lost) + if (flag) { + byte const colour = DAT_GMImageHeaders::instance.imh[picture].animatedColor; + if (colour != 0) { + if ((colour & 4) != 0) { + DAT_GMImageOffsets::instance[picture] = DAT_GMImageOffsets::instance[picture - 1]; + } else { + DAT_GMImageOffsets::instance[picture] = DAT_GMImageOffsets::instance + [DAT_GMImageHeaders::instance.imh[picture].alternativeImageIndexUnk + picture]; + } + DAT_GMImageSizes::instance[picture] = DAT_GMImageSizes::instance + [DAT_GMImageHeaders::instance.imh[picture].alternativeImageIndexUnk + picture]; + } else { + MACRO_CALL_MEMBER(OpenSHC::IO::LowLevelMemory_Func::copyData, DAT_LowLevelMemory::ptr)( + DAT_GMImageSizes::instance[picture], + this->gmAndGfxImageDataBuffer + DAT_GMImageOffsets::instance[picture], + this->gmProcessedImageData + this->gmSizeOfProcessedPictures_0x44 + offset); + DAT_GMImageOffsets::instance[picture] = this->gmSizeOfProcessedPictures_0x44 + offset; + totalSize += DAT_GMImageSizes::instance[picture]; + offset += DAT_GMImageSizes::instance[picture]; + MACRO_CALL_MEMBER( + OpenSHC::UI::Rendering::TextureRenderCore_Func::adaptGmColorsToRGB565IfRequired, this)( + gmID, picture); + } + } else { + if ((DAT_GMImageHeaders::instance.imh[picture].animatedColor & 4) != 0) { + DAT_GMImageOffsets::instance[picture] = DAT_GMImageOffsets::instance[picture - 1]; + DAT_GMImageSizes::instance[picture] = DAT_GMImageSizes::instance + [DAT_GMImageHeaders::instance.imh[picture].alternativeImageIndexUnk + picture]; + } else { + MACRO_CALL_MEMBER(OpenSHC::IO::LowLevelMemory_Func::copyData, DAT_LowLevelMemory::ptr)( + DAT_GMImageSizes::instance[picture], + this->gmAndGfxImageDataBuffer + DAT_GMImageOffsets::instance[picture], + this->gmProcessedImageData + this->gmSizeOfProcessedPictures_0x44 + offset); + DAT_GMImageOffsets::instance[picture] = this->gmSizeOfProcessedPictures_0x44 + offset; + totalSize += DAT_GMImageSizes::instance[picture]; + offset += DAT_GMImageSizes::instance[picture]; + MACRO_CALL_MEMBER( + OpenSHC::UI::Rendering::TextureRenderCore_Func::adaptGmColorsToRGB565IfRequired, this)( + gmID, picture); + } + } + } + this->gmSizeOfProcessedPictures_0x44 += totalSize; + MACRO_CALL_MEMBER(OpenSHC::UI::Rendering::TextureRenderCore_Func::drawLoadingBarUnk, this)( + gmID, DAT_LoadingBarProgress::instance + 180); + } + + } +} +} diff --git a/status/addresses-SHC-3BB0A8C1.txt b/status/addresses-SHC-3BB0A8C1.txt index b62540e14f..71ebce0777 100644 --- a/status/addresses-SHC-3BB0A8C1.txt +++ b/status/addresses-SHC-3BB0A8C1.txt @@ -17029,7 +17029,7 @@ SHC_3BB0A8C1_0x004558E0 | 100.0% | Reimplemented SHC_3BB0A8C1_0x00455930 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x004559B0 | 0.0% | Pending +SHC_3BB0A8C1_0x004559B0 | 100.0% | Reimplemented SHC_3BB0A8C1_0x00455B70 | 0.0% | Pending From f570722e8841693c2d17074c1225ca8e2f9f35db Mon Sep 17 00:00:00 2001 From: kotijekriv Date: Fri, 20 Nov 2026 18:09:49 +0100 Subject: [PATCH 2/2] reimplement: SHC_3BB0A8C1_0x00440A50 100.0% Reimplemented LobbyMenu::MenuItemActionHandler_LobbyMenu_MapSelectHeader, rewritten from the original's listing. gynt's drafts: 7a1fcbd61 at 32.66% on his fork's reimpl/UI-MenuItems, and d0d28fdfe at 45.93% ("comparison operand order") on his fork's reimpl/UI-MenuItems-development, whose status line records 45.9%; the newest commit on the file, dd1a7c48c, is on that branch too. Our draft c792435b5 (46.3%, in the draft PR #328) was his code with a mechanical pass. The function sorts the lobby's map list by name, by players or by balance: on a click on a column or, with a negative argument, by a stored order again. The drafts had the decompiler's text, with seven iVar and two uVar locals. Written out with names, six things decide the match: - The non-negative arm stands first. The original falls through into the modal checks and jumps away for a negative argument (jl at 0x00440A64). - A stored order is compared after it is negated (neg eax at 0x00440B29, then cmp eax, 1 and so on). In each arm the source sets the column in front of the order. The listing loads the order's value first, then the column, and stores the order last (mov ecx, 4; mov eax, 2; mov [order], ecx, from 0x00440B5E); with the order set first in the source the match is lost. - In every bubble pass the second index is taken in front of the first, as the name sort's listing has it (0x00440D10). With the first one first the match is lost. - The players' sort reads the list's length in its loop condition each time (0x00440C8F); the other two sorts take it once. - The players' sort counts its seven tries in the parameter's own slot (mov dword ptr [esp + 0x18], 7 at 0x00440C29), which is why the argument is copied at the top (0x00440A57). A local for the tries loses the match. - The search for the chosen map is a plain for loop over the list that handles the hit inside (0x00440DC0 to 0x00440DFD). The drafts' while loop with a second test of the length has four instructions more. The sorts' repeat-until-nothing-swapped loops are for loops (for (int swaps = 1; swaps != 0;)), which compile to the same code as do-while loops. Measured: quick_diff 0.9766 with 253 instructions against 259. The six lines are the original's jmp over the padding in front of its loops, which our listing shows as padding; the rest is how the two listings print two constants and the tail call. reccmp 100.0% (normalized 100.0%) alone, data resolvers and its own resolver on. Not run in game. Co-authored-by: Gynt Co-Authored-By: Claude Fable 5.2 --- ...ctionHandler_LobbyMenu_MapSelectHeader.cpp | 202 ++++++++++++++++++ status/addresses-SHC-3BB0A8C1.txt | 2 +- 2 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 src/OpenSHC/UI/MenuItems/LobbyMenu/MenuItemActionHandler_LobbyMenu_MapSelectHeader.cpp diff --git a/src/OpenSHC/UI/MenuItems/LobbyMenu/MenuItemActionHandler_LobbyMenu_MapSelectHeader.cpp b/src/OpenSHC/UI/MenuItems/LobbyMenu/MenuItemActionHandler_LobbyMenu_MapSelectHeader.cpp new file mode 100644 index 0000000000..cf1a1d0bac --- /dev/null +++ b/src/OpenSHC/UI/MenuItems/LobbyMenu/MenuItemActionHandler_LobbyMenu_MapSelectHeader.cpp @@ -0,0 +1,202 @@ +#include "../LobbyMenu.func.hpp" + +#include "OpenSHC/IO/ResourceManager.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/DAT_00b960dc.hpp" +#include "OpenSHC/Globals/DAT_GameSynchronyState.hpp" +#include "OpenSHC/Globals/DAT_MapNameCache.hpp" +#include "OpenSHC/Globals/DAT_MenuModalComposition1.hpp" +#include "OpenSHC/Globals/DAT_MenuTextInputState.hpp" +#include "OpenSHC/Globals/DAT_ResourceManager.hpp" +#include "OpenSHC/Globals/INT_00b95ab8.hpp" + +namespace OpenSHC { +namespace UI { + namespace MenuItems { + + // FUNCTION: STRONGHOLDCRUSADER 0x00440A50 + void LobbyMenu::MenuItemActionHandler_LobbyMenu_MapSelectHeader(int param_1, ...) + { + // 0, 1 or 2 for a click on the name, players or balance column; negative to sort by a stored order again + int const request = param_1; + DAT_GameSynchronyState::instance.mapExistenceAckCountdown = 0; + int column = param_1; + if (param_1 >= 0) { + if (DAT_00b960dc::instance != 0) { + return; + } + if (DAT_MenuModalComposition1::instance.activeModalDialogID == OpenSHC::UI::Enums::MMT_ROUNDTABLE) { + return; + } + if (DAT_MenuModalComposition1::instance.activeModalDialogID + == OpenSHC::UI::Enums::MMT_BASIC_AI_LORD_SELECT) { + return; + } + if (DAT_MenuModalComposition1::instance.activeModalDialogID + == OpenSHC::UI::Enums::MMT_EXTENDED_AI_LORD_SELECT) { + return; + } + } else { + // each stored order sets the one its column's click turns into it (the column first, then the + // order: the other way round loses the match) + column = -param_1; + if (column == 1) { + column = 0; + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 2; + } else if (column == 2) { + column = 0; + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 1; + } else if (column == 3) { + column = 2; + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 4; + } else if (column == 4) { + column = 2; + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 3; + } else if (column >= 5) { + DAT_GameSynchronyState::instance.lobbyMapSortOrder = column - 1; + if (DAT_GameSynchronyState::instance.lobbyMapSortOrder == 4) { + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 11; + } + column = 1; + } + } + switch (column) { + case 0: { + // by name, which is the maps' own order, the other way round on the next click + int const last = DAT_GameSynchronyState::instance.DAT_MapSelectionTotalNumber - 1; + if (DAT_GameSynchronyState::instance.lobbyMapSortOrder == 1) { + for (int swaps = 1; swaps != 0;) { + swaps = 0; + for (int i = 0; i < last; ++i) { + int const second = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1]; + int const first = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i]; + if (first < second) { + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i] = second; + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1] = first; + ++swaps; + } + } + } + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 2; + } else { + for (int swaps = 1; swaps != 0;) { + swaps = 0; + for (int i = 0; i < last; ++i) { + int const second = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1]; + int const first = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i]; + if (first > second) { + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i] = second; + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1] = first; + ++swaps; + } + } + } + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 1; + } + break; + } + case 1: { + // by players, each click starting one player count further on; the parameter's slot counts the + // seven tries (a local for them loses the match) + if ((int)DAT_GameSynchronyState::instance.lobbyMapSortOrder < 5) { + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 5; + } + for (param_1 = 7; param_1 > 0;) { + int const shift = DAT_GameSynchronyState::instance.lobbyMapSortOrder - 5; + for (int swaps = 1; swaps != 0;) { + swaps = 0; + for (int i = 0; i < DAT_GameSynchronyState::instance.DAT_MapSelectionTotalNumber - 1; ++i) { + int const second = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1]; + int const first = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i]; + if ((DAT_GameSynchronyState::instance.mapPlayerCountArray[first] + shift) % 8 + > (DAT_GameSynchronyState::instance.mapPlayerCountArray[second] + shift) % 8) { + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i] = second; + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1] = first; + ++swaps; + } + } + } + --param_1; + int const order = DAT_GameSynchronyState::instance.lobbyMapSortOrder; + ++DAT_GameSynchronyState::instance.lobbyMapSortOrder; + if (DAT_GameSynchronyState::instance.lobbyMapSortOrder == 12) { + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 5; + } + if (DAT_GameSynchronyState::instance + .mapPlayerCountArray[DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[0]] + == 13 - order) { + break; + } + } + break; + } + case 2: { + // by balance, the other way round on the next click; every pass takes the second index first + // (the first one first loses the match) + int const last = DAT_GameSynchronyState::instance.DAT_MapSelectionTotalNumber - 1; + if (DAT_GameSynchronyState::instance.lobbyMapSortOrder == 3) { + for (int swaps = 1; swaps != 0;) { + swaps = 0; + for (int i = 0; i < last; ++i) { + int const second = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1]; + int const first = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i]; + if (DAT_GameSynchronyState::instance.mapBalanceArray[first] + < DAT_GameSynchronyState::instance.mapBalanceArray[second]) { + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i] = second; + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1] = first; + ++swaps; + } + } + } + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 4; + } else { + for (int swaps = 1; swaps != 0;) { + swaps = 0; + for (int i = 0; i < last; ++i) { + int const second = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1]; + int const first = DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i]; + if (DAT_GameSynchronyState::instance.mapBalanceArray[first] + > DAT_GameSynchronyState::instance.mapBalanceArray[second]) { + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i] = second; + DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[i + 1] = first; + ++swaps; + } + } + } + DAT_GameSynchronyState::instance.lobbyMapSortOrder = 3; + } + break; + } + } + if (request >= 0) { + INT_00b95ab8::instance = 1; + MACRO_CALL(OpenSHC::UI::MenuItems::LobbyMenu_Func::MenuItemActionHandler_LobbyMenu_MapSelectTable)( + DAT_GameSynchronyState::instance.DAT_MapSelectionRelativeSelected); + return; + } + // a stored order: find the chosen map again and scroll the table to it + for (int found = 0; found < DAT_GameSynchronyState::instance.DAT_MapSelectionTotalNumber; ++found) { + if (MACRO_CALL(OpenSHC::OS_Func::__stricmp)(DAT_MapNameCache::instance, + MACRO_CALL_MEMBER(OpenSHC::IO::ResourceManager_Func::mapNames_getLoadedMapNameForIndex, + DAT_ResourceManager::ptr)(DAT_MenuTextInputState::instance.DAT_ArrayOfMapIndices[found])) + != 0) { + continue; + } + DAT_GameSynchronyState::instance.DAT_MapSelectionRelativeSelected = found; + DAT_GameSynchronyState::instance.DAT_MapSelectionScrollOffset = 0; + if (found < 0) { + DAT_GameSynchronyState::instance.DAT_MapSelectionScrollOffset = found; + DAT_GameSynchronyState::instance.DAT_MapSelectionRelativeSelected = 0; + } else if (found > 7) { + DAT_GameSynchronyState::instance.DAT_MapSelectionScrollOffset = found - 7; + DAT_GameSynchronyState::instance.DAT_MapSelectionRelativeSelected = 7; + } + return; + } + } + + } +} +} diff --git a/status/addresses-SHC-3BB0A8C1.txt b/status/addresses-SHC-3BB0A8C1.txt index 71ebce0777..1ee6b96519 100644 --- a/status/addresses-SHC-3BB0A8C1.txt +++ b/status/addresses-SHC-3BB0A8C1.txt @@ -13661,7 +13661,7 @@ SHC_3BB0A8C1_0x004409B4 | 0.0% | Pending SHC_3BB0A8C1_0x004409C0 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x00440A50 | 0.0% | Pending +SHC_3BB0A8C1_0x00440A50 | 100.0% | Reimplemented SHC_3BB0A8C1_0x00440AE0 | 0.0% | Pending