// // cocos2d::CCOrbitCamera::startWithTarget from 0x5b06d4 to 0x5b075e (138 bytes) // // 0 xrefs: // // 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::CCOrbitCamera::startWithTarget(cocos2d::CCOrbitCamera *a1, cocos2d::CCNode *a2) { int v3; // [sp+0h] [bp-14h] BYREF float v4; // [sp+4h] [bp-10h] BYREF float v5; // [sp+8h] [bp-Ch] BYREF cocos2d::CCActionInterval::startWithTarget(a1, a2); cocos2d::CCOrbitCamera::sphericalRadius(a1, (float *)&v3, &v4, &v5); if ( _isnanf(*(float *)&a1[1].m_unknown2) ) a1[1].m_unknown2 = v3; if ( _isnanf(*(float *)&a1[1].m_uOrderOfArrival) ) *(float *)&a1[1].m_uOrderOfArrival = v4 * 57.296; if ( _isnanf(*(float *)&a1[1].m_pOriginalTarget) ) *(float *)&a1[1].m_pOriginalTarget = v5 * 57.296; *(float *)&a1[1].cocos2d::CCActionCamera::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::m_nTag = *(float *)&a1[1].m_uOrderOfArrival * 0.017453; a1[1].m_fDuration = *(float *)&a1[1].m_pOriginalTarget * 0.017453; }
GD Web Decomp Icon

GD Web Decomp

Raw Source