// // BrowseSmartKeyLayer::onBack from 0x14045c550 to 0x14045c5fb (171 bytes) // // 2 xrefs: // > @ 0x1405f6010 // > @ 0x1406dac40 // // 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 // // Hidden C++ exception states: #wind=1 void BrowseSmartKeyLayer::onBack(BrowseSmartKeyLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rax cocos2d::CCTouchDispatcher *v4; // rax _BOOL8 v5; // rdx GJSmartTemplate *m_template; // rdi BrowseSmartTemplateLayer *v7; // rax SmartBrowseFilter v8; // r8d cocos2d::CCObject *v9; // rbx BrowseSmartTemplateLayer *v10; // [rsp+30h] [rbp+8h] v3 = cocos2d::CCDirector::sharedDirector(a1); v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1); a1->setKeypadEnabled(a1, 0); LOBYTE(v5) = 1; a1->removeFromParentAndCleanup(a1, v5); m_template = a1->m_template; v10 = (BrowseSmartTemplateLayer *)operator new(0x2A8u); v7 = BrowseSmartTemplateLayer::BrowseSmartTemplateLayer(v10); v9 = v7; if ( v7 ) { if ( BrowseSmartTemplateLayer::init(v7, m_template, v8) ) { cocos2d::CCObject::autorelease(v9); } else { ((void (__fastcall *)(cocos2d::CCObject *, __int64))v9->~CCObject)(v9, 1); v9 = nullptr; } } ((void (__fastcall *)(cocos2d::CCObject *))v9->__vftable[14].update)(v9); }