getModuleFromScope method

int getModuleFromScope(
  1. Pointer<Uint32> pmd
)

Implementation

int getModuleFromScope(Pointer<Uint32> pmd) => (ptr.ref.vtable + 11)
    .cast<
        Pointer<
            NativeFunction<Int32 Function(Pointer, Pointer<Uint32> pmd)>>>()
    .value
    .asFunction<
        int Function(Pointer, Pointer<Uint32> pmd)>()(ptr.ref.lpVtbl, pmd);