// // cocos2d::CCEaseElastic::copyWithZone from 0x180028340 to 0x18002843c (252 bytes) // // 3 xrefs: // > @ 0x1800eded8 // > @ 0x18014cf68 // > @ 0x1801b9718 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:30 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCObject *__fastcall cocos2d::CCEaseElastic::copyWithZone( cocos2d::CCEaseElastic *this, cocos2d::CCAction **a2) { tinyxml2::XMLHandle *v3; // rdi cocos2d::CCAction *v4; // rbx cocos2d::CCAction *v5; // rax tinyxml2::XMLHandle *v6; // rax int v7; // xmm6_4 cocos2d::CCObject *v8; // rax float *v9; // rsi v3 = nullptr; if ( !a2 || (v4 = *a2) == nullptr ) { v5 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u); v4 = v5; if ( v5 ) { *(_OWORD *)v5 = 0; *((_OWORD *)v5 + 1) = 0; *((_OWORD *)v5 + 2) = 0; *((_OWORD *)v5 + 3) = 0; *((_OWORD *)v5 + 4) = 0; *((_OWORD *)v5 + 5) = 0; *((_OWORD *)v5 + 6) = 0; cocos2d::CCAction::CCAction(v5); *((_DWORD *)v4 + 20) = 0; *(_QWORD *)v4 = &cocos2d::CCEaseElastic::`vftable'; } else { v4 = nullptr; } v6 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u); if ( v6 ) v3 = tinyxml2::XMLHandle::XMLHandle(v6, v4); } v7 = *((_DWORD *)this + 26); v8 = cocos2d::CCObject::copy(*((cocos2d::CCObject **)this + 12)); v9 = (float *)cocos2d::CCObject::autorelease(v8); if ( cocos2d::CCActionInterval::initWithDuration(v4, v9[20]) ) { *((_QWORD *)v4 + 12) = v9; cocos2d::CCObject::retain((cocos2d::CCObject *)v9); *((_DWORD *)v4 + 26) = v7; } if ( v3 ) j_j_free_0(v3); return v4; }