Decompile fn_21415 (CGameMode::GetUnknown0084)

Batch #7062 by aDw: 0 byte-identical, 1 confirmed by peer review.

- fn_21415 CGameMode::GetUnknown0084: logic confirmed by peer review

Peer-reviewed-by: eAthena, Landruca
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 03:40:13 +00:00
commit ec9cd1444c
2 changed files with 24 additions and 2 deletions

View file

@ -24,6 +24,7 @@
#include "Render/Renderer.h"
#include "Resource/World/TerrainResource.h"
#include "Script/LuaScript.h"
#include "UI/UIBroadcastBalloon.h"
#include "UI/Chat/ChatSuggestions.h"
#include "UI/Window/UIWindow.h"
#include "UI/Window/UIWindowMgr.h"
@ -234,6 +235,8 @@ void CGameMode::UpdateUnknown0628(int id, bool add) {
}
}
// OFFSET: 0x00CEFFC0
// OFFSET: 0x00CF0070
// FUNCTION: fn_21410
const char* CGameMode::Unknown04DCText() {
@ -259,6 +262,16 @@ MinimapMarker* CGameMode::FindMinimapMarker(std::uint32_t key) {
return &it->second;
}
// OFFSET: 0x00CF05E0
// FUNCTION: fn_21415
std::string CGameMode::GetUnknown0084(unsigned int index) {
if (!this->unknown_0084.empty() && index <= this->unknown_0084.size()) {
return this->unknown_0084[index];
}
return "";
}
// OFFSET: 0x00CF06B0
// FUNCTION: fn_21416
float CGameMode::CameraDesiredYaw() {