//
// sub_14008B4E0 from 0x14008b4e0 to 0x14008b526 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x140715ef0
// > ??> @ 0x140912830
//
// 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:25:59 +0000
//
_BYTE *__fastcall sub_14008B4E0(_BYTE *Block, char a2)
{
bool v2; // zf
v2 = (Block[8] & 1) == 0;
*(_QWORD *)Block = &CCallbackImpl<24>::`vftable';
if ( !v2 )
SteamAPI_UnregisterCallback();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}