// // SetupSmartTemplateLayer::onClose from 0x140459c10 to 0x140459cd6 (198 bytes) // // 5 xrefs: // > SetupSmartTemplateLayer::onClick @ 0x140459721 // > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1404597ec // > SetupSmartTemplateLayer::onBack @ 0x140459be4 // > SetupSmartTemplateLayer::keyBackClicked @ 0x140459ceb // > @ 0x1406daad8 // // 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 SetupSmartTemplateLayer::onClose(SetupSmartTemplateLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCNode *m_unk298; // rcx GJSmartTemplate *m_smartTemplate; // rdx cocos2d::CCString *v5; // rax char *CString; // rax size_t v7; // r8 _BOOL8 v8; // rdx __int64 v9; // rcx __int64 v10; // rax cocos2d::CCTouchDispatcher *v11; // rax m_unk298 = a1->m_unk298; if ( m_unk298 ) { LOBYTE(a2) = 1; m_unk298->setVisible(m_unk298, (bool)a2); } a1->m_nameInput->onClickTrackNode(a1->m_nameInput, 0); m_smartTemplate = a1->m_smartTemplate; if ( !m_smartTemplate->m_templateName.m_data.m_size ) { v5 = cocos2d::CCString::createWithFormat("SmartTemplate_%i", m_smartTemplate->m_nameIndex); CString = (char *)cocos2d::CCString::getCString(v5); v7 = -1; do ++v7; while ( CString[v7] ); sub_14003CCE0((void **)&a1->m_smartTemplate->m_templateName, CString, v7); } a1->setKeypadEnabled(a1, 0); LOBYTE(v8) = 1; a1->removeFromParentAndCleanup(a1, v8); v10 = cocos2d::CCDirector::sharedDirector(v9); v11 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 144LL))(v10); cocos2d::CCTouchDispatcher::unregisterForcePrio(v11, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source