//
// UILayer::doPause from 0x3fcdc0 to 0x3fcdfe (62 bytes)
//
// 1 xrefs:
// > UILayer::onPause @ 0x3fce22
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:21 +0000
//
GameManager *__fastcall UILayer::doPause(UILayer *this)
{
GJUINode *v1; // r0
GameManager *result; // r0
int v3; // r0
GameManager *v4; // r0
*((_DWORD *)this + 116) = -1;
*((_DWORD *)this + 117) = -1;
v1 = UILayer::resetUINodeState(this);
result = (GameManager *)GameManager::sharedState(v1);
if ( *((_DWORD *)result + 101) )
{
v3 = GameManager::sharedState(result);
v4 = (GameManager *)PlayLayer::pauseGame(*(PlayLayer **)(v3 + 404), 0);
result = (GameManager *)GameManager::sharedState(v4);
++*(_DWORD *)(*((_DWORD *)result + 101) + 1400);
}
return result;
}