//
// GJPathsLayer::keyBackClicked from 0x140393180 to 0x1403931e2 (98 bytes)
//
// 3 xrefs:
// > ??> @ 0x140774ac0
// > ??> @ 0x14077da78
// > ??> @ 0x140923090
//
// 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:31:11 +0000
//
// Merged with: GJPathsLayer::keyBackClicked, GJPromoPopup::keyBackClicked
__int64 __fastcall GJPathsLayer::keyBackClicked(__int64 a1)
{
struct cocos2d::CCObject *v1; // rbx
__int64 v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
__int64 v4; // rdx
v1 = (struct cocos2d::CCObject *)(a1 - 336);
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, v1);
cocos2d::CCNode::stopAllActions(v1);
cocos2d::CCNode::unscheduleAllSelectors(v1);
(*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v1 + 992LL))(v1, 0);
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 520LL))(v1, v4);
}