public int m000014(c00000d.c00000f p0, int p1) { int num; p1 = Math.Min(Math.Min(p1, 0x8000 - this.f00000f), p0.m000010()); int num2 = 0x8000 - this.f00000b; if (p1 > num2) { num = p0.m00000d(this.f000008, this.f00000b, num2); if (num == num2) { num += p0.m00000d(this.f000008, 0, p1 - num2); } } else { num = p0.m00000d(this.f000008, this.f00000b, p1); } this.f00000b = (this.f00000b + num) & 0x7fff; this.f00000f += num; return num; }