// // GJBaseGameLayer::triggerRotateCommand from 0x86cdf8 to 0x86cf88 (400 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x76fe40 // > @ 0x8b638 // // 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::triggerRotateCommand(GJBaseGameLayer *a1, EnhancedTriggerObject *a2) { float v4; // s0 GameObject *v5; // x22 GameObject *v6; // x0 GameObject *Object; // [xsp+40h] [xbp+30h] GameObject *v8; // [xsp+48h] [xbp+38h] GameObject *v9; // [xsp+50h] [xbp+40h] GameObject *v10; // [xsp+58h] [xbp+48h] float v11; // [xsp+60h] [xbp+50h] GameObject *v12; // [xsp+60h] [xbp+50h] GameObject *v13; // [xsp+70h] [xbp+60h] BYREF GameObject *v14; // [xsp+78h] [xbp+68h] BYREF GameObject *v15; // [xsp+80h] [xbp+70h] BYREF v4 = a2->m_rotationDegrees + (float)((float)a2->m_times360 * 360.0); if ( !a2->m_isDynamicMode || a2->m_duration == 0.0 ) { if ( a2->m_useMoveTarget || a2->m_isDirectionFollowSnap360 ) { v11 = a2->m_rotationDegrees + (float)((float)a2->m_times360 * 360.0); GJBaseGameLayer::getRotateCommandTargets(a1, a2, &v14, &v15, &v13); v5 = v14; v4 = v11; if ( v14 ) { v12 = v13; if ( v13 ) { v10 = v15; if ( v15 ) { Object = GJBaseGameLayer::tryGetObject(a1, a2->m_minXID); v8 = GJBaseGameLayer::tryGetObject(a1, a2->m_minYID); v9 = GJBaseGameLayer::tryGetObject(a1, a2->m_maxXID); v6 = GJBaseGameLayer::tryGetObject(a1, a2->m_maxYID); getRotateCommandAngleDelta((__int64)a2, (__int64)v5, (__int64)v10, (__int64)v12, Object, v8, v9, v6); } } } } } else if ( a2->m_useMoveTarget || a2->m_isDirectionFollowSnap360 ) { GJBaseGameLayer::triggerDynamicRotateCommand(a1, a2); return; } GJEffectManager::createRotateCommand( a1->m_effectManager, v4, a2->m_duration, a2->m_targetGroupID, a2->m_centerGroupID, a2->m_easingType, a2->m_easingRate, a2->m_lockObjectRotation, 0, 0, a2->m_uniqueID, a2->m_controlID); }
GD Web Decomp Icon

GD Web Decomp

Raw Source