//
// sub_E35A24 from 0xe35a24 to 0xe35a4c (40 bytes)
//
// 6 xrefs:
// > sub_E35A4C @ 0xe35a5c
// > sub_E35A68 @ 0xe35a88
// > sub_E35A4C @ 0xe35a58
// > sub_E35A68 @ 0xe35a78
// > lws_set_allocator @ 0xe35ab4
// > ??> @ 0x154a830
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:09:57 +0000
//
void *__fastcall sub_E35A24(void *a1, size_t a2)
{
if ( a2 )
return realloc(a1, a2);
if ( a1 )
free(a1);
return nullptr;
}