//
// PauseLayer::handleAction from 0x1404db8b0 to 0x1404db8f1 (65 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407d27e8
// > ??> @ 0x140929a08
//
// This function is hookable on this platform (idp: pc, 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 11:33:04 +0000
//
char __fastcall PauseLayer::handleAction(__int64 a1, int a2, char a3)
{
struct cocos2d::CCObject *v4; // rcx
if ( a2 != 10009 )
return 0;
if ( a3 )
{
v4 = (struct cocos2d::CCObject *)(a1 - 344);
if ( *((_BYTE *)v4 + 586) )
{
PauseLayer::onToggleUI((__int64)v4);
return 1;
}
PauseLayer::onResume(v4);
}
return 1;
}