// // cocos2d::CCAnimation::initWithAnimationFrames from 0xd84b94 to 0xd84c44 (176 bytes) // // 5 xrefs: // > cocos2d::CCAnimation::create @ 0xd84d54 // > cocos2d::CCAnimation::copyWithZone @ 0xd84da0 // > cocos2d::CCAnimation::copyWithZone @ 0xd84df4 // > cocos2d::CCAnimationCache::parseVersion2 @ 0xd858bc // > @ 0xfd210 // // This function is hookable on this platform (idp: arm, 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 13:08:12 +0000 // __int64 __fastcall cocos2d::CCAnimation::initWithAnimationFrames( cocos2d::CCAnimation *this, cocos2d::CCArray *a2, float a3, int a4) { cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x20 cocos2d::CCObject *v7; // x1 unsigned int *v8; // x0 unsigned int v9; // w1 __int64 *v10; // x0 __int64 *v11; // x2 __int64 v12; // x1 float v13; // s0 *((float *)this + 15) = a3; *((_DWORD *)this + 21) = a4; v5 = cocos2d::CCArray::createWithArray(a2, a2); v6 = v5; v7 = *((cocos2d::CCObject **)this + 9); if ( v5 != v7 ) { if ( v5 ) { cocos2d::CCObject::retain((__int64)v5); v7 = *((cocos2d::CCObject **)this + 9); } if ( v7 ) cocos2d::CCObject::release(v7); *((_QWORD *)this + 9) = v6; } if ( v6 ) { v8 = *((unsigned int **)v6 + 7); v9 = *v8; if ( *v8 ) { v10 = *((__int64 **)v8 + 2); v11 = &v10[v9 - 1]; if ( v10 <= v11 ) { v12 = *v10; if ( *v10 ) { v13 = *((float *)this + 14); do { ++v10; v13 = v13 + *(float *)(v12 + 64); *((float *)this + 14) = v13; if ( v11 < v10 ) break; v12 = *v10; } while ( *v10 ); } } } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source