namespace XFEEDToolBox.Core.Navigation; /// Pinned original read-only predicate and completed-cache zero-effect domain. public static class ScoOriginalEffectQualification { // Complete 22EBC40, including the false-path ret (44 bytes). public static ReadOnlySpan ExternalPredicateCode=>[0x80,0xB9,0x99,0x01,0,0,0,0x74,0x20,0x80,0xB9,0x98,0x01,0,0,0,0x74,0x17, 0x48,0x83,0xB9,0x98,0,0,0,0,0x74,0x0D,0x48,0x83,0xB9,0x90,0,0,0,0,0x74,3,0xB0,1,0xC3,0x32,0xC0,0xC3]; public static bool ExternalEnabled(bool flag199,bool flag198,bool pointer98,bool pointer90)=>flag199&&flag198&&pointer98&&pointer90; public static bool TargetCacheHasZeroEffect(double weight,double x,double y,double z) =>double.IsFinite(weight)&&weight is >=0 and <=1&&double.IsFinite(x)&&double.IsFinite(y)&&double.IsFinite(z) &&(weight==0||x==0&&y==0&&z==0); public static bool FreshCompletedOutput(ulong entity,ulong world,ulong expectedEntity,ulong expectedWorld,uint thread,uint expectedThread, ulong at,ulong now,ulong step,double dt)=>entity!=0&&world!=0&&entity==expectedEntity&&world==expectedWorld&&thread!=0&&thread==expectedThread &&step>0&&at<=now&&double.IsFinite(dt)&&dt is >0 and <=.025 &&now-at<=Math.Min(25,Math.Ceiling(dt*2000)+1); }