MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / alloc

Method alloc

Il2cppHook/_Ufunc.js:11091–11093  ·  view source on GitHub ↗

Allocates a new object of the current class.

()

Source from the content-addressed store, hash-verified

11089 }
11090 /** Allocates a new object of the current class. */
11091 alloc() {
11092 return new Il2Cpp.Object(Il2Cpp.Api._objectNew(this));
11093 }
11094 /** Gets the field identified by the given name. */
11095 field(name) {
11096 return this.tryField(name);

Callers 1

newMethod · 0.95

Calls 1

_objectNewMethod · 0.80

Tested by

no test coverage detected