LSPosed/core
JingMatrix ea71745430 Implement constructor invocation APIs in LSPosedContext (#533)
Unlike the existing `newInstance` variants which allocate and return a new object, these new APIs execute constructor logic on an existing, pre-allocated instance (`thisObject`). This separation of allocation and initialization allows for invoking original or super constructors within hook callbacks where the object reference is already established.

The implementation leverages the existing JNI `HookBridge` methods, as `invokeOriginalMethod` and `invokeSpecialMethod` already support void-return signatures required for constructor execution.

Co-authored-by: frknkrc44 <krc440002@gmail.com>
2026-02-14 16:02:02 +01:00
..
src/main Implement constructor invocation APIs in LSPosedContext (#533) 2026-02-14 16:02:02 +01:00
.gitignore Stablize CMake arguments (#2266) 2022-12-03 06:41:54 +00:00
build.gradle.kts Centralize dependencies and migrate to submodules (#512) 2026-01-22 15:13:06 +01:00
proguard-rules.pro Fix proguard rules 2024-08-31 02:43:25 +02:00