// // GJBaseGameLayer::resetGradientLayers from 0x4703f4 to 0x470444 (80 bytes) // // 3 xrefs: // > LevelEditorLayer::updateGameObjects @ 0x375d84 // > GJBaseGameLayer::triggerGradientCommand @ 0x47c968 // > GJBaseGameLayer::resetLevelVariables @ 0x491d44 // // 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::resetGradientLayers(GJBaseGameLayer *a1) { cocos2d::CCDictionary *m_gradientLayers; // r3 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCObject *m_pObject; // r5 cocos2d::CCObject_vtbl *v5; // r3 cocos2d::CCDictElement *v6; // r2 m_gradientLayers = a1->m_gradientLayers; if ( m_gradientLayers ) { m_pElements = m_gradientLayers->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; m_pObject->__vftable[6].acceptVisitor(m_pObject, nullptr); v5 = m_pObject->__vftable; m_pObject[9].m_nLuaID = 0; LOBYTE(m_pObject[9].m_nTag) = 0; ((void (__fastcall *)(cocos2d::CCObject *, _DWORD))v5[4].~CCObject)(m_pObject, 0); if ( next ) v6 = (cocos2d::CCDictElement *)next->hh.next; else v6 = nullptr; m_pElements = next; next = v6; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source