Beispiel #1
0
        public int UpdateSound3D(ref int arg, zStruct.zTSound3DParams param)
        {
            IntPtr arg1 = Process.Alloc(4);

            Process.Write(arg, arg1.ToInt32());
            int rArg = Process.THISCALL <IntArg>((uint)Address, (int)FuncOffsets.UpdateSound3D, new CallValue[] { (IntArg)arg1.ToInt32(), param });


            Process.Free(arg1, 4);

            return(rArg);
        }
Beispiel #2
0
 public int PlaySound3D(zCSoundFX sound, zCVob vob, int arg, zStruct.zTSound3DParams param)
 {
     return(Process.THISCALL <IntArg>((uint)Address, (int)FuncOffsets.PlaySound3D, new CallValue[] { sound, vob, (IntArg)arg, param }));
 }