// // LevelFeatureLayer::onToggleEpic from 0x81fe90 to 0x81ff1c (140 bytes) // // 3 xrefs: // > @ 0x911d0 // > LevelFeatureLayer::init @ 0x8216a8 // > @ 0x122cf50 // // 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 LevelFeatureLayer::onToggleEpic(LevelFeatureLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCSprite *m_epicSprite; // x2 cocos2d::CCSprite_vtbl *v3; // x3 _BOOL4 v4; // w1 void (__fastcall *setColor)(cocos2d::CCSprite *__hidden, const cocos2d::ccColor3B *); // x3 _BYTE v6[8]; // [xsp+20h] [xbp+20h] BYREF m_epicSprite = a1->m_epicSprite; v3 = m_epicSprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = !a1->m_epicOnly; a1->m_epicOnly ^= 1u; setColor = v3->setColor; if ( v4 ) { v6[0] = -1; v6[1] = -1; v6[2] = -1; } else { memset(v6, 50, 3); } setColor(m_epicSprite, (const cocos2d::ccColor3B *)v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source