// // cocos2d::CCOrbitCamera::copyWithZone from 0x5b0510 to 0x5b05b8 (168 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 // cocos2d::CCObject *cocos2d::CCOrbitCamera::copyWithZone(cocos2d::CCOrbitCamera *a1, cocos2d::CCZone *a2) { cocos2d::CCZone *v3; // r6 int v4; // r4 cocos2d::CCZone *v5; // r7 v3 = a2; if ( a2 && (v4 = *(_DWORD *)a2) != 0 ) { v5 = nullptr; } else { v4 = operator new(0x9Cu); cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4); *(_DWORD *)(v4 + 68) = 0; *(_DWORD *)(v4 + 80) = 0; *(_DWORD *)(v4 + 84) = 0; *(_DWORD *)(v4 + 88) = 0; *(_DWORD *)(v4 + 92) = 0; *(_DWORD *)(v4 + 96) = 0; *(_DWORD *)(v4 + 100) = 0; *(_DWORD *)(v4 + 104) = 0; *(_DWORD *)(v4 + 108) = 0; *(_DWORD *)(v4 + 112) = 0; *(_DWORD *)v4 = &off_A9EE08; *(_DWORD *)(v4 + 116) = 0; *(_DWORD *)(v4 + 120) = 0; *(_DWORD *)(v4 + 124) = 0; *(_DWORD *)(v4 + 128) = 0; *(_DWORD *)(v4 + 132) = 0; *(_DWORD *)(v4 + 136) = 0; *(_DWORD *)(v4 + 140) = 0; *(_DWORD *)(v4 + 144) = 0; *(_DWORD *)(v4 + 148) = 0; *(_DWORD *)(v4 + 152) = 0; v3 = (cocos2d::CCZone *)operator new(4u); cocos2d::CCZone::CCZone(v3, (cocos2d::CCObject *)v4); v5 = v3; } cocos2d::CCActionInterval::copyWithZone(a1, v3); cocos2d::CCOrbitCamera::initWithDuration( (cocos2d::CCOrbitCamera *)v4, a1->m_fDuration, *(float *)&a1[1].m_unknown2, *(float *)&a1[1].m_nZOrder, *(float *)&a1[1].m_uOrderOfArrival, *(float *)&a1[1].m_unknown5, *(float *)&a1[1].m_pOriginalTarget, *(float *)&a1[1].m_pTarget); if ( v5 ) operator delete(v5); return (cocos2d::CCObject *)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source