4 Commits
Author SHA1 Message Date
oldkingOK e45e2ed352 Fix GetProcAddress issue on ARM64 (#5)
See [TeamTofuShop/segatools/issues/20](https://gitea.tendokyu.moe/TeamTofuShop/segatools/issues/20).

This PR adds `pe_is_arm64` for detecting ARM64 systems and `pe_get_arm64_real_proc` for retrieving the real thread address.

I'm still getting familiar with the project, so I’d really appreciate any feedback, suggestions, or corrections.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/capnhook/pulls/5
Co-authored-by: oldkingOK <oldkingok@qq.com>
Co-committed-by: oldkingOK <oldkingok@qq.com>
2026-08-10 15:38:40 +00:00
Decaf Code 8d2a67f64d s/__amd64/_M_AMD64/
Newer MSVC seems to use a different preprocessor symbol to denote
64-bit builds.
2019-05-02 19:37:11 -04:00
Decaf Code a956987fe0 hook/process.c: Fix 64-bit startup hijack
Start address goes in RCX in 64-bit mode, EAX in 32-bit mode.
2018-11-13 20:06:40 -05:00
Decaf Code 6a80ed1875 hook/process.c: Add process startup interceptor 2018-11-08 14:08:36 -05:00