//
// sub_1405EC0E0 from 0x1405ec0e0 to 0x1405ec114 (52 bytes)
//
// 3 xrefs:
// > sub_1405F2330 @ 0x1405f2337
// > ??> @ 0x140805600
// > ??> @ 0x14092f024
//
// This function is hookable on this platform (idp: pc, 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 11:35:04 +0000
//
void *__fastcall sub_1405EC0E0(void *Block, char a2)
{
BrowseSmartTemplateLayer::dBrowseSmartTemplateLayer();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}