GetCategory method

int GetCategory(
  1. Pointer<Int32> pCategory
)

Implementation

int GetCategory(Pointer<Int32> pCategory) => ptr.ref.vtable
        .elementAt(18)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Int32> pCategory)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Int32> pCategory)>()(
    ptr.ref.lpVtbl, pCategory);