(obj, b)
| 8510 | }; |
| 8511 | exports.getFunctionAddrFromCls = getFunctionAddrFromCls; |
| 8512 | const 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 | }; |
| 8525 | exports.SeeTypeToString = SeeTypeToString; |
| 8526 | const getJclassName = (jclsName, ShouldRet) => { |
| 8527 | ShouldRet == undefined ? false : true; |
nothing calls this directly
no test coverage detected