//
// sub_14040AFE0 from 0x14040afe0 to 0x14040b014 (52 bytes)
//
// 3 xrefs:
// > sub_140412A20 @ 0x140412a27
// > ??> @ 0x1405dcdf8
// > ??> @ 0x1406d8b34
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_14040AFE0(void *Block, char a2)
{
sub_14040F850();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}