// // cocos2d::CCEaseElasticOut::copyWithZone from 0x180027f30 to 0x18002802c (252 bytes) // // 3 xrefs: // > @ 0x1800e7f78 // > @ 0x1801438a8 // > @ 0x1801af628 // // 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 // struct cocos2d::CCObject *__fastcall cocos2d::CCEaseElasticOut::copyWithZone( cocos2d::CCEaseElasticOut *this, struct cocos2d::CCZone *a2) { tinyxml2::XMLHandle *v3; // rdi _OWORD *v4; // rbx _OWORD *v5; // rax tinyxml2::XMLHandle *v6; // rax int v7; // xmm6_4 cocos2d::CCObject *v8; // rax struct cocos2d::CCObject *v9; // rsi v3 = nullptr; if ( !a2 || (v4 = *(_OWORD **)a2) == nullptr ) { v5 = operator new(0x70u); v4 = v5; if ( v5 ) { *v5 = 0; v5[1] = 0; v5[2] = 0; v5[3] = 0; v5[4] = 0; v5[5] = 0; v5[6] = 0; cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5); *((_DWORD *)v4 + 20) = 0; *(_QWORD *)v4 = &cocos2d::CCEaseElasticOut::`vftable'; } else { v4 = nullptr; } v6 = (tinyxml2::XMLHandle *)operator new(8u); if ( v6 ) v3 = tinyxml2::XMLHandle::XMLHandle(v6, (struct tinyxml2::XMLNode *)v4); } v7 = *((_DWORD *)this + 26); v8 = cocos2d::CCObject::copy(*((cocos2d::CCObject **)this + 12)); v9 = cocos2d::CCObject::autorelease(v8); if ( cocos2d::CCActionInterval::initWithDuration( (cocos2d::CCActionInterval *)v4, *(float *)&v9[1].m_uAutoReleaseCount) ) { *((_QWORD *)v4 + 12) = v9; cocos2d::CCObject::retain(v9); *((_DWORD *)v4 + 26) = v7; } if ( v3 ) j_j_free_0(v3); return (struct cocos2d::CCObject *)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source