// // GJBaseGameLayer::resetGradientLayers from 0x100139370 to 0x1001393d6 (102 bytes) // // 1 xrefs: // > LevelEditorLayer::updateGameObjects @ 0x1000de0cd // // 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 GJBaseGameLayer::resetGradientLayers(GJBaseGameLayer *a1) { cocos2d::CCDictionary *m_gradientLayers; // rax cocos2d::CCDictElement *m_pElements; // r14 cocos2d::CCObject *m_pObject; // rbx m_gradientLayers = a1->m_gradientLayers; if ( m_gradientLayers ) { m_pElements = m_gradientLayers->m_pElements; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))m_pObject->__vftable[6].acceptVisitor)(m_pObject, 0); *(_QWORD *)&m_pObject[10].m_uAutoReleaseCount = 0; LOBYTE(m_pObject[10].m_uIndexInArray) = 0; ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))m_pObject->__vftable[4].~CCObject)(m_pObject, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source