//
// sub_140180220 from 0x140180220 to 0x140180254 (52 bytes)
//
// 4 xrefs:
// > sub_140180C7C @ 0x140180c83
// > ??> @ 0x140748fa0
// > ??> @ 0x140749618
// > ??> @ 0x140918b54
//
// 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:27:36 +0000
//
void *__fastcall sub_140180220(void *Block, char a2)
{
GJOptionsLayer::dGJOptionsLayer();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}