* feat: improve iplBoard matching
Restructure calc, stt_wait_fadeaway and edge_arrow with early returns
and split conditions, iterate hovered objects with an explicit next
pointer, and add the VEC3 add helper used by calc_board_object. 93/94
functions now match; appendRecord still differs because the original
keeps the interrupt state on the stack.
Ported from agent/continue0923/src_scene_board_iplboard without its
string-pool and volatile workarounds.
* feat: improve iplChannelSelect matching
Build the constructor with an initializer list, specialize
HermiteIntp<VEC3>::get and HermiteIntp<f32>::get in the forms this unit
inlines, keep only the three zoom frames setChanZoomOrtho reads, compute
the drag delta as a VEC2 with an explicit zero-speed branch, and give
setChannelScissor its ortho bounds as named locals. 101/102 functions
now match.
Ported from agent/continue0923/src_scene_channelselect_iplchannelselect
without its IPL_CHANNEL_TITLE_NOVTABLE define, hand-placed lbl_ data,
volatile constant loads or register keywords.
NCDiGetWirelessMacAddress is global in the original (net/wireless_macaddr.c
calls it), and the two .sbss statics are defined in reverse so MWCC emits
ncdInitialized first.
* feat: match CDBAttr unit
Make CDBAttrGetDescOffset static and fold the IV generation into
CDBAttrInitIV with a function-local seed, then link the unit.
Salvaged from agent/hard0928/clibs.
* feat: match CDBSystem unit
Implement the database and record pool functions, give the CDB work
buffer pointer a real name (shared with CDBDatabase), size s_mutex as a
plain OSMutex, and link the unit.
Salvaged from agent/hard0928/clibs.
* feat: match VF develop nand_drv unit
Make the NAND write/seek/create/delete wrappers inline so they fold into
_CreatePrfFile, test the override callbacks directly, fix the order of
the retry and sleep globals, size l_nandFunc without the trailing
padding, and link the unit. _MountPrfFile stays the existing asm.
Salvaged from agent/hard0928/clibs and
agent/continue0923/libs_revoex_src_vf_develop_nand_drv.
* feat: match iplGraphics unit
Compute the ortho projection bounds in the original order, size
Graphics::mArg without the trailing .bss padding, and link the unit.
Salvaged from agent/continue0923/src_utility_iplgraphics (without its
struct padding member).
* feat: complete RFL_NANDAccess data
Inline the NAND command block helpers so they no longer leave extab
entries, bringing extabindex to 100%.
Salvaged from agent/continue0924/rfl-nandaccess-data.
* feat: add eZiText zkokeyp source
Decompile the Korean keypad candidate functions. The unit stays
NonMatching: Zi8_81483118 matches exactly and the rest differ only by
register allocation or larger control-flow differences.
Salvaged from agent/hard0928/clibs.
Use string literals instead of hand-placed pool arrays so sendToPC addresses the pool base, emit calcFadeout before onEventDerived, and force-active the NigaoeEventObserver vtable that the original link keeps.
Fix the cancelStateFocusIn case label, declare the toolbar Sample class
with its inline constructors so the LayoutByNW4R thunks are emitted in
the original order, relabel the unit's data, and point the two
one-past-the-end csPaneToAnimation entries at csAninationFile+0x1DC.
Name the HBMAllocMem result so create's pane manager web colors like the original, replace the lbl_ float externs with literals, move the unused HomeButton int constants to in-class initializers, and emit calc_battery before calc_letter. HBMBase.cpp is now Matching.
Define AnmController before the gui classes in this unit so its weak
vtable is emitted last, name the unit's .data literals as
compiler-generated symbols, and link the unit.
Rewrite LinearIntp<VEC3>::get so the add goes through a separate
temporary, name the unit's .data literals as compiler-generated
symbols so objdiff pairs them by value, and link the unit.
* fix: restore MSL extab flags and force-active stripped symbols
* fix: limit ChannelTitle novtable header changes to IPL_CHANNEL_TITLE_NOVTABLE
PR #182 made gui::EventHandler novtable and rewrote HermiteIntp for every
unit, which dropped __vt__Q23gui12EventHandler from linked scene units and
moved EventHandler::onEvent. Restore the pre-#182 definitions unless the
macro is defined.
* fix: restore u16 addrType in cdb::Manager::createNewRecord
The original symbol takes u16 (mangled UsUs); the enum parameter made
createNewRecord 4 bytes longer. Match the caller in iplNwc24Manager with a
u16 local assigned through if/else.
* fix: emit TVRC loop handlers after TVRCSendStartAsync
The original object places both alarm handlers at the end of .text.
* fix: construct scene::Date::mscMaxDate with utility::Date
The MaxDate wrapper emitted a weak MaxDate ctor that the original does
not have, shifting .text by 0x10 after iplDate. Go back to a plain
utility::Date followed by the 0x10-byte padding array.
* fix: define textinput PaneComponent dtor after PaneManager dtor
Matches the original object's function order, which also pulls the weak
GUIComponent dtor into place.
* fix: define EGG audio Arg and SoundHeapMgr ctors out of line
Emits IAudioMgr::Arg::Arg first and SoundHeapMgr's weak dtor ahead of its
ctor, matching the original eggAudioMgr function order.
* fix: define WaveFile dtors in AudioWavePlayer after the ctor
The original emits WavePacket's weak dtor first, then the WaveFileAiff and
WaveFileWav dtors. Declaring the dtors after getBit keeps the vtables in
AudioWaveUtility.
* fix: restore fork-point iplCSMtx string pooling
Moving "MTX34" into a static const array put it in .sdata2 and left the
pooled .sdata copy to be dead-stripped, shifting both sections.
* fix: share tiGUIManager's named 0.0f constant
drawLine_ and PaneComponent::contain now load lbl_81694EE8, as in the
original, instead of emitting their own 0.0f ahead of it in .sdata2.
* fix: force-active unreferenced iplDate and WDScan data
MWLD dead-strips scene::padding (the 0x10 bytes after Date::mscMaxDate)
and the unreferenced WDScan .sdata2 bytes lbl_81695063/lbl_81695067,
which shifted .bss and .sdata2.
* fix: unlink eggAudioExpMgr
MWCC emits the @52 calc thunk ahead of the @52 dtor thunk, but the
original has them the other way round, which swaps two vtable entries.
Link the original object until the order is matched.
* fix: shrink Calendar .data padding now that EventHandler has a vtable
With gui::EventHandler no longer novtable, its 0x18-byte vtable fills most
of the gap after __vt__Q33ipl5scene8Calendar; keep one 4-byte pad.