// // SmartTemplateCell::onClick from 0x60ac8c to 0x60ad38 (172 bytes) // // 4 xrefs: // > @ 0x892f8 // > SmartTemplateCell::loadFromObject @ 0x61dcd4 // > SmartTemplateCell::loadFromObject @ 0x61dd34 // > @ 0x122ca98 // // 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 SmartTemplateCell::onClick(SmartTemplateCell *a1, cocos2d::CCObject *a2) { int v3; // w0 TableViewCellDelegate *m_cellDelegate; // x0 TableViewCellDelegate *v5; // x0 if ( a2 ) { v3 = a2->getTag(a2); if ( v3 ) { if ( v3 == 1 ) { m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( m_cellDelegate ) m_cellDelegate->cellPerformedAction(m_cellDelegate, a1, 22, Edit, nullptr); } } else if ( a1->m_smartTemplate ) { GameLevelManager::sharedState()->m_smartTemplate = a1->m_smartTemplate; v5 = a1->m_tableView->m_cellDelegate; if ( v5 ) v5->cellPerformedAction(v5, a1, 22, Click, nullptr); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source