===== rea --help ===== rea@6.7.0 — Reverse engineer anything from your terminal or agent. Usage: rea Commands: address-to-file-offset Resolve an analysis address to its original file byte offset analyze Get an overview of an app analyze-javascript-application Statically reconstruct a local JavaScript/Electron application analyze-web-bundle Capture and statically analyze a page bundle, defaulting to the selected target origin annotate-native-function Edit function annotations and return refreshed analysis build-reconstruction-obligation-ledger Generate a deterministic Evidence-backed reconstruction obligation ledger page capabilities List provider capabilities and side effects capture-adb-screen Capture one screen frame as a digested PNG capture-browser-scenario Run one bounded Playwright browser scenario and return Evidence capture-electron-scenario Run one owned Electron scenario with cancellable actions capture-native-ui-scenario Run declarative AX actions or waits in one exact native application window capture-process Capture one caller-selected process scenario capture-web-screenshot Capture one visible page viewport within the supplied origin scope collect-adb-bugreport Collect and digest one device-generated bugreport archive compare Compare two canonical Evidence bundles compare-application-versions Compare two authenticated JavaScript Application Graph versions compare-javascript-export-shapes Compare exact static JavaScript export return shapes without execution compare-managed-members Compare managed PE/CLI member inventories by exact declared type, name, and signature; names alone never form a match compare-process-captures Compare two process capture Evidence JSON files compare-source-to-bundle Compare committed historical source with authenticated application Evidence compare-wasm-interfaces Compare core WASM interfaces from two exact inspection Evidence records compare-web-captures Compare two normalized passive captures or recorded browser scenarios compare-web-screenshots Compare two self-verifying PNG artifact JSON values cutter-command Execute one Rizin command in a selected live Cutter instance debug-with-gdb Run one unrestricted GDB console command in an ephemeral MI session; provide an inferior TTY so a live target can be safely detached debug-with-rizin Run one unrestricted Rizin debugger command in an ephemeral session decode-android-resources Decode one APK's manifest, metadata, and string resources with apktool decode-interface-builder Decode compiled storyboard and nib archives from an app bundle decode-signal-recording Decode an existing signal recording with caller-supplied sigrok decompile Read one part of an app as code decompile-jeb-item Decompile one JEB type or method to engine pseudo-code demangle-swift Demangle Swift symbols without Hopper discover-webmcp-tools Passively discover page-declared WebMCP tools doctor Check whether REA is ready evaluate-reconstruction-coverage Evaluate inline fail-closed reconstruction coverage evidence-export Validate and atomically export canonical Evidence JSON evidence-import Validate and import a bounded local Evidence bundle execute-rizin-command Execute one Rizin command against a local artifact export-web-scripts Export retained website scripts into an absent directory for static JavaScript analysis extract-artifact Extract all regular artifact contents safely extract-firmware Extract selected firmware bytes and return verified files and provenance function Analyze one complete function with evidence identify-flutter-build Identify a Flutter build's Dart snapshot hash and engine facts by pure APK parsing import-managed-reconstruction Import decompiler-produced managed reconstruction against exact static member evidence import-reference-source Import a source tree as historical reference only inspect Inspect an app overview with evidence inspect-adb-client Inspect the caller-selected adb client without contacting devices inspect-adb-device Inspect one device's build identity through a fixed getprop whitelist inspect-adb-display Report the display's declared size and density inspect-adb-package Inspect one installed package's version, installer, and flags through dumpsys inspect-adb-window Report the window manager's current focus declarations inspect-analysis-view Project a selected view of completed binary-layout, JavaScript application, native function, artifact-inventory, WASM, Mach-O, Interface Builder, EVM, managed, Android package, Dart AOT, web network capture or pcap Evidence JSON inspect-android-class Inspect one exact APK class's member inventory inspect-android-method Decompile one APK method with explicit overload selection inspect-android-package Inspect APK declarations and decoded manifest without executing it inspect-apktool-client Inspect the caller-selected apktool launcher without decoding anything inspect-artifact Inspect one artifact and return all available observations and next probes inspect-asset-catalog Inspect compiled Apple asset catalog metadata inspect-binary-layout Inspect binary file/linked layout without executing the selected object inspect-dart-aot Inspect one ABI's Dart AOT snapshot: sections, headers, and the string pool inspect-electron-fuses Inspect packaged Electron fuse bytes without launching the application inspect-electron-page Passively inspect one Electron file page inspect-evidence-bundle Inspect complete or selected discovery metadata from a local Evidence bundle inspect-evm-interface Infer interface candidates from explicit local EVM bytecode inspect-firmware-regions Inspect firmware signature candidates without extracting them inspect-go-binary Inspect embedded Go compiler, modules and build settings without target execution inspect-jeb-client Inspect the running JEB MCP client without opening a target inspect-keyed-archive Inspect a Foundation keyed archive as an object-reference graph inspect-macho Run inspect_macho without launching Hopper inspect-managed-artifact Inspect PE/CLI identity without loading target code inspect-managed-members Inspect PE/CLI metadata members, signatures, CIL anchors, and ldstr string literals without loading target code inspect-managed-native-boundaries Inspect PE/CLI PInvoke and native implementation boundary declarations without loading target code inspect-native-api Reconstruct one native function API boundary with evidence inspect-native-data-type Inspect one recovered database type or typed data object inspect-native-dispatch-metadata Inspect typed Objective-C and Swift dispatch metadata inspect-native-instruction Inspect one native instruction with decoded operand facts inspect-native-load-image Verify loaded native bytes, source mappings, relocations and entry inspect-packet-capture Inspect an existing packet capture with caller-supplied TShark inspect-packet-fields Search installed TShark protocol and field definitions inspect-pcap-capture Inspect one pcap/pcapng capture: endpoints, DNS, TLS SNI, and protocol distribution inspect-pcap-client Inspect the caller-selected tshark and capinfos binaries without reading a capture inspect-pe-resources Inspect PE resource identities, payload ranges, hashes and icon-group relationships inspect-plist Parse app plist metadata without launching Hopper inspect-recorded-crash Inspect supplied core registers/signals and optional debugger mapping evidence inspect-rust-binary Inspect an embedded cargo-auditable Rust dependency list without target execution inspect-signal-decoders Search installed sigrok decoders or selected decoder help inspect-signature Run inspect_signature without launching Hopper inspect-sqlite-database Inspect SQLite schema and optional ordinary-table rows from a local snapshot inspect-wasm-artifact Inspect an explicit local WASM artifact with WABT inspect-web-event-listeners Inspect native listener source locations on the first main-document CSS match inspect-web-network-capture Inspect retained HAR, native mitmproxy, Fiddler SAZ or aioquic qlog records without fetching recorded URLs inspect-web-page Passively inspect one page through CDP, defaulting to its current origin inspect-with-objdump Inspect a local artifact with GNU objdump and retain its raw output as Evidence install-adb-package Install one local APK; --replace requests reinstall mode to keep existing app data instructions Read every raw instruction without decompiling instrument-with-frida Run one Frida script against a selected process and detach list-adb-devices List attached devices with serial, state, transport, and inferred kind list-adb-directory List one device directory with kinds, permissions, and sizes list-adb-features List the device's declared hardware and software features list-adb-packages List installed packages on one device with base APK device paths list-adb-processes List running processes exactly as ps -A reports them list-adb-services List the device's binder services and interfaces list-architectures Run list_architectures without launching Hopper list-browser-targets List page targets from a selected loopback CDP browser, optionally filtered by origin list-cutter-sessions List live Cutter instances connected through the REA Python plugin bridge list-electron-targets List local file pages exposed by the selected Electron CDP endpoint list-frida-devices List local Frida devices and an optional remote endpoint list-frida-processes List processes visible through a Frida device list-javascript-runtime-targets List Node/Electron V8 Inspector targets list-jeb-units List JEB project units by path and type with optional filter list-objdump-architectures List BFD targets advertised by the installed GNU objdump observe-javascript-runtime Passively observe one exact Node/Electron Inspector target observe-native-calls Launch a Mach-O under LLDB and record entries into selected functions or Objective-C methods observe-native-ui Observe one already-running native application window by PID and window ID observe-web-execution Observe precise page execution; resets counters and temporarily disables optimization observe-web-session Observe user-driven page navigation during a chosen window open-jeb-project Open or create a JEB project from an artifact or .jdb2 database project-android-application-graph Project authenticated APK inventory Evidence into an Android application graph project-apple-application-graph Project authenticated IPA or macOS app inventory Evidence into an Apple application graph project-harmony-application-graph Project authenticated HarmonyOS HAP, HSP, or App Pack inventory Evidence into an application graph project-managed-application-graph Project authenticated managed static Evidence into an application graph providers List configured analysis providers pull-adb-file Pull one device file to a local copy with a SHA-256 digest pull-adb-package Pull one installed package's complete APK set with SHA-256 digests push-adb-file Push one local file to the device; refuses existing targets without --overwrite read-adb-logcat Read a bounded dump of the device log for one buffer read-adb-setting Read one settings value from system, secure, or global read-bytes Read exact provider memory bytes at one analysis address reconcile-javascript-runtime Reconcile static application and passive runtime Evidence JSON recover-javascript-sources Recover readable JavaScript modules with source provenance and verified files resolve-adb-packages Find installed packages by case-insensitive name substring resolve-native-call-targets Resolve one static native call site search Search every analyzed string or procedure name search-android-classes Search APK class names; empty query inventories all classes search-bytes Find masked byte patterns in initialized provider memory setup Configure agent integrations and optional analysis providers start-adb-activity Start an intent with am start (action, URI, component, extras) start-adb-app Start one installed app by resolving and launching its launcher activity stop-adb-app Force-stop every process of one package trace Trace a literal feature through analyzed references trace-android-references Trace incoming APK using nodes for a class or selected method trace-application-feature Trace a typed seed through authenticated application Evidence JSON trace-dylib-resolution Trace dyld load-path resolution for a Mach-O or every executable in an app bundle trace-javascript-semantics Trace bounded static semantic relations through authenticated application Evidence trace-native-ui-action Trace a compiled UI action selector to its native handler and direct callees trace-native-values Trace bounded native def-use and call dependencies trace-web-module-imports Trace one captured script's native imports to URLs and captured source candidates trace-web-source-location Trace one retained script position through an explicitly selected local source map uninstall Remove REA-owned agent configuration and skill files uninstall-adb-package Uninstall one package and its data from the device update Update this REA installation and verify the installed release verify-managed-native-boundaries Verify managed P/Invoke declarations against authenticated native Evidence xrefs List bounded references to an analyzed address Integrations: completions Generate shell completion script mcp Register as MCP server (add, doctor) Global Options: --filter-output Filter output by key paths (e.g. foo,bar.baz,a[0,3]) --format Output format --full-output Show full output envelope --help Show help --llms, --llms-full Print LLM-readable manifest --mcp Start as MCP stdio server --schema Show JSON Schema for command --token-count Print token count of output (instead of output) --token-limit Limit output to n tokens --token-offset Skip first n tokens of output --update Update to latest version --version Show version ===== rea search ex_before/com.apple.driver.AppleAVE2 PS data overflows ===== error: Analysis failed code: capability_unavailable category: unsupported_provider message: "Multiple analysis providers support this target. Choose one with provider_id, --provider, or REA_ANALYSIS_PROVIDER." retryable: false remediation: action: "Multiple analysis providers support this target. Choose one with provider_id, --provider, or REA_ANALYSIS_PROVIDER." details: operation: open_binary selection_reason: ambiguous requested_provider_id: auto candidate_ids[4]: ghidra,hopper,ida,kuna rejections[2]: - provider_id: ida code: not_configured reason: Set REA_IDA_MCP_CONFIG to an upstream IDA MCP JSON registration; see docs/ida-provider.md. diagnostics: configured: false live_connection_probed: false - provider_id: kuna code: not_configured reason: "Set REA_KUNA_COMMAND to the absolute path of a caller-supplied kuna executable (verified with 1.833). REA does not download, install or update Kuna." diagnostics: configured: false version_probed: false ===== rea decompile ex_before/com.apple.driver.AppleAVE2 0xfffffff00881edd4 --provider ghidra ===== evidence_id: ev_420969ce583591ea0fccb4fc07360fecc5184c0db1876abb98209f55d09ddb6e subject: name: com.apple.driver.AppleAVE2 digest: sha256: 92bde300729b8a0080627a523e0eff847dc1baebe3c70fdf42a957258231e3aa local_path: /home/zkennedy137/ios27/cve112479/ex_before/com.apple.driver.AppleAVE2 format: mach-o architecture: arm64 provider: id: ghidra name: Ghidra version: 12.1.4 analysis_profile: provider: id: ghidra name: Ghidra version: 12.1.4 parameters: target_kind: executable target_format: mach-o architecture: arm64 available_architectures[1]: arm64 import_mode: ephemeral-source-immutable annotation_policy: atomic-function-entry-metadata-v1 load_image_observations: source-mappings-entry-context-v2 function_body_evidence: complete-inclusive-ranges-v1 function_references: complete-body-and-entry-reference-manager-v2 call_relationship_coverage: function-body-call-coverage-v5 function_dossier_coverage: observed-facets-and-call-relationships-v1 string_inventory_evidence: defined-data-coverage-v1 location_resolution: explicit-address-exact-entry-symbol-first-v3 procedure_file_offset_resolution: address-first-unique-target-source-mapping-v2 instruction_flow_evidence: decoded-return-pcode-v1 instruction_references: exact-address-incoming-without-synthetic-entry-v2 function_boundary_observations: ghidra-function-boundary-limitations-v4 no_return_repair: returning-imports-decoded-return-v2 process_launch: inspected-jvm-launch-support-v1 jump_table_evidence: typed-case-default-blocks-v1 decompiler_jump_loads: true loader: auto-from-header language_id: auto-from-header compiler_spec_id: auto-default analyzer_preset: ghidra-default digest: 3fc72c9b4b78498fb992b938f8f3389dc670244a293c1d40abf5e1d10162ed3b predicate_type: rea.analysis operation: procedure_pseudo_code parameters: procedure: 0xfffffff00881edd4 raw_result: value: "\nundefined8 FUN_fffffff00881e928(long param_1,uint param_2,long param_3,ulong param_4)\n\n{\n long *plVar1;\n undefined4 uVar2;\n int iVar3;\n char *pcVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long lVar7;\n ulong uVar8;\n undefined8 uVar9;\n ulong uVar10;\n ulong local_70 [2];\n \n if ((3 < param_2) || (param_3 == 0)) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | wrong parameters %p %lld %s %d %p 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %s | wrong parameters %p %lld %s %d %p 0x%llx\\n\");\n }\n }\n return 0xfffffc17;\n }\n if (*(long *)(param_1 + 0x68) == 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 == 0) {\n return 0xfffffc0d;\n }\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | surface is not created %p %lld %s %d %p 0x%llx\");\n return 0xfffffc0d;\n }\n pcVar4 = \"%lld %d AVE %s: %s::%s:%d %s | surface is not created %p %lld %s %d %p 0x%llx\\n\";\nLAB_fffffff00881eaf8:\n thunk_EXT_FUN_8011000003bf7554(pcVar4);\n return 0xfffffc0d;\n }\n if ((*(byte *)(param_1 + 0x119) >> 2 & 1) == 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 == 0) {\n return 0xfffffc0d;\n }\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | wrong calling sequence %p %lld %s %d %p 0x%llx\");\n return 0xfffffc0d;\n }\n pcVar4 = \"%lld %d AVE %s: %s::%s:%d %s | wrong calling sequence %p %lld %s %d %p 0x%llx\\n\";\n goto LAB_fffffff00881eaf8;\n }\n uVar6 = *(undefined8 *)(param_1 + 0x20);\n uVar2 = *(undefined4 *)(param_1 + 0x88);\n uVar8 = (ulong)param_2;\n thunk_EXT_FUN_80110000040a95e0(0x2ba601e0,uVar6,uVar2,10,uVar8,0);\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n param_4 = *(ulong *)(param_1 + 0x110) & param_4;\n uVar10 = *(ulong *)(param_1 + 0x120) >> ((ulong)(param_2 << 1) & 0x3f) & 3;\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n if (param_4 != uVar10) {\n param_4 = param_4 & (uVar10 ^ 0xffffffffffffffff);\n uVar9 = *(undefined8 *)(param_1 + 0x78);\n local_70[0] = param_4;\n uVar5 = thunk_EXT_FUN_80110000033581e8(*(undefined8 *)(param_1 + 0x68));\n FUN_fffffff00874906c(param_3,uVar9,uVar5,local_70);\n local_70[0] = param_4;\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n lVar7 = uVar8 * 0x10;\n uVar10 = param_1 + 0xc0 + (long)(int)lVar7;\n if (lVar7 - (int)lVar7 != 0) {\n uVar10 = param_1 + 0xc0 + lVar7 & 0xffffffffffffU | 0x2bad000000000000;\n }\n uVar5 = FUN_fffffff0087496ac(param_3,*(undefined8 *)(param_1 + 0x78),local_70,uVar10);\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx %d\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx %d\\n\");\n }\n }\n if ((int)uVar5 != 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,5);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(5);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | failed to do DART mapping %p %lld %s %d %p %p 0x%llx 0x%llx %d\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\n \"%lld %d AVE %s: %s::%s:%d %s | failed to do DART mapping %p %lld %s %d %p %p 0x%llx 0x%llx %d\\n\"\n );\n }\n }\n goto LAB_fffffff00881f268;\n }\n *(ulong *)(param_1 + 0x120) =\n (local_70[0] & 3) << ((ulong)(param_2 << 1) & 0x3f) | *(ulong *)(param_1 + 0x120);\n lVar7 = uVar8 * 8;\n plVar1 = (long *)(param_1 + 0xa0 + (long)(int)lVar7);\n if (lVar7 - (int)lVar7 != 0) {\n plVar1 = (long *)(param_1 + 0xa0 + lVar7 & 0xffffffffffffU | 0x2bad000000000000);\n }\n *plVar1 = param_3;\n }\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n uVar5 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if ((int)uVar5 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\");\n goto LAB_fffffff00881f268;\n }\n thunk_EXT_FUN_8011000003bf7554(\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\\n\")\n ;\n }\n uVar5 = 0;\nLAB_fffffff00881f268:\n thunk_EXT_FUN_80110000040a95e0(0x2ba601e4,uVar6,uVar2,10,(long)(int)uVar5,0);\n return uVar5;\n}\n\n" limitations: [] normalized_result: "\nundefined8 FUN_fffffff00881e928(long param_1,uint param_2,long param_3,ulong param_4)\n\n{\n long *plVar1;\n undefined4 uVar2;\n int iVar3;\n char *pcVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long lVar7;\n ulong uVar8;\n undefined8 uVar9;\n ulong uVar10;\n ulong local_70 [2];\n \n if ((3 < param_2) || (param_3 == 0)) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | wrong parameters %p %lld %s %d %p 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %s | wrong parameters %p %lld %s %d %p 0x%llx\\n\");\n }\n }\n return 0xfffffc17;\n }\n if (*(long *)(param_1 + 0x68) == 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 == 0) {\n return 0xfffffc0d;\n }\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | surface is not created %p %lld %s %d %p 0x%llx\");\n return 0xfffffc0d;\n }\n pcVar4 = \"%lld %d AVE %s: %s::%s:%d %s | surface is not created %p %lld %s %d %p 0x%llx\\n\";\nLAB_fffffff00881eaf8:\n thunk_EXT_FUN_8011000003bf7554(pcVar4);\n return 0xfffffc0d;\n }\n if ((*(byte *)(param_1 + 0x119) >> 2 & 1) == 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,4);\n if (iVar3 == 0) {\n return 0xfffffc0d;\n }\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(4);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | wrong calling sequence %p %lld %s %d %p 0x%llx\");\n return 0xfffffc0d;\n }\n pcVar4 = \"%lld %d AVE %s: %s::%s:%d %s | wrong calling sequence %p %lld %s %d %p 0x%llx\\n\";\n goto LAB_fffffff00881eaf8;\n }\n uVar6 = *(undefined8 *)(param_1 + 0x20);\n uVar2 = *(undefined4 *)(param_1 + 0x88);\n uVar8 = (ulong)param_2;\n thunk_EXT_FUN_80110000040a95e0(0x2ba601e0,uVar6,uVar2,10,uVar8,0);\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n param_4 = *(ulong *)(param_1 + 0x110) & param_4;\n uVar10 = *(ulong *)(param_1 + 0x120) >> ((ulong)(param_2 << 1) & 0x3f) & 3;\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n if (param_4 != uVar10) {\n param_4 = param_4 & (uVar10 ^ 0xffffffffffffffff);\n uVar9 = *(undefined8 *)(param_1 + 0x78);\n local_70[0] = param_4;\n uVar5 = thunk_EXT_FUN_80110000033581e8(*(undefined8 *)(param_1 + 0x68));\n FUN_fffffff00874906c(param_3,uVar9,uVar5,local_70);\n local_70[0] = param_4;\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx\\n\");\n }\n }\n lVar7 = uVar8 * 0x10;\n uVar10 = param_1 + 0xc0 + (long)(int)lVar7;\n if (lVar7 - (int)lVar7 != 0) {\n uVar10 = param_1 + 0xc0 + lVar7 & 0xffffffffffffU | 0x2bad000000000000;\n }\n uVar5 = FUN_fffffff0087496ac(param_3,*(undefined8 *)(param_1 + 0x78),local_70,uVar10);\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx %d\");\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx 0x%llx %d\\n\");\n }\n }\n if ((int)uVar5 != 0) {\n iVar3 = FUN_fffffff0087ed13c(0x4c,5);\n if (iVar3 != 0) {\n iVar3 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(5);\n if (iVar3 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %s | failed to do DART mapping %p %lld %s %d %p %p 0x%llx 0x%llx %d\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003bf7554\n (\n \"%lld %d AVE %s: %s::%s:%d %s | failed to do DART mapping %p %lld %s %d %p %p 0x%llx 0x%llx %d\\n\"\n );\n }\n }\n goto LAB_fffffff00881f268;\n }\n *(ulong *)(param_1 + 0x120) =\n (local_70[0] & 3) << ((ulong)(param_2 << 1) & 0x3f) | *(ulong *)(param_1 + 0x120);\n lVar7 = uVar8 * 8;\n plVar1 = (long *)(param_1 + 0xa0 + (long)(int)lVar7);\n if (lVar7 - (int)lVar7 != 0) {\n plVar1 = (long *)(param_1 + 0xa0 + lVar7 & 0xffffffffffffU | 0x2bad000000000000);\n }\n *plVar1 = param_3;\n }\n iVar3 = FUN_fffffff0087ed13c(0x4c,8);\n if (iVar3 != 0) {\n uVar5 = FUN_fffffff0087ed184(0x4c);\n FUN_fffffff00886350c();\n FUN_fffffff0087ed1bc(8);\n if ((int)uVar5 == 0) {\n thunk_EXT_FUN_80110000042a9d78\n (&MACH_HEADER,PTR_DAT_fffffff007f21f88,0,\n \"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\");\n goto LAB_fffffff00881f268;\n }\n thunk_EXT_FUN_8011000003bf7554(\"%lld %d AVE %s: %s::%s:%d %p %lld %d %p 0x%llx 0x%llx 0x%llx\\n\")\n ;\n }\n uVar5 = 0;\nLAB_fffffff00881f268:\n thunk_EXT_FUN_80110000040a95e0(0x2ba601e4,uVar6,uVar2,10,(long)(int)uVar5,0);\n return uVar5;\n}\n\n" confidence: observed authority: shipped-artifact environment: null limitations[6]: The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.,The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.,Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.,"Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","Pseudocode is Ghidra decompiler output, not original source and not text-equivalent to Hopper output.",External functions and functions without an analyzable body return null; other decompiler failures remain explicit. relationship_coverage: null locations: [] evidence_links: [] ===== rea decompile ex_after/com.apple.driver.AppleAVE2 0xfffffff008765654 --provider ghidra ===== evidence_id: ev_44cf4f4a054ef396d79fa36d4ea69c9646288966f36363a2061fb40312f73a5c subject: name: com.apple.driver.AppleAVE2 digest: sha256: d95ad9eff108837f4ddf155cf018d8293751f395d2719a5137284ba1aa3b7b18 local_path: /home/zkennedy137/ios27/cve112479/ex_after/com.apple.driver.AppleAVE2 format: mach-o architecture: arm64 provider: id: ghidra name: Ghidra version: 12.1.4 analysis_profile: provider: id: ghidra name: Ghidra version: 12.1.4 parameters: target_kind: executable target_format: mach-o architecture: arm64 available_architectures[1]: arm64 import_mode: ephemeral-source-immutable annotation_policy: atomic-function-entry-metadata-v1 load_image_observations: source-mappings-entry-context-v2 function_body_evidence: complete-inclusive-ranges-v1 function_references: complete-body-and-entry-reference-manager-v2 call_relationship_coverage: function-body-call-coverage-v5 function_dossier_coverage: observed-facets-and-call-relationships-v1 string_inventory_evidence: defined-data-coverage-v1 location_resolution: explicit-address-exact-entry-symbol-first-v3 procedure_file_offset_resolution: address-first-unique-target-source-mapping-v2 instruction_flow_evidence: decoded-return-pcode-v1 instruction_references: exact-address-incoming-without-synthetic-entry-v2 function_boundary_observations: ghidra-function-boundary-limitations-v4 no_return_repair: returning-imports-decoded-return-v2 process_launch: inspected-jvm-launch-support-v1 jump_table_evidence: typed-case-default-blocks-v1 decompiler_jump_loads: true loader: auto-from-header language_id: auto-from-header compiler_spec_id: auto-default analyzer_preset: ghidra-default digest: 3fc72c9b4b78498fb992b938f8f3389dc670244a293c1d40abf5e1d10162ed3b predicate_type: rea.analysis operation: procedure_pseudo_code parameters: procedure: 0xfffffff008765654 raw_result: value: "\nundefined8\nFUN_fffffff008765654\n (long param_1,long param_2,long param_3,undefined8 param_4,long param_5,long param_6,\n long param_7,undefined8 param_8,undefined8 param_9,uint param_10,long param_11,\n int param_12)\n\n{\n int iVar1;\n long lVar2;\n char *pcVar3;\n undefined8 local_90;\n \n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 == 0) {\nLAB_fffffff008765734:\n if (param_1 == 0) goto LAB_fffffff0087658d4;\nLAB_fffffff008765738:\n if ((param_2 == 0) || (param_3 == 0)) goto LAB_fffffff0087658d4;\n if ((param_5 == 0) || (((param_6 == 0 || (param_7 == 0)) || (param_11 == 0)))) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n else {\nLAB_fffffff008765a00:\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\\n\");\n }\n }\n }\n else if (param_10 < 6) {\n if (param_10 == 1) {\n if (param_12 - 1U < 3) goto LAB_fffffff008765d30;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\\n\");\n }\n local_90 = 0xfffffc17;\n goto LAB_fffffff008765b94;\n }\n }\n else if (((param_10 & 6) == 4) || ((param_10 & 6) == 2)) {\n if (param_12 == 2) goto LAB_fffffff008765d30;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n else {\n if (param_12 == 0) {\nLAB_fffffff008765d30:\n thunk_EXT_FUN_8011000004480220(param_1,0x147d0);\n FUN_fffffff0086fa280(param_1);\n FUN_fffffff0086fa2a4(param_1 + 0x280);\n FUN_fffffff0086fa2a4(param_1 + 0x2a0);\n *(long *)(param_1 + 0x18) = param_2;\n *(long *)(param_1 + 0x20) = param_3;\n *(undefined8 *)(param_1 + 0x28) = param_4;\n *(long *)(param_1 + 0x30) = param_5;\n *(long *)(param_1 + 0x38) = param_6;\n *(long *)(param_1 + 0x40) = param_7;\n *(undefined8 *)(param_1 + 0x50) = param_8;\n *(undefined8 *)(param_1 + 0x60) = param_9;\n *(uint *)(param_1 + 0x268) = param_10;\n *(int *)(param_1 + 0x270) = param_12;\n *(undefined1 *)(param_1 + 0x5f1) = 1;\n thunk_EXT_FUN_8011000004480070(param_1 + 0x640,param_11,0x618);\n if ((int)param_10 < 3) {\n if (param_10 == 1) {\n if (param_12 == 3) {\n FUN_fffffff00871c070(param_1 + 0xc58,param_9);\n }\n else if (param_12 == 2) {\n FUN_fffffff0088368a8(param_1 + 0xc58,param_9);\n }\n else if (param_12 == 1) {\n FUN_fffffff00879d750(param_1 + 0xc58,param_9);\n }\n }\n else if (param_10 == 2) {\n FUN_fffffff0088a01a0(param_1 + 0xc58,param_9);\n }\n }\n else if (param_10 == 3) {\n FUN_fffffff0086f48e4(param_1 + 0xc58,param_9);\n }\n else if (param_10 == 4) {\n FUN_fffffff0086ef310(param_1 + 0xc58,param_9);\n }\n else if (param_10 == 5) {\n FUN_fffffff00877a1d4(param_1 + 0xc58,param_9);\n }\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x5f8) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create PTS FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create PTS FPS %p\");\n goto LAB_fffffff0087660d0;\n }\nLAB_fffffff008766988:\n local_90 = 0xfffffc15;\n }\n else {\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x600) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create In FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create In FPS %p\");\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x608) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create Out FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create Out FPS %p\");\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n lVar2 = FUN_fffffff008716600(*(undefined8 *)(param_3 + 0xd0),param_10,param_12);\n *(long *)(param_1 + 0x48) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008766988;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate client analytics %p\"\n );\n }\n else {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to allocate client analytics %p\\n\"\n ;\nLAB_fffffff008765ef8:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\nLAB_fffffff0087660d0:\n local_90 = 0xfffffc15;\n }\n else {\n lVar2 = FUN_fffffff0087d67e4(0xa0);\n *(long *)(param_1 + 0x58) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to allocate command history %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate command history %p\"\n );\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n lVar2 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f29100);\n *(undefined8 *)(lVar2 + 0xc) = 0;\n *(undefined8 *)(lVar2 + 4) = 0x34000000000;\n *(undefined4 *)(lVar2 + 0x40) = 0;\n FUN_fffffff0086fa2a4(lVar2 + 0x20);\n *(long *)(param_1 + 0x5d8) = lVar2;\n local_90 = FUN_fffffff008766b70(lVar2);\n if ((int)local_90 == 0) {\n lVar2 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f29300);\n *(undefined8 *)(lVar2 + 0xc) = 0;\n *(undefined8 *)(lVar2 + 4) = 0xbf800000000;\n *(undefined4 *)(lVar2 + 0x40) = 0;\n FUN_fffffff0086fa2a4(lVar2 + 0x20);\n *(long *)(param_1 + 0x5e0) = lVar2;\n local_90 = FUN_fffffff008766bec(lVar2);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28b00);\n lVar2 = FUN_fffffff00887c238();\n *(long *)(param_1 + 0x2d0) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command pipeline %p\"\n );\n }\n else {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to create command pipeline %p\\n\";\nLAB_fffffff0087668b8:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\n goto LAB_fffffff008766988;\n }\nLAB_fffffff008766b10:\n local_90 = 0xfffffc15;\n }\n else {\n local_90 = FUN_fffffff00887c458(lVar2,param_9,param_1);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28b40);\n lVar2 = thunk_FUN_fffffff0086f6d58();\n *(long *)(param_1 + 0x5e8) = lVar2;\n if (lVar2 != 0) {\n local_90 = 0;\n goto LAB_fffffff008765b94;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008766b10;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to allocate KeyFrame %p\\n\"\n ;\n goto LAB_fffffff0087668b8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate KeyFrame %p\");\n goto LAB_fffffff008766988;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to initialize pipeline %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize pipeline %p\"\n );\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to create command info pool %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command info pool %p\"\n );\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command pool %p\");\n }\n else {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create command pool %p\\n\";\nLAB_fffffff008765e8c:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\n }\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize Out FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize Out FPS %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize In FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize In FPS %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize PTS FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize PTS FPS %p\");\n }\n }\n }\n lVar2 = *(long *)(param_1 + 0x5f8);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x5f8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x600);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x600) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x608);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x608) = 0;\n }\n FUN_fffffff0087169d8(*(undefined8 *)(param_1 + 0x48));\n *(undefined8 *)(param_1 + 0x48) = 0;\n FUN_fffffff0087d6900(*(undefined8 *)(param_1 + 0x58));\n *(undefined8 *)(param_1 + 0x58) = 0;\n lVar2 = *(long *)(param_1 + 0x5e8);\n if (lVar2 != 0) {\n FUN_fffffff0086f6fb0(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28bc0,lVar2);\n *(undefined8 *)(param_1 + 0x5e8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x5e0);\n if (lVar2 != 0) {\n FUN_fffffff008767140(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f29500,lVar2);\n *(undefined8 *)(param_1 + 0x5e0) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x5d8);\n if (lVar2 != 0) {\n FUN_fffffff0087671b0(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f29540,lVar2);\n *(undefined8 *)(param_1 + 0x5d8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x2d0);\n if (lVar2 != 0) {\n FUN_fffffff00887c42c(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28c00,lVar2);\n *(undefined8 *)(param_1 + 0x2d0) = 0;\n }\n goto LAB_fffffff008765b94;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 != 0) {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %p %lld %d %p %d\\n\");\n goto LAB_fffffff008765734;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %p %lld %d %p %d\");\n if (param_1 != 0) goto LAB_fffffff008765738;\nLAB_fffffff0087658d4:\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc(\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p\\n\");\n }\n local_90 = 0xfffffc17;\n goto LAB_fffffff008765b94;\n }\n }\n local_90 = 0xfffffc17;\nLAB_fffffff008765b94:\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %p %lld %d %p %d %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %p %lld %d %p %d %d\\n\");\n }\n }\n return local_90;\n}\n\n" limitations: [] normalized_result: "\nundefined8\nFUN_fffffff008765654\n (long param_1,long param_2,long param_3,undefined8 param_4,long param_5,long param_6,\n long param_7,undefined8 param_8,undefined8 param_9,uint param_10,long param_11,\n int param_12)\n\n{\n int iVar1;\n long lVar2;\n char *pcVar3;\n undefined8 local_90;\n \n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 == 0) {\nLAB_fffffff008765734:\n if (param_1 == 0) goto LAB_fffffff0087658d4;\nLAB_fffffff008765738:\n if ((param_2 == 0) || (param_3 == 0)) goto LAB_fffffff0087658d4;\n if ((param_5 == 0) || (((param_6 == 0 || (param_7 == 0)) || (param_11 == 0)))) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n else {\nLAB_fffffff008765a00:\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\\n\");\n }\n }\n }\n else if (param_10 < 6) {\n if (param_10 == 1) {\n if (param_12 - 1U < 3) goto LAB_fffffff008765d30;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\\n\");\n }\n local_90 = 0xfffffc17;\n goto LAB_fffffff008765b94;\n }\n }\n else if (((param_10 & 6) == 4) || ((param_10 & 6) == 2)) {\n if (param_12 == 2) goto LAB_fffffff008765d30;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n else {\n if (param_12 == 0) {\nLAB_fffffff008765d30:\n thunk_EXT_FUN_8011000004480220(param_1,0x147d0);\n FUN_fffffff0086fa280(param_1);\n FUN_fffffff0086fa2a4(param_1 + 0x280);\n FUN_fffffff0086fa2a4(param_1 + 0x2a0);\n *(long *)(param_1 + 0x18) = param_2;\n *(long *)(param_1 + 0x20) = param_3;\n *(undefined8 *)(param_1 + 0x28) = param_4;\n *(long *)(param_1 + 0x30) = param_5;\n *(long *)(param_1 + 0x38) = param_6;\n *(long *)(param_1 + 0x40) = param_7;\n *(undefined8 *)(param_1 + 0x50) = param_8;\n *(undefined8 *)(param_1 + 0x60) = param_9;\n *(uint *)(param_1 + 0x268) = param_10;\n *(int *)(param_1 + 0x270) = param_12;\n *(undefined1 *)(param_1 + 0x5f1) = 1;\n thunk_EXT_FUN_8011000004480070(param_1 + 0x640,param_11,0x618);\n if ((int)param_10 < 3) {\n if (param_10 == 1) {\n if (param_12 == 3) {\n FUN_fffffff00871c070(param_1 + 0xc58,param_9);\n }\n else if (param_12 == 2) {\n FUN_fffffff0088368a8(param_1 + 0xc58,param_9);\n }\n else if (param_12 == 1) {\n FUN_fffffff00879d750(param_1 + 0xc58,param_9);\n }\n }\n else if (param_10 == 2) {\n FUN_fffffff0088a01a0(param_1 + 0xc58,param_9);\n }\n }\n else if (param_10 == 3) {\n FUN_fffffff0086f48e4(param_1 + 0xc58,param_9);\n }\n else if (param_10 == 4) {\n FUN_fffffff0086ef310(param_1 + 0xc58,param_9);\n }\n else if (param_10 == 5) {\n FUN_fffffff00877a1d4(param_1 + 0xc58,param_9);\n }\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x5f8) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create PTS FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create PTS FPS %p\");\n goto LAB_fffffff0087660d0;\n }\nLAB_fffffff008766988:\n local_90 = 0xfffffc15;\n }\n else {\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x600) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create In FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create In FPS %p\");\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28ac0);\n lVar2 = FUN_fffffff0087c00e0();\n *(long *)(param_1 + 0x608) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create Out FPS %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create Out FPS %p\");\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n local_90 = FUN_fffffff0087c034c(lVar2,param_9,0x3c,0,0);\n if ((int)local_90 == 0) {\n lVar2 = FUN_fffffff008716600(*(undefined8 *)(param_3 + 0xd0),param_10,param_12);\n *(long *)(param_1 + 0x48) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008766988;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate client analytics %p\"\n );\n }\n else {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to allocate client analytics %p\\n\"\n ;\nLAB_fffffff008765ef8:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\nLAB_fffffff0087660d0:\n local_90 = 0xfffffc15;\n }\n else {\n lVar2 = FUN_fffffff0087d67e4(0xa0);\n *(long *)(param_1 + 0x58) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to allocate command history %p\\n\";\n goto LAB_fffffff008765ef8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate command history %p\"\n );\n goto LAB_fffffff0087660d0;\n }\n goto LAB_fffffff008766988;\n }\n lVar2 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f29100);\n *(undefined8 *)(lVar2 + 0xc) = 0;\n *(undefined8 *)(lVar2 + 4) = 0x34000000000;\n *(undefined4 *)(lVar2 + 0x40) = 0;\n FUN_fffffff0086fa2a4(lVar2 + 0x20);\n *(long *)(param_1 + 0x5d8) = lVar2;\n local_90 = FUN_fffffff008766b70(lVar2);\n if ((int)local_90 == 0) {\n lVar2 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f29300);\n *(undefined8 *)(lVar2 + 0xc) = 0;\n *(undefined8 *)(lVar2 + 4) = 0xbf800000000;\n *(undefined4 *)(lVar2 + 0x40) = 0;\n FUN_fffffff0086fa2a4(lVar2 + 0x20);\n *(long *)(param_1 + 0x5e0) = lVar2;\n local_90 = FUN_fffffff008766bec(lVar2);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28b00);\n lVar2 = FUN_fffffff00887c238();\n *(long *)(param_1 + 0x2d0) = lVar2;\n if (lVar2 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command pipeline %p\"\n );\n }\n else {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to create command pipeline %p\\n\";\nLAB_fffffff0087668b8:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\n goto LAB_fffffff008766988;\n }\nLAB_fffffff008766b10:\n local_90 = 0xfffffc15;\n }\n else {\n local_90 = FUN_fffffff00887c458(lVar2,param_9,param_1);\n if ((int)local_90 == 0) {\n thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28b40);\n lVar2 = thunk_FUN_fffffff0086f6d58();\n *(long *)(param_1 + 0x5e8) = lVar2;\n if (lVar2 != 0) {\n local_90 = 0;\n goto LAB_fffffff008765b94;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008766b10;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to allocate KeyFrame %p\\n\"\n ;\n goto LAB_fffffff0087668b8;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to allocate KeyFrame %p\");\n goto LAB_fffffff008766988;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to initialize pipeline %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize pipeline %p\"\n );\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \n \"%lld %d AVE %s: %s:%d %s | failed to create command info pool %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command info pool %p\"\n );\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create command pool %p\");\n }\n else {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to create command pool %p\\n\";\nLAB_fffffff008765e8c:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar3);\n }\n }\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize Out FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize Out FPS %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize In FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize In FPS %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) {\n pcVar3 = \"%lld %d AVE %s: %s:%d %s | failed to initialize PTS FPS %p\\n\";\n goto LAB_fffffff008765e8c;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize PTS FPS %p\");\n }\n }\n }\n lVar2 = *(long *)(param_1 + 0x5f8);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x5f8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x600);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x600) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x608);\n if (lVar2 != 0) {\n FUN_fffffff0087c0320(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28b80,lVar2);\n *(undefined8 *)(param_1 + 0x608) = 0;\n }\n FUN_fffffff0087169d8(*(undefined8 *)(param_1 + 0x48));\n *(undefined8 *)(param_1 + 0x48) = 0;\n FUN_fffffff0087d6900(*(undefined8 *)(param_1 + 0x58));\n *(undefined8 *)(param_1 + 0x58) = 0;\n lVar2 = *(long *)(param_1 + 0x5e8);\n if (lVar2 != 0) {\n FUN_fffffff0086f6fb0(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28bc0,lVar2);\n *(undefined8 *)(param_1 + 0x5e8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x5e0);\n if (lVar2 != 0) {\n FUN_fffffff008767140(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f29500,lVar2);\n *(undefined8 *)(param_1 + 0x5e0) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x5d8);\n if (lVar2 != 0) {\n FUN_fffffff0087671b0(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f29540,lVar2);\n *(undefined8 *)(param_1 + 0x5d8) = 0;\n }\n lVar2 = *(long *)(param_1 + 0x2d0);\n if (lVar2 != 0) {\n FUN_fffffff00887c42c(lVar2);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28c00,lVar2);\n *(undefined8 *)(param_1 + 0x2d0) = 0;\n }\n goto LAB_fffffff008765b94;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008765a00;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 != 0) {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %p %lld %d %p %d\\n\");\n goto LAB_fffffff008765734;\n }\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %p %lld %d %p %d\");\n if (param_1 != 0) goto LAB_fffffff008765738;\nLAB_fffffff0087658d4:\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc(\"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p\\n\");\n }\n local_90 = 0xfffffc17;\n goto LAB_fffffff008765b94;\n }\n }\n local_90 = 0xfffffc17;\nLAB_fffffff008765b94:\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %p %lld %d %p %d %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %p %lld %d %p %d %d\\n\");\n }\n }\n return local_90;\n}\n\n" confidence: observed authority: shipped-artifact environment: null limitations[6]: The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.,The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.,Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.,"Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","Pseudocode is Ghidra decompiler output, not original source and not text-equivalent to Hopper output.",External functions and functions without an analyzable body return null; other decompiler failures remain explicit. relationship_coverage: null locations: [] evidence_links: [] ===== rea decompile ex_after/com.apple.driver.AppleAVE2 0xfffffff008767220 --provider ghidra ===== evidence_id: ev_298ca57b653c78666c694e5f9c9d6cab39fae9baa325b6cdd1ad372d45c9a886 subject: name: com.apple.driver.AppleAVE2 digest: sha256: d95ad9eff108837f4ddf155cf018d8293751f395d2719a5137284ba1aa3b7b18 local_path: /home/zkennedy137/ios27/cve112479/ex_after/com.apple.driver.AppleAVE2 format: mach-o architecture: arm64 provider: id: ghidra name: Ghidra version: 12.1.4 analysis_profile: provider: id: ghidra name: Ghidra version: 12.1.4 parameters: target_kind: executable target_format: mach-o architecture: arm64 available_architectures[1]: arm64 import_mode: ephemeral-source-immutable annotation_policy: atomic-function-entry-metadata-v1 load_image_observations: source-mappings-entry-context-v2 function_body_evidence: complete-inclusive-ranges-v1 function_references: complete-body-and-entry-reference-manager-v2 call_relationship_coverage: function-body-call-coverage-v5 function_dossier_coverage: observed-facets-and-call-relationships-v1 string_inventory_evidence: defined-data-coverage-v1 location_resolution: explicit-address-exact-entry-symbol-first-v3 procedure_file_offset_resolution: address-first-unique-target-source-mapping-v2 instruction_flow_evidence: decoded-return-pcode-v1 instruction_references: exact-address-incoming-without-synthetic-entry-v2 function_boundary_observations: ghidra-function-boundary-limitations-v4 no_return_repair: returning-imports-decoded-return-v2 process_launch: inspected-jvm-launch-support-v1 jump_table_evidence: typed-case-default-blocks-v1 decompiler_jump_loads: true loader: auto-from-header language_id: auto-from-header compiler_spec_id: auto-default analyzer_preset: ghidra-default digest: 3fc72c9b4b78498fb992b938f8f3389dc670244a293c1d40abf5e1d10162ed3b predicate_type: rea.analysis operation: procedure_pseudo_code parameters: procedure: 0xfffffff008767220 raw_result: value: "\nundefined8\nFUN_fffffff008767220\n (long param_1,long param_2,undefined8 param_3,long param_4,long param_5,long param_6,\n undefined8 param_7,undefined8 param_8,uint param_9,long param_10,int param_11,\n long *param_12)\n\n{\n int iVar1;\n char *pcVar2;\n long lVar3;\n undefined8 uVar4;\n undefined8 in_stack_fffffffffffffec8;\n undefined4 uVar5;\n undefined8 in_stack_fffffffffffffed8;\n undefined4 uVar6;\n \n uVar5 = (undefined4)((ulong)in_stack_fffffffffffffec8 >> 0x20);\n uVar6 = (undefined4)((ulong)in_stack_fffffffffffffed8 >> 0x20);\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 == 0) {\nLAB_fffffff008767304:\n if (param_1 == 0) goto LAB_fffffff008767480;\nLAB_fffffff008767308:\n if (param_2 == 0) goto LAB_fffffff008767480;\n if ((((param_4 == 0) || (param_5 == 0)) || (param_6 == 0)) ||\n ((param_10 == 0 || (param_12 == (long *)0x0)))) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008767724;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n goto LAB_fffffff008767724;\n }\nLAB_fffffff008767598:\n pcVar2 = \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\\n\";\n goto LAB_fffffff0087675b4;\n }\n if (param_9 < 6) {\n if (param_9 == 1) {\n if (param_11 - 1U < 3) goto LAB_fffffff0087678c8;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n else if (((param_9 & 6) == 4) || ((param_9 & 6) == 2)) {\n if (param_11 == 2) goto LAB_fffffff0087678c8;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n else {\n if (param_11 == 0) {\nLAB_fffffff0087678c8:\n lVar3 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28c40);\n if (lVar3 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create a client %p %p %p %p %p %p %p %lld %d %p %d %p\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\n \"%lld %d AVE %s: %s:%d %s | failed to create a client %p %p %p %p %p %p %p %lld %d %p %d %p\\n\"\n );\n }\n }\n uVar4 = 0xfffffc15;\n }\n else {\n uVar4 = FUN_fffffff008765654\n (lVar3,param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8\n ,CONCAT44(uVar5,param_9),param_10,CONCAT44(uVar6,param_11));\n if ((int)uVar4 == 0) {\n *param_12 = lVar3;\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize a client %p %p %p %p %p %p %p %p %lld %d %p %d %p %d\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\n \"%lld %d AVE %s: %s:%d %s | failed to initialize a client %p %p %p %p %p %p %p %p %lld %d %p %d %p %d\\n\"\n );\n }\n }\n FUN_fffffff008766c68(lVar3);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28c80,lVar3);\n }\n }\n goto LAB_fffffff008767728;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 != 0) {\n uVar6 = 0xfffffff0;\n uVar5 = 0;\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %lld %d %p %d %p\\n\");\n goto LAB_fffffff008767304;\n }\n uVar6 = 0xfffffff0;\n uVar5 = 0;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %lld %d %p %d %p\");\n if (param_1 != 0) goto LAB_fffffff008767308;\nLAB_fffffff008767480:\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p\");\n }\n else {\n pcVar2 = \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p\\n\";\nLAB_fffffff0087675b4:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar2);\n }\n }\n }\nLAB_fffffff008767724:\n uVar4 = 0xfffffc17;\nLAB_fffffff008767728:\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %lld %d %p %d %p %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %lld %d %p %d %p %d\\n\");\n }\n }\n return uVar4;\n}\n\n" limitations: [] normalized_result: "\nundefined8\nFUN_fffffff008767220\n (long param_1,long param_2,undefined8 param_3,long param_4,long param_5,long param_6,\n undefined8 param_7,undefined8 param_8,uint param_9,long param_10,int param_11,\n long *param_12)\n\n{\n int iVar1;\n char *pcVar2;\n long lVar3;\n undefined8 uVar4;\n undefined8 in_stack_fffffffffffffec8;\n undefined4 uVar5;\n undefined8 in_stack_fffffffffffffed8;\n undefined4 uVar6;\n \n uVar5 = (undefined4)((ulong)in_stack_fffffffffffffec8 >> 0x20);\n uVar6 = (undefined4)((ulong)in_stack_fffffffffffffed8 >> 0x20);\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 == 0) {\nLAB_fffffff008767304:\n if (param_1 == 0) goto LAB_fffffff008767480;\nLAB_fffffff008767308:\n if (param_2 == 0) goto LAB_fffffff008767480;\n if ((((param_4 == 0) || (param_5 == 0)) || (param_6 == 0)) ||\n ((param_10 == 0 || (param_12 == (long *)0x0)))) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 == 0) goto LAB_fffffff008767724;\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n goto LAB_fffffff008767724;\n }\nLAB_fffffff008767598:\n pcVar2 = \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\\n\";\n goto LAB_fffffff0087675b4;\n }\n if (param_9 < 6) {\n if (param_9 == 1) {\n if (param_11 - 1U < 3) goto LAB_fffffff0087678c8;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n else if (((param_9 & 6) == 4) || ((param_9 & 6) == 2)) {\n if (param_11 == 2) goto LAB_fffffff0087678c8;\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n else {\n if (param_11 == 0) {\nLAB_fffffff0087678c8:\n lVar3 = thunk_EXT_FUN_8011000004316e64(&DAT_fffffff007f28c40);\n if (lVar3 == 0) {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to create a client %p %p %p %p %p %p %p %lld %d %p %d %p\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\n \"%lld %d AVE %s: %s:%d %s | failed to create a client %p %p %p %p %p %p %p %lld %d %p %d %p\\n\"\n );\n }\n }\n uVar4 = 0xfffffc15;\n }\n else {\n uVar4 = FUN_fffffff008765654\n (lVar3,param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8\n ,CONCAT44(uVar5,param_9),param_10,CONCAT44(uVar6,param_11));\n if ((int)uVar4 == 0) {\n *param_12 = lVar3;\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | failed to initialize a client %p %p %p %p %p %p %p %p %lld %d %p %d %p %d\"\n );\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\n \"%lld %d AVE %s: %s:%d %s | failed to initialize a client %p %p %p %p %p %p %p %p %lld %d %p %d %p %d\\n\"\n );\n }\n }\n FUN_fffffff008766c68(lVar3);\n thunk_EXT_FUN_8011000004317060(&DAT_fffffff007f28c80,lVar3);\n }\n }\n goto LAB_fffffff008767728;\n }\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 != 0) goto LAB_fffffff008767598;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p %p %lld %d %p %d %p\");\n }\n }\n }\n else {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 != 0) {\n uVar6 = 0xfffffff0;\n uVar5 = 0;\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %lld %d %p %d %p\\n\");\n goto LAB_fffffff008767304;\n }\n uVar6 = 0xfffffff0;\n uVar5 = 0;\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Enter %p %p %p %p %p %p %p %lld %d %p %d %p\");\n if (param_1 != 0) goto LAB_fffffff008767308;\nLAB_fffffff008767480:\n iVar1 = FUN_fffffff00881b0a8(0x74,4);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(4);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p\");\n }\n else {\n pcVar2 = \"%lld %d AVE %s: %s:%d %s | wrong parameters %p %p %p\\n\";\nLAB_fffffff0087675b4:\n thunk_EXT_FUN_8011000003c3c9bc(pcVar2);\n }\n }\n }\nLAB_fffffff008767724:\n uVar4 = 0xfffffc17;\nLAB_fffffff008767728:\n iVar1 = FUN_fffffff00881b0a8(0x74,6);\n if (iVar1 != 0) {\n iVar1 = FUN_fffffff00881b0f0(0x74);\n FUN_fffffff008891968();\n FUN_fffffff00881b128(6);\n if (iVar1 == 0) {\n thunk_EXT_FUN_80110000042f3f8c\n (&MACH_HEADER,PTR_DAT_fffffff007f2ea90,0,\n \"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %lld %d %p %d %p %d\");\n }\n else {\n thunk_EXT_FUN_8011000003c3c9bc\n (\"%lld %d AVE %s: %s Exit %p %p %p %p %p %p %p %lld %d %p %d %p %d\\n\");\n }\n }\n return uVar4;\n}\n\n" confidence: observed authority: shipped-artifact environment: null limitations[6]: The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.,The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.,Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.,"Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","Pseudocode is Ghidra decompiler output, not original source and not text-equivalent to Hopper output.",External functions and functions without an analyzable body return null; other decompiler failures remain explicit. relationship_coverage: null locations: [] evidence_links: []