Confirm fn_22309 (CLoginMode::PollNetworkStatus)

Batch #11209 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review.

- fn_22309 CLoginMode::PollNetworkStatus: logic confirmed by peer review (already on main)

Peer-reviewed-by: Yommy, dori, cremane
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-04 22:19:54 +00:00
commit e214072d80

View file

@ -815,7 +815,7 @@ void CLoginMode::SubD8F560(int) {
// OFFSET: 0x00D8F8E0
// FUNCTION: fn_22280
void CLoginMode::ReceiveCharacterList(const CharacterListPacket* packet) {
__declspec(noinline) void CLoginMode::ReceiveCharacterList(const CharacterListPacket* packet) {
this->characterCount = (packet->length - 4) / sizeof(CharacterInfo);
g_session.unknown_59BC = this->characterCount;
memcpy_s(this->characters, sizeof(this->characters), packet->characters, this->characterCount * sizeof(CharacterInfo));
@ -1643,7 +1643,7 @@ void CLoginMode::ConnectZoneServer(std::uint32_t gid, std::string mapName, std::
// OFFSET: 0x00D90740
// FUNCTION: fn_22285
void CLoginMode::ReceiveNotifyZoneServer(const NotifyZoneServerPacket* packet) {
__declspec(noinline) void CLoginMode::ReceiveNotifyZoneServer(const NotifyZoneServerPacket* packet) {
this->ConnectZoneServer(packet->gid, std::string(std::begin(packet->mapName), std::end(packet->mapName)).c_str(), packet->ip, packet->port, std::string());
}