MCPcopy Create free account
hub / github.com/GrowthEase/GameSentry / ref

Method ref

lib/component/agent/structs/object.js:46–48  ·  view source on GitHub ↗

Creates a reference to this object.

(pin)

Source from the content-addressed store, hash-verified

44 }
45 /** Creates a reference to this object. */
46 ref(pin) {
47 return new Il2Cpp.GC.Handle(Il2Cpp.Api._gcHandleNew(this, +pin));
48 }
49 /** Gets the correct virtual method from the given virtual method. */
50 virtualMethod(method) {
51 return new Il2Cpp.Method(Il2Cpp.Api._objectGetVirtualMethod(this, method)).withHolder(this);

Callers

nothing calls this directly

Calls 1

_gcHandleNewMethod · 0.80

Tested by

no test coverage detected