//
// sub_140510691 from 0x140510691 to 0x1405106ba (41 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406a38f1
// > ??> @ 0x1406ee02c
//
// 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_140510691(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(a2 + 84) & 4) != 0 )
{
*(_DWORD *)(a2 + 84) &= ~4u;
sub_14003A7E0((void *)(a2 + 184));
}
}