//
// sub_140505A10 from 0x140505a10 to 0x140505a36 (38 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406951ff
// > ??> @ 0x1406ebbc0
//
// 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_140505A10(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(a2 + 32) & 1) != 0 )
{
*(_DWORD *)(a2 + 32) &= ~1u;
sub_14003A7E0(*(void **)(a2 + 40));
}
}