// // cocos2d::CCBlink::copyWithZone from 0x10018c794 to 0x10018c860 (204 bytes) // // 1 xrefs: // > @ 0x1007a5be8 // // 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::CCBlink::copyWithZone(cocos2d::CCBlink *a1, cocos2d::CCZone *a2) { cocos2d::CCZone *v3; // x21 cocos2d::CCObject *v4; // x19 cocos2d::CCZone *v5; // x22 float m_fDuration; // s0 int v7; // w8 if ( a2 && (v3 = a2, (v4 = *(cocos2d::CCObject **)a2) != nullptr) ) { v5 = nullptr; } else { v4 = (cocos2d::CCObject *)operator new(0x68u); *(_OWORD *)&v4->__vftable = 0u; *(_OWORD *)&v4->m_nTag = 0u; *(_OWORD *)&v4->m_uIndexInArray = 0u; *(_OWORD *)&v4->m_uOrderOfArrival = 0u; *(_OWORD *)&v4[1].m_uID = 0u; *(_OWORD *)&v4[1].m_uAutoReleaseCount = 0u; *(_QWORD *)&v4[1].m_unknown2 = 0; cocos2d::CCAction::CCAction(); v4[1].m_uAutoReleaseCount = 0; v4->__vftable = (cocos2d::CCObject_vtbl *)&off_1007A5BE8; v3 = (cocos2d::CCZone *)operator new(8u); cocos2d::CCZone::CCZone(v3, v4); v5 = v3; } cocos2d::CCActionInterval::copyWithZone(a1, v3); m_fDuration = a1->m_fDuration; v7 = *((_DWORD *)&a1->m_bFirstTick + 1); if ( m_fDuration == 0.0 ) m_fDuration = 0.00000011921; *(float *)&v4[1].m_uAutoReleaseCount = m_fDuration; v4[1].m_eObjType = 0; LOBYTE(v4[1].m_uIndexInArray) = 1; v4[1].m_uUnknown = v7; if ( v5 ) operator delete(v5); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source