// // cocos2d::CCAnimation::create from 0x18008cd30 to 0x18008cdc8 (152 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bfcb8 // // 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:22:06 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCAnimation *__fastcall cocos2d::CCAnimation::create() { cocos2d::CCObject *v0; // rax cocos2d::CCObject *v1; // rbx struct cocos2d::CCArray *v2; // rax struct cocos2d::CCArray *v3; // rdi cocos2d::CCObject *v4; // rcx v0 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u); v1 = v0; if ( v0 ) { cocos2d::CCObject::CCObject(v0); *(_QWORD *)v1 = &cocos2d::CCAnimation::`vftable'; LODWORD(v0) = 0; *((_QWORD *)v1 + 7) = 0; *((_DWORD *)v1 + 16) = 0; *((_QWORD *)v1 + 9) = 0; *((_BYTE *)v1 + 80) = 0; *((_DWORD *)v1 + 21) = 0; } else { v1 = nullptr; } *((_DWORD *)v1 + 21) = 1; *((_DWORD *)v1 + 15) = (_DWORD)v0; v2 = cocos2d::CCArray::create(); v3 = v2; if ( *((struct cocos2d::CCArray **)v1 + 9) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v4 = *((cocos2d::CCObject **)v1 + 9); if ( v4 ) cocos2d::CCObject::release(v4); *((_QWORD *)v1 + 9) = v3; } cocos2d::CCObject::autorelease(v1); return v1; }