SWFProcessing.SWFModeller.SWFReader.ReadDoABC C# (CSharp) Method

ReadDoABC() private method

private ReadDoABC ( uint followingOffset ) : void
followingOffset uint
return void
        private void ReadDoABC(uint followingOffset)
        {
            this.doAbcCount++;
            bool lazyInit = (this.sdtr.ReadUI32() & ABCValues.AbcFlagLazyInitialize) != 0;
            string name = this.sdtr.ReadString();
            byte[] bytecode = this.sdtr.ReadByteBlock((int)(followingOffset - this.sdtr.Offset));
            #if DEBUG
            this.Log("lazyInit=" + lazyInit + ", name=" + name + ", bytelen=" + bytecode.Length);
            if (this.abcInterceptor != null)
            {
                this.abcInterceptor.OnLoadAbc(lazyInit, this.swf.Context, name, doAbcCount, bytecode);
            }
            #endif
            this.swf.AddScript(new DoABC(lazyInit, name, bytecode, null));
        }