// // cocos2d::CCTargetedAction::copyWithZone from 0x1003bcdf0 to 0x1003bcedf (239 bytes) // // 1 xrefs: // > @ 0x100929c50 // // 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 *__fastcall cocos2d::CCTargetedAction::copyWithZone( cocos2d::CCTargetedAction *a1, cocos2d::CCZone *a2) { _DWORD *v2; // rbx cocos2d::CCZone *v3; // r14 cocos2d::CCZone *v4; // r12 cocos2d::CCObject *v5; // r12 cocos2d::CCObject *v6; // rax cocos2d::CCObject *v7; // r15 __m128 m_uAutoReleaseCount; // xmm0 __m128 v9; // xmm1 if ( a2 && (v2 = *(_DWORD **)a2) != nullptr ) { v3 = nullptr; } else { v2 = operator new(0x70u); cocos2d::CCAction::CCAction(v2); v2[20] = 0; *(_QWORD *)v2 = off_100929C50; *((_OWORD *)v2 + 6) = 0; v4 = (cocos2d::CCZone *)operator new(8u); cocos2d::CCZone::CCZone(v4, (__int64)v2); a2 = v4; v3 = v4; } cocos2d::CCActionInterval::copyWithZone(a1, a2); v5 = (cocos2d::CCObject *)a1[1].__vftable; v6 = (cocos2d::CCObject *)sub_10048AAA0(); v7 = cocos2d::CCObject::autorelease(v6); m_uAutoReleaseCount = (__m128)v7[1].m_uAutoReleaseCount; v9 = _mm_cmpeq_ss((__m128)0LL, m_uAutoReleaseCount); *((_QWORD *)v2 + 10) = _mm_andnot_ps(v9, m_uAutoReleaseCount).u32[0] | v9.i32[0] & 0x34000000; *((_BYTE *)v2 + 88) = 1; if ( v5 ) cocos2d::CCObject::retain(v5); *((_QWORD *)v2 + 12) = v5; cocos2d::CCObject::retain(v7); *((_QWORD *)v2 + 13) = v7; if ( v3 ) operator delete(v3); return (cocos2d::CCObject *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source