alloc

Family of src/nx/nn/hooks.hook. The hooks_off setting turns a family off by its name.

Page 1 2 3

operator delete[](void*, std::align_val_t) source

_ZdaPvSt11align_val_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)

operator delete(void*, unsigned long, std::align_val_t) source

_ZdlPvmSt11align_val_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)

operator delete[](void*, unsigned long, std::align_val_t) source

_ZdaPvmSt11align_val_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)

operator delete(void*, std::align_val_t, std::nothrow_t const&) source

_ZdlPvSt11align_val_tRKSt9nothrow_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)

operator delete[](void*, std::align_val_t, std::nothrow_t const&) source

_ZdaPvSt11align_val_tRKSt9nothrow_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)

std::vector<T>'s storage with std::allocator<T> (NS_9allocatorIS1_EE for a T of the game's, NS_9allocatorImEE for a built-in one), for a T with nothing to destroy: every such instance of the template's destructor is the same code, which alloc_vector_shape checks the function is before the hook takes it

std::__1::__vector_base<*, std::__1::allocator<*>>::~__vector_base() pattern source

_ZNSt3__113__vector_baseI*NS_9allocatorI*EEED1Ev: a pattern, whose * matches any run of characters, so one handler takes every instance of the template that compiles to the same code
As C: void (addr self)
Handler: alloc_vector_free (alloc.c)
Check: alloc_vector_shape (alloc.c), which says whether a function the pattern matches is one the handler takes

std::__1::__vector_base<*, std::__1::allocator<*>>::~__vector_base() pattern source

_ZNSt3__113__vector_baseI*NS_9allocatorI*EEED2Ev: a pattern, whose * matches any run of characters, so one handler takes every instance of the template that compiles to the same code
As C: void (addr self)
Handler: alloc_vector_free (alloc.c)
Check: alloc_vector_shape (alloc.c), which says whether a function the pattern matches is one the handler takes

Page 1 2 3


Made from ScarletNX's Sail at 166ad3910f80. The hooks' and the SVCs' declarations and their handlers are ScarletNX's (GPL-3.0-or-later); the SVCs' declarations are Eden's, as hos.svc says.