//
// GJPathsLayer::onClose from 0xa6cbd8 to 0xa6cc44 (108 bytes)
//
// 5 xrefs:
// > GJPathsLayer::keyBackClicked @ 0xa6cc48
// > GJPathPage::unlockAnimationFinished @ 0xa71114
// > ??> @ 0x3cbe8
// > GJPathsLayer::init @ 0xa6f0f0
// > ??> @ 0x1229ef0
//
// 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 GJPathsLayer::onClose(GJPathsLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
v3 = cocos2d::CCDirector::sharedDirector();
v4 = v3->getTouchDispatcher(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
cocos2d::CCNode::stopAllActions(a1);
cocos2d::CCNode::unscheduleAllSelectors(a1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}