Maintenance: [forced, user-approved] Family V5: remove invented helper types that exist only to call real methods under old sub_ name

Batch #10281 by ragnarok-clanker: forced by an admin (1 lower score(s), 10 changed function(s)); checked with 6 compiled unit(s).
This commit is contained in:
ragnarok-clanker 2026-11-03 16:16:57 +00:00
commit ab4ef21fb8
6 changed files with 16 additions and 52 deletions

View file

@ -988,17 +988,13 @@ void CSession::SetPetAutoFeed(bool enabled) {
extern "C" void __cdecl sub_6C2A80(int id, bool value);
struct UIWindowMgrHelper {
void sub_AAB070(int id);
};
// OFFSET: 0x00E489C0
// FUNCTION: fn_24224
void __stdcall sub_E489C0(bool enabled) {
std::string notice = LookupMessage(enabled ? 4357 : 4379);
g_windowMgr.SendNotice(1, reinterpret_cast<std::intptr_t>(notice.c_str()), 0x64FFFF, 0, 0, 0);
sub_6C2A80(0x128, enabled);
reinterpret_cast<UIWindowMgrHelper*>(&g_windowMgr)->sub_AAB070(0x128);
g_windowMgr.sub_AAB070(0x128);
}
// OFFSET: 0x00E48B00