Decompile fn_24380 (COMDAT)

Batch #13931 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_24380 COMDAT: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
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-07 01:14:13 +00:00
commit ff3d9792bb
2 changed files with 5 additions and 5 deletions

View file

@ -1411,7 +1411,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR commandLine, in
const std::uint8_t failureSource[] = {0xB6, 0xEA, 0xAF, 0x66, 0xCF, 0x3A, 0x50, 0x9B, 0xFB, 0xEA, 0xAF, 0x7C, 0xDF, 0x2E, 0x51, 0x87,
0xFB, 0xE5, 0xA0, 0x66, 0xC7, 0x4F};
thread_local EncryptedName<sizeof(failureSource), 0xEB3D4FAB0FC183DBULL> failure(failureSource);
ShowErrorDialog(GetRenderSystemHolder()->system, failure.Text(), MB_OK);
ShowErrorDialog(failure.Text(), MB_OK);
return 0;
}
@ -1654,7 +1654,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR commandLine, in
if (audioFailure.Encrypted()) {
audioFailure.Text();
} else {
ShowErrorDialog(GetRenderSystemHolder()->system, audioFailure.Text(), MB_OK);
ShowErrorDialog(audioFailure.Text(), MB_OK);
return 0;
}
}
@ -1684,7 +1684,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR commandLine, in
0x18, 0xD1, 0xC9, 0xB2, 0xF3, 0xA3, 0x6D, 0x21, 0x3E, 0xEF, 0x8C, 0xF5, 0xE9, 0xA4, 0x3E, 0x67,
0x27, 0xF1, 0x86, 0xB7, 0xED, 0xA0, 0x20, 0x69, 0x57};
thread_local EncryptedName<sizeof(deviceFailureSource), 0x474DC581D5E98357ULL> deviceFailure(deviceFailureSource);
ShowErrorDialog(GetRenderSystemHolder()->system, deviceFailure.Text(), MB_OK);
ShowErrorDialog(deviceFailure.Text(), MB_OK);
return 1;
}

View file

@ -31,7 +31,7 @@ bool C3dAttr::Load(const char* name) {
file.Read(magic, 4);
if (std::strcmp(magic, "GRAT") != 0) {
ShowErrorDialog(GetRenderSystemHolder()->system, "Block Attr ", 0);
ShowErrorDialog("Block Attr ", 0);
file.Close();
return false;
}
@ -63,7 +63,7 @@ bool C3dAttr::Load(const char* name) {
file.Close();
} else {
ShowErrorDialog(GetRenderSystemHolder()->system, "C3dAttr::Unsupported Version", 0);
ShowErrorDialog("C3dAttr::Unsupported Version", 0);
}
file.Close();