MCPcopy Create free account
hub / github.com/axhlzy/FridaDebugger / formatObjectSummary

Function formatObjectSummary

agent/unity-fields.ts:195–203  ·  view source on GitHub ↗
(object: Il2Cpp.Object)

Source from the content-addressed store, hash-verified

193}
194
195function formatObjectSummary(object: Il2Cpp.Object): string {
196 const className = getClassName(object.class);
197 const text = sanitizeText(object.toString());
198 if (text.length === 0 || text === "null") {
199 return colorize(`& ${className}`, "gray");
200 }
201
202 return colorize(`& ${className}: ${text}`, "gray");
203}
204
205function tryAsArray(object: Il2Cpp.Object): Il2Cpp.Array | null {
206 try {

Callers 2

logIl2CppFieldsFunction · 0.85
formatFieldValueFunction · 0.85

Calls 3

getClassNameFunction · 0.85
sanitizeTextFunction · 0.85
colorizeFunction · 0.85

Tested by

no test coverage detected