Skip to content

Add liveness.cpp/hpp logic and force offset resolution to be done early - #26

Merged
sc2ad merged 1 commit into
masterfrom
liveness-force-include
Aug 28, 2026
Merged

sc2ad merged 1 commit into
masterfrom
liveness-force-include

Conversation

@sc2ad

@sc2ad sc2ad commented Aug 25, 2026

Copy link
Copy Markdown

We do this by forcibly including the il2cpp source directly. This required some hackiness to get around the bs-hook typedefs.h issues, but ultimately this should be an improvement, since that source is relatively stable across Unity updates so far.

This should also help prevent many of spurious liveness issues that were plaguing people in the past.

Atomic logic and HasParentUnsafe logic taken from: #24

@sc2ad
sc2ad force-pushed the liveness-force-include branch 2 times, most recently from 348c4e0 to 0d92580 Compare August 25, 2026 08:48
We do this by forcibly including the il2cpp source directly. This required some hackiness to get around the bs-hook typedefs.h issues,
but ultimately this should be an improvement, since that source is relatively stable across Unity updates so far.

This should also help prevent many of spurious liveness issues that were plaguing people in the past.

Atomic logic and HasParentUnsafe logic taken from: #24
@sc2ad
sc2ad force-pushed the liveness-force-include branch from 0d92580 to dd73f22 Compare August 28, 2026 00:27
@sc2ad
sc2ad merged commit 1d22d35 into master Aug 28, 2026
1 check passed
@sc2ad
sc2ad deleted the liveness-force-include branch August 28, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant