//
// sub_14008D970 from 0x14008d970 to 0x14008d9a4 (52 bytes)
//
// 28 xrefs:
// > sub_140093E58 @ 0x140093e5f
// > ??> @ 0x14053f6b0
// > ??> @ 0x1405d8f60
// > ??> @ 0x1405d9b10
// > ??> @ 0x1405da9d0
// > ??> @ 0x1405dff88
// > ??> @ 0x1405e1148
// > ??> @ 0x1405e1818
// > ??> @ 0x1405eaba0
// > ??> @ 0x1405ed4e0
// > ??> @ 0x1405edb50
// > ??> @ 0x1405f7a48
// > ??> @ 0x1405f8b90
// > ??> @ 0x1405f93b0
// > ??> @ 0x1405f9860
// > ??> @ 0x1405faf88
// > ??> @ 0x1405fcd80
// > ??> @ 0x1405fd228
// > ??> @ 0x1405fe868
// > ??> @ 0x1405ff1e8
// > ??> @ 0x1405ff958
// > ??> @ 0x1405ffef0
// > ??> @ 0x140600430
// > ??> @ 0x140601128
// > ??> @ 0x140602128
// > ??> @ 0x140602ad0
// > ??> @ 0x140603dc0
// > ??> @ 0x1406c6eac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_14008D970(void *Block, char a2)
{
SetupTriggerPopup::dSetupTriggerPopup();
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}