//
// sub_140500FB0 from 0x140500fb0 to 0x140500fd6 (38 bytes)
//
// 2 xrefs:
// > ??> @ 0x14068e38f
// > ??> @ 0x1406eaad4
//
// 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_140500FB0(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(a2 + 32) & 1) != 0 )
{
*(_DWORD *)(a2 + 32) &= ~1u;
sub_14003A7E0(*(void **)(a2 + 56));
}
}