Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507/* This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Darling is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Darling. If not, see <http://www.gnu.org/licenses/>.*/
#include <SceneKit/SceneKit.h>#include <stdlib.h>#include <stdio.h>
static int verbose = 0;__attribute__((constructor))static void initme(void) { verbose = getenv("STUB_VERBOSE") != NULL;}
void* const SCNAnimationCommitOnCompletion = (void*)0;void* const SCNBindingValueTransformerKey = (void*)0;void* const SCNCaptureDeviceOutputConsumerOptionContainsAlpha = (void*)0;void* const SCNConsistencyElementIDErrorKey = (void*)0;void* const SCNConsistencyElementTypeErrorKey = (void*)0;void* const SCNConsistencyLineNumberErrorKey = (void*)0;void* const SCNDataProviderAnimationTime = (void*)0;void* const SCNDataProviderCAWaitTime = (void*)0;void* const SCNDataProviderCPUIdleTime = (void*)0;void* const SCNDataProviderClientUpdateTime = (void*)0;void* const SCNDataProviderConstraintsTime = (void*)0;void* const SCNDataProviderFPS = (void*)0;void* const SCNDataProviderFrameTime = (void*)0;void* const SCNDataProviderGPUDeviceUtil = (void*)0;void* const SCNDataProviderGPURendererUtil = (void*)0;void* const SCNDataProviderGPUTilerUtil = (void*)0;void* const SCNDataProviderParticleTime = (void*)0;void* const SCNDataProviderPhysicsTime = (void*)0;void* const SCNDataProviderPrimitivesProcessed = (void*)0;void* const SCNDataProviderRenderTime = (void*)0;void* const SCNDetailedErrorsKey = (void*)0;void* const SCNErrorDomain = (void*)0;void* const SCNExportPointOfViewAttribute = (void*)0;void* const SCNExportSceneIdentifier = (void*)0;void* const SCNFreeViewCameraName = (void*)0;void* const SCNGeometrySourceSemanticBoneIndices = (void*)0;void* const SCNGeometrySourceSemanticBoneWeights = (void*)0;void* const SCNGeometrySourceSemanticColor = (void*)0;void* const SCNGeometrySourceSemanticEdgeCrease = (void*)0;void* const SCNGeometrySourceSemanticNormal = (void*)0;void* const SCNGeometrySourceSemanticTangent = (void*)0;void* const SCNGeometrySourceSemanticTexcoord = (void*)0;void* const SCNGeometrySourceSemanticVertex = (void*)0;void* const SCNGeometrySourceSemanticVertexCrease = (void*)0;void* const SCNHitTestAllLayers = (void*)0;void* const SCNHitTestBackFaceCullingKey = (void*)0;void* const SCNHitTestBoundingBoxOnlyKey = (void*)0;void* const SCNHitTestCategoryBitMaskKey = (void*)0;void* const SCNHitTestClipToZRangeKey = (void*)0;void* const SCNHitTestFirstFoundOnlyKey = (void*)0;void* const SCNHitTestIgnoreChildNodesKey = (void*)0;void* const SCNHitTestIgnoreHiddenNodesKey = (void*)0;void* const SCNHitTestIgnoreTransparentNodesKey = (void*)0;void* const SCNHitTestLayerMaskKey = (void*)0;void* const SCNHitTestOptionCategoryBitMask = (void*)0;void* const SCNHitTestOptionIgnoreLightArea = (void*)0;void* const SCNHitTestOptionSearchMode = (void*)0;void* const SCNHitTestOptionShowDebugInfo = (void*)0;void* const SCNHitTestRootNodeKey = (void*)0;void* const SCNHitTestSearchModeKey = (void*)0;void* const SCNHitTestSortResultsKey = (void*)0;void* const SCNLightAttenuationEndKey = (void*)0;void* const SCNLightAttenuationFalloffExponentKey = (void*)0;void* const SCNLightAttenuationStartKey = (void*)0;void* const SCNLightConstantAttenuationKey = (void*)0;void* const SCNLightFallOffAngleKey = (void*)0;void* const SCNLightFallOffExponentKey = (void*)0;void* const SCNLightGoboProjectShadows = (void*)0;void* const SCNLightHotspotBeamKey = (void*)0;void* const SCNLightLinearAttenuationKey = (void*)0;void* const SCNLightQuadraticAttenuationKey = (void*)0;void* const SCNLightShadowFarClippingKey = (void*)0;void* const SCNLightShadowNearClippingKey = (void*)0;void* const SCNLightSpotFalloffExponentKey = (void*)0;void* const SCNLightSpotInnerAngleKey = (void*)0;void* const SCNLightSpotOuterAngleKey = (void*)0;void* const SCNLightTypeAmbient = (void*)0;void* const SCNLightTypeArea = (void*)0;void* const SCNLightTypeDirectional = (void*)0;void* const SCNLightTypeIES = (void*)0;void* const SCNLightTypeOmni = (void*)0;void* const SCNLightTypeProbe = (void*)0;void* const SCNLightTypeSpot = (void*)0;void* const SCNLightingModelBlinn = (void*)0;void* const SCNLightingModelConstant = (void*)0;void* const SCNLightingModelLambert = (void*)0;void* const SCNLightingModelNone = (void*)0;void* const SCNLightingModelPhong = (void*)0;void* const SCNLightingModelPhysicallyBased = (void*)0;void* const SCNLightingModelShadowOnly = (void*)0;void* const SCNMatrix4Identity = (void*)0;void* const SCNModelTransform = (void*)0;void* const SCNModelViewProjectionTransform = (void*)0;void* const SCNModelViewTransform = (void*)0;void* const SCNNormalTransform = (void*)0;void* const SCNParticlePropertyAngle = (void*)0;void* const SCNParticlePropertyAngularVelocity = (void*)0;void* const SCNParticlePropertyBounce = (void*)0;void* const SCNParticlePropertyCharge = (void*)0;void* const SCNParticlePropertyColor = (void*)0;void* const SCNParticlePropertyContactNormal = (void*)0;void* const SCNParticlePropertyContactPoint = (void*)0;void* const SCNParticlePropertyFrame = (void*)0;void* const SCNParticlePropertyFrameRate = (void*)0;void* const SCNParticlePropertyFriction = (void*)0;void* const SCNParticlePropertyLife = (void*)0;void* const SCNParticlePropertyOpacity = (void*)0;void* const SCNParticlePropertyPosition = (void*)0;void* const SCNParticlePropertyRotationAxis = (void*)0;void* const SCNParticlePropertySize = (void*)0;void* const SCNParticlePropertyVelocity = (void*)0;void* const SCNPhysicsShapeCollisionMarginKey = (void*)0;void* const SCNPhysicsShapeKeepAsCompoundKey = (void*)0;void* const SCNPhysicsShapeOptionCollisionMargin = (void*)0;void* const SCNPhysicsShapeScaleKey = (void*)0;void* const SCNPhysicsShapeTypeBoundingBox = (void*)0;void* const SCNPhysicsShapeTypeConcavePolyhedron = (void*)0;void* const SCNPhysicsShapeTypeConvexHull = (void*)0;void* const SCNPhysicsShapeTypeKey = (void*)0;void* const SCNPhysicsTestBackfaceCullingKey = (void*)0;void* const SCNPhysicsTestCollisionBitMaskKey = (void*)0;void* const SCNPhysicsTestSearchModeAll = (void*)0;void* const SCNPhysicsTestSearchModeAny = (void*)0;void* const SCNPhysicsTestSearchModeClosest = (void*)0;void* const SCNPhysicsTestSearchModeKey = (void*)0;void* const SCNPreferLowPowerDeviceKey = (void*)0;void* const SCNPreferredDeviceKey = (void*)0;void* const SCNPreferredRenderingAPIKey = (void*)0;void* const SCNPrimitiveCapSegments = (void*)0;void* const SCNPrimitiveChamferSegments = (void*)0;void* const SCNPrimitiveGenerateMappingCoordinates = (void*)0;void* const SCNPrimitiveHeightSegments = (void*)0;void* const SCNPrimitiveLengthSegments = (void*)0;void* const SCNPrimitivePipeSegments = (void*)0;void* const SCNPrimitiveRingSegments = (void*)0;void* const SCNPrimitiveRotationSegments = (void*)0;void* const SCNPrimitiveSphereSegments = (void*)0;void* const SCNPrimitiveSphereType = (void*)0;void* const SCNPrimitiveTypeGeosphere = (void*)0;void* const SCNPrimitiveTypeSphere = (void*)0;void* const SCNPrimitiveVertexTransformation = (void*)0;void* const SCNPrimitiveWidthSegments = (void*)0;void* const SCNProgramMappingChannelKey = (void*)0;void* const SCNProjectionTransform = (void*)0;void* const SCNRenderPassName = (void*)0;void* const SCNRendererOffscreenSampleCount = (void*)0;void* const SCNSceneEndTimeAttributeKey = (void*)0;void* const SCNSceneExportCompressGeometryElements = (void*)0;void* const SCNSceneExportCompressMorphTargets = (void*)0;void* const SCNSceneExportDestinationURL = (void*)0;void* const SCNSceneExportEmbedImages = (void*)0;void* const SCNSceneExportEmbedReferences = (void*)0;void* const SCNSceneExportPresentationTree = (void*)0;void* const SCNSceneExportUTIKey = (void*)0;void* const SCNSceneFrameRateAttributeKey = (void*)0;void* SCNSceneKitVersionNumber = (void*)0;void* const SCNSceneSourceAdjustInvalidCameraClippingPlanesKey = (void*)0;void* const SCNSceneSourceAnimationImportPolicyDoNotPlay = (void*)0;void* const SCNSceneSourceAnimationImportPolicyKey = (void*)0;void* const SCNSceneSourceAnimationImportPolicyPlay = (void*)0;void* const SCNSceneSourceAnimationImportPolicyPlayRepeatedly = (void*)0;void* const SCNSceneSourceAnimationImportPolicyPlayUsingSceneTimeBase = (void*)0;void* const SCNSceneSourceAnimationLoadingModeKey = (void*)0;void* const SCNSceneSourceAnimationLoadingModePlayUsingSceneTime = (void*)0;void* const SCNSceneSourceAssetAuthorKey = (void*)0;void* const SCNSceneSourceAssetAuthoringToolKey = (void*)0;void* const SCNSceneSourceAssetContributorsKey = (void*)0;void* const SCNSceneSourceAssetCreatedDateKey = (void*)0;void* const SCNSceneSourceAssetDirectoryURLsKey = (void*)0;void* const SCNSceneSourceAssetModifiedDateKey = (void*)0;void* const SCNSceneSourceAssetUnitKey = (void*)0;void* const SCNSceneSourceAssetUnitMeterKey = (void*)0;void* const SCNSceneSourceAssetUnitNameKey = (void*)0;void* const SCNSceneSourceAssetUpAxisKey = (void*)0;void* const SCNSceneSourceCheckConsistencyKey = (void*)0;void* const SCNSceneSourceConvertToYUpIfNeededKey = (void*)0;void* const SCNSceneSourceConvertToYUpKey = (void*)0;void* const SCNSceneSourceConvertUnitsToMetersKey = (void*)0;void* const SCNSceneSourceCreateCameraIfAbsentKey = (void*)0;void* const SCNSceneSourceCreateLightIfAbsentKey = (void*)0;void* const SCNSceneSourceCreateNormalsIfAbsentKey = (void*)0;void* const SCNSceneSourceDocumentDestinationURL = (void*)0;void* const SCNSceneSourceFlattenSceneKey = (void*)0;void* const SCNSceneSourceForceInProcess = (void*)0;void* const SCNSceneSourceForceMorphNormals = (void*)0;void* const SCNSceneSourceFormat = (void*)0;void* const SCNSceneSourceFormatC3D = (void*)0;void* const SCNSceneSourceFormatCOLLADA = (void*)0;void* const SCNSceneSourceFormatHint = (void*)0;void* const SCNSceneSourceFormatOBJ = (void*)0;void* const SCNSceneSourceFormatSCN = (void*)0;void* const SCNSceneSourceGeometryMemoryUsageKey = (void*)0;void* const SCNSceneSourceInputSource = (void*)0;void* const SCNSceneSourceLoadTexturesInCPUMemory = (void*)0;void* const SCNSceneSourceLoadingOptionPreserveOriginalTopology = (void*)0;void* const SCNSceneSourceOverrideAssetURLsKey = (void*)0;void* const SCNSceneSourceSceneIndexKey = (void*)0;void* const SCNSceneSourceShouldCacheKey = (void*)0;void* const SCNSceneSourceSkipConsistencyCheckKey = (void*)0;void* const SCNSceneSourceStrictConformanceKey = (void*)0;void* const SCNSceneSourceTextureMemoryUsageKey = (void*)0;void* const SCNSceneSourceUseModelIOToLoadDAEFiles = (void*)0;void* const SCNSceneSourceUseSafeModeKey = (void*)0;void* const SCNSceneSourceVerboseMode = (void*)0;void* const SCNSceneStartTimeAttributeKey = (void*)0;void* const SCNSceneUpAxisAttributeKey = (void*)0;void* const SCNSceneWriteToURLShouldKeepReferencesToFilesOption = (void*)0;void* const SCNSceneWriteToURLShouldZipOption = (void*)0;void* const SCNShaderModifierEntryPointFragment = (void*)0;void* const SCNShaderModifierEntryPointGeometry = (void*)0;void* const SCNShaderModifierEntryPointLightingModel = (void*)0;void* const SCNShaderModifierEntryPointSurface = (void*)0;void* const SCNTextureOffsetXKey = (void*)0;void* const SCNTextureOffsetYKey = (void*)0;void* const SCNVector3Zero = (void*)0;void* const SCNVector4Zero = (void*)0;void* const SCNViewTransform = (void*)0;void* const _SCNShadableDidCompileNotificationName = (void*)0;void* const _SCNShadableIssuesKey = (void*)0;void* const kC3DGeometryKey = (void*)0;void* const kC3DIOSceneSourceAutoAdjustInvalidZRange = (void*)0;void* const kC3DIOSceneSourceAutoLimitMemoryForImages = (void*)0;void* const kC3DIOSceneSourceCheckConsistency = (void*)0;void* const kC3DIOSceneSourceCleanupMeshes = (void*)0;void* const kC3DIOSceneSourceFlattenScene = (void*)0;void* const kC3DIOSceneSourceInterleaveSources = (void*)0;void* const kC3DIOSceneSourceMakeSourcesCheaper = (void*)0;void* const kC3DIOSceneSourceProcessIsSandboxed = (void*)0;void* const kC3DIOSceneSourceRemoveAllLights = (void*)0;void* const kC3DIOSceneSourceRemoveColorArrays = (void*)0;void* const kC3DIOSceneSourceRemoveConstantAnimations = (void*)0;void* const kC3DIOSceneSourceSkipImagePathResolution = (void*)0;void* const kC3DIOSceneSourceSplitMeshesForGLES = (void*)0;void* const kC3DIOSceneSourceTriggerOptionsForRealtimeViewer = (void*)0;void* const kC3DIOSceneSourceUseSafeMode = (void*)0;void* const kC3DImageInitFromPath = (void*)0;void* const kC3DImageLocation = (void*)0;void* const kC3DImageRelativePath = (void*)0;void* const kC3DSceneDidUpdateNotification = (void*)0;void* const kC3DTriggerOptionsForRealtimeViewer = (void*)0;void* const kSCNAuthoringLayerIndex = (void*)0;void* const kSCNAuthoringLayerMask = (void*)0;void* const kSCNAuthoringOverlayLayerIndex = (void*)0;void* const kSCNAuthoringOverlayLayerMask = (void*)0;
void *C3DGetFileDecryptionCallbacks(void) { if (verbose) puts("STUB: C3DGetFileDecryptionCallbacks called"); return NULL;}
void *C3DIOCreateCStringFromCFString(void) { if (verbose) puts("STUB: C3DIOCreateCStringFromCFString called"); return NULL;}
void *C3DIOCreateOptionsForRealtimeViewer(void) { if (verbose) puts("STUB: C3DIOCreateOptionsForRealtimeViewer called"); return NULL;}
void *C3DImageGetAttribute(void) { if (verbose) puts("STUB: C3DImageGetAttribute called"); return NULL;}
void *C3DImageGetURL(void) { if (verbose) puts("STUB: C3DImageGetURL called"); return NULL;}
void *C3DImageSetAttribute(void) { if (verbose) puts("STUB: C3DImageSetAttribute called"); return NULL;}
void *C3DSetFileDecryptionCallbacks(void) { if (verbose) puts("STUB: C3DSetFileDecryptionCallbacks called"); return NULL;}
void *SCNDeleteMetalShaderCache(void) { if (verbose) puts("STUB: SCNDeleteMetalShaderCache called"); return NULL;}
void *SCNExportJavaScriptModule(void) { if (verbose) puts("STUB: SCNExportJavaScriptModule called"); return NULL;}
void *SCNGetExternalTextureSource(void) { if (verbose) puts("STUB: SCNGetExternalTextureSource called"); return NULL;}
void *SCNGetPerformanceStatistics(void) { if (verbose) puts("STUB: SCNGetPerformanceStatistics called"); return NULL;}
void *SCNGetResourceBundle(void) { if (verbose) puts("STUB: SCNGetResourceBundle called"); return NULL;}
void *SCNGetShaderCollectionOutputURL(void) { if (verbose) puts("STUB: SCNGetShaderCollectionOutputURL called"); return NULL;}
void *SCNHasSpecialResourceBundle(void) { if (verbose) puts("STUB: SCNHasSpecialResourceBundle called"); return NULL;}
void *SCNMatrix4EqualToMatrix4(void) { if (verbose) puts("STUB: SCNMatrix4EqualToMatrix4 called"); return NULL;}
void *SCNMatrix4FromGLKMatrix4(void) { if (verbose) puts("STUB: SCNMatrix4FromGLKMatrix4 called"); return NULL;}
void *SCNMatrix4Invert(void) { if (verbose) puts("STUB: SCNMatrix4Invert called"); return NULL;}
void *SCNMatrix4IsIdentity(void) { if (verbose) puts("STUB: SCNMatrix4IsIdentity called"); return NULL;}
void *SCNMatrix4MakeRotation(void) { if (verbose) puts("STUB: SCNMatrix4MakeRotation called"); return NULL;}
void *SCNMatrix4Mult(void) { if (verbose) puts("STUB: SCNMatrix4Mult called"); return NULL;}
void *SCNMatrix4Rotate(void) { if (verbose) puts("STUB: SCNMatrix4Rotate called"); return NULL;}
void *SCNMatrix4Scale(void) { if (verbose) puts("STUB: SCNMatrix4Scale called"); return NULL;}
void *SCNMatrix4ToGLKMatrix4(void) { if (verbose) puts("STUB: SCNMatrix4ToGLKMatrix4 called"); return NULL;}
void *SCNNodeGetBoundingSphere(void) { if (verbose) puts("STUB: SCNNodeGetBoundingSphere called"); return NULL;}
void *SCNNodesToMDLAsset(void) { if (verbose) puts("STUB: SCNNodesToMDLAsset called"); return NULL;}
void *SCNResolveImageContents(void) { if (verbose) puts("STUB: SCNResolveImageContents called"); return NULL;}
void *SCNSetExternalTextureSource(void) { if (verbose) puts("STUB: SCNSetExternalTextureSource called"); return NULL;}
void *SCNSetPerformanceStatisticsEnabled(void) { if (verbose) puts("STUB: SCNSetPerformanceStatisticsEnabled called"); return NULL;}
void *SCNSetResourceBundle(void) { if (verbose) puts("STUB: SCNSetResourceBundle called"); return NULL;}
void *SCNSetShaderCollectionEnabled(void) { if (verbose) puts("STUB: SCNSetShaderCollectionEnabled called"); return NULL;}
void *SCNTextureContentWithGLInfo(void) { if (verbose) puts("STUB: SCNTextureContentWithGLInfo called"); return NULL;}
void *SCNVector3EqualToVector3(void) { if (verbose) puts("STUB: SCNVector3EqualToVector3 called"); return NULL;}
void *SCNVector4EqualToVector4(void) { if (verbose) puts("STUB: SCNVector4EqualToVector4 called"); return NULL;}
void *SCNWriteMTLTextureToFile(void) { if (verbose) puts("STUB: SCNWriteMTLTextureToFile called"); return NULL;}
void *_SCNGetCollectedShadersForPid(void) { if (verbose) puts("STUB: _SCNGetCollectedShadersForPid called"); return NULL;}
void *_SCNGetPerformanceStatisticsForPid(void) { if (verbose) puts("STUB: _SCNGetPerformanceStatisticsForPid called"); return NULL;}
void *_SCNSetLinearRenderingEnabled(void) { if (verbose) puts("STUB: _SCNSetLinearRenderingEnabled called"); return NULL;}
void *_SCNSetShaderCacheURL(void) { if (verbose) puts("STUB: _SCNSetShaderCacheURL called"); return NULL;}
void *_SCNSetShouldPostShadableCompilationNotifications(void) { if (verbose) puts("STUB: _SCNSetShouldPostShadableCompilationNotifications called"); return NULL;}
void *_SCNShadableConvertShaderToMetalIfNeeded(void) { if (verbose) puts("STUB: _SCNShadableConvertShaderToMetalIfNeeded called"); return NULL;}
void *_SCNStartCollectingPerformanceStatisticsForPid(void) { if (verbose) puts("STUB: _SCNStartCollectingPerformanceStatisticsForPid called"); return NULL;}
void *_SCNStopCollectingPerformanceStatisticsForPid(void) { if (verbose) puts("STUB: _SCNStopCollectingPerformanceStatisticsForPid called"); return NULL;}
void *scn_frustum_classify_aabb(void) { if (verbose) puts("STUB: scn_frustum_classify_aabb called"); return NULL;}
void *scn_matrix_compute_normal(void) { if (verbose) puts("STUB: scn_matrix_compute_normal called"); return NULL;}
void *scn_matrix_fast_invert(void) { if (verbose) puts("STUB: scn_matrix_fast_invert called"); return NULL;}
void *scn_plane_intersect_3_planes(void) { if (verbose) puts("STUB: scn_plane_intersect_3_planes called"); return NULL;}
void *scn_triangle_barycentric_coordinates(void) { if (verbose) puts("STUB: scn_triangle_barycentric_coordinates called"); return NULL;}
void *scn_triangle_point_distance_squared(void) { if (verbose) puts("STUB: scn_triangle_point_distance_squared called"); return NULL;}