//
// cocos2d::CCCamera::restore from 0xd2548c to 0xd254ec (96 bytes)
//
// 4 xrefs:
// > cocos2d::CCCamera::init @ 0xd254ec
// > cocos2d::CCTransitionScene::finish @ 0xd5efdc
// > cocos2d::CCTransitionScene::finish @ 0xd5f064
// > ??> @ 0x7c150
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:13 +0000
//
__int64 __fastcall cocos2d::CCCamera::restore(cocos2d::CCCamera *this)
{
__int64 result; // x0
*((_DWORD *)this + 15) = 0;
*((_DWORD *)this + 14) = 0;
*((float *)this + 16) = cocos2d::CCCamera::getZEye(this);
*((_DWORD *)this + 19) = 0;
*((_DWORD *)this + 18) = 0;
*((_DWORD *)this + 17) = 0;
*((_DWORD *)this + 20) = 0;
*((float *)this + 21) = 1.0;
*((_DWORD *)this + 22) = 0;
result = kmMat4Identity((char *)this + 96);
*((_BYTE *)this + 92) = 0;
return result;
}