// // GJBaseGameLayer::playAnimationCommand from 0x85d3f4 to 0x85d490 (156 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x76fef0 // > @ 0x2c370 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void GJBaseGameLayer::playAnimationCommand(GJBaseGameLayer *a1, int a2, int a3) { unsigned int v4; // w19 cocos2d::CCArray *Group; // x20 bool v6; // cf unsigned int v7; // w1 cocos2d::CCArray *i; // x0 __int64 v9; // x0 if ( a3 > 0 ) { v4 = 0; Group = GJBaseGameLayer::getGroup(a1, a3); v6 = (unsigned int)cocos2d::CCArray::count(Group) == 0; v7 = 0; for ( i = Group; !v6; i = Group ) { v9 = cocos2d::CCArray::objectAtIndex(i, v7); ++v4; if ( *(_DWORD *)(v9 + 1232) == 2 ) AnimatedGameObject::playAnimation((AnimatedGameObject *)v9, a2); else (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1504LL))(v9); v6 = v4 >= (unsigned int)cocos2d::CCArray::count(Group); v7 = v4; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source