// // cocos2d::CCAnimation::initWithSpriteFrames from 0x1002390b0 to 0x1002391b8 (264 bytes) // // 1 xrefs: // > cocos2d::CCAnimation::createWithSpriteFrames @ 0x10023907c // // 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 11:01:20 +0000 // __int64 __fastcall cocos2d::CCAnimation::initWithSpriteFrames(__int64 a1, __int64 a2, float a3) { __int64 v5; // x0 unsigned int *v6; // x9 __int64 v7; // x8 __int64 *v8; // x22 unsigned __int64 v9; // x23 __int64 v10; // x21 _QWORD *v11; // x20 _DWORD *v12; // x0 *(_DWORD *)(a1 + 84) = 1; *(float *)(a1 + 60) = a3; v5 = sub_1002E736C(a1); sub_1001E3D38(a1, v5); if ( a2 ) { v6 = *(unsigned int **)(a2 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((__int64 **)v6 + 2); v9 = (unsigned __int64)&v8[v7 - 1]; do { v10 = *v8; if ( !*v8 ) break; v11 = operator new(0x50u); cocos2d::CCObject::CCObject((__int64)v11); *v11 = off_1009048E0; v11[7] = 0; *((_DWORD *)v11 + 16) = 0; v11[9] = 0; *((_DWORD *)v11 + 7) = 14; sub_100004430((__int64)v11, v10); *((_DWORD *)v11 + 16) = 1065353216; v12 = (_DWORD *)v11[9]; if ( v12 ) { cocos2d::CCObject::release(v12); v11[9] = 0; } sub_1002E74E0(*(_QWORD *)(a1 + 72), v11); cocos2d::CCObject::release(v11); *(float *)(a1 + 56) = *(float *)(a1 + 56) + 1.0; ++v8; } while ( (unsigned __int64)v8 <= v9 ); } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source