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

MAPCDSF_decodeACC6Inner0_Route0() static private method

static private MAPCDSF_decodeACC6Inner0_Route0 ( MaiBitReader mbr0, MaiAT3PlusCoreDecoderChnInfo chn_info ) : int
mbr0 CSPspEmu.Hle.Formats.audio.At3.SUB.MaiBitReader
chn_info MaiAT3PlusCoreDecoderChnInfo
return int
        static int MAPCDSF_decodeACC6Inner0_Route0(MaiBitReader mbr0, MaiAT3PlusCoreDecoderChnInfo chn_info)
        {
            int rs = 0;

            for (uint a0 = 0; a0 < (uint)chn_info.acc_table_now.inner.unk2; a0++)
            {
                if (chn_info.inner_pack_table0_check_table[a0] != 0)
                {
                    chn_info.acc_table_now.table[a0].unk[4] =  mbr0.getWithI32Buffer(1);
                    if (chn_info.acc_table_now.table[a0].unk[4] != 0)
                    {
                        chn_info.acc_table_now.table[a0].unk[6] =  mbr0.getWithI32Buffer(5);
                    }
                    else
                    {
                        chn_info.acc_table_now.table[a0].unk[6] = -1;
                    }

                    chn_info.acc_table_now.table[a0].unk[5] = mbr0.getWithI32Buffer(1);

                    if (chn_info.acc_table_now.table[a0].unk[5] != 0)
                    {
                        chn_info.acc_table_now.table[a0].unk[7] = mbr0.getWithI32Buffer(5);
                    }
                    else
                    {
                        chn_info.acc_table_now.table[a0].unk[7] = 0x20;
                    }
                }
            }

            return rs;
        }
MaiAT3PlusCoreDecoder