MCPcopy Create free account
hub / github.com/Fable2Recomp/Fable2Recomp / InArena

Function InArena

src/heap.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43inline bool InArena(uint32_t guest_addr) {
44 return guest_addr >= g_arena_base && guest_addr < g_arena_end;
45}
46
47// lhHeapRealloc replacement — unified alloc/realloc/free (Lua allocator protocol)
48// r3 = heap (ignored), r4 = old_ptr, r5 = old_size, r6 = new_size

Callers 1

lhHeapRealloc_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected