// // cocos2d::CCOrbitCamera::update from 0x180024fa0 to 0x1800250ac (268 bytes) // // 3 xrefs: // > @ 0x1800e7620 // > @ 0x1801438a8 // > @ 0x1801af25c // // 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 cocos2d::CCOrbitCamera::update(cocos2d::CCOrbitCamera *this, float a2) { float ZEye; // xmm0_4 float v4; // xmm6_4 float v5; // xmm8_4 float v6; // xmm10_4 float v7; // xmm0_4 float v8; // xmm9_4 float v9; // xmm0_4 float v10; // xmm7_4 float v11; // xmm6_4 cocos2d::CCCamera *v12; // rax ZEye = cocos2d::CCCamera::getZEye(); v4 = (float)(a2 * *((float *)this + 43)) + *((float *)this + 42); v5 = (float)(a2 * *((float *)this + 41)) + *((float *)this + 40); v6 = ZEye * (float)((float)(a2 * *((float *)this + 35)) + *((float *)this + 34)); v7 = cosf(v4); v8 = (float)((float)(v7 * sinf(v5)) * v6) + *((float *)this + 24); v9 = sinf(v4); v10 = (float)((float)(v9 * sinf(v5)) * v6) + *((float *)this + 25); v11 = (float)(cosf(v5) * v6) + *((float *)this + 26); v12 = (cocos2d::CCCamera *)((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getCamera)(this->m_pTarget); cocos2d::CCCamera::setEyeXYZ(v12, v8, v10, v11); }