Maintenance: Resubmission of the alias fold (10419 returned: it changed compiled code of fn_24380, fn_09591, fn_12755). The 7 aliases

Batch #10430 by ragnarok-clanker: no function's compiled code changes; checked with 530 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Contents/AchievementMgr.h, Source/Contents/Actors/RenderObject.h, Source/Contents/ClientState.h, Source/Contents/Effects/MsgEffect.h, Source/Contents/Messenger/MessengerMember.h, Source/UI/Dialogs/UIMemorialDunWnd.h, Source/UI/Exchange/UIExchangeUI.h, Source/UI/UIBartermarketWnd.h, Source/UI/Window/UISelCharForUServerWnd.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 23:00:04 +00:00
commit 6a2a80e18e
45 changed files with 129 additions and 213 deletions

View file

@ -86,8 +86,6 @@ namespace {
}
}
// GLOBAL: gl_24395
int g_activePetEggIndex;
// OFFSET: 0x00D42FB0
// FUNCTION: fn_21831
@ -118,7 +116,7 @@ void CGameMode::ReceiveEquipListPart(unsigned char listType, int count, const un
FillEquipListItem(item, record, options);
if (g_session.IsPetEgg(std::atoi(item.itemId.c_str())) && item.unknown_005D) {
g_activePetEggIndex = item.unknown_0000[1];
g_session.unknown_1050 = item.unknown_0000[1];
}
if (item.unknown_0000[3] == 0) {
@ -134,7 +132,7 @@ void CGameMode::ReceiveEquipListPart(unsigned char listType, int count, const un
}
if (g_session.IsPetEgg(std::atoi(item.itemId.c_str())) && item.unknown_005D) {
const int petEgg = std::atoi(LookupClientItemByIdentity(g_session.m_inventoryItems, g_activePetEggIndex).itemId.c_str());
const int petEgg = std::atoi(LookupClientItemByIdentity(g_session.m_inventoryItems, g_session.unknown_1050).itemId.c_str());
if (!g_petEvolutionMgr->IsAutoFeeding(petEgg) && g_petAutoFeed == true) {
g_session.SendPetAutoFeedOption(0);
}