CSPspEmu.Hle.Formats.audio.At3.MaiAT3PlusCoreDecoder.MAPCDSF_calcACCTableTableUnk3ByLastValue C# (CSharp) Method

MAPCDSF_calcACCTableTableUnk3ByLastValue() static private method

static private MAPCDSF_calcACCTableTableUnk3ByLastValue ( MaiAT3PlusCoreDecoderChnACCTableTable table, MaiBitReader mbr0 ) : int
table MaiAT3PlusCoreDecoderChnACCTableTable
mbr0 CSPspEmu.Hle.Formats.audio.At3.SUB.MaiBitReader
return int
        static int MAPCDSF_calcACCTableTableUnk3ByLastValue(MaiAT3PlusCoreDecoderChnACCTableTable table, MaiBitReader mbr0)
        {
            int rs = 0;

            for (int a0 = 0; a0 < (int)table.num_uk; a0++)
            {
                if (0 == a0)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0xA);
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x200)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0xA);
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x300)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x9) + 0x200;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x380)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x8) + 0x300;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x3C0)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x7) + 0x380;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x3E0)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x6) + 0x3C0;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x3F0)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x5) + 0x3E0;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x3F8)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x4) + 0x3F0;
                }
                else if ( table.ptr0[a0 - 1].unk3 < 0x3FC)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x3) + 0x3F8;
                }
                else if (table.ptr0[a0 - 1].unk3 < 0x3FE)
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x2) + 0x3FC;
                }
                else
                {
                    table.ptr0[a0].unk3 = mbr0.getWithI32Buffer(0x1) + 0x3FE;
                }
            }

            return rs;
        }
MaiAT3PlusCoreDecoder