// // CameraTriggerGameObject::triggerObject from 0x3ee5e0 to 0x3ee788 (424 bytes) // // 0 xrefs: // // 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 CameraTriggerGameObject::triggerObject( CameraTriggerGameObject *a1, GJBaseGameLayer *a2, int a3, std::vector *const a4) { int m_objectID; // r1 MoveTargetType m_moveTargetMode; // r3 float *p_m_duration; // r6 float *p_m_easingRate; // r7 EasingType m_easingType; // r2 bool m_smoothVelocity; // r0 float *p_m_velocityModifier; // r1 bool v13; // lr bool v14; // r3 m_objectID = a1->m_objectID; if ( m_objectID == 2015 ) { ((void (__fastcall *)(GJBaseGameLayer *, _DWORD, bool, bool, _DWORD, EasingType, _DWORD, int, int))a2->updateScreenRotation)( a2, LODWORD(a1->m_rotationDegrees), a1->m_lockObjectRotation, a1->m_isDirectionFollowSnap360, LODWORD(a1->m_duration), a1->m_easingType, LODWORD(a1->m_easingRate), a1->m_uniqueID, a1->m_controlID); return; } if ( m_objectID >= 2016 ) { if ( m_objectID == 2062 ) { GJBaseGameLayer::updateCameraEdge(a2, a1->m_edgeDirection, a1->m_targetGroupID); return; } if ( m_objectID == 2925 ) { GJBaseGameLayer::updateCameraMode(a2, a1, 1); return; } if ( m_objectID != 2016 ) goto LABEL_20; } else if ( m_objectID == 1914 ) { m_moveTargetMode = a1->m_moveTargetMode; p_m_duration = &a1->m_duration; p_m_easingRate = &a1->m_easingRate; m_easingType = a1->m_easingType; m_smoothVelocity = a1->m_smoothVelocity; p_m_velocityModifier = &a1->m_velocityModifier; v13 = m_moveTargetMode != YOnly; v14 = m_moveTargetMode != XOnly; if ( a1->m_exitStatic ) GJBaseGameLayer::exitStaticCamera( a2, v13, v14, *p_m_duration, a1->m_easingType, *p_m_easingRate, m_smoothVelocity, *p_m_velocityModifier, a1->m_exitInstant); else GJBaseGameLayer::updateStaticCameraPosToGroup( a2, a1->m_centerGroupID, v13, v14, a1->m_followObject, a1->m_followEasing, *p_m_duration, m_easingType, *p_m_easingRate, m_smoothVelocity, *p_m_velocityModifier); } else { if ( m_objectID != 1916 ) { LABEL_20: EffectGameObject::triggerObject(a1, a2, a3, a4); return; } if ( a1->m_moveTargetMode != YOnly ) GJBaseGameLayer::updateCameraOffsetX( a2, a1->m_moveOffset.x, a1->m_duration, a1->m_easingType, a1->m_easingRate, a1->m_uniqueID, a1->m_controlID); if ( a1->m_moveTargetMode != XOnly ) GJBaseGameLayer::updateCameraOffsetY( a2, a1->m_moveOffset.y, a1->m_duration, a1->m_easingType, a1->m_easingRate, a1->m_uniqueID, a1->m_controlID); } }