decomp: finish orbit-plat and sage-finalboss (#1039)

* decomp: finish `orbit-plat` and waiting on `sage-finalboss` inconsistency for gsrc

* decomp: finish `sage-finalboss` except the relocate method

* decomp: add fix to finish `sage-finalboss`

* update formatting in unrelated files
This commit is contained in:
Tyler Wilding
2022-01-04 23:10:53 -05:00
committed by GitHub
parent c35ab4a223
commit a75ecf176e
26 changed files with 5013 additions and 969 deletions
@@ -4881,6 +4881,8 @@ void ArrayFieldAccess::update_with_val(Form* new_val,
{reg0_matcher, Matcher::integer(m_expected_stride)});
mult_matcher = Matcher::match_or({Matcher::cast("uint", mult_matcher), mult_matcher});
auto matcher = Matcher::fixed_op(FixedOperatorKind::ADDITION, {mult_matcher, reg1_matcher});
matcher = Matcher::match_or({matcher, Matcher::fixed_op(FixedOperatorKind::ADDITION_PTR,
{reg1_matcher, mult_matcher})});
auto match_result = match(matcher, new_val);
Form* idx = nullptr;
Form* base = nullptr;