// // LevelFeatureLayer::onDown2 from 0x100505650 to 0x1005056a2 (82 bytes) // // 1 xrefs: // > LevelFeatureLayer::init @ 0x1005051dc // // 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 LevelFeatureLayer::onDown2(LevelFeatureLayer *a1, cocos2d::CCObject *a2) { char v2; // al int m_featurePosition; // eax int v4; // esi cocos2d::CCLabelBMFont *m_featureLabel; // rbx cocos2d::CCString *v6; // rax const char *CString; // rax char v8; // [rsp-8h] [rbp-10h] v8 = v2; m_featurePosition = a1->m_featurePosition; v4 = m_featurePosition - 10; if ( m_featurePosition < 11 ) v4 = 0; a1->m_featurePosition = v4; m_featureLabel = a1->m_featureLabel; v6 = (cocos2d::CCString *)sub_1007AB580("%i", v8); CString = cocos2d::CCString::getCString(v6); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_featureLabel->setString)(m_featureLabel, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source