//
// sub_1004C95D0 from 0x1004c95d0 to 0x1004c962d (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x100950da0
//
// 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_1004C95D0(__int64 a1)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 232) + 1032LL))(*(_QWORD *)(a1 + 232))
&& (!GameManager::sharedState()->m_playLayer
|| (int)GameManager::sharedState()->m_playLayer->m_gameState.m_pauseCounter <= 2) )
{
UILayer::doPause((UILayer *)(a1 - 336));
}
}