//
// sub_140501E7D from 0x140501e7d to 0x140501eac (47 bytes)
//
// 3 xrefs:
// > ??> @ 0x140690788
// > ??> @ 0x1406eac54
// > ??> @ 0x1406eac60
//
// 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_140501E7D(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(a2 + 136) & 1) != 0 )
{
*(_DWORD *)(a2 + 136) &= ~1u;
sub_14003A7E0((void *)(a2 + 256));
}
}