(mPtr, retValue = ptr(0))
| 1940 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 1941 | exports.setFunctionBool = exports.setFunctionValue = void 0; |
| 1942 | let setFunctionValue = (mPtr, retValue = ptr(0)) => { |
| 1943 | let srcPtr = mPtr; |
| 1944 | mPtr = checkCmdInput(mPtr); |
| 1945 | retValue = checkCmdInput(retValue); |
| 1946 | mPtr = checkPointer(mPtr); |
| 1947 | Interceptor.attach(mPtr, { |
| 1948 | onLeave: (retval) => { |
| 1949 | LOGW(`setFunctionValue | ${ptr(srcPtr)} | ret => { ${retval} -> ${retValue} } `); |
| 1950 | retval.replace(retValue); |
| 1951 | } |
| 1952 | }); |
| 1953 | }; |
| 1954 | exports.setFunctionValue = setFunctionValue; |
| 1955 | const setFunctionBool = (mPtr, retval = false) => (0, exports.setFunctionValue)(mPtr, ptr(retval ? 1 : 0)); |
| 1956 | exports.setFunctionBool = setFunctionBool; |
nothing calls this directly
no test coverage detected