//
// cocos2d::CCOrbitCamera::update from 0xd26034 to 0xd260fc (200 bytes)
//
// 2 xrefs:
// > ??> @ 0xa9318
// > ??> @ 0x1510ec8
//
// 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:14 +0000
//
__int64 __fastcall cocos2d::CCOrbitCamera::update(cocos2d::CCOrbitCamera *this, float a2)
{
float v4; // s8
float ZEye; // s0
float v6; // s10
float v7; // s8
float v8; // s11
float v9; // s9
float v10; // s3
float v11; // s0
float v12; // s11
__int64 v13; // x0
float v15; // [xsp+40h] [xbp+40h]
float v16; // [xsp+50h] [xbp+50h]
v4 = *((float *)this + 32) + (float)(*((float *)this + 33) * a2);
ZEye = cocos2d::CCCamera::getZEye(this);
v6 = *((float *)this + 38) + (float)(*((float *)this + 39) * a2);
v7 = v4 * ZEye;
v8 = *((float *)this + 40) + (float)(*((float *)this + 41) * a2);
v9 = sinf(v6);
v10 = v9 * cosf(v8);
v11 = v8;
v12 = *((float *)this + 23) + (float)(v10 * v7);
v15 = *((float *)this + 24) + (float)((float)(v9 * sinf(v11)) * v7);
v16 = *((float *)this + 25) + (float)(cosf(v6) * v7);
v13 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 672LL))(*((_QWORD *)this + 8));
return cocos2d::CCCamera::setEyeXYZ(v13, v12, v15, v16);
}