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

Function allocCStr

Il2cppHook/_Ufunc.js:8134–8134  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

8132const enum_1 = require("../base/enum");
8133const allocStrInner = (str, type = enum_1.TYPE_STR.C_STR) => type == enum_1.TYPE_STR.C_STR ? Memory.allocUtf8String(str) : Il2Cpp.Api._stringNew(Memory.allocUtf8String(str));
8134const allocCStr = (str) => allocStrInner(str, enum_1.TYPE_STR.C_STR);
8135exports.allocCStr = allocCStr;
8136const allocUStr = (str) => allocStrInner(str, enum_1.TYPE_STR.U_STR);
8137exports.allocUStr = allocUStr;

Callers 15

getFileLenthFunction · 0.70
InvokeRepeatingMethod · 0.70
InvokeMethod · 0.70
IsInvoking_methodNameMethod · 0.70
DeleteKeyMethod · 0.70
GetFloatMethod · 0.70
GetFloat_2Method · 0.70
GetIntMethod · 0.70

Calls 1

allocStrInnerFunction · 0.70

Tested by

no test coverage detected