(...args)
| 133 | set implementation(block) { |
| 134 | const startIndex = +!this.isStatic | +Il2Cpp.unityVersionIsBelow201830; |
| 135 | const callback = (...args) => { |
| 136 | const parameters = this.parameters.map((e, i) => utils_2.fromFridaValue(args[i + startIndex], e.type)); |
| 137 | return utils_2.toFridaValue(block.call(this.isStatic ? this.class : new Il2Cpp.Object(args[0]), ...parameters)); |
| 138 | }; |
| 139 | try { |
| 140 | this.revert(); |
| 141 | Interceptor.replace(this.virtualAddress, new NativeCallback(callback, this.returnType.fridaAlias, this.fridaSignature)); |
nothing calls this directly
no outgoing calls
no test coverage detected