Family of src/nx/nn/hooks.hook. The hooks_off setting turns a family off by its name.
nn::nlibsdk::heap::TlsHeapCache::ShrinkFuncMode0(nn::nlibsdk::heap::TlsHeapCache*, void*, unsigned long) source_ZN2nn7nlibsdk4heap12TlsHeapCache15ShrinkFuncMode0EPS2_Pvm
As C: i32 (addr cache, addr p, u64 size)
Handler: alloc_heap_shrink (alloc.c)
aligned_alloc sourceAs C: addr (u64 align, u64 size)
Handler: alloc_aligned (alloc.c)
memalign sourceAs C: addr (u64 align, u64 size)
Handler: alloc_aligned (alloc.c)
posix_memalign sourceAs C: i32 (addr out, u64 align, u64 size)
Handler: alloc_posix_memalign (alloc.c)
strdup sourceAs C: addr (const char* s)
Handler: alloc_strdup (alloc.c)
strndup sourceAs C: addr (const char* s, u64 max)
Handler: alloc_strndup (alloc.c)
operator new keeps its own code in a module whose operator delete looks the block's allocator up by its address and is copied where no hook takes it, inlined or in a function no symbol names (alloc_new_shape): a block of the arena there would be looked up past the game's table. And in one whose new takes its block from an allocator object and whose delete asks which heap the block is in: a block of the arena is in none of the game's heaps
operator new(unsigned long) source_Znwm
As C: addr (u64 size)
Handler: alloc_new (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new[](unsigned long) source_Znam
As C: addr (u64 size)
Handler: alloc_new (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new(unsigned long, std::align_val_t) source_ZnwmSt11align_val_t
As C: addr (u64 size, u64 align)
Handler: alloc_new_aligned (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new[](unsigned long, std::align_val_t) source_ZnamSt11align_val_t
As C: addr (u64 size, u64 align)
Handler: alloc_new_aligned (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new(unsigned long, std::nothrow_t const&) source_ZnwmRKSt9nothrow_t
As C: addr (u64 size, addr nothrow)
Handler: alloc_new_nothrow (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new[](unsigned long, std::nothrow_t const&) source_ZnamRKSt9nothrow_t
As C: addr (u64 size, addr nothrow)
Handler: alloc_new_nothrow (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new(unsigned long, std::align_val_t, std::nothrow_t const&) source_ZnwmSt11align_val_tRKSt9nothrow_t
As C: addr (u64 size, u64 align, addr nothrow)
Handler: alloc_new_aligned_nothrow (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator new[](unsigned long, std::align_val_t, std::nothrow_t const&) source_ZnamSt11align_val_tRKSt9nothrow_t
As C: addr (u64 size, u64 align, addr nothrow)
Handler: alloc_new_aligned_nothrow (alloc.c)
Check: alloc_new_shape (alloc.c), which says whether a function the pattern matches is one the handler takes
operator delete(void*) source_ZdlPv
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete[](void*) source_ZdaPv
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete(void*, unsigned long) source_ZdlPvm
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete[](void*, unsigned long) source_ZdaPvm
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete(void*, std::nothrow_t const&) source_ZdlPvRKSt9nothrow_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete[](void*, std::nothrow_t const&) source_ZdaPvRKSt9nothrow_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)
operator delete(void*, std::align_val_t) source_ZdlPvSt11align_val_t
As C: void (addr p)
Handler: alloc_delete (alloc.c)
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.