// // ShaderLayer::resetTargetContainer from 0x54dcdc to 0x54dd30 (84 bytes) // // 1 xrefs: // > ShaderLayer::visit @ 0x54f224 // // 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 ShaderLayer::resetTargetContainer(ShaderLayer *a1) { GJBaseGameLayer *m_gameLayer; // r3 cocos2d::CCNode *m_inShaderParent; // r4 m_gameLayer = a1->m_gameLayer; if ( m_gameLayer ) { m_inShaderParent = m_gameLayer->m_inShaderParent; if ( a1->m_state.m_minBlendingLayer <= 1 ) m_inShaderParent = m_gameLayer->m_objectParent; ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCPoint *, cocos2d::CCNode *))m_inShaderParent->setPosition)( m_inShaderParent, &a1->m_savedCameraPosition, m_gameLayer->m_objectParent); ((void (__fastcall *)(cocos2d::CCNode *, int))m_inShaderParent->setScale)(m_inShaderParent, 1065353216); ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))m_inShaderParent->setRotation)( m_inShaderParent, LODWORD(a1->m_savedCameraRotation)); ((void (__fastcall *)(ShaderLayer *, _DWORD))a1->setRotation)(a1, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source