// // GJBaseGameLayer::controlGradientTrigger from 0x47cb5a to 0x47cb98 (62 bytes) // // 2 xrefs: // > GJBaseGameLayer::controlTriggersWithControlID @ 0x495d54 // > GJBaseGameLayer::controlTriggersInGroup @ 0x495fac // // 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 GJBaseGameLayer::controlGradientTrigger(GJBaseGameLayer *a1, GradientTriggerObject *a2, GJActionCommand a3) { intptr_t m_gradientID; // r1 cocos2d::CCDictionary *m_gradientLayers; // r0 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r4 if ( a3 == Resume ) { GJBaseGameLayer::triggerGradientCommand(a1, a2); } else { m_gradientID = a2->m_gradientID; m_gradientLayers = a1->m_gradientLayers; if ( m_gradientID >= 999 ) m_gradientID = 999; v5 = cocos2d::CCDictionary::objectForKey(m_gradientLayers, m_gradientID); v6 = v5; if ( v5 ) { v5->__vftable[6].acceptVisitor(v5, nullptr); v6[9].m_nLuaID = 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source