// // SmartTemplateCell::onClick from 0x100112c5c to 0x100112d00 (164 bytes) // // 1 xrefs: // > SmartTemplateCell::loadFromObject @ 0x10010b32c // // 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 SmartTemplateCell::onClick(SmartTemplateCell *a1, cocos2d::CCObject *a2) { int v3; // w0 TableViewCellDelegate *v4; // x0 void (*cellPerformedAction)(void); // x5 TableViewCellDelegate *m_cellDelegate; // x0 if ( a2 ) { v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); if ( v3 == 1 ) { m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( !m_cellDelegate ) return; cellPerformedAction = (void (*)(void))m_cellDelegate->cellPerformedAction; goto LABEL_9; } if ( !v3 ) { if ( a1->m_smartTemplate ) { GameLevelManager::sharedState()->m_smartTemplate = a1->m_smartTemplate; v4 = a1->m_tableView->m_cellDelegate; if ( v4 ) { cellPerformedAction = (void (*)(void))v4->cellPerformedAction; LABEL_9: cellPerformedAction(); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source