// // EnhancedGameObject::createRotateAction from 0x1002634d8 to 0x100263548 (112 bytes) // // 7 xrefs: // > EnhancedGameObject::customObjectSetup @ 0x100263314 // > EnhancedGameObject::customSetup @ 0x1002636a0 // > EnhancedGameObject::customSetup @ 0x100263fdc // > EnhancedGameObject::customSetup @ 0x1002640ac // > EnhancedGameObject::customSetup @ 0x10026412c // > EnhancedGameObject::customSetup @ 0x1002642a0 // > EnhancedGameObject::refreshRotateAction @ 0x100264d90 // // 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 EnhancedGameObject::createRotateAction(EnhancedGameObject *a1, float a2, int a3) { float m_rotationSpeed; // s9 float v7; // s0 if ( a2 != 0.0 ) a1->m_rotationAngle = a2; m_rotationSpeed = a1->m_rotationSpeed; if ( m_rotationSpeed != 0.0 ) a3 = 1; if ( !a3 ) { if ( vcvts_n_f32_s32(rand(), 0x1Fu) > 0.5 ) a3 = 1; else a3 = -1; } if ( m_rotationSpeed == 0.0 ) v7 = a2; else v7 = m_rotationSpeed; a1->m_rotationDelta = v7 * (float)a3; }