//
// ShaderLayer::resetTargetContainer from 0x1003d00b0 to 0x1003d012d (125 bytes)
//
// 0 xrefs:
//
// 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 ShaderLayer::resetTargetContainer(ShaderLayer *a1)
{
GJBaseGameLayer *m_gameLayer; // rax
__int64 v2; // rbx
m_gameLayer = a1->m_gameLayer;
if ( m_gameLayer )
{
v2 = *((_QWORD *)&m_gameLayer->m_objectParent + (a1->m_state.m_minBlendingLayer >= 2));
(*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v2 + 184LL))(v2, &a1->m_savedCameraPosition);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 160LL))(v2, 1.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 344LL))(v2, a1->m_savedCameraRotation);
((void (__fastcall *)(ShaderLayer *, double))a1->setRotation)(a1, 0.0);
}
}