MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / free

Function free

src/SB/Core/gc/iSystem.cpp:362–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362static void _rwDolphinHeapFree(void* __ptr)
363{
364 if (__ptr == bad_val)
365 {
366 mem_null(0, 0);
367 }
368 if (__ptr != NULL)
369 {
370 if (*(S32*)((S32)__ptr - 4) == 0xDEADBEEF)
371 {

Callers 2

_rwDolphinHeapFreeFunction · 0.70
iMemExitFunction · 0.70

Calls 1

OSFreeToHeapFunction · 0.85

Tested by

no test coverage detected