mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-12-22 07:55:52 +01:00
22 lines
418 B
C
22 lines
418 B
C
|
#pragma once
|
||
|
|
||
|
#include <windows.h>
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "hook/iobuf.h"
|
||
|
|
||
|
typedef HRESULT (*jvs_dispatch_fn_t)(
|
||
|
void *ctx,
|
||
|
struct const_iobuf *req,
|
||
|
struct iobuf *resp);
|
||
|
|
||
|
void jvs_crack_request(
|
||
|
const void *bytes,
|
||
|
size_t nbytes,
|
||
|
struct iobuf *resp,
|
||
|
uint8_t jvs_addr,
|
||
|
jvs_dispatch_fn_t dispatch_fn,
|
||
|
void *dispatch_ctx);
|