mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
4.5 KiB
4.5 KiB
libSceNpWebApi2
change [sceNpWebApi2AddWebTraceTag]
- sceNpWebApi2AddWebTraceTag (libSceNpWebApi2) - validates
value, checks the packed library/user/request hierarchy (0x80553404/0x80553405/0x80553406), and stores"X-Psn-WebTrace-Tag"on the request, matchinglibSceNpWebApi2.sprx(firmware 13.60, words0x13590001/0x13600007, read from disassembly, not measured on a console); no request reaches a server (sceNpWebApi2SendRequestreturnsUNAVAILABLE), and already-sent header rejection (0x8055341A) is unmodeled.
change [sceNpWebApi2DeleteUserContext,
- sceNpWebApi2PushEventDeleteFilter, sceNpWebApi2PushEventDeletePushContext, sceNpWebApi2PushEventUnregisterCallback, sceNpWebApi2PushEventUnregisterPushContextCallback and sceNpWebApi2PushEventStartPushContextCallback (libSceNpWebApi2) - return 0 for any id without storing push filters, contexts, or callbacks.
sceNpWebApi2DeleteUserContextnow validates the packed context hierarchy (0x80553404/0x80553405) and destroys owned requests per firmware 13.60libSceNpWebApi2.sprx(read from disassembly, not measured on a console).sceNpWebApi2CreateUserContextomitslibSceUserServiceuser-ID validation andsceNpWebApi2DeleteUserContextassumes immediate teardown with no in-flight request drain.
change [sceNpWebApi2SetRequestTimeout]
- sceNpWebApi2SetRequestTimeout (libSceNpWebApi2) -
sceNpWebApi2SetRequestTimeout,sceNpWebApi2AbortRequest,sceNpWebApi2AddHttpRequestHeader, andsceNpWebApi2DeleteRequestnow check the 3-tier packed ID hierarchy (0x80553404/0x80553405/0x80553406) and record timeout, abort, and header state per firmware 13.60libSceNpWebApi2.sprx(read from disassembly, not measured on a console).AddHttpRequestHeaderandAddWebTraceTagcap guest strings at 4096 bytes as a host choice (0x80553402if longer or unreadable); offline requests never reach a network (SendRequestshares0x80553406), and already-sent header rejection (0x8055341A) or active-request abort waiting is unmodeled.
change [sceNpWebApi2SetMultipartContentType and sceNpWebApi2AddMultipartPart]
- sceNpWebApi2SetMultipartContentType and sceNpWebApi2AddMultipartPart (libSceNpWebApi2) - check the 3-tier packed ID hierarchy (
0x80553404/0x80553405/0x80553406) and reject non-multipart requests with0x80553414, matching firmware 13.60libSceNpWebApi2.sprx(read from disassembly, not measured on a console);DeleteRequest,DeleteUserContext, andTerminateclear owned requests. Host-safe guest reads/writes and throwing onAddMultipartPartheader arrays remain, andSendMultipartRequeststill returnsUNAVAILABLE.
change [sceNpWebApi2CreateMultipartRequest and sceNpWebApi2SendMultipartRequest]
- sceNpWebApi2CreateMultipartRequest and sceNpWebApi2SendMultipartRequest (libSceNpWebApi2) -
sceNpWebApi2CreateMultipartRequestvalidates null strings, looks up the packed library/user context (0x80553404/0x80553405), and allocates a packed multipart request ID per firmware 13.60libSceNpWebApi2.sprx(read from disassembly, not measured on a console);sceNpWebApi2SendMultipartRequeststill validates arguments and returnsSCE_NP_WEBAPI2_ERROR_UNAVAILABLEwithout transmitting parts.
change [sceNpWebApi2InitializeForPresence, sceNpWebApi2IntInitialize and sceNpWebApi2IntInitialize2]
- sceNpWebApi2InitializeForPresence, sceNpWebApi2IntInitialize and sceNpWebApi2IntInitialize2 (libSceNpWebApi2) - create a library context like
sceNpWebApi2Initialize, as shadPS4 does on the PS4: the argument structures (32 and 40 bytes) and thestruct_sizecheck (0x80553402) follow its declarations. The context type, context name, and push configuration group are not kept. Library context IDs wrap within1..0x7FFFto fit the packed user-context ID layout, and exhausting all0x7FFFlive contexts returns0x80553404as an unmeasured host fallback. Not measured on a PS5.