// // cocos2d::CCRemoveSelf::copyWithZone from 0x18002f650 to 0x18002f71b (203 bytes) // // 3 xrefs: // > @ 0x1800e8f20 // > @ 0x1801438a8 // > @ 0x1801b003c // // 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 // // Hidden C++ exception states: #wind=2 cocos2d::CCAction *__fastcall cocos2d::CCRemoveSelf::copyWithZone( cocos2d::CCRemoveSelf *this, struct cocos2d::CCObject **a2) { struct cocos2d::CCObject *v3; // rbx cocos2d::CCAction *v5; // rax cocos2d::CCAction *v6; // rbx struct cocos2d::CCObject **v7; // rdi tinyxml2::XMLHandle *v8; // rax if ( a2 && (v3 = *a2) != nullptr ) { cocos2d::CCActionInstant::copyWithZone(this, a2); LOBYTE(v3[1].m_uIndexInArray) = *((_BYTE *)this + 88); return (cocos2d::CCAction *)v3; } else { v5 = (cocos2d::CCAction *)operator new(0x60u); v6 = v5; if ( v5 ) { cocos2d::CCAction::CCAction(v5); v7 = nullptr; LODWORD(v6[1].__vftable) = 0; v6->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCRemoveSelf::`vftable'; } else { v7 = nullptr; v6 = nullptr; } v8 = (tinyxml2::XMLHandle *)operator new(8u); if ( v8 ) v7 = (struct cocos2d::CCObject **)tinyxml2::XMLHandle::XMLHandle(v8, (struct tinyxml2::XMLNode *)v6); cocos2d::CCActionInstant::copyWithZone(this, v7); LOBYTE(v6[1].m_uID) = *((_BYTE *)this + 88); if ( v7 ) j_j_free_0(v7); return v6; } }