//
// BrowseSmartKeyLayer::onBack from 0x1004ebf60 to 0x1004ebfc4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100957c18
//
// 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 __fastcall BrowseSmartKeyLayer::onBack(BrowseSmartKeyLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // rax
cocos2d::CCTouchDispatcher *v4; // rax
BrowseSmartTemplateLayer *v5; // rax
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v3->getTouchDispatcher)(
v3,
a2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
((void (__fastcall *)(BrowseSmartKeyLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(BrowseSmartKeyLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
v5 = BrowseSmartTemplateLayer::create(a1->m_template, (SmartBrowseFilter)0);
((void (__fastcall *)(BrowseSmartTemplateLayer *))v5->show)(v5);
}