// // cocos2d::CCCardinalSplineTo::copyWithZone from 0x180025f50 to 0x180026069 (281 bytes) // // 6 xrefs: // > @ 0x1800ed738 // > @ 0x1800ed7b8 // > @ 0x1800ed838 // > @ 0x1800ed8b8 // > @ 0x18014cf68 // > @ 0x1801b9430 // // 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=3 struct cocos2d::CCCardinalSplineTo *__fastcall cocos2d::CCCardinalSplineTo::copyWithZone( cocos2d::CCCardinalSplineTo *this, struct cocos2d::CCZone *a2) { tinyxml2::XMLHandle *v2; // rax tinyxml2::XMLHandle *v4; // rdi cocos2d::CCAction *v5; // rbx cocos2d::CCAction *v6; // rax tinyxml2::XMLHandle *v7; // rax int v8; // xmm6_4 cocos2d::CCObject *v9; // rsi cocos2d::CCObject *v10; // rcx v2 = a2; v4 = nullptr; if ( !a2 || (v5 = *(cocos2d::CCAction **)a2) == nullptr ) { v6 = (cocos2d::CCAction *)sub_1800E4AC0(0x80u); v5 = v6; if ( v6 ) { cocos2d::CCAction::CCAction(v6); *((_DWORD *)v5 + 20) = 0; *(_QWORD *)v5 = &cocos2d::CCCardinalSplineTo::`vftable'; *((_QWORD *)v5 + 12) = 0; *((_QWORD *)v5 + 13) = 0; cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v5 + 112)); cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v5 + 120)); } else { v5 = nullptr; } v7 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u); if ( v7 ) v2 = tinyxml2::XMLHandle::XMLHandle(v7, v5); else v2 = nullptr; v4 = v2; } cocos2d::CCActionInterval::copyWithZone(this, v2); v8 = *((_DWORD *)this + 27); v9 = *((cocos2d::CCObject **)this + 12); if ( cocos2d::CCActionInterval::initWithDuration(v5, *((float *)this + 20)) ) { if ( v9 ) cocos2d::CCObject::retain(v9); v10 = *((cocos2d::CCObject **)v5 + 12); if ( v10 ) cocos2d::CCObject::release(v10); *((_QWORD *)v5 + 12) = v9; *((_DWORD *)v5 + 27) = v8; } if ( v4 ) j_j_free_0(v4); return v5; }