Decompile 6 functions in Source/Contents/Configuration/ServiceOptions.cpp, Source/Contents/Effects/MonsterSkillEffects.cpp, ...

Batch #7031 by Lumen: 2 byte-identical, 4 confirmed by peer review.

- fn_45463 RequestModeAction48: logic confirmed by peer review
- fn_45464 RequestModeAction61: logic confirmed by peer review
- fn_45465 NotifyGameModeOptionFirst: logic confirmed by peer review
- fn_45462 RequestPlayerAction31: logic confirmed by peer review
- fn_07176 CCurseOfCubeEffect::Restart: byte-identical
- fn_07177 CCurseOfCubeEffect::Slot01: byte-identical

Peer-reviewed-by: ragnarok-clanker, alisonrag, KWDev
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-10-31 03:22:35 +00:00
commit dfdd4fbf2f
3 changed files with 53 additions and 0 deletions

View file

@ -955,3 +955,36 @@ void ApplyServiceOptionJitterScale(int id, unsigned char value, bool notify, int
g_serviceOptionJitterScale = g_jitterDistanceScale;
}
}
// OFFSET: 0x006C45D0
// FUNCTION: fn_45463
void RequestModeAction48() {
if (CMode* mode = g_modeMgr.GetGameMode()) {
mode->SendMsg(0x30, 0, 0, 0, 0);
}
}
// OFFSET: 0x006C5A60
// FUNCTION: fn_45464
void RequestModeAction61() {
if (CMode* mode = g_modeMgr.GetGameMode()) {
mode->SendMsg(0x3D, 0, 0, 0, 0);
}
}
// OFFSET: 0x006C6020
// FUNCTION: fn_45465
void NotifyGameModeOptionFirst() {
if (CMode* mode = g_modeMgr.GetGameMode()) {
mode->SendMsg(0x11F, 1, 0, 0, 0);
}
}
// OFFSET: 0x006C62C0
// FUNCTION: fn_45462
void RequestPlayerAction31() {
CGameMode* mode = static_cast<CGameMode*>(g_modeMgr.GetGameMode());
if (CPlayer* player = mode->scene->player) {
player->SendMsg(nullptr, 0x1F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
}