Skip to content

Add hooking interface for getting memory objects #10

@StarrFox

Description

@StarrFox

normal:

@hooked_args(pattern="...", capture_arg="rdx")
class HookedPlayer(HookedMemoryObject):
    ...

custom asm:

@hooked_args(pattern="...")
class HookedPlayer(HookedMemoryObject):
    ...

    def hooked_get_hook_code(self, ...) -> bytes:
        # return the code to put in the hook area

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions