mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 08:31:31 +00:00
2.8 KiB
2.8 KiB
libSceVideoNativeExtEssential technical debt
Additional callable exports
- Native video export
iwAQhvb9BvYis a function record with qualifierK#Ain older and later version-labelled modules. Both map library ID 10 and module ID 0 tolibSceVideoNativeExtEssential. Older module words:0x08540001,0x03200004; later:0x13590001,0x13600007. Both contain six function NIDs; sorted-LF SHA-256:2c1bdced348433c9cb792b70a0f043d932e6f822157250d5256bb46c8867bd86, using the static ELF membership procedure. Labels do not authenticate retail provenance; the digest identifies the NID set only. Independent verification requires a matching image. The export name and the meaning of its arguments are unverified; past the checks under Functional it throws.
Unknown function info
- sceVideoNativeExtEssential_Finalize (libSceVideoNativeExtEssential) - names and NIDs are present in the PS5 3.20 export inventory, but no credible prototype was found. The declaration has no parameters solely to resolve the import; this is not an ABI claim
Functional
- sceVideoNativeExtEssential_IsInit, sceVideoNativeExtEssential_CreateDecInstance, sceVideoNativeExtEssential_DestroyDecInstance and sceVideoNativeExtEssential_Initialize (libSceVideoNativeExtEssential) - only the answers before initialization are implemented. In firmware 13.42 (read from disassembly, not measured on a console) the library is initialized while a flag byte is set, which only
sceVideoNativeExtEssential_Initializesets, and it throws here once its checks pass.IsInitreturns that flag (0).CreateDecInstancestores a null pointer through its second argument and returns0xF0000000;DestroyDecInstancereturns0xF0000000without reading its argument;Initializereturns0xF0000003for a null parameter, a zero first quadword or a 32-bit value at offset 8 other than 1. An unreadable or unwritable argument throws, as the module reads through it. Only the arguments read are declared, named here. - Native video export
iwAQhvb9BvY(libSceVideoNativeExtEssential) - returns0xF0000003for a null 7th argument and then0xF0000008for a first argument other than 2, 3 or 4, as firmware 13.42 does (read from disassembly); otherwise it forwards to the decoder and throws here. The widths of the 2nd to 6th arguments are not settled; they are declared as 32-bit values only so the 7th lands on the stack.