From e541c278b4c65397b1fa74cb816124bfa412dfc5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 11:44:54 +0000 Subject: [PATCH] Decompile fn_17786 (TextInputBuffer::SetFlag8C) Batch #1372 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_17786 TextInputBuffer::SetFlag8C: logic confirmed by peer review Reviewed-by: ragnarok-clanker --- Source/Client/Input/TextInputBuffer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Client/Input/TextInputBuffer.cpp b/Source/Client/Input/TextInputBuffer.cpp index 55ca7baa..01cd21d5 100644 --- a/Source/Client/Input/TextInputBuffer.cpp +++ b/Source/Client/Input/TextInputBuffer.cpp @@ -193,7 +193,10 @@ void TextInputBuffer::SelectionRange(int& begin, int& end) const { } // OFFSET: 0x00ACE4B0 - +// FUNCTION: fn_17786 +void TextInputBuffer::SetFlag8C(unsigned char value) { + reinterpret_cast(this)[0x8C] = value; +} // OFFSET: 0x00ACE4C0 // FUNCTION: fn_17787 void TextInputBuffer::MoveForward(unsigned codePage) { @@ -208,7 +211,6 @@ void TextInputBuffer::MoveForward(unsigned codePage) { } // OFFSET: 0x00ACE5E0 - // OFFSET: 0x00ACE620 // FUNCTION: fn_17790 void TextInputBuffer::RetreatCursor(int delta) {