// // cocos2d::CCAnimation::initWithAnimationFrames from 0x100281280 to 0x100281317 (151 bytes) // // 1 xrefs: // > cocos2d::CCAnimationCache::parseVersion2 @ 0x100461f14 // // 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 12:27:43 +0000 // char __fastcall cocos2d::CCAnimation::initWithAnimationFrames(__int64 a1, __int64 a2, int a3, float a4) { __int64 v5; // rax __int64 v6; // rdi __int64 v7; // r14 unsigned int *v8; // rax __int64 v9; // rcx unsigned __int64 v10; // rax unsigned __int64 v11; // rcx *(float *)(a1 + 60) = a4; *(_DWORD *)(a1 + 84) = a3; v5 = sub_1007FEC00(a2); v6 = *(_QWORD *)(a1 + 72); if ( v6 == v5 ) { v7 = *(_QWORD *)(a1 + 72); if ( !v6 ) return 1; goto LABEL_9; } v7 = v5; if ( v5 ) { cocos2d::CCObject::retain(v5); v6 = *(_QWORD *)(a1 + 72); } if ( v6 ) cocos2d::CCObject::release(v6); *(_QWORD *)(a1 + 72) = v7; if ( v7 ) { LABEL_9: v8 = *(unsigned int **)(v7 + 56); v9 = *v8; if ( *v8 ) { v10 = *((_QWORD *)v8 + 2); v11 = v10 + 8 * v9 - 8; do { if ( !*(_QWORD *)v10 ) break; *(float *)(a1 + 56) = *(float *)(*(_QWORD *)v10 + 64LL) + *(float *)(a1 + 56); v10 += 8LL; } while ( v10 <= v11 ); } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source