//
// cocos2d::CCOrbitCamera::update from 0x7b693e to 0x7b69ec (174 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:11 +0000
//
int __fastcall cocos2d::CCOrbitCamera::update(cocos2d::CCOrbitCamera *this, float a2)
{
float v4; // s16
float v5; // s16
float v6; // s17
float v7; // s19
float v8; // s18
float v9; // s20
float v10; // s19
float v11; // s18
int v12; // r0
v4 = *((float *)this + 29) + (float)(a2 * *((float *)this + 30));
v5 = v4 * COERCE_FLOAT(cocos2d::CCCamera::getZEye(this));
v6 = *((float *)this + 35) + (float)(a2 * *((float *)this + 36));
v7 = *((float *)this + 37) + (float)(a2 * *((float *)this + 38));
v8 = sinf(v6);
v9 = *((float *)this + 20) + (float)((float)(v8 * cosf(v7)) * v5);
v10 = *((float *)this + 21) + (float)((float)(v8 * sinf(v7)) * v5);
v11 = *((float *)this + 22) + (float)(cosf(v6) * v5);
v12 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 14) + 336))(*((_DWORD *)this + 14));
return cocos2d::CCCamera::setEyeXYZ(v12, v9, v10, v11);
}