// // GJBaseGameLayer::playKeyframeAnimation from 0x4887d8 to 0x4888fe (294 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x3ee188 // // 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::playKeyframeAnimation( GJBaseGameLayer *a1, KeyframeAnimTriggerObject *a2, std::vector *const a3) { cocos2d::CCArray *Group; // r7 cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r5 _DWORD *v8; // r7 _DWORD *v9; // t1 GameObject *MainObject; // r0 int m_targetGroupID; // r1 cocos2d::CCObject **v12; // [sp+28h] [bp-18h] cocos2d::CCArray *v13; // [sp+2Ch] [bp-14h] int v15; // [sp+3Ch] [bp-4h] BYREF int v16; // [sp+40h] [bp+0h] BYREF _DWORD v17[7]; // [sp+48h] [bp+8h] BYREF Group = GJBaseGameLayer::getGroup(a1, a2->m_animationID); std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_Hashtable( v17, 10); if ( Group ) { data = Group->data; if ( data->num ) { arr = data->arr; v12 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v12 ) { v9 = *arr++; v8 = v9; if ( !v9 ) break; if ( v8[221] == 3032 ) { v15 = v8[411]; if ( !sub_46C3EE(v17, v15) ) { sub_488790((int)&v16, v17, (unsigned int *)&v15); v13 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, v15); MainObject = GJBaseGameLayer::tryGetMainObject(a1, a2->m_centerGroupID); m_targetGroupID = a2->m_targetGroupID; if ( !m_targetGroupID ) m_targetGroupID = v8[319]; GJEffectManager::createKeyframeCommand( a1->m_effectManager, m_targetGroupID, v13, MainObject, a2->m_uniqueID, a2->m_controlID, 0, a2->m_positionXMod, a2->m_positionYMod, a2->m_rotationMod, a2->m_scaleXMod, a2->m_scaleYMod, a2->m_timeMod, a3); } } } } } std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::~_Hashtable((int)v17); }
GD Web Decomp Icon

GD Web Decomp

Raw Source