// // GJBaseGameLayer::triggerTransformCommand from 0x100138a60 to 0x100138c2c (460 bytes) // // 1 xrefs: // > TransformTriggerGameObject::triggerObject @ 0x1001d964a // // 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::triggerTransformCommand(GJBaseGameLayer *a1, TransformTriggerGameObject *a2) { __m128 v2; // xmm1 __m128 v3; // xmm0 __m128d v4; // xmm6 __m128d v6; // xmm6 intptr_t m_centerGroupID; // r14 TransformTriggerGameObject *v8; // r12 cocos2d::CCDictionary *m_parentGroupsDict; // rdi __int64 v10; // rsi cocos2d::CCObject *v11; // rax __m128 v12; // xmm2 __m128 v13; // xmm0 intptr_t v14; // r15 cocos2d::CCArray *v15; // r14 v2 = (__m128)*(unsigned __int64 *)&a2->m_objectScaleX; v3 = _mm_cmpeq_ps((__m128)0LL, v2); v4 = _mm_blendv_pd(_mm_cvtps_pd(v2), (__m128d)xmmword_100815170, (__m128d)_mm_unpacklo_ps(v3, v3)); v6 = _mm_blendv_pd( v4, _mm_div_pd((__m128d)xmmword_100815170, v4), (__m128d)_mm_slli_epi64(_mm_cvtepu8_epi64(*(_WORD *)&a2->m_divideX), 0x3Fu)); if ( a2->m_relativeScale ) { m_centerGroupID = a2->m_centerGroupID; if ( m_centerGroupID > 0 ) { v8 = a2; m_parentGroupsDict = a1->m_parentGroupsDict; v10 = a2->m_centerGroupID; v11 = cocos2d::CCDictionary::objectForKey(m_parentGroupsDict, m_centerGroupID); if ( v11 ) goto LABEL_4; v14 = 9999; if ( (unsigned int)m_centerGroupID < 0x270F ) v14 = (unsigned int)m_centerGroupID; if ( ((v15 = a1->m_groups.__begin_[v14]) != nullptr || (v15 = (cocos2d::CCArray *)sub_10071F9E0(m_parentGroupsDict, v10), cocos2d::CCDictionary::setObject(a1->m_groupDict, v15, v14), (a1->m_groups.__begin_[v14] = v15) != nullptr)) && (unsigned int)sub_100720070(v15) == 1 && (v11 = (cocos2d::CCObject *)sub_1007200C0(v15, 0)) != nullptr ) { LABEL_4: a2 = v8; v12 = _mm_div_ps( (__m128)*(unsigned __int64 *)&v11[20].m_uIndexInArray, (__m128)*(unsigned __int64 *)&v11[17].m_eObjType); v13 = _mm_cmpneq_ps((__m128)0LL, v12); v6 = _mm_blendv_pd( v6, _mm_add_pd( _mm_div_pd(_mm_add_pd((__m128d)xmmword_100815180, v6), _mm_cvtps_pd(v12)), (__m128d)xmmword_100815170), (__m128d)_mm_unpacklo_ps(v13, v13)); } else { a2 = v8; } } } GJEffectManager::createTransformCommand( a1->m_effectManager, v6.f64[0], _mm_unpackhi_pd(v6, v6).f64[0], a2->m_property450, a2->m_property451, a2->m_onlyMove, a2->m_duration, a2->m_targetGroupID, a2->m_centerGroupID, a2->m_easingType, a2->m_easingRate, 0, a2->m_relativeRotation, a2->m_uniqueID, a2->m_controlID); }
GD Web Decomp Icon

GD Web Decomp

Raw Source