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

Method alloc

Il2cppHook/_Ufunc.js:10591–10593  ·  view source on GitHub ↗

Allocates the given amount of bytes.

(size = Process.pointerSize)

Source from the content-addressed store, hash-verified

10589 }
10590 /** Allocates the given amount of bytes. */
10591 static alloc(size = Process.pointerSize) {
10592 return Il2Cpp.Api._alloc(size);
10593 }
10594 /** Dumps the application. */
10595 static dump(fileName, path) {
10596 fileName = fileName ?? `${Il2Cpp.applicationIdentifier ?? "unknown"}_${Il2Cpp.applicationVersion ?? "unknown"}.cs`;

Callers 15

allocPFunction · 0.45
_Ufunc.jsFile · 0.45
attachedThreadsMethod · 0.45
newMethod · 0.45
assembliesMethod · 0.45
valueMethod · 0.45
reallocMethod · 0.45
implementationFlagsMethod · 0.45
toMethod · 0.45
scheduleMethod · 0.45
arrayToValueTypeFunction · 0.45
nativeIteratorFunction · 0.45

Calls 1

_allocMethod · 0.80

Tested by

no test coverage detected