//
// cocos2d::CCCamera::restore from 0x5afc4a to 0x5afc7a (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCCamera::init @ 0x5afc7a
// > cocos2d::CCTransitionScene::finish @ 0x5d0d7e
// > cocos2d::CCTransitionScene::finish @ 0x5d0dd2
//
// 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 cocos2d::CCCamera::restore(cocos2d::CCCamera *a1)
{
float ZEye; // r0
a1->m_fEyeY = 0.0;
a1->m_fEyeX = 0.0;
ZEye = cocos2d::CCCamera::getZEye();
a1->m_fCenterZ = 0.0;
a1->m_fUpY = 1.0;
a1->m_fCenterY = 0.0;
a1->m_fCenterX = 0.0;
a1->m_fUpX = 0.0;
a1->m_fUpZ = 0.0;
a1->m_fEyeZ = ZEye;
kmMat4Identity(&a1->m_lookupMatrix);
a1->m_bDirty = 0;
}