More Festival stuff
[StructLayout(LayoutKind.Explicit, Size = 0x58D0)]
public unsafe partial struct GameMain {
+ [FieldOffset(0x0)]
+ public fixed uint ActiveFestivals[4];
+
+ [FieldOffset(0x40)]
+ public fixed uint QueuedFestivals[4];
[StaticAddress("48 8D 0D ?? ?? ?? ?? 38 05", 3)]
public static partial GameMain* Instance();
@@ -18,4 +23,9 @@ public unsafe partial struct GameMain {
[MemberFunction("E8 ?? ?? ?? ?? 84 C0 75 21 48 8B 4F 10")]
public static partial bool IsInSanctuary();
+ [MemberFunction("E8 ?? ?? ?? ?? E9 08 29 00 00")]
+ public partial void QueueActiveFestivals(uint festival1, uint festival2, uint festival3, uint festival4); // Applies once the current "event" is done (GPose, Cutscene etc)
+
+ [MemberFunction("E8 ?? ?? ?? ?? 80 63 50 FE")]
+ public partial void SetActiveFestivals(uint festival1, uint festival2, uint festival3, uint festival4); // Applies immediately regardless of client state
}
\ No newline at end of file
