// // cocos2d::CCAnimation::initWithAnimationFrames from 0x7efe68 to 0x7efec4 (92 bytes) // // 3 xrefs: // > cocos2d::CCAnimation::create @ 0x7eff50 // > cocos2d::CCAnimation::copyWithZone @ 0x7eff8e // > cocos2d::CCAnimationCache::parseVersion2 @ 0x7f04d2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:03 +0000 // int __fastcall cocos2d::CCAnimation::initWithAnimationFrames( cocos2d::CCAnimation *this, cocos2d::CCArray *a2, float a3, unsigned int a4) { cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r5 _DWORD *v7; // r0 int v8; // r3 _DWORD *v9; // r2 int v10; // r3 int *v11; // r2 int *v12; // r3 int v13; // r1 int v14; // t1 *((_DWORD *)this + 18) = a4; *((float *)this + 14) = a3; v5 = cocos2d::CCArray::createWithArray(a2, a2); v6 = v5; if ( *((cocos2d::CCObject **)this + 16) != v5 ) { if ( v5 ) cocos2d::CCObject::retain((int)v5); v7 = *((_DWORD **)this + 16); if ( v7 ) cocos2d::CCObject::release(v7); *((_DWORD *)this + 16) = v6; } v8 = *((_DWORD *)this + 16); if ( v8 ) { v9 = *(_DWORD **)(v8 + 52); if ( *v9 ) { v10 = *v9 + 0x40000000; v11 = (int *)v9[3]; v12 = &v11[v10 - 1]; while ( v11 <= v12 ) { v14 = *v11++; v13 = v14; if ( !v14 ) break; *((float *)this + 13) = *((float *)this + 13) + *(float *)(v13 + 56); } } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source