#pragma once #include <3ds/types.h> typedef u32(*backdoor_fn)(u32 arg0, u32 arg1); u32 svc_7b(void* entry_fn, ...); // can pass up to two arguments to entry_fn(...) Result svcCreateSemaphoreKAddr(Handle *semaphore, s32 initialCount, s32 maxCount, u32 **kaddr); Result svcGetHandleInfo(s64* out, Handle handle, u32 type);