From 9dbf24ec675bf31e49ff8cac517e1487ba621526 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 19:16:42 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Ground/GroundDecals.cpp, Source/Contents/Ground/GroundGeometry.h Batch #1631 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_17588 GroundGeometry::Slot14: byte-identical - fn_17603 GroundGeometry::Slot16: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Ground/GroundDecals.cpp | 10 ++++++++++ Source/Contents/Ground/GroundGeometry.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/Source/Contents/Ground/GroundDecals.cpp b/Source/Contents/Ground/GroundDecals.cpp index 45d37f605..d9c4f11b5 100644 --- a/Source/Contents/Ground/GroundDecals.cpp +++ b/Source/Contents/Ground/GroundDecals.cpp @@ -89,6 +89,11 @@ void GroundGeometry::DrawCellDecal( DrawDecal(*this, terrain, matrix, column, row, color, texture, uv, 0.10003052f, context); } +// OFFSET: 0x00AC1710 +// FUNCTION: fn_17588 +void GroundGeometry::Slot14(int, int, int, int) { +} + // OFFSET: 0x00AC1720 // FUNCTION: fn_17589 void GroundGeometry::DrawGridDecal( @@ -108,6 +113,11 @@ void GroundGeometry::DrawGrid( this->DrawGridDecal(terrain, matrix, column, row, color, *texture, uv, context); } +// OFFSET: 0x00AC3600 +// FUNCTION: fn_17603 +void GroundGeometry::Slot16(int, int, int, int, int, int) { +} + // OFFSET: 0x00AC3610 // FUNCTION: fn_17604 void GroundGeometry::DrawTerrainOverlay( diff --git a/Source/Contents/Ground/GroundGeometry.h b/Source/Contents/Ground/GroundGeometry.h index 5e5ee64ed..a39855877 100644 --- a/Source/Contents/Ground/GroundGeometry.h +++ b/Source/Contents/Ground/GroundGeometry.h @@ -53,6 +53,8 @@ public: void WorldColor(float x, float unusedY, float z, std::uint32_t* output) const; void Lighting(int column, int row, float& red, float& green, float& blue) const; int Slot12(int first, int second, int third, int fourth, int fifth) const; + void Slot14(int first, int second, int third, int fourth); + void Slot16(int first, int second, int third, int fourth, int fifth, int sixth); void LightmapSample(int column, int row, unsigned char& alpha, unsigned char& red, unsigned char& green, unsigned char& blue) const; bool TerrainCellCorners(const class C3dAttr& terrain, int column, int row, float* vertices) const; void InitializeLighting(const class C3dAttr& terrain);