//
// ShaderLayer::resetTargetContainer from 0x9f5f24 to 0x9f5fac (136 bytes)
//
// 2 xrefs:
// > ShaderLayer::visit @ 0x9f7bf0
// > ??> @ 0x67ef0
//
// 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; // x2
cocos2d::CCNode *m_inShaderParent; // x20
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;
m_inShaderParent->setPosition(m_inShaderParent, &a1->m_savedCameraPosition);
m_inShaderParent->setScale(m_inShaderParent, 1.0);
m_inShaderParent->setRotation(m_inShaderParent, a1->m_savedCameraRotation);
a1->setRotation(a1, 0.0);
}
}