Skip to content

Instantly share code, notes, and snippets.

@takahirom
Created October 17, 2021 08:31
Show Gist options
  • Save takahirom/96416bb5e4ef4cd527c77c4bdc8a620f to your computer and use it in GitHub Desktop.
Save takahirom/96416bb5e4ef4cd527c77c4bdc8a620f to your computer and use it in GitHub Desktop.
@Composable
private static final void Node2(final String name, Composer $composer, final int $changed, final int var3) {
$composer = $composer.startRestartGroup(1815931962);
int $dirty = $changed;
if ((var3 & 1) != 0) {
$dirty = $changed | 6;
} else if (($changed & 14) == 0) {
// ↓ where it is compared to the contents of the SlotTable.
$dirty = $changed | ($composer.changed(name) ? 4 : 2);
}
if (($dirty & 11 ^ 2) == 0 && $composer.getSkipping()) {
// It goes in here, so the original process is not executed!
$composer.skipToGroupEnd();
} else {
...
$composer.startReplaceableGroup(1546164276);
// ... Here's the original process.
$composer.endReplaceableGroup();
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment