//
// sub_1406166A0 from 0x1406166a0 to 0x1406166d4 (52 bytes)
//
// 3 xrefs:
// > sub_14062125C @ 0x140621263
// > ??> @ 0x1408153c0
// > ??> @ 0x140930158
//
// 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:17 +0000
//
void *__fastcall sub_1406166A0(void *Block, char a2)
{
GJOptionsLayer::dGJOptionsLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}