//
// sub_14010F980 from 0x14010f980 to 0x14010f9c7 (71 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072f508
// > ??> @ 0x140915cbc
//
// 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
//
_QWORD *__fastcall sub_14010F980(_QWORD *Block, char a2)
{
*Block = &std::stringbuf::`vftable';
sub_14010FC00(Block);
std::streambuf::~streambuf>(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}