// // GJBaseGameLayer::triggerRotateCommand from 0x1001ef168 to 0x1001ef2fc (404 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x100385830 // // 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::triggerRotateCommand(GJBaseGameLayer *a1, EnhancedTriggerObject *a2) { float v4; // s8 GameObject *v5; // x21 GameObject *v6; // x22 GameObject *v7; // x23 GameObject *Object; // x24 GameObject *v9; // x25 GameObject *v10; // x26 GameObject *v11; // x0 float v12; // s0 GameObject *v13; // [xsp+8h] [xbp-68h] BYREF GameObject *v14; // [xsp+10h] [xbp-60h] BYREF GameObject *v15; // [xsp+18h] [xbp-58h] BYREF if ( a2->m_isDynamicMode && a2->m_duration != 0.0 && (a2->m_useMoveTarget || a2->m_isDirectionFollowSnap360) ) { GJBaseGameLayer::triggerDynamicRotateCommand(a1, a2); } else { v4 = a2->m_rotationDegrees + (float)((float)a2->m_times360 * 360.0); if ( a2->m_useMoveTarget || a2->m_isDirectionFollowSnap360 ) { GJBaseGameLayer::getRotateCommandTargets(a1, a2, &v14, &v13, &v15); v5 = v14; if ( v14 ) { v6 = v15; if ( v15 ) { v7 = v13; if ( v13 ) { Object = GJBaseGameLayer::tryGetObject(a1, a2->m_minXID); v9 = GJBaseGameLayer::tryGetObject(a1, a2->m_minYID); v10 = GJBaseGameLayer::tryGetObject(a1, a2->m_maxXID); v11 = GJBaseGameLayer::tryGetObject(a1, a2->m_maxYID); sub_1001EEEE0( (__int64)a2, (__int64)v5, (__int64)v7, (__int64)v6, (__int64)Object, (__int64)v9, (__int64)v10, (__int64)v11); v4 = v12; } } } } 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