//
// UILayer::doPause from 0x5c6ba8 to 0x5c6bf8 (80 bytes)
//
// 2 xrefs:
// > UILayer::onPause @ 0x5c6c40
// > ??> @ 0x8b068
//
// 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 UILayer::doPause(UILayer *a1)
{
GameManager *v1; // x0
GameManager *v2; // x0
a1->m_p1TouchId = -1;
a1->m_p2TouchId = -1;
UILayer::resetUINodeState(a1);
if ( GameManager::sharedState()->m_playLayer )
{
v1 = GameManager::sharedState();
PlayLayer::pauseGame(v1->m_playLayer, 0);
v2 = GameManager::sharedState();
++v2->m_playLayer->m_gameState.m_pauseCounter;
}
}