//
// sub_14010F940 from 0x14010f940 to 0x14010f97b (59 bytes)
//
// 2 xrefs:
// > sub_140110788 @ 0x14011078f
// > ??> @ 0x140915cb0
//
// 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:26:49 +0000
//
void *__fastcall sub_14010F940(__int64 a1, char a2)
{
void *v2; // rdi
v2 = (void *)(a1 - 152);
sub_140103A70((_QWORD *)(a1 - 152));
if ( (a2 & 1) != 0 )
j_j_free(v2);
return v2;
}