From 876f624f28e448c09efeb25c22151df00bcd4054 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 01:00:18 +0000 Subject: [PATCH] Decompile 4 functions in Source/Contents/SignBoard/SignBoard.cpp, Source/Contents/SignBoard/SignBoard.h Batch #4131 by eAthena: 0 byte-identical, 4 confirmed by peer review. - fn_10271 C3DCooRendering::Render: logic confirmed by peer review - fn_10272 CIcon::Render: logic confirmed by peer review - fn_10273 CIcon::SendMsg: logic confirmed by peer review - fn_10274 CIcon::SetRenderInfo: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, meitogi Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/SignBoard/SignBoard.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Source/Contents/SignBoard/SignBoard.cpp b/Source/Contents/SignBoard/SignBoard.cpp index 5403b361b..631949f1a 100644 --- a/Source/Contents/SignBoard/SignBoard.cpp +++ b/Source/Contents/SignBoard/SignBoard.cpp @@ -55,11 +55,33 @@ bool C3DCooRendering::OnProcess() { } // OFFSET: 0x00821FC0 +// FUNCTION: fn_10271 +void C3DCooRendering::Render(int argument) { + float x; + float y; + float reciprocalDepth; + g_renderer->ProjectViewport(&this->render.position.x, reinterpret_cast(argument), &x, &y, &reciprocalDepth); + this->render.unknown_005C = g_renderer->ScaleDistance(reciprocalDepth) / g_heightScale; + this->SetTlvert(x, y); +} // OFFSET: 0x00822040 +// FUNCTION: fn_10272 +void CIcon::Render(int argument) { + this->DrawSprite(argument, false, 0.0f); +} // OFFSET: 0x008220A0 +// FUNCTION: fn_10273 +void CIcon::SendMsg(CGameObject* sender, int message, int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l, int m) { + g_modeMgr.GetGameMode(); + this->CRenderObject::SendMsg(sender, message, a, b, c, d, e, f, g, h, i, 0, 0, 0, 0); +} // OFFSET: 0x008220F0 +// FUNCTION: fn_10274 +void CIcon::SetRenderInfo(const float* bounds, float x, float y) { + this->SetTlvert(x, y); +} // OFFSET: 0x00822390