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

Function mem_null

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

Source from the content-addressed store, hash-verified

337{
338 if ((S32)__size <= 0)
339 {
340 return NULL;
341 }
342
343 void* result = OSAllocFromHeap(the_heap, __size);
344
345 if (result == NULL)
346 {

Callers 1

_rwDolphinHeapFreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected