Decompile fn_22188 (CGameMode::ReceiveWindow308TextEntries)

Batch #12524 by Toshiro: 0 byte-identical, 1 confirmed by peer review.

- fn_22188 CGameMode::ReceiveWindow308TextEntries: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas
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-11-05 16:56:39 +00:00
commit ebbda1f823

View file

@ -2693,7 +2693,10 @@ __declspec(noinline) void CGameMode::ReceiveWindow308TextEntries(unsigned char*
char* text = reinterpret_cast<char*>(packet + 4);
for (int i = 0; i < count; ++i, text += 16) {
text[15] = '\0';
if (std::strlen(text) != 0) {
char* end = text;
do {
} while (*end++ != '\0');
if (*text != '\0') {
window->SendMsg(nullptr, 0x22, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
}
}