Restore the Mac UpdateSequenceMode unit/frame inputs and integer status return
Ghidra vmac 105 · 3bccb89
Mac 0019034f consumes a unit in ECX and its previous fixed-point sequence frame in EDX. Its complete101-byte body forwards that frame unchanged to SequenceInfo's third stack argument, updates unit mode/frame/action fields from four outputs, then CMP/SETNZ/MOVZX returns fullEAX0/1 for a mode change. Both incoming callers are proven: InitializeSequence supplies unit/0; AdvanceAnimFrame supplies unit/old nSeqFrame and tests fullEAX. No incoming stack arguments; plainRET and savedEBX/EDI/ESI establish the Mac fastcc register contract. The frame consumer's original SAR by8 establishes signed interpretation, independent of pending pointer-type metadata. Preserve the chosen function name and restore int32 result and two named inputs. Win80-byte structural twin and both original callers verified; its existing unsigned frame formal is left unchanged. No caller, field, pending helper or runtime change.
Changes 1, applied together
Set prototype
mac 0x0019034fsignatureundefined UpdateSequenceMode(void)→int32_t UpdateSequenceMode(D2UnitStrc * pUnit, int32_t nPrevSeqFrame)conventionunknown→__fastcc