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

Function SeeTypeToString

Il2cppHook/_Ufunc.js:8512–8524  ·  view source on GitHub ↗
(obj, b)

Source from the content-addressed store, hash-verified

8510};
8511exports.getFunctionAddrFromCls = getFunctionAddrFromCls;
8512const SeeTypeToString = (obj, b) => {
8513 if (typeof obj == "number")
8514 obj = ptr(obj);
8515 if (obj == undefined || obj == ptr(0))
8516 return;
8517 let s_type = callFunction(find_method("UnityEngine.CoreModule", "Object", "ToString", 0), obj);
8518 if (b == undefined) {
8519 LOG(readU16(s_type));
8520 }
8521 else {
8522 return readU16(s_type);
8523 }
8524};
8525exports.SeeTypeToString = SeeTypeToString;
8526const getJclassName = (jclsName, ShouldRet) => {
8527 ShouldRet == undefined ? false : true;

Callers

nothing calls this directly

Calls 3

callFunctionFunction · 0.70
LOGFunction · 0.70
readU16Function · 0.70

Tested by

no test coverage detected