// // GJBaseGameLayer::playKeyframeAnimation from 0x1001ea654 to 0x1001ea77c (296 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x100385b50 // // 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 __fastcall GJBaseGameLayer::playKeyframeAnimation( GJBaseGameLayer *a1, KeyframeAnimTriggerObject *a2, std::vector *const a3) { cocos2d::CCArray *Group; // x0 cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x23 unsigned __int64 v10; // x24 cocos2d::CCObject *v11; // x25 cocos2d::CCArray *v12; // x22 GameObject *MainObject; // x3 int m_targetGroupID; // w1 unsigned int m_uID; // [xsp+Ch] [xbp-74h] BYREF _QWORD v16[4]; // [xsp+10h] [xbp-70h] BYREF int v17; // [xsp+30h] [xbp-50h] Group = GJBaseGameLayer::getGroup(a1, a2->m_animationID); memset(v16, 0, sizeof(v16)); v17 = 1065353216; if ( Group ) { data = Group->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v10 = (unsigned __int64)&arr[num - 1]; do { v11 = *arr; if ( !*arr ) break; if ( v11[18].m_uReference == 3032 ) { m_uID = v11[33].m_uID; if ( !sub_100018814(v16, (int *)&m_uID) ) { sub_10001C1B0((unsigned __int64)v16, (int *)&m_uID, &m_uID); v12 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, (int)m_uID); MainObject = GJBaseGameLayer::tryGetMainObject(a1, a2->m_centerGroupID); m_targetGroupID = a2->m_targetGroupID; if ( !m_targetGroupID ) m_targetGroupID = v11[26].m_uID; GJEffectManager::createKeyframeCommand( a1->m_effectManager, m_targetGroupID, v12, 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); } } ++arr; } while ( (unsigned __int64)arr <= v10 ); } } sub_100017A98((__int64)v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source