//
// PauseLayer::handleAction from 0x7d568c to 0x7d56f0 (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'PauseLayer::handleAction @ 0x7d56f4
// > ??> @ 0x58168
// > ??> @ 0x14380e0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:20 +0000
//
__int64 __fastcall PauseLayer::handleAction(PauseLayer *this, int a2, char a3, double a4)
{
unsigned int v4; // w19
v4 = 0;
if ( a2 != 10009 )
return v4;
v4 = 1;
if ( !a3 )
return v4;
v4 = *((unsigned __int8 *)this + 586);
if ( *((_BYTE *)this + 586) )
{
PauseLayer::onToggleUI(this, nullptr);
return v4;
}
PauseLayer::onResume((cocos2d::CCArray **)this, nullptr);
return (__int64)&dword_0 + 1;
}